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

Yuhang Cao, Pan Zhang, Xiaoyi Dong, Dahua Lin, Jiaqi Wang · DOI

Introduction

Current Multi-modal Large Language Models (MLLMs), such as LLaVA and Qwen-VL, typically operate at fixed, low resolutions (e.g., 336x336 pixels). While efficient for general scene understanding, this constraint introduces a "resolution bottleneck" when tasks require fine-grained visual details, such as reading small text or identifying distant objects. Simply increasing global resolution is computationally prohibitive and often introduces noise from irrelevant areas. DualFocus (DF) addresses this by mimicking human visual attention, integrating macro-contextual understanding with micro-detail reflectivity.

Methodology

DualFocus implements a two-stage mechanism designed to balance global context with local precision, acting as a visual form of "Chain-of-Thought":

  1. Localization (The "Where"): Given an image and a query, the model first predicts the bounding box coordinates of the most relevant region.
  2. Examination (The "What"): The identified sub-region is cropped and upscaled to the model's native input resolution. The LLM then processes concatenated visual tokens from both the original "macro" image and the "micro" zoomed-in view to generate a response.

To optimize decision-making, DualFocus employs Perplexity-Guided Selection. During inference, the model generates answers from both the macro and micro paths. It then selects the output with the lower Perplexity (PPL), which serves as a proxy for model confidence. This allows the system to dynamically revert to the global view for spatial or general questions where zooming might be counterproductive.

Experimental Setup

The framework was trained on a curated dataset of 143k image-question pairs derived from Visual Genome (VG), specifically filtered for unambiguous region-question mappings. Evaluation was conducted across several rigorous benchmarks, including SEED-IMG and MMBench for general reasoning, GQA and TextVQA for fine-grained details, and POPE for object hallucination assessment.

Key Results

DualFocus demonstrates consistent performance gains across all tested architectures. As shown in the benchmarks, LLaVA-1.5 (13B) enhanced with DualFocus saw a +4.2 point improvement on both GQA and TextVQA. Similarly, Qwen-VL-Chat + DF achieved a significant +4.0 point increase on GQA.

DualFocus performance comparison and qualitative example of the 'zoom' mechanism.

Beyond accuracy, DualFocus significantly mitigates object hallucinations. On the POPE benchmark, the framework improved the F1 score by up to 2.4 points. By explicitly "looking closer" at objects, the model relies less on linguistic priors and more on verified visual evidence, effectively solving cases where standard models fail due to lack of clarity.

Discussion and Insights

The PPL-based selection mechanism is a key innovation, resolving the inherent conflict between detail-oriented and spatial-oriented tasks without requiring a separate, complex router model. This allows DualFocus to maintain the strengths of global context while gaining the benefits of high-resolution local inspection.

Limitations and Future Work

While effective, DualFocus currently relies on a single-step zoom. Future iterations could explore multi-step refinement for complex scenes. Additionally, the dual-path approach increases sequence length and inference latency. The system's performance is also heavily dependent on the accuracy of the initial localization stage; improving region-proposal robustness remains a primary area for future research.

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