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×nw 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)×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] (roughly 1 token per
28×28 pixels), i.e. 256 minimum and 1280 maximum tokens, with token count proportional to image area instead of fixed grids.