← Back to Multimodal Mind Map
⚡Flashcard Drill➔
👁️ MultimodalID: vlm-three-stage

VLM 3-Stage Pipeline

VLM 三阶段训练
🎯Core Definition
The VLM 3-stage pipeline (LLaVA/Qwen2-VL paradigm) proceeds through alignment → interleaved pretraining → visual instruction SFT, with per-stage freezing:
📌Overview
| Stage | Vision encoder | Projector | LLM | Data | Purpose | |:--|:--|:--|:--|:--|:--| | Stage 1 alignment | frozen | train | frozen | image-text pairs (e.g. CC3M ~558K) | map vision features into text embedding space | | Stage 2 interleaved pretrain | frozen | train | unfrozen (full) | interleaved docs + high-quality pairs | world knowledge, multi-image & long context | | Stage 3 visual SFT | frozen | train | unfrozen (full or LoRA) | visual instruction data (VQA/dialogue) | instruction alignment & dialogue |
📌Overview
The projector (two-layer MLP in LLaVA; Q-Former in BLIP-2/Qwen-VL) maps vision features into LLM embeddings: hv=MLPϕ(ViTψ∗(x))h_v = \text{MLP}_\phi(\text{ViT}_{\psi^*}(x)) with ψ∗\psi^* denoting frozen encoder weights; every stage's objective is masked CE on assistant text tokens (see the masked-cross-entropy card). Why the vision encoder stays frozen throughout: CLIP/SigLIP features are high-quality and stable — unfreezing drifts the feature space, demands massive data to re-learn, and removes the encoder's whole backward pass from VRAM and compute.
💡Use Cases
high-frequency interview topic (pipeline, what is frozen per stage, and why); deciding where to apply LoRA under a training budget (usually Stage 3); understanding recipe differences of open models (LLaVA-1.5 two-stage vs Qwen2-VL three-stage).
⚡Key Problems Solved
end-to-end full-parameter training from scratch needs enormous data and tends to destroy vision features; the three stages decouple feature alignment (converges with small data), knowledge injection (heavy compute in pretraining) and instruction alignment (small but critical data) — Stage 1 aligns dimensions/semantics with only ~558K pairs while freezing both towers (projector params are orders of magnitude smaller than the LLM), Stage 2 builds reasoning in joint context, Stage 3 aligns format and preferences — much more efficient and stable than one-shot full training.
🎯Core Interview Exam Points
Fundamentals · Production Scenarios · Deep Dive
Core Def
Explain the core definition, underlying mechanism/math, and key principles of VLM 3-Stage Pipeline.
Use Cases
In production engineering, what are the primary use cases for VLM 3-Stage Pipeline and what core pain points does it solve?
🔥 High-Frequency Deep-Dive Questions
1
Draw the 3-stage VLM pipeline table: what is frozen/trained and which data per stage?
2
Why is the vision encoder frozen throughout? Consequences of unfreezing it?
3
Purpose of Stage-1 projector-only training? Projector input/output dimensions?
4
Stage-3 full fine-tuning vs LoRA: when to use each and the criteria?
5
How does the 3-stage recipe map onto LLaVA's 2-stage and Qwen2-VL's 3-stage?
Updated 2026-08-12
🎯
Verify Mastery: Practice Exam Questions for "VLM 3-Stage Pipeline"
Take pitfall multiple-choice questions with derivation options; mistakes are automatically logged.
🚀 Start Card Practice ➔
⚡
Test muscle memory on this topic via 3-Layer Flashcards
Active Recall: Mentally formulate Prompt ➔ Math Derivation ➔ Benchmark Implementation in 3 minutes.
🎯 Drill This Card Now➔
← Previous CardNative Any-to-Any MultimodalNext Card →Masked Cross-Entropy Loss

🔗 More Multimodal Knowledge Cards

引用出处: TalentMe 450+ 工业级 AI 架构考点知识库 (Tech Vault) · 遵循 CC-BY-4.0 知识共享协议
URL: https://talentme.airsota.com/resources/tech/roadmap/mindmap/Multimodal/card/vlm-three-stage