PACEvolve++: Improving Test-time Learning for Evolutionary Search Agents

Minghao Yan, Bo Peng, Benjamin Coleman, Ziqi Chen, Zhouhang Xie, Shuo Chen, Zhankui He, Noveen Sachdeva, Weili Wang, Ed H. Chi, Shivaram Venkataraman, Wang-Cheng Kang, Derek Zhiyuan Cheng, Beidou Wang

TL;DR

PACEvolve++ introduces a decoupled advisor-model framework that separates high-level strategic search decisions from low-level code implementation in LLM-driven evolutionary search. By utilizing a novel phase-adaptive reinforcement learning objective that shifts its strategy as search dynamics evolve, it stabilizes test-time policy adaptation and significantly accelerates convergence across complex machine learning engineering tasks.

What Problem Does This Paper Address?

Large Language Models (LLMs) have become highly effective at driving evolutionary program search—repeatedly proposing mutations to code, evaluating them, and keeping the best descendants. However, most existing frameworks rely on a fixed, prompt-elicited policy. This prevents the agent from adapting to task-specific search dynamics over long horizons.

When researchers try to apply test-time reinforcement learning (RL) to adapt these policies on the fly, they run into two major roadblocks:

  1. Entangled Signals: Standard frameworks use the same LLM to decide what strategy to try and how to write the code. If the code fails due to a minor syntax or integration error, a brilliant high-level strategy gets penalized, creating a noisy training signal.
  2. Non-Stationary Search Dynamics: Evolutionary search is fundamentally non-stationary. Early on, candidates vary wildly, making group-relative reward signals highly informative. Later in the search, candidates become minor variants of already strong solutions. In this late refinement stage, absolute reward gaps compress to near-zero, causing standard RL algorithms (like GRPO) to suffer from massive gradient spikes or premature entropy collapse.

Methods

The authors introduce PACEvolve++, which tackles these challenges through two core design choices:

1. Advisor-Model Decomposition

Instead of training an end-to-end coding actor, PACEvolve++ decouples strategic reasoning from code execution. A smaller, trainable Advisor LLM handles high-level strategic decisions (idea generation, novelty assessment, and hypothesis selection). Once the advisor selects a promising hypothesis, a separate, frozen, and stronger Frontier Coding LLM translates that hypothesis into executable code edits.

Figure 1: Overall PACEvolve++ workflow. A train- able advisor handles idea generation, novelty as- sessment, and hypothesis selection, while a frontier implementation model writes code. The RL objec- tive is coupled to rollout batches and adapts its credit assignment to the search phase.

2. Phase-Adaptive Reinforcement Learning

To handle changing search dynamics, the RL training objective dynamically shifts its credit assignment geometry over the course of the evolutionary timeline:

  • Early Phase (Exploration): The framework utilizes a standardized group-relative reward baseline with asymmetric clipping. This dense, token-level feedback encourages broad exploration without prematurely collapsing onto a few high-scoring rollouts.
  • Late Phase (Refinement): The objective linearly transitions to a pass@k-based marginal-contribution signal (PKPO via a low-variance SLOO estimator). This credits candidates based purely on whether they successfully push the best-of-$k$ frontier forward, making the gradient updates invariant to compressed reward scales.

Additionally, the framework incorporates Progress-Normalized Reward Shaping to map heterogeneous task metrics (both maximization and minimization goals) into a shared, stable scale $[0, 5]$ for RL training.

Datasets

The framework was evaluated across three distinct, computationally expensive machine learning engineering and research benchmarks:

  • Expert-Parallelism Load Balancing (EPLB): Evolving assignment logic derived from DeepSeek-V3’s infrastructure to distribute expert workloads across parallel devices efficiently.
  • Sequential Recommendation (KuaiRec): Evolving sequence feature construction and encoder/scoring logic for a next-item ranking model, evaluated on a fully observed short-video interaction dataset.
  • Protein Fitness Extrapolation (Multi-Evolve): Evolving combinatorial protein fitness prediction models tasked with predicting higher-order mutant fitness based only on lower-order mutant training data.

Key Insights and Ideas

  • Decoupling is a regularizer for RL: Separating the "what to do" from the "how to do it" prevents low-level implementation failures from corrupting the strategic learning signal. This allows smaller open-weight models (4B–8B parameters) to function effectively as strategic advisors.
  • Credit geometry matters more than reward scale: In late-stage evolution, standard reward normalization fails because the variance approaches zero. Shifting the question from "which candidate is broadly better?" to "which candidate changes the frontier?" provides a mathematically stable gradient update that prevents optimization blowups.
  • The exploration-exploitation balance must be scheduled: Pure frontier-contribution objectives (like PKPO) suffer from rapid entropy collapse if applied too early. Conversely, group-relative objectives (like GRPO) destabilize late-stage training. A linear blend perfectly mirrors the log-diminishing returns of evolutionary search.

Key Results

PACEvolve++ was evaluated using Qwen3.5-4B and DeepSeek-R1-Qwen3-8B as advisor models, paired with Gemini-3.1-Pro-Preview for code implementation.

  • Faster Convergence: On the EPLB task, PACEvolve++ reached near-optimal, saturated solutions using only half the evolution budget required by the non-RL baseline.
  • Superior Final Performance: Across Sequential Recommendation and Protein Fitness Extrapolation, PACEvolve++ achieved higher final rewards than all optimization baselines (including standard GRPO and TTT-Discover).
  • Training Stability: As shown in the training diagnostics, PACEvolve++ successfully kept gradient norms tightly bounded around 1.0 and maintained healthy policy entropy, avoiding the severe gradient spikes seen in ThetaEvolve (GRPO) and the rapid entropy collapse seen in pure Max@k methods.
Figure 2: Training dynamics for DeepSeek-R1-0528-Qwen3-8B on Multi-Evolve. PACEvolve++ reaches the best final reward while avoiding the instability patterns observed in baselines.

Limitations and Future Work

The primary limitation acknowledged by the authors is the high computational cost associated with evaluating evolutionary candidates (which requires training models or running large-scale simulations). Due to resource constraints, the authors could not run extended horizons or repeat the full RL training loops multiple times.

For future work, they suggest scaling up the framework to longer horizons, exploring end-to-end training with models possessing inherently stronger few-shot coding capabilities, and refining the strategic capabilities of compact open-weight models on complex machine learning engineering tasks.

Summary updated

BibTeX
@inproceedings{yan2026pacevolve,
  author = {Minghao Yan and Bo Peng and Benjamin Coleman and Ziqi Chen and Zhouhang Xie and Shuo Chen and Zhankui He and Noveen Sachdeva and Weili Wang and Ed H. Chi and Shivaram Venkataraman and Wang-Cheng Kang and Derek Zhiyuan Cheng and Beidou Wang},
  title = {{PACEvolve++: Improving Test-time Learning for Evolutionary Search Agents}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=5EofrdzApA},
}
Figure