Training Methods and Collaborative Orchestration for Multimodal Agents
In multimodal agent applications, overall performance depends on much more than just model parameter scale. Successfully managing complex tasks requires a cohesive system capable of understanding text, recognizing images, invoking tools, decomposing problems, and coordinating multiple execution units. This article explores two core technical directions in the evolution of multimodal agents: building stable, unified representations of visual and textual capabilities during training, and orchestrating multiple agents to balance accuracy, execution latency, and resource consumption. Readers will gain insights into early joint training strategies, code-assisted visual reasoning, and the architectural design of multi-agent systems for practical engineering applications.
In multimodal agent applications, final model performance is not solely determined by parameter scale. When facing complex tasks, whether the system can correctly understand text, recognize images, invoke tools, decompose problems, and coordinate multiple execution units is often more important than the static capability of a single model.
From a technical perspective, the development of multimodal agents primarily follows two directions: first, how to form stable, unified representations of visual and textual capabilities during the training process; second, how to enable multiple agents to divide labor reasonably around a common goal, achieving a balance among accuracy, execution latency, and resource consumption.
This article will analyze these two directions in detail.
1. Vision and Text Should Not Be Treated as a “Late-Stage Add-On”
In earlier multimodal training schemes, a common practice was to focus on training language capabilities first, and then introduce a large proportion of visual information in the later stages of training. The underlying assumption was that the language model already possessed mature reasoning and knowledge expression capabilities, and simply adding visual tokens in the later stage would quickly grant it image understanding abilities.
While this approach is relatively straightforward to implement, it carries a potential issue: the language representation space has already largely formed during early training. Suddenly introducing a large amount of visual information may disrupt the existing representation structure. The model must relearn the correspondence between different modalities, a process that can cause short-term fluctuations in text capabilities and even affect established reasoning patterns.
A more robust approach is to allow text and visual information to participate in learning together from the early stages of training, enabling the model to gradually build cross-modal associations rather than forcing migration in later stages.
It is important to note that the key here is not necessarily “the more visual data, the better,” but rather whether the timing, proportion, and training rhythm of the visual information are appropriate.
2. Timing of Visual Information Injection is More Critical Than Absolute Proportion
With a fixed total training budget, visual tokens and text tokens can be viewed as two types of limited resources. At this point, factors influencing the final outcome include at least:
- The entry time of visual information in the training pipeline;
- The relative proportion between visual and text data;
- Data mixing strategies across different stages;
- Consistency across pre-training, supervised fine-tuning (SFT), and reinforcement learning (RL) stages;
- The difficulty and task types of multimodal samples.
Some experimental observations indicate that the absolute proportion of visual tokens to total tokens is not necessarily the core factor determining multimodal performance. Even if the proportion of visual data is not high, as long as fusion begins early in training and maintains a relatively smooth data distribution, the model can still achieve strong capabilities in both vision and text.
Conversely, if a high proportion of visual data is suddenly introduced in the mid-to-late stages of training, the model may exhibit the following phenomena:
- Short-term decline in text understanding capability;
- Impaired stability in long-context reasoning;
- Fluctuations in output style and instruction-following ability;
- Competition between established language representations and new visual representations;
- Unstable training loss changes and slow recovery.
These phenomena can be understood as a type of “modality domain shift.” The model has already established a relatively stable representation structure in the text space. When new visual information suddenly floods in, the parameters must simultaneously adapt to the new input distribution and new alignment tasks, thereby generating additional optimization pressure.
3. The Value of Joint Training: Reducing Capability Switching Costs
If vision and text co-occur from the early stages of training, the model can gradually learn the following relationships:
- Correspondence between image regions and text descriptions;
- Mapping between visual objects and language concepts;
- Conversion between spatial/quantitative relationships and natural language expressions;
- Reasoning chains from image evidence to final conclusions;
- The complementary roles of different modality information within the same task.
The advantage of this training method is not just better visual recognition, but the ability to let the model form a more unified task processing path.
For example, in an analysis task involving images, tables, and text explanations, the model must first read the visual information, then reason based on the context of the question, and finally output the conclusion in text. If visual capability was “bolted on” in the later stages of training, the model may be more inclined to treat image understanding as an isolated step. In a joint training mode, the model is more likely to treat vision and text as different information sources within the same reasoning process.
Joint training should also be maintained throughout the SFT and RL stages. If multimodal data is only used during pre-training, and subsequent instruction learning reverts entirely to a pure text environment, the model may experience capability degradation in real-world tasks. Conversely, continuing to use mixed image-text samples in subsequent stages allows the model to consistently maintain cross-modal consistency.
4. Code-Assisted Visual Reasoning: Shifting from “Direct Recognition” to “Verifiable Analysis”
For complex visual tasks, directly asking the model to generate image conclusions is not always reliable. Relying solely on visual encoding results is particularly prone to errors in the following scenarios:
- Numerical comparisons in charts;
- Multi-target counting;
- Image region filtering;
- Calculation of coordinates, angles, and proportions;
- Difference analysis between multiple images;
- Visual measurement tasks requiring repeated verification.
A more effective approach is to allow the model to generate and execute short programs when necessary, transforming visual problems into computable and checkable analytical processes.
A typical workflow can be divided into four steps:
1. Task Identification
The model first determines whether the current problem is suitable for program-assisted resolution. For instance, simple object recognition can be done directly, while questions involving pixels, coordinates, quantities, or geometric relationships are better suited for the computational pipeline.
2. Image Preprocessing
The program can execute operations such as scaling, cropping, grayscaling, edge extraction, and region segmentation to reduce image noise and highlight areas relevant to the question.
3. Structured Analysis
The model converts visual targets into structured information, such as bounding boxes, centroids, color regions, areas, quantities, or relative positions. It then uses computational logic to complete sorting, comparison, and statistics.
4. Result Verification
The system needs to check whether the program output aligns with the problem requirements, including unit consistency, correct coordinate directions, complete detection regions, and whether the computational results corroborate the original image.
The core value of this method is not to let code replace the model, but to equip the model with a “verifiable visual reasoning tool.” For tasks requiring precise calculations, program execution reduces errors caused by subjective judgment and approximate estimation.
However, code assistance also requires security boundaries. The execution environment should adopt an isolation mechanism, restricting file access, network access, and resource consumption, while controlling program runtime, memory usage, and output content. Additionally, model-generated code should not be blindly trusted; it must still undergo syntax checking, runtime monitoring, and result verification.
5. Multi-Agent Collaboration: Breaking Complex Tasks into Manageable Sub-tasks
When dealing with research analysis, long-document processing, complex planning, and multi-step operations, having a single model complete all the work independently typically encounters three issues:
- Long contexts, where key information easily gets buried;
- Capability variance among different sub-tasks, making it hard for a single prompt to accommodate all;
- Serial execution of all steps, leading to high overall latency.
The fundamental idea of a multi-agent architecture is to break a complex goal into several relatively independent sub-tasks, process them separately via different execution units, and finally aggregate the results.
A clear system structure can be divided into two layers:
- Central Orchestrator: Responsible for decision-making, scheduling, coordination, and aggregation;
- Heterogeneous Sub-agents: Responsible for executing specific domains or steps.
6. Central Orchestrator: The Core for Task Planning and Resource Scheduling
The central orchestrator does not necessarily handle all the detailed work itself. It acts more like a task management hub, primarily responsible for:
1. Determining if Task Splitting is Necessary
Not all problems are suitable for multi-agent processing. Forcing a split on simple Q&A will only increase communication overhead. Therefore, the orchestrator must first evaluate task complexity, dependencies, and potential gains.
2. Designing the Task Decomposition Plan
The orchestrator needs to identify different roles within the task, such as information retrieval, data organization, fact-checking, solution design, and final writing. A proper split should feature clear sub-task boundaries, explicit inputs and outputs, and minimized interdependencies.
3. Deciding Between Serial and Parallel Execution
If multiple sub-tasks are independent, they can be executed in parallel; if a later task depends on the results of an earlier one, they must be executed sequentially.
The task relationship can be abstracted as a Directed Acyclic Graph (DAG):
Requirement Understanding├── Data Organization├── Data Analysis└── Risk Inspection↓Result Aggregation↓Final Output
Here, data organization, data analysis, and risk inspection can be executed in parallel. Only after these results are generated does the final output module begin its work.
4. Aggregation and Conflict Handling
Different sub-agents may provide contradictory conclusions. The orchestrator needs to filter these based on evidence quality, task objectives, and result consistency, triggering secondary verification if necessary, rather than simply concatenating all outputs.
5. Optimizing Execution Costs
The orchestrator’s goal should not be limited to improving answer accuracy; it should also control the overall number of steps, invocation counts, and end-to-end latency. An excellent scheduling strategy achieves a balance between task quality and resource consumption.
7. Heterogeneous Sub-agents: Execution Units Focused on Local Goals
Sub-agents can be instantiated from different policy versions of the same base model, or form differentiated roles through different system prompts, tool permissions, and context configurations.
Common sub-agent types include:
- Document Understanding Unit: Responsible for extracting sections, facts, and key conclusions;
- Data Analysis Unit: Responsible for statistics, calculations, and anomaly identification;
- Visual Analysis Unit: Responsible for image content understanding and region localization;
- Verification Unit: Responsible for identifying contradictions, missing data, and uncertain information;
- Expression Generation Unit: Responsible for converting structured results into reader-friendly content.
Sub-agents typically have independent context spaces to prevent cross-contamination between different tasks. For example, the data analysis unit does not need to carry the entire writing history, and the visual analysis unit does not need to process all background materials. This reduces context length and improves task focus.
In training design, most sub-agents can be frozen, optimizing only the central orchestrator’s scheduling policy. The benefit of this approach is a clearer training objective: the system focuses on learning “when to call whom, how many times to call, and how to organize the results,” rather than simultaneously altering all execution modules.
8. How Reinforcement Learning Optimizes Collaboration Strategies
For multi-agent systems, relying solely on manually written scheduling rules often fails to cover complex scenarios. Reinforcement learning (RL) can incorporate task completion quality, execution latency, and resource costs into the optimization objectives.
An abstract reward function can be represented as:
Total Reward =Task Quality Gain- Latency Penalty- Calling Cost Penalty- Invalid Parallel Penalty- Result Conflict Penalty
Under this framework, the orchestrator needs to learn the following strategies:
- Answer directly for simple tasks to avoid over-splitting;
- Maximize parallelism for independent sub-tasks;
- Maintain necessary serial relationships for strong dependencies;
- Trigger re-verification for low-confidence results;
- Stop promptly once sufficient quality is achieved;
- Select different execution units based on task type.
During training, attention should also be paid to the side effects of reward design. If only final accuracy is rewarded, the system might infinitely increase call counts; if only latency is penalized, it might terminate prematurely, degrading result quality. Therefore, practical design requires multi-objective constraints, combined with manual evaluation, automated metrics, and failure case analysis for fine-tuning.
9. Key Engineering Risks to Monitor During Implementation
While multimodal multi-agent systems are powerful, their complexity is also higher. The following issues require special attention during deployment:
1. Result Traceability
The system should retain task splitting records, sub-task inputs/outputs, tool invocation processes, and final aggregation rationale to facilitate pinpointing error sources.
2. Uncertainty Management
Model outputs should not be treated as facts by default. For key conclusions, confidence assessment, evidence citation, or secondary verification mechanisms should be added.
3. Concurrency Control
Excessive parallelism can cause resource contention, context congestion, and service instability. Concurrency limits, timeout mechanisms, and failure retry strategies must be established.
4. Permission Isolation
Different sub-agents should only possess the minimum permissions required to complete their tasks, especially when accessing files, databases, or external systems. Overly concentrated permissions should be avoided.
5. Evaluation System
Evaluation should not solely focus on whether the final answer is correct. It must also cover task splitting quality, parallel decision accuracy, tool usage rationality, execution latency, resource consumption, and exception recovery capabilities.
Conclusion
The core competitiveness of multimodal agents is shifting from simply expanding model scale to optimizing training methods and system organization.
At the training level, visual capabilities do not necessarily need to wait until language capabilities mature before being introduced intensively. Smoother early joint training helps reduce the representation shock caused by modality shifting, maintaining the stable synergy of text and visual capabilities.
At the inference level, complex visual tasks can leverage programmatic analysis to improve precision and verifiability; complex business tasks can be handled through division of labor via a central orchestrator and heterogeneous sub-agents.
Future agent systems may no longer consist of “one model doing all the work.” Instead, they will likely feature a core module skilled in planning and scheduling, coordinating multiple execution units focused on different tasks, achieving a dynamic balance among accuracy, latency, cost, and safety.
