Early Fusion of Visual Data in Multimodal Training: Strategies and Key Findings
How should visual data be introduced when training multimodal large models? This article examines the timing and ratio of visual token injection under a fixed training budget, explains why early fusion with a lower visual share outperforms late-stage injection, covers the modality domain shift behind text performance dips, and shares practical guidance for joint training, evaluation, and code-based visual reasoning.
1. The Problem
Multimodal large models must process both text and images. How the two data types are scheduled during training directly shapes the model’s final capability profile. Training teams typically need to answer three questions: when to introduce visual data, how to set the ratio between visual and text data, and whether every training stage should use the same data mix.
These choices are expensive. Large-scale model training consumes substantial compute, and a poor data schedule may only reveal its problems late in training, when correction costs are significant. Understanding the mechanisms behind different strategies is therefore more valuable than memorizing rule-of-thumb numbers.
2. Assumptions Behind the Conventional Approach
A common industry practice treats multimodal capability as a late-stage add-on. Teams first build a strong language foundation with large-scale text data, then inject a high proportion of visual data in the later stages of training. The intuition is that since language ability is already established, adding vision afterwards is faster and more resource-efficient.
This assumption rests on two premises. First, language representations remain essentially stable in the later stages and are not meaningfully disturbed by new modality data. Second, the higher the proportion of visual data, the greater the multimodal improvement. The second premise deserves particular scrutiny.
3. A Controlled Experiment Under a Fixed Budget
Determining which strategy is better requires strict variable control. A rigorous controlled experiment should satisfy the following conditions:
- The total training token budget is fixed, so the sum of visual and text tokens stays constant;
- Only the injection timing of visual data varies (e.g., early, mid, or late);
- Only the visual-to-text ratio varies;
- Evaluation covers both vision tasks and text-only tasks, avoiding a single-dimension view.
Only under a fixed budget can conclusions be attributed to the strategy itself. Otherwise, you may simply be comparing “more training data” against “less training data.”
4. Finding One: The Visual Ratio Has Limited Impact
Under these controls, the proportion of visual tokens has a small effect on final multimodal performance. Simply increasing the visual share does not guarantee stronger vision capabilities, so concentrating resources on raising that ratio may yield limited returns.
The practical implication is that the optimization focus should shift from “how much visual data to add” to “when and at what pace to add it.”
5. Finding Two: Early Injection With a Lower Ratio Benefits Both Sides
With a fixed total budget, injecting visual tokens early at a lower visual-to-text ratio produces better results on both the vision and text dimensions. This runs counter to conventional thinking.
From a representation learning perspective, the explanation is straightforward: early in training, model parameters are not yet fixed, so data from different modalities can jointly shape the structure of a shared representation space. Vision-language alignment formed early tends to be more natural and more stable than alignment patched in later.
6. Text Performance Fluctuations: Modality Domain Shift
Schemes that inject visual data in the mid or late stages often show text performance dropping first and then recovering slowly. The mechanism can be summarized as modality domain shift: when a large volume of visual tokens suddenly enters an already-formed language representation space, the existing parameter distribution is disrupted, and the model needs considerable time to readjust.
Early fusion behaves differently. Data from different modalities enters training continuously and steadily, so text performance remains stable throughout, with no sharp adjustment phase. This matters for applications that require consistently reliable output over time.
Note that this explanation is a mechanistic inference drawn from training curves; the exact magnitude varies with model scale, data quality, and training hyperparameters.
7. Joint Training: Extending From Pretraining to SFT and RL
These findings are not limited to pretraining. In practice, supervised fine-tuning (SFT) and reinforcement learning (RL) can also adopt joint training over text and visual data.
Joint training offers three main benefits:
- Avoiding catastrophic forgetting of one modality in later stages;
- Keeping instruction following and reward signals consistent across modalities;
- Simplifying the training pipeline and reducing distribution shift caused by multi-stage switching.
One caveat: the sampling ratio of joint data still needs separate tuning per stage. The optimal ratio may differ from stage to stage, so pretraining settings should not simply be carried over.
8. Tool-Based Paths for Vision Tasks
Beyond training strategy, inference-time engineering also deserves attention. One effective approach is to let the model invoke a code execution environment. The model first writes image-processing code—for example, cropping regions of interest, adjusting contrast, or computing pixel statistics—then performs recognition and judgment based on the processing results, and finally answers the vision task.
Compared with relying on one-shot visual recognition, the key advantage is that this decomposes complex visual problems into verifiable intermediate steps. Each step’s output can be inspected, making errors easier to localize.
An illustrative flow:
def solve_visual_task(image, question):# 1. Generate an image-processing plan and write the corresponding codeplan = model.plan_image_operations(question)code = model.write_code(plan, image_path=image.path)# 2. Run it in an isolated code execution environment with timeout and resource limitsresult = sandbox.run(code, timeout=30)# 3. Feed intermediate results back to the model to complete reasoninganswer = model.reason(question, observations=result.outputs)return answer
This code is for illustrating the flow only; function names and parameters are illustrative. In production, code execution must run inside an isolated sandbox with restricted network access, file permissions, and runtime limits, and outputs should be validated to prevent malicious or faulty code from affecting the system.
9. Engineering Recommendations
Based on the analysis above, teams planning multimodal training can consider the following:
- Training schedule: introduce visual data from the early stages and keep the ratio stable; avoid large-scale late-stage injection.
- Ratio tuning: with the total budget fixed, compare different ratios rather than assuming a higher share is better.
- Process monitoring: track separate training curves for vision metrics and text metrics to catch degradation in either modality early.
- Evaluation design: the evaluation set should cover visual understanding, visual reasoning, and text-only tasks, with regression tests so that trade-offs between capabilities are not overlooked.
- Data quality: annotation quality and diversity of visual data often matter more than quantity.
10. Limitations and Scope
The conclusions above come from experiments under specific model scales and data conditions and should not be treated as universal laws. Teams differ widely in data distribution, model architecture, and training budget, so validate at small scale before transferring these findings.
In addition, code-execution-based visual reasoning increases inference latency and system complexity. Whether to adopt it requires weighing accuracy against response latency and operational cost.
Conclusion
The central question in multimodal training is when, and in what proportion, visual data should enter the training process. Controlled experiments under a fixed budget show that early fusion with a lower visual share helps preserve text capability while improving vision performance. For engineering teams, the focus should be on training schedule, process monitoring, and evaluation design—not simply on chasing more data.
