Training Framework for Vision-Language Models Toward General Multimodal Reasoning
This article analyzes a reasoning-centric training framework for vision-language models (VLMs). It covers the shift from perception and understanding to multimodal reasoning, a ViT-MLP-LLM architecture, six categories of training data, staged pretraining, supervised fine-tuning with high-quality CoT data and standardized output formats, and reinforcement learning with curriculum sampling (RLCS). It also reviews mixed reward design, optimization details, reported benchmark results, cross-domain transfer effects, and remaining challenges. Readers gain a structured view of how data quality, reward precision, and RL efficiency can help smaller VLMs approach or exceed larger models on complex reasoning tasks without relying solely on parameter scaling.
1. Background: From Perceptual Understanding to Deep Reasoning
1.1 Capability Layers of Vision-Language Models
Vision-language models (VLMs) have evolved rapidly over the past few years. Early models mainly addressed the “image captioning” problem: given an image, output a description such as “there is a cat in the picture.” Later, tasks such as visual question answering and image-text retrieval pushed models toward stronger understanding, enabling them to answer questions like “why does the person in the image look happy?” that require contextual inference.
Capabilities can be divided into three layers:
- Perception: recognizing basic elements in an image, such as objects, text, colors, and positions;
- Understanding: grasping relationships among elements, scene semantics, and emotional tendencies;
- Reasoning: performing multi-step logical deduction, causal analysis, and mathematical calculation based on visual evidence.
The first two layers are relatively mature. The third layer—reasoning, especially complex reasoning in science, technology, engineering, and mathematics (STEM)—remains a major focus for the industry. This is the fundamental driver behind the rise of reasoning-centric training paradigms.
1.2 Two Key Tools for LLM Reasoning: CoT and RL
In the large language model (LLM) field, improvements in reasoning ability mainly rely on two techniques:
Chain-of-Thought (CoT): By having the model explicitly output intermediate reasoning steps, CoT changes “answer directly” into “think first, then answer.” This significantly improves accuracy on math and logic tasks. Its essence is to flatten complex implicit computation into an explicit, superviseable sequence.
Reinforcement Learning (RL): Guided by outcome-based or process-based reward signals, RL lets the model learn to choose better reasoning paths through extensive self-exploration. Compared with pure supervised learning, RL does not depend on human-annotated standard reasoning processes. As long as the correctness of the final answer or intermediate steps can be judged, the policy can be continuously optimized.
A natural question follows: can these two tools be transferred from the pure text domain to the multimodal domain? The answer is yes, but the process is far more complex than it might seem.
1.3 Shortcomings of Existing VLMs
Most current VLMs have three shortcomings:
- Shallow reasoning: For problems requiring multi-step deduction, such as geometric proofs or chart-based data calculation, models tend to guess the answer directly and lack a stable step-by-step reasoning habit.
- Insufficient modality alignment: The information bottleneck between the vision encoder and the language model causes detail loss, such as small text in high-resolution images or values in dense charts.
- Single training paradigm: Most rely on pretraining plus supervised fine-tuning, without a reinforcement learning stage based on verifiable rewards, so model potential is not fully released.
Recent publicly disclosed technical practices, such as technical reports on some open multimodal reasoning models, show that through systematic training framework design, 9B-level models can achieve leading results on 28 public benchmarks and even surpass models with an order of magnitude more parameters and some closed-source flagship models on certain highly difficult tasks. The following sections break down the full technical pipeline.
2. Model Architecture: ViT-MLP-LLM Three-Stage Design
2.1 Overall Structure
Mainstream VLMs generally adopt a three-stage architecture:
Image/video frames → [ViT vision encoder] → visual features↓[MLP projector]↓Text prompt → [LLM backbone] → autoregressive answer generation
- Vision encoder (ViT): Splits an image into patches and encodes them into a sequence of visual tokens. A key engineering improvement is support for native dynamic resolution—instead of forcing images to a fixed size, images are split according to their original aspect ratio, preserving detail in documents and charts.
- MLP projector: Handles modality alignment by mapping visual features into the language model’s embedding space. It has few layers, but it strongly affects training stability.
- Language model backbone: Responsible for cross-modal fusion and autoregressive generation, and is the main carrier of reasoning ability.
2.2 Key Technical Details
Several engineering points are worth noting:
- 2D Rotary Position Embedding (2D-RoPE): Injects spatial position information into visual tokens, enabling the model to perceive relative relationships such as “the number in the upper-left corner” and “the arrow in the lower-right corner.” This is critical for grounding and GUI understanding tasks.
- Video temporal modeling: Adds temporal position encoding on top of image patches, concatenates features from multiple frames, and feeds them into the backbone, allowing the same architecture to support both image and video inputs.
- Visual token compression: High-resolution images produce thousands of visual tokens, and direct concatenation would crowd the context window. Common approaches include merging adjacent tokens or using lightweight sampling modules to balance detail preservation and length control.
3. Data Preparation: Six Data Categories for a Multimodal Knowledge Base
Data is the “fuel” of this system. Six major categories are typically required:
3.1 Image Caption Data
Provides basic visual-semantic alignment. The key is not quantity stacking, but re-captioning: using strong models to generate more detailed and accurate descriptions for massive numbers of images, replacing the highly noisy original short captions in web-crawled data.
3.2 Interleaved Image-Text Data
Simulates the layout of real webpages, textbooks, and technical documents, with images and text appearing alternately, to train the model to understand cross-image contextual logic. This type of data is the foundation for long-document understanding and multi-image reasoning.
3.3 OCR Data
Covers printed text, handwriting, tables, receipts, multilingual scenarios, and more. The model is required not only to “recognize characters” but also to understand layout structure, such as the correspondence between headers and cells. Real scanned documents are usually combined with synthetic data to construct joint annotations of “text content + coordinates + structure.”
3.4 Grounding Data
Uses pairs of “text description ↔ bounding box coordinates” to train referring expression understanding and target localization. Coordinates are generally normalized to an integer range of 0–1000 and output as text tokens, making them naturally compatible with the language modeling objective.
3.5 Video Data
Includes task forms such as video captioning, temporal question answering, and event localization. Sampling strategies need to balance frame rate and duration: short videos are sampled uniformly, while long videos are sampled in segments according to key events.
3.6 Instruction Tuning Data
Aggregates human instruction data for various tasks to teach the model to “understand requirements and answer in the required format.” At this stage, quality control matters more than quantity.
4. Pretraining: Staged Construction of Visual Foundations
Pretraining is usually advanced in stages:
- Stage 1: Freeze the language model and train only the projector, so visual features quickly align with the language space.
- Stage 2: Unfreeze the vision encoder and projector, and perform full training with large-scale caption and interleaved data.
- Stage 3: Introduce long-context data such as long documents, multiple images, and video, extend sequence length, and unfreeze all parameters for joint optimization.
The benefit of staging is avoiding early contamination of the language model’s existing capabilities by a randomly initialized visual branch, while concentrating compute on the most valuable stages.
5. Supervised Fine-Tuning (SFT): Preparing for Reinforcement Learning
5.1 High-Quality CoT Data
The core task of the SFT stage is teaching the model to “think first, then answer.” The construction pipeline for CoT data is generally: use a strong teacher model to generate answers with reasoning processes for complex questions, then filter through rejection sampling by keeping only samples whose final answers are correct, and finally add manual spot checks. Special care must be taken to prevent false-correct samples—those with a correct answer but an incorrect process—because they will be amplified in the subsequent RL stage.
5.2 Standardized Response Format
To allow reward signals to be parsed automatically, the output format must be standardized. A typical convention is:
<think>step-by-step reasoning process...</think><answer>final answer</answer>
The fixed tag structure allows rule-based rewards to precisely extract the answer portion for comparison, and also separates the reasoning process from the conclusion, facilitating process supervision.
5.3 Data Quality Management and Iterative Enhancement
Establish a closed loop of “training—evaluation—error sample recycling—data regeneration”: after each training round, attribute and classify the model’s error samples on the validation set (perception errors / reasoning errors / format errors), supplement targeted data of the corresponding type, and iterate continuously. This is far more effective than piling up data in a one-time effort.
6. Reinforcement Learning (RL): The Key Leap to Unlock Reasoning Potential
6.1 Reward System
Reward design is central to RL success. A mixed reward setup is generally used:
- Rule-based rewards: Suitable for tasks whose answers can be programmatically verified, such as numerical comparison for math problems, unit test pass rates for coding problems, and IoU threshold judgments for grounding tasks.
- Model-based rewards: For open-ended responses, a reward model scores correctness and quality.
- Format rewards: Check whether the output conforms to the
<think>/<answer>structure, preventing the model from lazily skipping reasoning.
In practice, reward normalization and anti-reward-hacking measures are also needed. For example, a model may learn to output lengthy but empty reasoning to game process scores, so length penalties or process consistency checks are required.
6.2 RLCS: Reinforcement Learning with Curriculum Sampling
This is the most illuminating design in the overall framework. Its idea is analogous to human learning: first solve problems you can handle to build confidence, then gradually challenge harder ones. The specific mechanism is:
- Offline difficulty grading: First use the current policy to sample each training sample multiple times, calculate the pass rate, and divide samples into easy, medium, and hard tiers.
- Online adaptive sampling: During training, prioritize samples whose pass rate falls in the middle interval—neither always correct nor always wrong—because such samples provide the richest gradient information. Samples that are too easy or too hard contribute little to policy improvement.
- Dynamic updating: As the model becomes stronger, former “hard problems” become “medium problems,” and the curriculum automatically moves forward, forming a continuously moderate challenge.
This mechanism significantly improves RL training efficiency and stability, avoiding the waste of large amounts of compute on ineffective samples in traditional methods.
6.3 Optimization Details
- Adopt a policy optimization approach based on group-relative advantage estimation, comparing multiple sampled responses to the same question within a group, eliminating the need for an independent value network and reducing memory overhead.
- Control the KL divergence penalty coefficient to prevent the policy from deviating too far from the SFT model and causing language capability degradation.
- During multi-task mixed training, dynamically allocate sampling weights according to task difficulty, avoiding easy tasks drowning out the gradients of hard tasks.
7. Experimental Results and Cross-Domain Generalization
Publicly reported practice results offer two important insights:
First, the marginal returns of scale can be partially replaced by training methods. A 9B-level model achieves leading performance at its scale on 28 benchmarks covering STEM reasoning, chart understanding, GUI agents, and long-document question answering, and on some highly difficult tasks it surpasses 70B-level models. This shows that the combination of “data quality × reward precision × RL efficiency” can have leverage comparable to simply scaling parameters.
Second, positive cross-domain transfer exists among capabilities. Mathematical reasoning training improves chart-based numerical analysis; grounding training feeds back into click accuracy in GUI operations; video temporal understanding enhances the coherence of multi-step reasoning. This suggests that multi-task joint RL is not a simple task platter—as long as rewards are designed properly, different capabilities promote rather than interfere with one another.
8. Conclusion: Contributions, Limitations, and Outlook
8.1 Core Contributions
This reasoning-centric training framework demonstrates three points. First, high-quality CoT data plus a standardized output format are necessary prerequisites for multimodal RL. Second, a hybrid reward system combining verifiable rewards and model-based rewards can support unified optimization of both open-ended and closed-ended tasks. Third, curriculum-style sampling makes RL achieve multiplied efficiency under limited compute, making it possible for smaller and medium-sized models to challenge larger models.
8.2 Limitations and Future Directions
Existing challenges include: bias in the reward model itself propagates to the policy model; ultra-long reasoning chains increase inference cost, requiring a trade-off between reasoning depth and latency; unified reasoning over audio and more modalities remains underexplored. Future directions may focus on finer-grained process-level rewards, adaptive control of reasoning length, and online reinforcement learning in multimodal agent scenarios.
For teams that want to deploy multimodal reasoning capabilities in business settings, two things should be prioritized: an evaluation pipeline that can automatically verify whether answers are correct, and a domain question bank covering an easy–medium–hard gradient. These two are the real foundation for reproducing the above framework and achieving gains on proprietary data.
