Visual Document Understanding and Question Answering: A Multi-Agent Collaboration Framework with Test-Time Scaling

Xinlei Yu, Zhangquan Chen, Yudong Zhang, Shilin Lu, Ruolin Shen, Jiangning Zhang, Xiaobin Hu, Yanwei Fu, Shuicheng YanarXiv 2025 · DOI

Introduction

Monolithic scaling in Vision-Language Models (VLMs) is approaching a performance plateau for complex document understanding tasks. While increasing model size improves general capabilities, it often fails to address the multi-step procedural reasoning required for dense reports, charts, and tables. This paper introduces MACT, a multi-agent framework that shifts the paradigm from monolithic scaling to "procedural scaling." By decomposing reasoning into specialized phases—planning, execution, judgment, and answering—and applying agent-specific test-time compute scaling, MACT achieves state-of-the-art performance on document VQA benchmarks using significantly smaller models than current industry leaders.

The Challenge of Document Reasoning

Understanding visual documents is more than a perception task; it requires parsing layouts, extracting fine-grained text, and performing logical or mathematical inference. Current monolithic models often suffer from "cognitive overload" when attempting to manage these disparate skills in a single forward pass. Furthermore, they lack robust self-correction mechanisms; a minor error in initial text extraction can cascade through the entire reasoning chain, as the model lacks a built-in loop to verify and fix its own work.

The MACT Framework

To address these limitations, the authors propose the Multi-Agent Collaboration with Test-time scaling (MACT) framework. It deconstructs the VLM into four specialized agents, each fine-tuned for a specific stage of the reasoning process:

  1. Planning Agent ($A_{plan}$): Decomposes complex questions into high-level execution plans.
  2. Execution Agent ($A_{exe}$): Executes the plan step-by-step using a library of tools to interact with the visual data.
  3. Judgment Agent ($A_{judg}$): Acts as an independent reviewer, identifying errors in the execution process and routing them back to the Planner or Executor for correction (up to 3 iterations).
  4. Answer Agent ($A_{ans}$): Synthesizes the final response from the verified reasoning trace.
The MACT framework overview, featuring multi-agent collaboration, adaptive test-time scaling, and mixed reward modeling.

Agent-Wise Adaptive Test-Time Scaling

A core innovation of MACT is its dynamic allocation of inference compute. Rather than uniform scaling, compute is tailored to each agent's cognitive role:

  • Parallel Scaling for Planners: Generates multiple distinct reasoning paths to explore the solution space effectively.
  • Reward-Guided Selection for Executors: Uses a reward model to score and select optimal execution steps, ensuring high-fidelity tool usage.
  • Budget Forcing for Judges: Ensures rigorous verification by requiring a minimum number of "thinking" tokens, preventing the judge from making hasty, incorrect assessments.

The system is fine-tuned using a mixed reward strategy via Group Relative Policy Optimization (GRPO), balancing step-wise process rewards for individual agents with global outcome rewards to ensure effective collaboration.

Experimental Results

MACT was evaluated across 15 diverse benchmarks covering text documents (DocVQA, DUDE, SlideVQA, MMLongBench-Doc), webpages (VisualMRC, InfographicVQA), charts (ChartQA, CharXiv), tables (TableVQA-Bench, TableBench), and mathematical reasoning (MathVista, MathVision, MathVerse).

Performance comparisons of MACT across Qwen2.5-VL, MiMo-VL, and InternVL3 series on 15 benchmarks.

Key Findings

  • Efficiency and Performance: MACT variants built on sub-30B parameter models (Qwen2.5-VL, MiMo-VL, InternVL3) consistently ranked in the top 3 across all benchmarks.
  • Outperforming Giants: The MACT-MiMo-VL-Series-28B variant achieved an average score of 77.2%, surpassing massive open-source models like Llama-3.2-90B and closed-source leaders like GPT-4o, Claude-3.7-Sonnet, and Gemini-2.0-Pro.
  • Framework Lift: The MACT architecture provided a 9.9% to 11.5% average performance boost over the underlying base models. Ablation studies showed that the dedicated Judgment agent alone contributed a 5.5% accuracy gain, while the multi-agent setup itself added ~3.9%.

Discussion and Future Work

The success of MACT highlights that procedural scaling—allocating compute dynamically during test-time across specialized agents—is more efficient for document tasks than simple parameter scaling. Decoupling judgment from correction is particularly vital; by making the Judge an independent entity that only flags errors, MACT drastically reduces subjective bias and error snowballing.

However, the authors noted a "correction ceiling": increasing the number of iterations beyond three actually degraded performance, as agents became confused by excessive revisions. Future research will focus on optimizing these multi-agent scaling strategies for even broader multimodal applications and exploring more sophisticated global reward mechanisms to further enhance agent synergy.

Summary updated

BibTeX
@misc{yu2025visual,
  author = {Xinlei Yu and Zhangquan Chen and Yudong Zhang and Shilin Lu and Ruolin Shen and Jiangning Zhang and Xiaobin Hu and Yanwei Fu and Shuicheng Yan},
  title = {{Visual Document Understanding and Question Answering: A Multi-Agent Collaboration Framework with Test-Time Scaling}},
  year = {2025},
  eprint = {2508.03404},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2508.03404},
}
Figure