Reproduce “KLong: Training LLM Agent for Extremely Long-horizon Tasks” on OpenResearch
Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Yue Liu, Yingwei Ma, Yibo Miao, Yanhao Li, Yuchong Xie, Xinlong Yang, Zhiyuan Hu, Flood Sung and 2 more
Researchers from NUS, HKUST, SJTU, PKU, and MIT developed KLong, an open-source LLM agent designed to tackle extremely long-horizon tasks, which require extensive interactions and exceed typical context windows. KLong achieved an average performance of 62.59% on PaperBench, surpassing the runner-up open-source model by 11.28%, and demonstrated generalization across several software engineering, security, and machine learning engineering benchmarks.
Key insights
- Trajectory-splitting SFT allows LLMs to process interaction trajectories far exceeding their context window by decomposing them into overlapping sub-trajectories with pinned essential information.
- Progressive reinforcement learning effectively scales an agent's capabilities by gradually extending task timeouts, which helps mitigate sparse rewards and unstable credit assignment over long durations.
- An automated data generation pipeline, Research-Factory, coupled with a frontier judge model, enables the creation of high-quality, scalable training data and consistent evaluation signals for extremely long-horizon tasks.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.