Terminal-RSI: Recursive Self-Improving Terminal Agents via Recursive Self-Rewrite and Policy-Refine
Summary
Terminal-RSI 提出通过递归轨迹重写(RSR)与继承批评器的策略精炼(RPR)交替进行,使终端代理从部分进展推进到严格验证,并在 Terminal-Bench 多项基准上取得显著成绩,发布了 Terminal-RSI-27B 模型。
View Cached Full Text
Cached at: 10/16/26, 03:01 AM
Paper page - Terminal-RSI: Recursive Self-Improving Terminal Agents via Recursive Self-Rewrite and Policy-Refine
Source: https://huggingface.co/papers/2610.22192 Published on Oct 15
·
Submitted byhttps://huggingface.co/TberiusJunyao
Junyaoon Oct 16
Abstract
Terminal-RSI alternates recursive trajectory rewriting with critic-inheriting policy refinement to advance terminal agents from partial progress to strict verification.
Converting verifier outcomes into useful policy updates and partial progress into complete task resolution is crucial for terminal agents. We present Terminal-RSI, which alternatesRecursive Self-Rewrite(RSR) of verified trajectories with critic-inheritingRecursive Policy-Refine(RPR). We formulate Turn-Boundary Skip-Observation GAE (TB-GAE) to retain token-specific baselines while applying decay across interaction turns.Family Dense Reward(FDR) calibrates semantic progress across task families;Success-Prioritized Reward(SPR) separates strict success from bounded partial credit. AWarm-up Critic Model,recursive critic handoff, and stage-specific learning rates coordinate the two refinement phases. The five-stage sequence from Qwen3.8-27B base model through RSR-1, RPR-1, RSR-2, and RPR-2 yields Terminal-RSI-27B: 19.84% on Terminal-Bench 4.0, 86.52% on Terminal-Bench 2.1, 16.95% on Terminal-Bench 3.0, and 79.00% on Terminal-Bench Hard. On LHTB, process reward rises from 0.21 to 0.37 and strict completion from 0/46 to 5/46; SWR100 success doubles from 3.00% to 6.00%. By recursively coupling verified trajectory rewriting with critic-inheriting policy refinement, each retained stage consolidates discovered behaviors and progressively advances the agent from partial local repairs to strict terminal verification.
View arXiv pageView PDFProject pageAdd to collection
Get this paper in your agent:
hf papers read 2610\.22192
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/2610.22192 in a model README.md to link it from this page.
Datasets citing this paper0
No dataset linking this paper
Cite arxiv.org/abs/2610.22192 in a dataset README.md to link it from this page.
Spaces citing this paper0
No Space linking this paper
Cite arxiv.org/abs/2610.22192 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
@omarsar0: Banger paper from Tencent on recursive self-improvement for terminal agents. (bookmark it) This is a great read if you …
腾讯等机构联合发表 Terminal-RSI 论文,通过交替进行轨迹重写(RSR)与批评家继承式策略优化(RPR),将基于 Qwen3.8-27B 的终端智能体在 Terminal-Bench 系列基准上的平均成绩从 20.68% 提升至 50.58%,并展示了奖励设计审计对区分严格成功与部分奖励的重要性。
@Yucheng__Shi: We used an agent to help train a stronger successor. Then we used that successor to help train the next. Our new paper,…
Tencent Hy Frontier and academic collaborators introduce Terminal-RSI, a recursive self-improvement loop for terminal agents that alternates verified-trajectory rewriting with critic-inheriting policy refinement, lifting a 27B model's Terminal-Bench 2.1 success from 51.7% to 86.5% and reaching a new 19.8% SOTA on Terminal-Bench 4.0.
ReTerm: Recovery Training for Self-Improving Terminal Agents
ReTerm 提出一种通过从自身失败任务中学习错误恢复来自我改进的终端智能体训练方法,包含 ReTerm-10K 数据集与在线 RL 算法 ReTerm-GRPO。基于 Qwen3.5-9B 的 ReTerm-9B 在 Terminal-Bench 2.0 上达到 34.8% Pass@1,较基座提升 14.6 个百分点。
@AndyL5cc: Tencent Hunyuan is going all out this time! The latest open-source paper, Terminal-RSI, boosts a 27B model's terminal task success rate from 51.7% to 86.5%! The core idea is simple: AI summarizes its own successful experiences → retrains → keeps optimizing, in two loops! No need to just scale parameters—just...
Tencent Hunyuan's open-source paper Terminal-RSI proposes a recursive self-improvement framework, alternating between recursive self-rewriting and policy refinement training, raising a 27B terminal agent's task success rate on Terminal-Bench 2.1 from 51.7% to 86.52%.
@HuggingPapers: Recursive Self-Rewrite scales model capability on complex tasks A single base model (Qwen-3.8-27B) discovers solutions …
HuggingPapers 介绍了一篇关于 Recursive Self-Rewrite 的研究:单一基础模型 Qwen-3.8-27B 在多种 harness 下发现解法并将其改写为可复用的训练轨迹,使 Terminal-Bench 2 的 Pass@3 从 57.0% 提升到 74.2%。