Constructive Distortion: Improving MLLMs with Attention-Guided Image Warping

Dwip Dalal, Gautam Vashishtha, Utkarsh Mishra, Jeonghwan Kim, Madhav Kanda, Hyeonjeong Ha, Svetlana Lazebnik, Heng Ji, Unnat Jain

TL;DR

AttWarp is a lightweight, plug-and-play method that improves the fine-grained perception of Multimodal Large Language Models (MLLMs) by using their own internal attention to warp input images. By non-uniformly redistributing resolution toward query-relevant regions while preserving global context, AttWarp consistently boosts accuracy and reduces hallucinations across diverse benchmarks without requiring any model retraining.

What Problem Does This Paper Address?

Despite their impressive reasoning capabilities, Multimodal Large Language Models (MLLMs) like LLaVA or Qwen-VL often suffer from "visual myopia." They frequently miss tiny details, struggle with spatial relationships in cluttered scenes, and hallucinate objects that aren't there.

Original model failing to identify the lamp

The root cause is often a resolution bottleneck: standard models process images at a fixed, relatively low resolution. While researchers have tried "zoom-in" or cropping strategies, these often discard the global context necessary for reasoning. Other approaches involve feeding the model massive high-resolution images, but this is computationally expensive and often exceeds the model's "token budget." The authors of this paper ask: Can we help a model see better by simply rearranging the pixels it already has?

Methods

The authors introduce AttWarp, a method inspired by human "foveal vision"—where we allocate high-resolution neural resources to a center of interest while maintaining a lower-resolution peripheral view.

The AttWarp pipeline showing marginal profiles and rectilinear warping

The process works in a "self-correction loop":

  1. Initial Pass: The frozen MLLM processes the original image and a query. The researchers extract the cross-modal attention maps from the model’s deeper layers.
  2. Marginal Profiling: These 2D attention maps are condensed into 1D "marginal profiles" (horizontal and vertical). These profiles act as a heat map of where the model thinks the important information is.
  3. Rectilinear Warping: Using these profiles, the image is warped. Rows and columns with high attention are stretched (expanded), while low-attention areas are squished (compressed). Crucially, this is rectilinear, meaning it preserves the grid structure and global layout, keeping the "manifold" of the image similar to what the model saw during training.
  4. Final Pass: The same frozen MLLM is run again on this "constructively distorted" image. Because the relevant objects are now larger and clearer, the model provides a more accurate answer.

The paper also introduces two variants:

  • AttWarp-Chain: An iterative version that refines the warp over multiple steps until the attention distribution stabilizes.
  • AttWarp-Distill: A "student" model trained to predict the warping profiles in a single pass, making the process 3x faster and computationally efficient.

Key Insights and Ideas

  • Resolution is a Zero-Sum Game: You don't necessarily need more pixels; you just need to put the pixels you have where they matter most. AttWarp treats image resolution as a reallocatable resource.
  • The Importance of Rectilinearity: Unlike arbitrary warping, rectilinear warping (scaling only along the x and y axes) ensures that the vision encoder (like CLIP) isn't "confused" by the distortion. It mimics the data augmentation (random resized crops) the models saw during pre-training, maintaining "distributional integrity."
  • Attention as a Guide: The model already "knows" where to look; it just lacks the visual clarity to confirm what it sees. By using the model's own internal state to fix its input, the authors create a powerful, training-free enhancement.
  • Context Preservation: Unlike cropping, which deletes information, warping keeps the entire scene in view. This is vital for questions like "What is to the left of the laptop?" where you need to see both the laptop and its surroundings.

Datasets and Key Results

The researchers evaluated AttWarp across nine diverse benchmarks and four MLLM backbones (LLaVA, Qwen-VL, InternVL, and InstructBLIP). The benchmarks included Text/Document Understanding (TextVQA, DocVQA), Visual Reasoning (GQA, MMMU, RealWorldQA), Fine-grained Perception (MMVP, BLINK), and Hallucination/Instruction Following (POPE, MIA-Bench).

AttWarp consistently outperformed the base models and four competitive baselines (like ViCrop and SoM) that manipulate images at test time:

  • Accuracy Boosts: On LLaVA, AttWarp-Chain improved TextVQA by +11.0% and DocVQA by +9.5%.
  • Hallucination Reduction: It showed a +2.9% improvement on POPE, indicating the model is less likely to "guess" when small objects are made more visible.
  • Efficiency: AttWarp-Distill achieved nearly the same gains as the full iterative method but with the computational overhead of just a single standard MLLM pass.
  • Generalization: The method worked across different architectures, proving it is a "plug-and-play" solution for the MLLM community.

Limitations and Future Work

The primary limitation is initial attention quality. If the model's first pass produces completely "noisy" or misaligned attention (looking at the wrong part of the image entirely), warping that area won't help. While the "Chain" variant helps correct moderate errors, it can't fix a total failure of initial grounding.

The authors suggest that future work could focus on developing even more robust ways to "seed" the initial attention or exploring how this warping logic could be integrated directly into the training process of future MLLMs.

Summary updated

BibTeX
@inproceedings{dalal2026constructive,
  author = {Dwip Dalal and Gautam Vashishtha and Utkarsh Mishra and Jeonghwan Kim and Madhav Kanda and Hyeonjeong Ha and Svetlana Lazebnik and Heng Ji and Unnat Jain},
  title = {{Constructive Distortion: Improving MLLMs with Attention-Guided Image Warping}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=SRl0xy0UOj},
}
Figure