Recursive Synthesis for Long-Horizon Terminal Tasks
Summary
This paper introduces Recursive Synthetic Terminal Tasks (RST), a recursive verified synthesis framework for generating long-horizon terminal-agent training data at scale, producing 37,484 tasks and improving Qwen3.5 models on terminal benchmarks.
View Cached Full Text
Cached at: 08/07/26, 01:54 AM
Paper page - Recursive Synthesis for Long-Horizon Terminal Tasks
Source: https://huggingface.co/papers/2608.05466 Published on Aug 5
·
Submitted byhttps://huggingface.co/zli12321
LZXon Aug 6
Authors:
,
,
,
,
,
,
,
,
,
Abstract
High-qualitylong-horizontrainingdataforterminalagentsisexpensivetoproduce,oftencostinghundredstothousandsofdollarspertask,becauseeachtaskmustkeeptheinstruction,environment,referencesolution,andverifiermutuallyconsistent.Humanauthoringdoesnotscale,anddirectgenerationwithlargelanguagemodels(LLMs)oftenbreaksthesedependencies.WepresentRecursiveSyntheticTerminalTasks(RST),arecursiveverifiedsynthesisframeworkforconstructinglong-horizonterminal-agenttasksatscale.Startingfromverifiedseedtasks,RSTextendsthereferencesolution,realignstheverifierandinstructiontothenewworkflow,validatestheresultinafreshsandbox,andreusesacceptedtasksasseedsforsubsequentrounds.Acrossfifteenrecursiverounds,RSTproduces37,484synthesizedterminal-agenttasksatroughly\0.05pertask.Taskdifficultyincreasessubstantiallyoverrounds:themedianreferencesolutiongrowsfrom67to374lines,themediannumberofexecutedcommandsgrowsfrom40to244,andDeepSeek-V4-Propass@4dropsfrom90%atR_1to2.5%atR_{15}$.Todemonstratetrainingutility,wecollectrejection-sampledQwen3.5trajectoriesonthesynthesizedtasksandusethemforsupervisedfine-tuning.Fine-tuningonthesetrajectoriesimprovesQwen3.5-27BandQwen3.5-122B-A10Bbyupto10pointsonTerminal-Bench~2,Terminal-BenchHard,andLong-HorizonTerminalBench,whileagenticPPOliftsQwen3.5-27Bto49.44\%,32.00\%,and22.07\%onthethreebenchmarks,correspondingtorelativegainsof20.0\%,41.2\%,and21.9\%overthebasemodel.Moreover,after15rounds,therecursionshowsnoceiling:synthesisyieldandvalidationratesremainstableasdifficultykeepsclimbing,indicatingthattheprocesscancontinuewellbeyondthescalereportedhere.
View arXiv pageView PDFProject pageAdd to collection
Get this paper in your agent:
hf papers read 2608\.05466
Don’t have the latest CLI?curl \-LsSf https://hf\.co/cli/install\.sh \| bash
Models citing this paper0
No model linking this paper
Cite arxiv.org/abs/2608.05466 in a model README.md to link it from this page.
Datasets citing this paper0
No dataset linking this paper
Cite arxiv.org/abs/2608.05466 in a dataset README.md to link it from this page.
Spaces citing this paper0
No Space linking this paper
Cite arxiv.org/abs/2608.05466 in a Space README.md to link it from this page.
Collections including this paper0
No Collection including this paper
Add this paper to acollectionto link it from this page.
Similar Articles
@DeFiMinty: Can AI systems keep generating harder training tasks for AI agents? New research from Tencent suggests they can. Recurs…
New research from Tencent introduces Recursive Synthetic Terminal Tasks (RST), a method that progressively generates harder, verifiable training tasks for AI agents. Starting from 639 tasks, it produced 37,484 verified tasks across 15 rounds, and reinforcement learning with these tasks improved Qwen3.5-27B from 22.7% to 32.0% on Terminal-Bench Hard.
Scaling Agentic Data for Long-Horizon Terminal Intelligence
The paper introduces TerminalHorizon, an automated data-synthesis engine that generates long-horizon terminal agent trajectories by reconstructing environments around real-world professional tasks, then fine-tunes Qwen3.5-27B to obtain TerminalHorizon-27B, achieving gains across 12 coding, agentic, and reasoning benchmarks.
Scaling Trajectories for Complex Tasks through Recursive Self-Rewrite
The paper proposes Recursive Self-Rewrite (RSR), a framework where a single base model (Qwen-3.8-27B) discovers successful solutions under diverse harnesses and reconstructs them into training trajectories under a general harness via a planner-critic-executor loop, yielding significant pass@3 gains on terminal-bench tasks after supervised finetuning.
LiteCoder-Terminal: Scaling Long-Horizon Terminal Environments for Learning Language Agents
LiteCoder-Terminal-Gen introduces a zero-dependency synthetic pipeline that generates executable terminal training environments, producing SFT and RL datasets that enable language agents to achieve significant performance gains on Terminal Bench benchmarks.
CLI-Universe: Towards Verifiable Task Synthesis Engine for Terminal Agents
CLI-Universe is a synthesis engine that generates verifiable terminal-agent tasks via multi-dimensional capability taxonomy and evidence-guided research, producing a distilled dataset of 6,000 trajectories. Fine-tuning Qwen3-32B on this dataset achieves 33.4% on Terminal-Bench 2.0, setting a new state-of-the-art for open-source models at or below 32B parameters.