Magnifying What Matters: Attention-Guided Adaptive Rendering for Visual Text Comprehension
Shenglai Zeng, Qirui Wang, Kai Guo, Xinnan Dai, Xianxuan Long, Hui Liu
NeurIPS page · OpenReview · alphaXiv · Open on the map
Category: Vision-Language Models › Multimodal Reasoning and Alignment · Type: new method · Keywords: visual text comprehension, attention-guided adaptive rendering, VLM, document question answering, plug-and-play enhancement
Areas: Multimodal › Multimodal Visual Reasoning › Vision Token Compression
Summary
AGAR leverages a vision-language model’s middle-to-late attention to enlarge the most important text patches on rendered pages, boosting performance across a wide range of visual text comprehension benchmarks.
Explained to a 5-year-old
A computer looks at pictures that have words, like signs or pages. It sometimes pays attention to the right parts of the picture but doesn’t actually use that information to read. The researchers noticed this and made a way to zoom in on the most important words. This helps the computer understand the picture better and answer questions correctly. The new method works without changing the computer’s brain and helps many different tasks.
Explained to a 5-year-old, longer
When we show a computer a picture that contains text, it needs to read the words to answer questions about the image. Existing methods simply turn the text into a picture using a fixed layout, like a static map. Researchers observed that the computer’s attention mechanism often highlights the right areas of the picture but does not actually use those highlights to improve its answers. They discovered that by enlarging the most important text regions based on where the computer looks, the computer can read better. The new technique works by taking the computer’s own attention maps, finding the top important patches, mapping them back to the original words, and then re-creating the picture with those words made larger. This process repeats, letting the computer try again with a clearer view. Because the method does not require training the computer, it can be applied to many different models and tasks. It helps with short questions, long documents, and even multi-page memory questions. The approach also stays reliable even when the picture or the text is a bit blurry or low-quality. Overall, this makes reading from pictures more accurate and useful for real-world applications like scanning long forms or answering questions about entire articles.
For a technical reader
The paper identifies a mismatch between attention localization and utilization in vision-language models for text-heavy images. It proposes a plug-and-play pipeline that extracts top-K attention patches from middle-to-late layers, maps them to word spans, and re-renders the page with those spans enlarged before inference. This training-free method improves accuracy across nine benchmarks and composes well with post-training refinements. It also demonstrates robustness to visual and textual degradations, making it suitable for deployment in production OCR and document QA systems.
Problem
Current visual text comprehension pipelines render text into images using fixed, content-agnostic layouts, offering little insight into how vision-language models process the visualized text. Additionally, models often localize text regions without actually using that localization to improve answers.
Method
The approach uses a vision-language model’s middle-to-late layer attention to pinpoint top-K important visual patches, maps these patches back to word spans, and re-renders the page with those spans enlarged before re-inferring the answer. This training-free, model-agnostic pipeline operates without modifying the underlying VLM.
Results
The approach consistently improves off-the-shelf VLM performance across benchmarks, yields additional gains when combined with post-training, and remains robust under visual and text input degradation.
Contributions
The paper provides an empirical analysis revealing that VLMs localize text without utilizing it, and introduces a training-free method that adaptively enlarges important text regions based on model attention. This method improves performance across a wide range of VTC tasks and works with various VLM backbones.
Practical relevance
It enables more accurate long-document OCR and multi-page question answering for real-world applications that require reading extensive text.
Research questions this paper is counted under
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction