NeurIPS 2026QuestionsPapersAreasAboutMarkdown

Evolutionary System Prompt Learning for Reinforcement Learning in LLMs

Lunjun Zhang, Ryan Chen, Bradly Stadie

NeurIPS page · OpenReview · alphaXiv · Open on the map

Category: LLM Post-Training: RL & Distillation › LLM Reward Systems · Type: new method · Keywords: reinforcement learning, system prompt evolution, LLM self-improvement, joint weight and prompt updates, agentic systems

Areas: LLM Reasoning › Reasoning Optimization › Reflective Reasoning; AI Agents › Agentic Decision Making › Evolutionary Search; RL for LLMs & Agents › Language Model Agents › Credit Assignment for Reasoning

Summary

Evolutionary System Prompt Learning (E-SPL) jointly updates model weights and system prompts via reinforcement learning and evolutionary updates, improving RL performance across multiple benchmarks.

Explained to a 5-year-old

People want robots that can learn on their own from what they experience. Large language models can get better by changing the numbers inside them and by changing the instructions they follow. The paper shows a way to change both the numbers and the instructions together. Doing this helps the models solve harder problems better than before. It works on many different kinds of puzzles and games.

Explained to a 5-year-old, longer

Robots that can learn by themselves are useful because they can adapt to new situations. Large language models are computer programs that understand and generate text. These models can improve in two ways: by adjusting the numbers inside them and by adjusting the instructions they receive. Changing the numbers is called weight updates, and changing the instructions is called context updates. Usually, researchers only work on one of these improvements at a time. The paper shows that working on both at the same time can give better results. They do this by trying many different instructions together while the model learns from its experiences. The model also reflects on its own outputs to refine the instructions. This creates a natural split: some knowledge lives in the instructions, and some lives in the model's numbers. The experiments test the model on several challenging problem sets. On each set, the combined approach beats the methods that only change numbers or only change instructions. This shows that the two kinds of updates help each other and work better together.

For a technical reader

The work addresses the limitation of conventional RL fine-tuning, which only updates model weights, by also evolving the system prompts that guide the model’s behavior. In each training iteration, multiple prompts are sampled in parallel, and the model generates trajectories that are used for joint weight and prompt updates. Weight updates follow standard RL algorithms, while prompt updates apply an evolutionary search guided by the model’s self-reflection. Experiments on math-problem benchmarks and an agentic search task show consistent gains over RL-only and prompt-only baselines. The approach demonstrates that coupling procedural learning with declarative prompt engineering can improve generalization and performance across diverse tasks.

Problem

Improving agentic systems to autonomously self-improve from experience is challenging, as existing methods rely on either weight updates or context updates separately, limiting synergistic gains.

Method

The approach samples trajectories under multiple system prompts in each RL iteration, then jointly applies reinforcement learning updates to model weights and evolutionary updates to system prompts using LLM self-reflection, encouraging a division between declarative and procedural knowledge.

Results

The approach raises RL success rates from 38.8% to 45.1% in easy-to-hard generalization, from 56.3% to 60.6% on AIME 2025, from 50.0% to 52.7% on HMMT 2025, and from 44.2% to 48.6% on agentic search, outperforming RL-only and evolution-only baselines.

Contributions

The work introduces a joint framework that simultaneously updates model weights and system prompts, demonstrating synergistic improvements over separate weight or context updates across multiple benchmarks.

Research questions this paper is counted under

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction