Chow-Liu 排序用于链式代理中的长上下文推理
Chow-Liu Ordering for Long-Context Reasoning in Chain-of-Agents
AI总结:
本文利用Chow-Liu树学习依赖结构,通过广度优先遍历优化块顺序,减少信息损失并提升长上下文推理的准确率。
摘要:
顺序多代理推理框架,如链式代理(CoA),通过将输入分解为块并按顺序使用基于大语言模型(LLM)的工作者代理处理这些块来处理长上下文查询。这些代理从共享内存中读取并更新有界共享内存。从概率的角度来看,CoA旨在近似对应于能够联合推理整个长上下文的条件分布。CoA通过一种潜在状态分解来实现这一点,其中仅传递之前处理证据的有界摘要。由此产生的有界内存近似引入了信息瓶颈的损失,使最终的证据状态本质上依赖于块处理的顺序。在本工作中,我们研究了长上下文推理中的块顺序问题。我们利用广为人知的Chow-Liu树来学习一个依赖结构,该结构优先考虑高度相关的块。经验上,我们证明了对结果树进行广度优先遍历可以产生减少代理间信息损失的块顺序,并且在三个长上下文基准测试中,其在答案相关性和精确匹配准确性上均优于默认文档块顺序和语义得分基于的顺序。
英文摘要:
Sequential multi-agent reasoning frameworks such as Chain-of-Agents (CoA) handle long-context queries by decomposing inputs into chunks and processing them sequentially using LLM-based worker agents that read from and update a bounded shared memory. From a probabilistic perspective, CoA aims to approximate the conditional distribution corresponding to a model capable of jointly reasoning over the entire long context. CoA achieves this through a latent-state factorization in which only bounded summaries of previously processed evidence are passed between agents. The resulting bounded-memory approximation introduces a lossy information bottleneck, making the final evidence state inherently dependent on the order in which chunks are processed. In this work, we study the problem of chunk ordering for long-context reasoning. We use the well-known Chow-Liu trees to learn a dependency structure that prioritizes strongly related chunks. Empirically, we show that a breadth-first traversal of the resulting tree yields chunk orderings that reduce information loss across agents and consistently outperform both default document-chunk ordering and semantic score-based ordering in answer relevance and exact-match accuracy across three long-context benchmarks.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。