Skip to main content
QUICK REVIEW

[论文解读] KLong: Training LLM Agent for Extremely Long-horizon Tasks

Yue Liu, Zhiyuan Hu|arXiv (Cornell University)|Feb 19, 2026
Multimodal Machine Learning ApplicationsComputer Science被引用 0
一句话总结

KLong 是一个开源的 LLM 代理,通过将轨迹分割的有监督微调与渐进式强化学习相结合,以及用于可扩展训练数据和评判标准的 Research-Factory 数据管线,来应对极长的任务。

ABSTRACT

This paper introduces KLong, an open-source LLM agent trained to solve extremely long-horizon tasks. The principle is to first cold-start the model via trajectory-splitting SFT, then scale it via progressive RL training. Specifically, we first activate basic agentic abilities of a base model with a comprehensive SFT recipe. Then, we introduce Research-Factory, an automated pipeline that generates high-quality training data by collecting research papers and constructing evaluation rubrics. Using this pipeline, we build thousands of long-horizon trajectories distilled from Claude 4.5 Sonnet (Thinking). To train with these extremely long trajectories, we propose a new trajectory-splitting SFT, which preserves early context, progressively truncates later context, and maintains overlap between sub-trajectories. In addition, to further improve long-horizon task-solving capability, we propose a novel progressive RL, which schedules training into multiple stages with progressively extended timeouts. Experiments demonstrate the superiority and generalization of KLong, as shown in Figure 1. Notably, our proposed KLong (106B) surpasses Kimi K2 Thinking (1T) by 11.28% on PaperBench, and the performance improvement generalizes to other coding benchmarks like SWE-bench Verified and MLE-bench.

研究动机与目标

  • 推动需要处理超出标准上下文窗口且需要长期运行实验的代理的需求(如复现研究论文)。
  • 引入 KLong,一种专门为极长时间跨度任务训练的开源 LLM 代理。
  • 提出数据生成与评估管线(Research-Factory),以扩展长时间跨度的训练数据与评判标准。
  • 开发轨迹分割的 SFT,以在符合上下文窗口的同时保留早期上下文。
  • 提出带阶段超时的渐进式 RL,以改善长距离计划与执行。

提出的方法

  • 构建 Research-Factory,自动收集论文、构建评判标准,并从 Claude 4.5 Sonnet(Thinking)提取数千条长时间跨度轨迹。
  • 以涵盖知识、编码、数学和搜索的综合 SFT 对基础模型进行预训练,以激活代理能力。
  • 提出轨迹分割的 SFT,使论文阅读前缀固定、子轨迹重叠、后续上下文截断以适应上下文窗口。
  • 引入带渐进超时的 RL,在多个阶段进行训练,并进行轨迹分割以获得长时间跨度的反馈。
  • 使用统一的沙箱和基础设施优化(沙箱化、缓存、 rollout 调度和评判设置),提高效率与鲁棒性。

实验结果

研究问题

  • RQ1是否可以训练一个 LLM 代理来解决超出标准上下文窗口且需要长期运行实验的任务?
  • RQ2轨迹分割的 SFT 方法是否比基线 SFT在学习极长时间跨度行为方面有显著提升?
  • RQ3带递增超时的渐进式 RL 是否能稳定并提升长距离任务的性能?
  • RQ4Research-Factory 管道是否能为可重复研究任务提供高质量、可扩展的数据与评判标准?

主要发现

  • KLong 在 PaperBench 上的开源模型中实现了更高的平均性能,并缩小了与部分闭源系统的差距。
  • 轨迹分割的 SFT 显著增加助手的对话轮次同时提升性能(例如从基线到改进分数的提升),证明了在长时间跨度行为中的有效性。
  • 带更长超时的渐进式 RL 产生了额外的提升,RL-6H 取得了最佳整体表现。
  • KLong 能很好地泛化到其他长时间跨度领域,包括 SWE-bench Verified、Terminal-Bench Hard、SEC-bench 和 MLE-bench 等竞赛。
  • 基础设施优化与 Research-Factory 管线有助于实现可扩展的数据生成和更鲁棒的评估信号。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。