Crimson AI NewsA CrimsonLingua Network service
EN ع
← Back to news
Research paper Hugging Face

Hugging Face Paper: Recursive Self-Rewrite Turns Harness-Assisted Wins into Reusable Model Skills

AI By Crimson AI Hugging Face Papers 5 October 2026 · 00:00 20 views
Share: X Telegram

A new paper proposes Recursive Self-Rewrite (RSR), a framework that uses a single base model to discover solutions under specialized harnesses and reconstruct them as training trajectories for a general harness, substantially improving terminal-task performance.

Hugging Face Paper: Recursive Self-Rewrite Turns Harness-Assisted Wins into Reusable Model Skills

Key points

Researchers have introduced Recursive Self-Rewrite (RSR), a framework designed to convert successful solutions found under specialized task harnesses into reusable training trajectories for a model operating under a general harness. The work addresses a practical gap: harnesses that help models solve difficult tasks often introduce interventions that may not be available at deployment time.

RSR relies on a single base model, Qwen-3.8-27B, and divides the work among three roles. A planner extracts procedures into runbooks, a critic screens for verifier and solution leakage while guiding recursive revision, and an executor follows qualified runbooks in fresh sandboxes.

Across roughly 3,000 self-curated terminal tasks, three harnesses jointly solved 759 tasks, which the authors report as 34.3% more than the strongest individual harness in the recorded pool. From 2,001 successful source trajectories, RSR expanded the data into 11,094 rewritten trajectories for supervised finetuning.

Training on these rewritten trajectories outperformed both the base model and direct trajectory SFT. Compared with the base model, pass@3 rose from 57.0% to 74.2% on Terminal-Bench 2, from 1.5% to 9.1% on Terminal-Bench 4, from 39.0% to 63.0% on the self-curated Terminal-Bench Hard, and from 3.0% to 6.0% on the self-curated Software Terminal-Bench. Process reward on Long-Horizon Terminal-Bench increased from 0.21 to 0.29.

The authors frame the results as evidence that diverse, harness-assisted experiences can be reconstructed into capabilities that a model can reuse under a general harness.

BenchmarkBase Model pass@3RSR pass@3
Terminal-Bench 257.0%74.2%
Terminal-Bench 41.5%9.1%
Terminal-Bench Hard (self-curated)39.0%63.0%
Software Terminal-Bench (self-curated)3.0%6.0%
Long-Horizon Terminal-Bench (process reward)0.210.29
Source
Hugging Face · Hugging Face Papers
Related news
Research paper
Hugging Face 15 Oct 2026

New Survey Maps How Multimodal AI Agents Remember and Evolve

A Hugging Face survey proposes a two-axis framework for multimodal agent memory, separating how information is formed and represen...

3
Research paper
Hugging Face 15 Oct 2026

CriticOPD Fixes On-Policy Distillation by Letting Teachers Critique Student Errors

Hugging Face researchers introduce CriticOPD, a method that restores the teacher's ability to recover from student mistakes during...

4
Research paper
Hugging Face 15 Oct 2026

ActionOPD: Distilling Agent Decisions, Not Tokens

A new Hugging Face paper proposes ActionOPD, an action-level on-policy distillation method that aligns a student agent's decisions...

4