Back to Multimodal Mind Map
中文·English
👁️ MultimodalID: high-res-dynamic-token

High-Res & Dynamic Tokens

AnyRes 切块 / 动态 Token
🎯Core Definition
High-resolution input is the key to VLM performance on OCR, documents and small objects; two mainstream schemes: ① LLaVA-1.5/1.6 AnyRes — split the high-res image into an nh×nwn_h \times n_w grid of 336×336 cells, run each cell through the vision encoder for 576 tokens (ViT-14), and prepend a global thumbnail to preserve overall semantics; total tokens Ntokens(nh×nw+1)×576N_{\text{tokens}} \approx (n_h \times n_w + 1) \times 576; ② Qwen2-VL dynamic resolution — vision tokens are generated according to the native aspect ratio within the pixel range [256×28×28, 1280×28×28][256 \times 28 \times 28,\ 1280 \times 28 \times 28] (roughly 1 token per 28×2828 \times 28 pixels), i.e. 256 minimum and 1280 maximum tokens, with token count proportional to image area instead of fixed grids.
💡Use Cases
document understanding, OCR, screenshot QA, fine-grained visual grounding; interviews ask about the difference between AnyRes and dynamic tokens, and why high resolution boosts OCR.
Key Problems Solved
resizing to 336×336 destroys small text/objects, while feeding full-resolution pixels explodes the token budget (a 4K image would cost tens of thousands of tokens, blowing the LLM context); grid patching controls cost without losing resolution — LLaVA-1.6 offers 1/2/4-grid tiers (about 672/1296/2304 tokens), and Qwen2-VL makes token count vary continuously with area, trading detail fidelity against context length in a configurable way; the resolution gain delivers double-digit improvements on OCR/document benchmarks (LLaVA-1.6 clearly beats 1.5 on TextVQA and similar).
🎯5 High-Frequency Exam Points
1
How does AnyRes work? How are grids split and what does the global thumbnail do?
2
LLaVA-1.6 tiers (1/2/4 grids): how many visual tokens does each produce?
3
Qwen2-VL dynamic resolution vs AnyRes fixed grids: differences?
4
Why does high resolution drastically improve OCR/document ability? At what cost?
5
How does visual token count affect LLM attention cost (quadratic in sequence length)?
Updated 2026-08-12
🎯
Test Your Knowledge: Practice Questions for "High-Res & Dynamic Tokens"
Single choice pitfall questions with instant feedback and mistake tracking.
🚀 Start Card Practice
Previous CardVLM Projector MLP/Q-FormerNext CardNative Any-to-Any Multimodal

🔗 More Multimodal Knowledge Cards

ASR (Whisper)Audio RepresentationClassifier-Free GuidanceCLIP Applications