DualFocus: Integrating Macro and Micro Perspectives in Multi-modal Large Language Models

Yuhang Cao, Pan Zhang, Xiaoyi Dong, Dahua Lin, Jiaqi Wang · Submission to ICLR 2025 · Withdrawn

Here is a blog-style summary of the paper:

TL;DR

DualFocus mimics human vision by pairing global scene understanding ("macro") with dynamic, question-guided zooming ("micro") in Multimodal Large Language Models (MLLMs). Instead of uniformly tiling high-resolution images, the model predicts a single question-relevant region to zoom into, then uses perplexity (PPL) to select the best answer between the macro and micro perspectives.

What Problem Does This Paper Address?

Standard MLLMs (like LLaVA-1.5) operate on fixed-resolution images (often 336×336 or 448×448 pixels). As a result, they frequently miss subtle local details—such as small text, tiny objects, or specific attributes.

While recent high-resolution MLLMs split entire images into uniform grids of patches (e.g., LLaVA-NeXT, Monkey), this approach introduces excessive visual tokens, incurs heavy quadratic computation costs, and floods the model with query-irrelevant clutter. DualFocus addresses the challenge of acquiring fine-grained, localized visual information without sacrificing global context or inflating compute.

Methods

DualFocus structures visual reasoning into a two-round dialogue:

  1. Macro Inference & Region Grounding: The model processes the global image $v$ and the query $q$, producing an initial macro answer $\hat{ans}_{macro}$ and predicting bounding box coordinates $\hat{box}$ for the region pertinent to the question.
  2. Micro Inference: The identified subregion is cropped, upscaled to standard input resolution ($v'$), and re-encoded by the same vision encoder. The model then generates a micro answer $\hat{ans}_{micro}$ conditioned on both the global and zoomed visual tokens.
  3. Perplexity-Guided Selection: Because local zoom can harm broader reasoning (like spatial relations across distant objects) while excelling at detail (like text reading), the system calculates language perplexity (PPL) for both answers: $$\hat{ans} = \begin{cases} \hat{ans}_{macro}, & \text{if } \text{PPL}(\hat{ans}_{macro}) < \text{PPL}(\hat{ans}_{micro}) \\ \hat{ans}_{micro}, & \text{otherwise} \end{cases}$$
  4. Efficiency Optimizations: During inference, key-value (KV) caches of global image tokens and prompt tokens are reused across stages, running in only two forward passes (taking ~245 ms vs. 443 ms for grid-tiling methods).
Global Image ──> [ Vision Encoder ] ──> LLM ──> Macro Answer (PPL_macro)
                                      │
                                      └──> Predict Bounding Box
                                                  │
                                                  ▼ (Crop & Zoom)
Sub-Image    ──> [ Vision Encoder ] ──> LLM ──> Micro Answer (PPL_micro)
                                                  │
                                  [ Select Lower PPL ] ──> Final Output

Datasets

  • Curated Training Data: Built from Visual Genome (VG). The authors filtered ambiguous samples (e.g., multi-person scenes with ambiguous queries) down to 143,978 unequivocal image-question pairs across 7,825 images, formatted into a two-turn conversation (bounding box prediction followed by sub-image question answering).
  • Evaluation Benchmarks:
  • Multimodal benchmarks: SEED-Bench ($\text{SEED}^{IMG}$), MMBench.
  • Standard VQA: GQA (reformatted to multiple choice, GQA*), TextVQA.
  • Hallucination Evaluation: POPE (adversarial, popular, and random splits).

Key Insights and Ideas

  • Question-Aware Zoom Beats Blind Tiling: Rather than slicing the entire image into arbitrary patches, letting the language model localize the specific area of interest preserves efficiency while focusing capacity where it matters.
  • Perplexity as a Multi-Perspective Arbiter: Zooming isn't always better. Focused sub-images degrade spatial reasoning across an entire scene because the model over-attends to the local crop. Perplexity provides an effective, unsupervised confidence measure to decide whether macro or micro context is more reliable.
  • Perturbation Robustness: The sub-region prediction does not have to be pixel-perfect. Manually jittering the predicted bounding box by up to 25 pixels produces virtually no drop in accuracy, and even a 150-pixel permutation still outperforms the baseline.
  • Hallucination Reduction: Zooming in directly curbs hallucinated details by grounding tokens in crisp, high-resolution evidence, yielding immediate improvements on POPE splits.

Key Results

  • Baseline Improvements:
  • Applying DualFocus to LLaVA-1.5 (Vicuna-13B) gains +2.8 on SEED, +3.0 on MMBench, +5.2 on GQA, and +4.2* on TextVQA.
  • On Qwen-VL-Chat (7B), DualFocus yields gains of +1.2 (SEED), +2.6 (MMBench), +4.0 (GQA), and +2.2* (TextVQA).
  • Versus High-Resolution Tiling (LLaVA-HighRes/NeXT): DualFocus (7B) achieves 68.9 on SEED and 66.6 on MMBench (vs. 68.1 and 65.4 for LLaVA-HighRes) while running 1.8× faster (245 ms vs. 443 ms per iteration).
  • Fine-Grained Gains: On SEED breakdown tasks, DualFocus boosts Instance Attributes by +4.3% and Text Understanding by +12.9%.
  • Hallucination (POPE): DualFocus raises LLaVA-1.5 F1 score from 84.2 to 86.0 on the Adversarial split, and from 86.2 to 88.6 on the Popular split.
  • Adaptive Skipping: Setting a PPL threshold of 0.8 allows the model to skip the micro-inference pass on 58.1% of queries with only a 0.5% drop in GQA accuracy, cutting inference latency down to 155 ms.

Limitations and Future Work

  • Dual Forward Overhead: While faster than dense multi-patch tiling, two forward passes still incur roughly double the inference latency of a single standard forward pass (245 ms vs. 117 ms for base LLaVA-1.5).
  • Single-Region Constraint: DualFocus currently isolates only a single bounding box per query, which may fall short on complex compositional questions requiring separate, disjoint micro-regions.
  • Hardware & Scaling Demands: The authors acknowledge high compute requirements for fine-tuning larger foundation models and susceptibility to biases inherited from base LLMs and Visual Genome annotations.

Summary updated

BibTeX
@misc{cao2024dualfocus,
  author = {Yuhang Cao and Pan Zhang and Xiaoyi Dong and Dahua Lin and Jiaqi Wang},
  title = {{DualFocus: Integrating Macro and Micro Perspectives in Multi-modal Large Language Models}},
  year = {2024},
  eprint = {2402.14767},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2402.14767},
}
Figure