arXiv 2610.22192 · cs.AI · 2026-10-15
Terminal-RSI: Recursive Self-Improving Terminal Agents via Recursive Self-Rewrite and Policy-Refine
Junyao Yang, Zongxia Li, Yucheng Shi, Zhongzhi Li, Ruhan Wang, Ruiwen Zhou, Haitao Mi, Shuicheng Yan and 1 more
Tencent
Archived · 2026-10 Added on 2026-11-01
One-line takeaway
Terminal-RSI trains recursively self-improving terminal agents by alternating Recursive Self-Rewrite (RSR) of verified trajectories with critic-inheriting Recursive Policy-Refine (RPR). It formulates TB-GAE to keep token-specific baselines while applying decay across interaction turns, uses Family Dense Reward to calibrate semantic progress across task families and Success-Prioritized Reward to separate strict success from bounded partial credit, and coordinates the phases with a warm-up critic, recursive critic handoff and stage-specific learning rates. A five-stage sequence from the Qwen3.8-27B base yields Terminal-RSI-27B, scoring 19.84% on Terminal-Bench 4.0 and 86.52% on Terminal-Bench 2.1.
Terminal-RSI 是递归自我改进的终端智能体训练方法,交替进行已验证轨迹的递归自我重写(RSR)和继承评论家的递归策略细化(RPR)。作者提出 TB-GAE,在保留逐 token 基线的同时跨交互轮次施加衰减;用 Family Dense Reward 跨任务族校准语义进展,用 Success-Prioritized Reward 区分严格成功与有界的部分得分,并配合预热评论家、递归评论家交接和分阶段学习率。从 Qwen3.8-27B 基座经五个阶段得到 Terminal-RSI-27B,在 Terminal-Bench 4.0 上达 19.84%,在 Terminal-Bench 2.1 上达 86.52%。
Key points
Terminal-RSI introduces a recursive self-improvement framework for terminal agents, alternating between trajectory rewriting and critic-inheriting policy refinement. It employs TB-GAE for turn-aware baseline adjustment, Family Dense Reward for semantic progress calibration, and Success-Prioritized Reward to distinguish strict success from partial credit. A warm-up critic and stage-specific learning rates ensure stable convergence across recursive stages, resulting in improved performance on multiple task benchmarks.
- Terminal-RSI alternates between recursive trajectory rewriting and critic-inheriting policy refinement for self-improvement.
- TB-GAE retains token-level baselines while applying turn-dependent decay to reward computation.
- Family Dense Reward and Success-Prioritized Reward improve semantic progress calibration and success distinction.
- Five-stage training from base model to RSR-2/RPR-2 achieves strong performance on Terminal-Bench and LHTB benchmarks.
Written only from the official arXiv abstract by an open-source model, then checked automatically (every number and name must appear in the abstract). The paper is authoritative.
Read on arXiv PDF Hugging Face discussion Project page
Topics & disciplines
Related papers
- Same organisation · Tree-Aware Posterior Distillation for Long-Horizon Agentic Reinforcement Learning 2026-10-16 · Tencent Hunyuan
- Same organisation · Evaluating Agentic Capabilities Before Post-Training: An End-to-End Approach 2026-10-14 · Tencent
- Same topic · Each Reward to Its Relevant Tokens: Reward-Specific Token-Level Credit Assignment for Multi-Reward RL 2026-10-15
- Same topic · What Does Multi-Turn Reinforcement Learning Really Improve in LLM Agents? 2026-11-04
- Same period · Spectral-Spatial Interpretation 2026-10-15
About this data
Metadata from the arXiv API (verified); upvotes from Hugging Face Daily Papers; citations from Semantic Scholar. Last refreshed 2026-11-14.
The takeaway is written by AIMap from the abstract; the abstract itself is not reproduced — read the original.