Reproduce “FastVLM: Efficient Vision Encoding for Vision Language Models” on OpenResearch
Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Pavan Kumar Anasosalu Vasu, Fartash Faghri, Chun-Liang Li, Cem Koc, Nate True, Albert Antony, Gokul Santhanam, James Gabriel and 3 more
FastVLM redesigns the vision encoder of a vision-language model to process high-resolution images while sending fewer visual tokens to the language model. Its five-stage FastViTHD encoder combines RepMixer and attention stages with hierarchical downsampling. Against FastViT, it improves the accuracy-versus-time-to-first-token frontier by over 2.5 points or reaches target performance up to 3× faster across tested settings, not universally.
Key insights
- An efficiency-first architectural design for the vision encoder, specifically a hierarchical hybrid convolutional-transformer, can inherently reduce visual tokens and latency more effectively than post-hoc pruning.
- The vision encoder's latency becomes the dominant bottleneck in VLM performance at high resolutions, necessitating optimized vision backbone design.
- Directly setting static input resolution for the VLM model generally offers a better accuracy-latency trade-off compared to dynamic tiling strategies.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.