DISCO:基于接地-推理解耦的分布式长上下文扩展

·

研究论文 · 2026/09/29

大型语言模型(LLM)虽宣称支持百万级 token 上下文窗口,但随着输入增长,推理质量常会崩溃,这一现象被称为上下文腐化。该失败源于单体架构中的结构性纠缠:上下文接地所需的巨大搜索负担耗尽了复杂推理所需的表征能力。为此,我们提出通过分布式长上下文扩展实现接地-推理解耦(DISCO)。受 Apache Spark 等分布式计算框架启发,DISCO 将长上下文划分到一组专用于并行、局部接地的 Worker LLM 集群上。一个中央 Driver LLM 通过强化学习(GRPO)训练以优化规划,它通过将查询动态映射为原子提取任务并归约收集到的证据来合成最终答案,从而编排执行。通过将推理与原始上下文噪声隔离,DISCO 有效消除了上下文腐化。在 RULER-QA(100 万 token)上,它保持了 78.4% 的准确率,而标准基线则崩溃。此外,在 LongBench v2 上,它比全上下文模型高出多达 9.8 分,并匹配 Gemini-3-Pro-Preview 等前沿模型,同时将推理成本降低超过 80%,为稳健的长上下文推理建立了一种高效范式。

该工作针对长上下文推理中普遍存在的上下文腐化问题,提出了一种受分布式计算启发的解耦架构,在多个基准上显著优于现有方法,同时大幅降低推理成本,对长上下文 LLM 的高效部署具有重要参考价值。

While Large Language Models (LLMs) advertise million-token context windows, reasoning quality often collapses as inputs grow -- a phenomenon termed context rot. This failure stems from a structural entanglement in monolithic architectures, where the massive search burden of contextual grounding exhausts the representational capacity needed for complex reasoning. To resolve this, we propose Grounding-Reasoning Disaggregation via DIStributed long COntext scaling (DISCO). Inspired by distributed computing frameworks like Apache Spark, DISCO partitions long context across a fleet of Worker LLMs dedicated exclusively to parallel, localized grounding. A central Driver LLM, trained via Reinforcement Learning (GRPO) to optimize planning, orchestrates execution by dynamically mapping queries into atomic extraction tasks and reducing the gathered evidence to synthesize a final answer. By isolating reasoning from raw context noise, DISCO effectively eliminates context rot. On RULER-QA (1M tokens), it maintains 78.4% accuracy where standard baselines collapse. Furthermore, it outperforms full-context models by up to 9.8 points on LongBench v2 and matches frontier models like Gemini-3-Pro-Preview while reducing inference costs by over 80%, establishing a highly efficient paradigm for robust long-context inference.

阅读原文

参与讨论