Share from 0:00
0:00
/

"Inference Optimal VLMs Need Only One Visual Token but Larger Models"

The podcast on this paper is generated with Google's Illuminate.

Single visual token + largest possible LLM = optimal VLM (Vision Language Models) performance

Maximize LLM size, minimize visual tokens - the secret to faster VLMs

https://arxiv.org/abs/2411.03312

Original Problem πŸ€”:

Vision Language Models (VLMs) face high latency during real-world deployment due to processing hundreds of image tokens. Current solutions either reduce LLM size or decrease visual tokens, but the optimal trade-off between these approaches remains unclear.

-----

Key Insights πŸ”:

β†’ Error varies 5x faster with LLM parameters than with visual tokens

β†’ For visual reasoning tasks, using just one visual token with largest possible LLM gives best performance

β†’ For OCR/text-heavy tasks, more visual tokens become crucial - trend reverses completely

β†’ Optimal token count increases with text input length, but larger LLM still remains beneficial

β†’ Current token compression research needs shifting focus from moderate (576β†’144) to extreme compression (576β†’1/4)

-----

Solution in this Paper πŸ› οΈ:

β†’ Developed scaling laws modeling VLM performance as function of both LLM size and visual token count

β†’ Experimented with Qwen-{0.5,1.8,4,7,14}B models evaluating on 9 visual reasoning benchmarks

β†’ Created QueCC (Query-based Convolutional Cross-attention) compression technique for high compression scenarios

β†’ Used learnable depth-wise 2D convolution filter instead of bilinear interpolation for better token downsampling

-----

Results πŸ“Š:

β†’ QueCC improved gap between original LLaVA-1.5 and next-best method by 12% on MME and 19% on MMB at one-token level

β†’ At four-token level, gap reduced by 26% on MME and 21% on MMB

β†’ Maintained strong performance on GQA, MME, ScienceQA, and VQAv2 across compression rates

Discussion about this video

User's avatar

Ready for more?