R Flow: Recursive Self-Improvement via Recursive Skill Evolution
Mingda Zhang, Qiang Huang, Yanjin Li, Zijia Wang, Qika Lin, Xiaoying Tang, Tiesunlong Shen
Abstract
LLM-based agents can improve themselves across tasks by reusing and revising the skills they orchestrate into executable procedures. Flow-based training fits this loop: it samples procedures in proportion to reward, and the flow through each skill credits it for the next library revision. Three obstacles stand in the way of making this self-improvement reliable: flow training suffers strategy collapse over tree-structured histories; nonnegative flow-based credit rewards frequent use as if it were benefit; and library edits rest on the task reward the policy optimizes. We introduce R Flow, a recursive self-improvement framework that alternates policy learning, independent verification, and versioned skill-library updates on a shared-state orchestration graph. The graph merges histories that differ only in the order of independent steps, allowing flow training to pool evidence across equivalent executions. A flow-share readout of the trained flow, invariant to the backward policy, and a separate signed utility rank which skills to change, verifier evidence decides whether an edit is warranted, and a residual-variance plateau sets when to update. Committed edits reshape the graph the next policy learns on, realizing recursive skill evolution. Across question answering, mathematical reasoning, interactive decision making, and code generation, R Flow improves task accuracy and library-edit precision over heuristic orchestration, reinforcement learning, and skill-evolution baselines, and transfers across executors. Code is available at https://github.com/beita6969/r2flow.
Create a lesson
Metadata
- Comments
- 27 pages
Related papers
Sol-H3: Recursive Self-Improvement for MiniMax-H3 Inference Acceleration on Sol-Engine across Cloud and Edge
Shared title terminologycs.AIYitong Li, Jincheng Yu, Junsong Chen et al.
COEVO: Co-Evolving Context and Parameters for Recursive Self-Improvement
Shared title terminologycs.AISiwei Chen, Xinping Bao, Xinyu Cai et al.
Self-Improving Long-Horizon Reasoning by Learning Summaries from Local Continuations
Shared title terminologycs.AIHaoqun Cao, Tengyang Xie
MMMem: Self-Improving Agents with Task-Aware Multimodal Experience Consolidation
Shared title terminologycs.AIYuxuan Chen, Changwei Lv, Yunfei Li et al.
AutoDataBench: Can Agents Write the Data That Feeds the Self-Improvement Loop?
Shared title terminologycs.AIHaotian Luo, Haoyu Wang, Zeyu Qin et al.
BEHAVE: Functional Behavior Modeling Enables Self-Improving Agents for Hardware Design and Verification
Shared title terminologycs.AIYuheng Wu, Berk Gokmen, Sujeeth Jinesh et al.