Can Large Language Models Invent Algorithms to Improve Themselves?: Algorithm Discovery for Recursive Self-Improvement through Reinforcement Learning
On the map: Synthetic data and self-improvement for LLMs → Self-rewarding alignment and self-training
Abstract (arXiv)
Large Language Models (LLMs) have achieved remarkable capabilities, yet their improvement methods remain fundamentally constrained by human design. We present Self-Developing, a framework that enables LLMs to autonomously discover, implement, and refine their own improvement algorithms. Our approach employs an iterative cycle where a seed model generates algorithmic candidates as executable code, evaluates their effectiveness, and uses Direct Preference Optimization to recursively improve increasingly sophisticated improvement strategies. We demonstrate this framework through model merging, a practical technique for combining specialized models. Self-Developing successfully discovered novel merging algorithms that outperform existing human-designed algorithms. On mathematical reasoning benchmarks, the autonomously discovered algorithms improve the seed model's GSM8k performance by 6% and exceed human-designed approaches like Task Arithmetic by 4.3%. Remarkably, these algorithms exhibit strong generalization, achieving 7.4% gains on out-of-domain models without re-optimization. Our findings demonstrate that LLMs can transcend their training to invent genuinely novel optimization techniques. This capability represents a crucial step toward a new era where LLMs not only solve problems but autonomously develop the methodologies for their own advancement.
Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Placed in Self-rewarding alignment and self-training, one of 13 directions in Synthetic data and self-improvement for LLMs. Builds on 31 of its 59 references that are in the map. First posted on arXiv 21 Oct 2024.
Builds on
31 of 59 references.
Closest ancestors · 2
Same direction, newest first
- 2023Self-Taught Optimizer (STOP): Recursively Self-Improving Code Generation3 Oct
- 2023Reinforced Self-Training (ReST) for Language Modeling17 Aug
Other references · 29
- 2017Attention Is All You Needcited by 59,932
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2024The Llama 3 Herd of Modelscited by 14,192
- 2015Distilling the Knowledge in a Neural Networkcited by 10,076
- 2021Training Verifiers to Solve Math Word Problemscited by 9,743
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 7,916
- 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,203
- 2016SGDR: Stochastic Gradient Descent with Warm Restartscited by 4,993
- 2023Self-Refine: Iterative Refinement with Self-Feedbackcited by 3,317
- 2022Self-Instruct: Aligning Language Models with Self-Generated Instructionscited by 2,674
- 2023WizardLM: Empowering large pre-trained language models to follow complex instructionscited by 1,116
17 more
- 2022Program of Thoughts Prompting: Disentangling Computation from Reasoning for Numerical Reasoning Taskscited by 1,057
- 2023TIES-Merging: Resolving Interference When Merging Modelscited by 795
- 2023Language Models are Super Mario: Absorbing Abilities from Homologous Models as a Free Lunchcited by 679
- 2022Large Language Models Can Self-Improvecited by 656
- 2024A Survey on Large Language Models for Code Generationcited by 646
- 2024Executable Code Actions Elicit Better LLM Agentscited by 537
- 2024ReST-MCTS*: LLM Self-Training via Process Reward Guided Tree Searchcited by 338
- 2024BioMistral: A Collection of Open-Source Pretrained Large Language Models for Medical Domainscited by 299
- 2024Arcee's MergeKit: A Toolkit for Merging Large Language Modelscited by 189
- 2023Some things are more CRINGE than others: Iterative Preference Optimization with the Pairwise Cringe Losscited by 108
- 2024Model Stock: All we need is just a few fine-tuned modelscited by 87
- 2024Self-Organized Agents: A LLM Multi-Agent Framework toward Ultra Large-Scale Code Generation and Optimizationcited by 84
- 2024Self-playing Adversarial Language Game Enhances LLM Reasoningcited by 80
- 2019The Step Decay Schedule: A Near Optimal, Geometrically Decaying Learning Rate Procedure For Least Squarescited by 67
- 2022Sample-dependent Adaptive Temperature Scaling for Improved Calibrationcited by 48
- 2024ChatGLM-Math: Improving Math Problem-Solving in Large Language Models with a Self-Critique Pipelinecited by 47
- 2020Contextual Temperature for Language Modelingcited by 25
Built on by
Citing papers per year: 2025: 1; 2026: 3.
4 papers.
- 2025A Survey of Context Engineering for Large Language Modelscited by 120
- 2026How are AI agents used? Evidence from 177,000 MCP toolscited by 7
- 2026Effective Harness Engineering for Algorithm Discovery with Coding Agentscited by 4
- 2026COEVO: Co-Evolving Context and Parameters for Recursive Self-Improvementcited by 0
- 2026COEVO: Co-Evolving Context and Parameters for Recursive Self-Improvement27 Sep 2026
- 2026Effective Harness Engineering for Algorithm Discovery with Coding Agents13 May 2026
- 2026How are AI agents used? Evidence from 177,000 MCP tools25 Mar 2026
- 2025A Survey of Context Engineering for Large Language Models17 Jul 2025
Similar, not cited
Close in wording, no citation either way
- 2025The Path of Self-Evolving Large Language Models: Achieving Data-Efficient Learning via Intrinsic Feedback
- 2026Self-Improvement of Large Language Models: A Technical Overview and Future Outlook
- 2025Reflect, Retry, Reward: Self-Improving LLMs via Reinforcement Learning
- 2026Self-Reference in Large Language Models: The Introspection Threshold for Recursive Self-Improvement
- 2024Mind the Gap: Examining the Self-Improvement Capabilities of Large Language Models
- 2025Theoretical Modeling of Large Language Model Self-Improvement Training Dynamics Through Solver-Verifier Gap
- 2024A Survey on Self-Evolution of Large Language Models
- 2024Self-Improvement in Language Models: The Sharpening Mechanism