Original post · AI translation
– https://arxiv.org/abs/2611.34147
标题:“让模型管理自己的上下文:现状如何”
NVIDIA 的一篇新论文发现,让模型自行压缩上下文,在 32K 预算下使 GPT-6.1 Sol 的得分提高到近 3 倍,但不同模型之间差异很大。
智能体框架通常会为模型压缩历史记录:当上下文窗口填满时,它们会概括较早发生的事件。这可能丢失任务仍需用到的细节。
在 NVIDIA 的开源智能体框架 NOOA 中,研究人员为模型提供了一个 API,使其能够概括历史记录中自行选定的部分,并在之后检索原文。他们在文档研究和机器学习工程任务中,将这种方法与自动压缩进行了比较,令牌预算从 8K 到 512K 不等。
在 OfficeQA Pro v2 上,预算为 32K 时,GPT-6.1 Sol 的得分从 21% 升至 56%。Claude Opus 5.5 仅在 4% 的任务中使用了该 API,而 Kimi K3 和 DeepSeek V4 Pro 在没有时机提示的情况下较早进行了压缩。
如果你在构建智能体,可以在预算紧张时让能力较强的模型自行管理上下文,但要先测试每个模型,因为效果差异显著。
Original
New NVIDIA paper finds that letting models compact their own context nearly tripled GPT-6.1 Sol's score at a 32K budget, but models differ widely. Agent frameworks usually compact history for the model: when the context window fills, they summarize older events. That can drop details the task still needs. In NOOA, NVIDIA's open source agent framework, they gave models an API to summarize chosen parts of their history and retrieve originals later. They compared it with automatic compaction on document research and ML engineering tasks, at budgets from 8K to 512K tokens. At a 32K budget on OfficeQA Pro v2, GPT-6.1 Sol rose from 21% to 56%. Claude Opus 5.5 used the API in only 4% of tasks, while Kimi K3 and DeepSeek V4 Pro compacted early without a timing hint. If you build agents, let strong models manage their own context at tight budgets, but test each model first, since gains vary sharply.