arXiv:2602.01566cs.CL2026-02ACL被引 3

用文件系统突破大模型上下文限制,实现长时研究任务的持续迭代。

FS-Researcher: Test-Time Scaling for Long-Horizon Research Tasks with File-System-Based Agents

论文配图:FS-Researcher: Test-Time Scaling for Long-Horizon Research Tasks with File-System-Based Agents
图 1 · 摘自论文原文
  • 构建双代理框架,以文件系统为持久记忆存储研究资料。
  • 在两个开放基准上达到当前最佳报告质量,且表现随计算投入提升。
  • 适合需要长期推理与知识积累的研究型任务,如学术调研、深度分析。

深度研究正成为大语言模型代理的代表性长周期任务。然而,深度研究中的长轨迹常超出模型上下文长度,压缩了证据收集与报告撰写所需的令牌预算,阻碍了有效的测试时扩展。我们提出FS-Researcher,一种基于文件系统的双代理框架,通过持久化工作区将深度研究扩展至上下文窗口之外。具体而言,一个上下文构建者代理充当图书管理员,浏览网络、撰写结构化笔记,并将原始资料归档至可无限扩展的分层知识库中。报告撰写者代理则逐部分生成最终报告,将知识库作为事实来源。在此框架中,文件系统作为持久外部记忆和跨代理、跨会话的共享协调介质,支持超越上下文窗口的迭代优化。在两个开放式基准(DeepResearch Bench 和 DeepConsult)上的实验表明,FS-Researcher 在不同主干模型下均达到当前最优报告质量。进一步分析显示,最终报告质量与上下文构建者所分配的计算量呈正相关,验证了文件系统范式下的有效测试时扩展。代码与数据已开源:https://github.com/Ignoramus0817/FS-Researcher。

原文摘要 · Abstract (English)

Deep research is emerging as a representative long-horizon task for large language model (LLM) agents. However, long trajectories in deep research often exceed model context limits, compressing token budgets for both evidence collection and report writing, and preventing effective test-time scaling. We introduce FS-Researcher, a file-system-based, dual-agent framework that scales deep research beyond the context window via a persistent workspace. Specifically, a Context Builder agent acts as a librarian which browses the internet, writes structured notes, and archives raw sources into a hierarchical knowledge base that can grow far beyond context length. A Report Writer agent then composes the final report section by section, treating the knowledge base as the source of facts. In this framework, the file system serves as a durable external memory and a shared coordination medium across agents and sessions, enabling iterative refinement beyond the context window. Experiments on two open-ended benchmarks (DeepResearch Bench and DeepConsult) show that FS-Researcher achieves state-of-the-art report quality across different backbone models. Further analyses demonstrate a positive correlation between final report quality and the computation allocated to the Context Builder, validating effective test-time scaling under the file-system paradigm. The code and data are open-sourced at https://github.com/Ignoramus0817/FS-Researcher.

大模型代理长时推理文件系统知识管理

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。