D2-ScaleAgent: Dual-Dimensional Scaling for Long Document Understanding
D2-ScaleAgent employs dual-dimensional scaling with Verifier-driven routing, achieving logical closure over evidence chains, outperforming traditional methods.
Key Findings
Methodology
D2-ScaleAgent is built around a Verifier-driven closed-loop mechanism, integrating an Evidence Bank as a dynamic memory. It employs attribute decomposition for adaptive retrieval expansion (Retrieval Scaling) and multi-granularity reasoning (Reasoning Scaling). The system dynamically switches between outward expansion and inward deepening based on evidence gaps, guided by the Verifier’s continuous assessment. Core components include hierarchical sub-agents (Global Surveyor, Region Locator, Fine-grained Extractor) working collaboratively to ensure comprehensive and deep evidence collection. The Evidence Bank stores evidence states and supports incremental updates, facilitating logical closure of the evidence chain. This approach addresses the limitations of static workflows by enabling real-time, evidence-informed decision-making.
Key Results
- On benchmarks like MMLongBench-Doc and LongDocURL, D2-ScaleAgent achieves an average accuracy of 63.7%, surpassing MDocAgent (58.3%) and MoLoRAG (53.6%), especially excelling in scenarios with dispersed or complex evidence layouts.
- Retrieval quality metrics such as Recall, Precision, nDCG, and MRR improve by approximately 5-10% over strong baselines, demonstrating superior evidence relevance and ranking effectiveness.
- Ablation studies show that removing the Verifier-driven loop reduces accuracy by over 8%, confirming the critical role of evidence verification and dynamic routing in performance gains.
Significance
This work advances long document understanding by directly tackling evidence insufficiency, a core bottleneck in existing models. The dual-dimensional scaling strategy enhances the system’s ability to adaptively expand evidence coverage and deepen reasoning, leading to more accurate and reliable comprehension. It bridges the gap between static retrieval workflows and the need for flexible, evidence-driven reasoning, thus significantly impacting AI applications in legal, financial, and scientific domains. The approach also paves the way for more autonomous, scalable, and robust multi-modal document analysis systems, addressing longstanding challenges in comprehensive understanding of lengthy, visually rich texts.
Technical Contribution
The primary technical innovation is the integration of a Verifier-driven feedback loop with an Evidence Bank, enabling dynamic, evidence-based routing between retrieval and reasoning modules. The framework introduces dual scaling mechanisms—Retrieval Scaling for broad evidence expansion and Reasoning Scaling for deep, fine-grained analysis—guided by explicit evidence gaps. The hierarchical sub-agents (Global Surveyor, Region Locator, Fine-grained Extractor) facilitate multi-granularity evidence collection, ensuring logical closure of the evidence chain. This design departs from static, fixed-workflow models, offering a flexible, self-adaptive system with theoretical guarantees of evidence completeness and reasoning consistency. The system’s modular architecture supports extensibility and robustness in complex, multi-modal long-text scenarios.
Novelty
This is the first work to systematically combine a Verifier-guided closed-loop mechanism with dual-dimensional scaling for long document understanding. Unlike prior static RAG or multi-agent systems, it dynamically adjusts retrieval and reasoning scope based on real-time evidence assessment. Its hierarchical sub-agent design and evidence gap-driven routing represent a novel paradigm that significantly enhances evidence coverage and reasoning depth, setting a new standard for adaptive long-text comprehension.
Limitations
- Despite improvements, the system still faces challenges in extremely complex or highly dispersed evidence scenarios, where complete closure may be difficult. Computational costs remain high, especially in large-scale documents, impacting real-time deployment.
- Dependence on high-quality multi-modal data makes it vulnerable to noise and data bias, which can impair evidence retrieval and reasoning accuracy.
- The current architecture may require further optimization for scalability and efficiency in industrial-scale applications, including hardware acceleration and model compression.
Future Work
Future research will focus on reducing computational overhead through more efficient evidence filtering and retrieval strategies. Incorporating reinforcement learning could optimize dynamic routing policies further. Extending the framework to multi-task and cross-domain settings will enhance generalization. Additionally, integrating more robust noise-resistant mechanisms and exploring unsupervised evidence validation methods will improve system robustness and applicability across diverse real-world scenarios.
AI Executive Summary
Understanding long and visually complex documents remains a significant challenge in AI. Traditional models often rely on fixed workflows, which struggle to handle the diverse and dispersed nature of evidence within lengthy texts. These limitations lead to incomplete reasoning, especially when evidence is scattered across multiple pages or embedded in intricate layouts. To address this, Hao Zhang et al. introduce D2-ScaleAgent, a pioneering framework that dynamically adapts its computational focus through dual-dimensional scaling.
The core innovation lies in a Verifier-driven closed-loop mechanism that continuously monitors the completeness of evidence chains. This system employs an Evidence Bank as a dynamic memory, storing evidence at multiple levels—pages, regions, and atomic facts—and updating it incrementally. When evidence gaps are detected, the system intelligently switches between outward retrieval expansion (Retrieval Scaling) to broaden evidence coverage and inward deep reasoning (Reasoning Scaling) to refine understanding. Hierarchical sub-agents—Global Surveyor, Region Locator, and Fine-grained Extractor—collaborate to gather evidence at varying granularities, ensuring comprehensive coverage.
Experimental results demonstrate the effectiveness of this approach. On benchmarks like MMLongBench-Doc and LongDocURL, D2-ScaleAgent achieves an average accuracy of 63.7%, outperforming existing models such as MDocAgent and MoLoRAG. Retrieval quality metrics also improve significantly, with recall and precision gains of 5-10%. Ablation studies confirm that the Verifier’s feedback loop and dual scaling strategies are critical for performance. The system excels particularly in scenarios with dispersed or complex evidence, showcasing its robustness and adaptability.
This work marks a substantial step forward in AI’s ability to understand lengthy, multimodal documents. By enabling dynamic, evidence-driven reasoning, it opens new avenues for applications in legal analysis, financial reporting, scientific research, and beyond. Despite current limitations in computational efficiency and handling extreme complexity, ongoing research aims to optimize these aspects, promising a future where AI can reliably interpret even the most intricate long texts with human-like comprehension.
Deep Analysis
Background
The evolution of long text understanding has seen significant progress with models like Transformer-based architectures (Vaswani et al., 2017) and multimodal fusion techniques (Li et al., 2023; Liu et al., 2024). Early efforts focused on improving contextual encoding and structural modeling, but faced limitations in handling lengthy, visually rich documents due to fixed context windows and static retrieval workflows. Recent advances include multi-modal retrieval-augmented generation (Lewis et al., 2020; Wu et al., 2025), which enhances information access but still relies on static top-K retrieval strategies. Multi-agent systems (Yao et al., 2022; Han et al., 2025) introduced specialized sub-agents for complex reasoning, yet their fixed workflows hinder adaptive evidence management. The challenge remains in dynamically balancing evidence breadth and depth, especially under resource constraints, to achieve comprehensive understanding.
Core Problem
The core problem in long document understanding is evidence insufficiency—either evidence is scattered across multiple pages (breadth insufficiency) or the understanding is superficial and lacks detail (depth insufficiency). Existing methods often follow rigid workflows, failing to adaptively expand retrieval or deepen reasoning based on the query’s complexity. This results in incomplete evidence chains and unreliable answers, especially in multi-modal contexts where visual and structural cues are critical. Addressing this requires a system capable of real-time, evidence-driven adjustment, ensuring both comprehensive coverage and detailed understanding, which current approaches lack.
Innovation
The key innovation of D2-ScaleAgent is the integration of a Verifier-driven feedback loop with dual-dimensional scaling. It introduces an Evidence Bank as a dynamic memory that tracks evidence states at multiple levels. The system employs attribute decomposition to guide adaptive retrieval expansion, decomposing complex queries into multiple attributes and performing parallel page retrievals with fusion and pruning. When evidence gaps are detected, the Verifier triggers inward deep reasoning, dynamically selecting hierarchical sub-agents—Global Surveyor, Region Locator, Fine-grained Extractor—to extract detailed evidence. This process iterates until evidence is logically closed, ensuring comprehensive and reliable understanding. Unlike prior static workflows, this approach enables real-time, evidence-informed adjustments, significantly improving performance in complex long-text scenarios.
Methodology
- �� Initialize Evidence Bank with retrieved pages and evidence states.
- �� Decompose query into multiple attributes using a large language model.
- �� Perform parallel retrieval for each attribute, fuse scores, and apply adaptive pruning.
- �� Use Verifier to assess evidence completeness; detect gaps in the Evidence Bank.
- �� If evidence breadth is lacking, trigger Retrieval Scaling: decompose query attributes further, expand retrieval scope.
- �� If evidence depth is insufficient, activate Reasoning Scaling: select hierarchical sub-agents to extract detailed facts.
- �� Incrementally update Evidence Bank with new evidence, maintaining logical consistency.
- �� Repeat the verification and routing process until evidence is complete.
- �� Generate final answer based on the fully saturated Evidence Bank, ensuring logical closure.
Experiments
The evaluation involved six diverse multi-modal long-document datasets, including MMLongBench-Doc and LongDocURL, covering open and domain-specific texts with complex layouts. Baselines included MDocAgent, MoLoRAG, and ViDoRAG. Metrics focused on QA accuracy, retrieval recall, precision, nDCG, and MRR. The experiments tested the impact of each component via ablation studies, analyzing the contribution of the Verifier, dual scaling modules, and hierarchical sub-agents. Hyperparameters were tuned for optimal evidence coverage and computational efficiency. Results demonstrated consistent improvements over baselines, with detailed analysis of retrieval quality and reasoning depth across scenarios.
Results
D2-ScaleAgent achieved an average QA accuracy of 63.7%, surpassing MDocAgent (58.3%) and MoLoRAG (53.6%). In retrieval tasks, recall and nDCG increased by 5-10%, indicating more relevant evidence retrieval. Ablation studies showed that removing the Verifier or dual scaling modules caused accuracy drops of over 8%, confirming their importance. The system effectively handled dispersed and complex evidence scenarios, validating the dual scaling strategy’s robustness and adaptability. These results demonstrate that dynamic, evidence-driven routing significantly enhances long document understanding performance.
Applications
This framework can be applied to legal document analysis, financial report summarization, scientific literature review, and enterprise knowledge management, where comprehensive understanding of lengthy, multimodal texts is crucial. It supports multi-source evidence integration, enabling reliable decision-making and automated reasoning. Future integration with reinforcement learning could further optimize dynamic routing, making the system more autonomous and efficient for real-world deployment in high-stakes environments.
Limitations & Outlook
Despite its strengths, D2-ScaleAgent faces challenges in extremely complex or highly dispersed evidence scenarios, where complete logical closure is difficult. High computational costs limit real-time application in very large documents. Dependence on high-quality multimodal data makes it vulnerable to noise and bias. Further optimization is needed to improve efficiency, robustness, and generalization across diverse domains and data qualities.
Plain Language Accessible to non-experts
想象你在一家大工厂工作,工厂里有很多不同的机器和工段。每当你需要了解一个复杂产品的全部信息,比如它的原料、制造过程和用途,你不能只看一台机器,因为信息散布在不同的地方。于是,你的工厂管理员(就像这个系统的Verifier)会不断检查你收集到的资料是否完整。如果发现缺少某个环节,他会派人去其他工段收集更多信息,或者深入某个区域查明细节。管理员还能根据情况调整策略,比如扩大搜索范围或深入分析某个部分,确保最终你了解的内容完整又准确。这个过程不断循环,直到所有信息都被收集和验证完毕,你才能得出正确的结论。这个方法就像D2-ScaleAgent一样,能智能地在不同层次之间切换,确保每个细节都被考虑到,最终拼出一幅完整的长篇故事或复杂的拼图。
ELI14 Explained like you're 14
想象你在玩一个超级复杂的拼图游戏,拼图散落在房间的各个角落。你要把所有碎片拼成一幅完整的图片。以前的方法就像只在一个角落找碎片,可能会漏掉重要的部分。现在,有个聪明的朋友会帮你,他会不断检查拼图的完整性,如果发现缺少某个区域,就会派你去别的房间找相关的碎片,或者仔细观察某个角落。这个朋友还能根据拼图的情况调整策略,比如扩大搜索范围或深入某个区域,确保拼出来的图片完整又漂亮。这个过程不断循环,直到拼图全部拼好,才算完成。这个方法就像D2-ScaleAgent一样,能智能地在不同层次之间切换,确保每个细节都不遗漏,最终拼出一幅完美的长篇故事或复杂图片。
Glossary
Verifier (验证器)
一种用于检测证据链完整性和逻辑一致性的模块,确保推理过程中的证据充分可靠。
在系统中作为关键的决策依据,驱动动态路由和证据验证。
Evidence Bank (证据库)
动态存储已获取证据的记忆结构,支持多层级、多粒度的证据融合与追踪。
作为系统的核心记忆单元,实时更新证据状态,指导推理与检索。
Retrieval Scaling (检索扩展)
根据证据缺口,动态扩大检索范围,平行多角度获取证据。
解决证据广度不足问题,确保信息全面。
Reasoning Scaling (推理深度扩展)
根据证据缺口,调度多层次子代理进行深度推理。
解决证据深度不足,提升推理精细度。
Dual-Dimensional Scaling (双维度扩展)
结合检索扩展和推理深度扩展的策略,实现长文理解的动态调节。
系统的核心创新,突破传统静态流程限制。
Open Questions Unanswered questions from this research
- 1 如何进一步降低系统在极端复杂场景下的计算成本,提升实时性。
- 2 多模态信息融合中的噪声鲁棒性和证据筛选机制的优化。
- 3 跨领域多任务适应性和泛化能力的提升。
Applications
Immediate Applications
法律文档分析
帮助律师快速检索和理解长篇法律文件中的关键证据,提升案件分析效率。
金融报告解读
支持财务分析师从复杂财务报告中提取关键信息,辅助决策制定。
Long-term Vision
智能知识管理系统
构建企业级长文档智能管理平台,实现自动化信息整理、证据追踪和决策支持。
Abstract
Multi-modal retrieval-augmented generation (RAG) is a key technique for visually rich long document understanding. Existing multi-modal RAG methods are progressively advancing toward multi-agent systems: they first retrieve relevant pages based on a query, and then iteratively understand information within those pages. However, these methods typically rely on fixed workflows and lack the ability to dynamically scale computation at test time, often leading to insufficient evidence. To address this, we propose D2-ScaleAgent, an agentic framework that introduces a dual-dimensional scaling paradigm for retrieval and reasoning. The core of D2-ScaleAgent is a Verifier agent-driven dynamic routing loop based on the intrinsic difficulty of the query, centered around a continuously updated evidence bank that serves as the agent's dynamic working memory: when retrieval needs to be expanded, the agent routes outward (retrieval scaling), decomposing the query into attributes and performing parallel page retrieval, followed by adaptive pruning to ensure comprehensive evidence coverage. When fine-grained reasoning is required, the agent routes inward (reasoning scaling), dynamically selecting sub-agents with varying granularity and count to extract evidence from pages. Finally, D2-ScaleAgent achieves logical closure over the evidence chain. Extensive experiments demonstrate that D2-ScaleAgent is effective on long and visually rich document benchmarks like MMLongBench-Doc, LongDocURL, etc.