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

VLM Architecture

VLM 架构
🎯Core Definition
The standard VLM (Vision-Language Model) recipe is three parts — vision encoder + projector + LLM: the vision encoder (CLIP ViT) patchifies the image into visual features zvisz_{vis}, the projector (MLP/Q-Former) maps them into the LLM's text embedding space, and the LLM generates text autoregressively, trained by cross-entropy on assistant tokens: L=−∑tlog⁡p(yt∣y<t,v)\mathcal{L} = -\sum_t \log p(y_t \mid y_{<t}, \mathbf{v}). Fusion placement defines the family: LLaVA/Qwen-VL fuse at the LLM input (projected visual tokens prepended to the input sequence); BLIP-2 compresses via Q-Former cross-attention before injection; Flamingo inserts cross-attention layers inside the LLM (interleaved fusion).
💡Use Cases
visual question answering (VQA), image captioning, OCR/document understanding, chart reasoning, video understanding, and as the perception layer of multimodal agents; interviews ask about the differences between the three fusion placements and the rationale for each.
⚡Key Problems Solved
training a truly native multimodal transformer from scratch is prohibitively expensive in data and compute; the modular recipe reuses an LLM's language ability and CLIP's vision ability, requiring training only a lightweight projector (millions of parameters) to connect vision into language — three-stage training (alignment → interleaved pretraining → visual SFT) reduces the cost from training an LLM to fine-tuning one, while inheriting open-source strength in both modalities.
🎯Core Interview Exam Points
Fundamentals · Production Scenarios · Deep Dive
Core Def
Explain the core definition, underlying mechanism/math, and key principles of VLM Architecture.
Use Cases
In production engineering, what are the primary use cases for VLM Architecture and what core pain points does it solve?
🔥 High-Frequency Deep-Dive Questions
1
The VLM three-part recipe: responsibilities of encoder / projector / LLM?
2
LLaVA (input-level fusion) vs Flamingo (layer-level cross-attention): differences?
3
Why project visual features into the text embedding space? How is the dimension mismatch handled?
4
Why is the VLM loss cross-entropy over text tokens only? Is there no loss on images?
5
Native multimodal (GPT-4o/Chameleon) vs modular VLM (LLaVA): architecture trade-offs?
Updated 2026-08-12
🎯
Verify Mastery: Practice Exam Questions for "VLM Architecture"
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 CardCLIP ApplicationsNext Card →Vision Encoder

🔗 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-architecture