REI:从代码仓库演化中学习创意生成
摘要
REI 提出从代码仓库演化中学习可复用的构思策略,并引入 SPOD,这是一种保持多样性的对齐机制,旨在解决质量驱动的创意优化中的语义多样性坍缩问题,并在基准测试和工业场景中展现了性能提升。
arXiv:2611.33183v1 Announce Type: new
Abstract: As AI systems become increasingly capable of executing and evaluating experiments, ideation is emerging as a bottleneck in automated scientific and engineering iteration. In many real-world domains, useful ideas are sparse and their validation is costly, making direct online exploration inefficient. We observe that repository evolution provides a scalable source of reusable technical experience: code changes record concrete technical hypotheses, while subsequent revisions, adoption, and reuse provide signals about their utility. Based on this observation, we propose REI, a Repository Evolution-driven Ideation framework that learns reusable ideation policies from repository evolution, injecting domain-specific technical experience into model parameters and reducing reliance on costly trial-and-error. We further identify a hidden failure mode in quality-driven ideation optimization: semantic diversity collapse. Although generated ideas can remain lexically diverse, they increasingly concentrate in a small number of dominant method families, limiting cross-task generalization and long-tail exploration. To address this problem, we introduce Semantic Prior Optimization and Debiasing (SPOD), a diversity-preserving alignment mechanism that makes method identity explicit, corrects category-level reward bias, and limits redundant accumulation within the same method family while retaining strong representatives. Experiments on public benchmarks and a real-world industrial setting demonstrate improvements in ideation quality, method diversity, cross-task generalization, and long-tail exploration.
查看缓存全文
缓存时间: 2026/11/26 09:31
# REI: Learning Ideation from Repository Evolution
Source: [https://arxiv.org/html/2611.33183](https://arxiv.org/html/2611.33183)
###### Abstract
As AI systems become increasingly capable of executing and evaluating experiments, ideation is emerging as a bottleneck in automated scientific and engineering iteration\. In many real\-world domains, useful ideas are sparse and their validation is costly, making direct online exploration inefficient\. We observe that repository evolution provides a scalable source of reusable technical experience: code changes record concrete technical hypotheses, while subsequent revisions, adoption, and reuse provide signals about their utility\. Based on this observation, we proposeREI, a Repository Evolution\-driven Ideation framework that learns reusable ideation policies from repository evolution, injecting domain\-specific technical experience into model parameters and reducing reliance on costly trial\-and\-error\. We further identify a hidden failure mode in quality\-driven ideation optimization:semantic diversity collapse\. Although generated ideas can remain lexically diverse, they increasingly concentrate in a small number of dominant method families, limiting cross\-task generalization and long\-tail exploration\. To address this problem, we introduceSemanticPriorOptimization andDebiasing \(SPOD\), a diversity\-preserving alignment mechanism that makes method identity explicit, corrects category\-level reward bias, and limits redundant accumulation within the same method family while retaining strong representatives\. Experiments on public benchmarks and a real\-world industrial setting demonstrate improvements in ideation quality, method diversity, cross\-task generalization, and long\-tail exploration\. Our implementation is available at[https://github\.com/Gabriel\-reina/spod](https://github.com/Gabriel-reina/spod)\.
## 1Introduction
Recursive self\-improvement \(RSI\) is becoming increasingly practical for modern AI systems\([Duan et al\., 2026](https://arxiv.org/html/2611.33183#bib.bib1);[Zhang et al\., 2026a](https://arxiv.org/html/2611.33183#bib.bib2);[Huang et al\., 2026](https://arxiv.org/html/2611.33183#bib.bib3)\)\. In a typical RSI loop, a system proposes a modification, executes the corresponding experiment, and retains the change if it yields measurable improvements\([Novikov et al\., 2025](https://arxiv.org/html/2611.33183#bib.bib4);[Romera\-Paredes et al\., 2023](https://arxiv.org/html/2611.33183#bib.bib5);[Lange et al\., 2026](https://arxiv.org/html/2611.33183#bib.bib6)\)\. As implementation, training, and evaluation become increasingly automated, the primary bottleneck is shifting from*execution*to*ideation*: the central challenge is no longer merely whether a system can run experiments, but whether it can consistently identify high\-value directions worth exploring\. This challenge is particularly pronounced in high\-frequency model and system iteration, where existing workflows increasingly rely on general\-purpose language models to propose candidate improvements\([Lu et al\., 2024](https://arxiv.org/html/2611.33183#bib.bib7);[Yamada et al\., 2025](https://arxiv.org/html/2611.33183#bib.bib8);[Schmidgall et al\., 2025](https://arxiv.org/html/2611.33183#bib.bib9);[Yang et al\., 2025b](https://arxiv.org/html/2611.33183#bib.bib10);[Team, 2026](https://arxiv.org/html/2611.33183#bib.bib11)\)\. Such models, however, provide only weak domain\-specific priors\. In domains such as recommender systems, the value of an idea often becomes clear only after implementation, training, and evaluation, making poorly grounded exploration costly\([Kim et al\., 2026](https://arxiv.org/html/2611.33183#bib.bib12);[Wang et al\., 2026](https://arxiv.org/html/2611.33183#bib.bib13);[Wu et al\., 2026](https://arxiv.org/html/2611.33183#bib.bib14)\)\. Moreover, even when useful directions are discovered through extensive online search, the resulting experience is often tied to a particular task and search trajectory rather than distilled into reusable ideation capability that transfers across tasks\.
Repository evolution provides a scalable source of the missing technical experience\. A repository records a sequence of concrete engineering hypotheses: each committed modification reflects a specific design choice, while its subsequent acceptance, revision, reuse, or downstream effect provides implicit supervision about the usefulness of that direction\. More importantly, repository histories naturally span heterogeneous tasks, system states, and evolution trajectories, exposing recurring patterns of what kinds of modifications tend to succeed under different conditions\. Such histories therefore contain not only implementation traces, but also reusable priors over technical problem solving\. Compared with learning solely through task\-local online exploration, repository\-scale evolution offers a way to transform accumulated engineering experience into transferable ideation knowledge\([Ouyang et al\., 2026](https://arxiv.org/html/2611.33183#bib.bib15);[Zhang et al\., 2026b](https://arxiv.org/html/2611.33183#bib.bib16)\), providing a substantially stronger starting point for iterative self\-improvement\.
However, learning from historical success alone does not ensure broad long\-term exploration\. We find that ideation policies can gradually become concentrated in a small number of dominant method families, improving same\-task reward while weakening cross\-task transfer and long\-tail coverage \(see Fig\.[2](https://arxiv.org/html/2611.33183#S3.F2)\)\. This stems from a self\-reinforcing dynamic: once a family is favored, optimization repeatedly doubles down on similar variants, progressively crowding out underrepresented yet viable alternatives\. Importantly, this collapse is often hidden at the surface level: ideas may remain lexically diverse while becoming increasingly homogeneous in their underlying methodology \(see Fig\.[3](https://arxiv.org/html/2611.33183#S3.F3)\)\. Reinforcement learning can amplify this effect, and stronger verifiers do not fundamentally solve it; they can instead push the policy further toward already favored method families \(see Fig\.[4](https://arxiv.org/html/2611.33183#S3.F4)\)\. A practical ideation framework therefore needs not only strong technical priors, but also an optimization mechanism that preserves semantic breadth and long\-tail exploration throughout learning\.
To harness repository histories for transferable ideation, we proposeREI, aRepositoryEvolution\-drivenIdeation framework that distills historical engineering trajectories into reusable technical priors \(Fig\.[1](https://arxiv.org/html/2611.33183#S1.F1)\)\. To address the method\-level collapse identified above, REI introducesSPOD\(SemanticPriorOptimization andDebiasing\) as its core alignment mechanism\. SPOD makes method\-level semantic structure explicit, corrects category\-level reward imbalance, and employs top\-1 retention to suppress redundant variants within a dominant family while preserving its strongest representative, thereby preserving broader exploration without discarding high\-quality directions\. We evaluate REI on public benchmarks and a real\-world industrial recommender system\. Across these settings, REI consistently improves ideation quality, semantic method diversity, cross\-task generalization, and long\-tail exploration\. In end\-to\-end deployment on the industrial recommender system, REI outperforms frontier general\-purpose models and human experts, while delivering sustained gains under continual iteration\.
Our main contributions are as follows:
- •A repository\-evolution framework for ideation\.We propose REI, which learns reusable ideation policies from repository evolution for continual model and system improvement\.
- •A diagnosis of hidden method\-level collapse\.We reveal a hidden form of method\-level collapse in quality\-driven ideation optimization: method diversity can collapse even when token entropy and lexical diversity remain relatively stable, and stronger verifiers can further exacerbate this effect\.
- •SPOD for diversity\-preserving alignment\.We propose SPOD, which uses method\-level semantic annotation, category\-aware reward correction, and top\-1 retention to mitigate method\-level collapse during policy optimization\.
- •Validation on public and industrial domains\.We evaluate REI and SPOD on public benchmarks and a real\-world industrial recommender system, showing consistent gains in ideation quality, diversity, cross\-task generalization, and long\-tail exploration\. In the industrial setting, they further yield sustained gains over continual iteration, including a \+4\.86% GMV lift and a \+1\.82% advertising revenue lift\.
Figure 1:REI learns reusable ideation policies from repository evolution, while SPOD prevents semantic collapse by debiasing method families and retaining strong representatives\.
## 2Related Work
### 2\.1Agentic Automation of Engineering Iteration
AI is increasingly used to automate engineering iteration, spanning code generation, experiment execution, literature\-informed proposal generation, and closed\-loop optimization\([Guo et al\., 2024](https://arxiv.org/html/2611.33183#bib.bib17);[Hong et al\., 2024](https://arxiv.org/html/2611.33183#bib.bib18);[Trirat et al\., 2025](https://arxiv.org/html/2611.33183#bib.bib19);[Nam et al\., 2025](https://arxiv.org/html/2611.33183#bib.bib20);[Hollmann et al\., 2023](https://arxiv.org/html/2611.33183#bib.bib21);[Tang et al\., 2025](https://arxiv.org/html/2611.33183#bib.bib22)\)\. More recent systems further incorporate the resulting interaction trajectories into reinforcement learning, with the goal of turning online trial\-and\-error into improved ideation capability\. In recommender systems, for example, agentic pipelines have been developed to iteratively refine models and strategies through repeated interaction with online feedback\([Zhang et al\., 2026c](https://arxiv.org/html/2611.33183#bib.bib23)\)\. Despite these advances, most existing approaches still rely on a general\-purpose LLM as the initial ideation policy, leaving domain\-specific technical knowledge to be acquired through costly task\-local exploration\. REI instead learns this knowledge from repository evolution, turning accumulated engineering trajectories into reusable priors before online iteration begins\.
### 2\.2Diversity and Exploration in RL Alignment
A related line of work studies diversity preservation during RL alignment, often building on group\-relative policy optimization\([Shao et al\., 2024](https://arxiv.org/html/2611.33183#bib.bib24)\)and introducing exploration controls at the token or policy\-update level\. Entropy regularization explicitly adds an entropy bonus to discourage premature policy concentration\([Schulman et al\., 2017](https://arxiv.org/html/2611.33183#bib.bib25)\), while entropy\-based advantage adjustment assigns stronger learning signals to high\-entropy tokens\([Cheng et al\., 2025](https://arxiv.org/html/2611.33183#bib.bib26)\)\. Other approaches modify the policy update rule itself\. CISPO clips only the importance\-sampling weight while retaining the token\-level policy gradient\([Chen et al\., 2025](https://arxiv.org/html/2611.33183#bib.bib27)\); DAPO relaxes the clipping constraint to allow initially low\-probability positive tokens to receive larger updates\([Yu et al\., 2025](https://arxiv.org/html/2611.33183#bib.bib28)\); and STEER reweights updates according to their predicted effect on entropy, suppressing updates that would induce excessive entropy reduction\([Hao et al\., 2026](https://arxiv.org/html/2611.33183#bib.bib29)\)\. These methods primarily preserve exploration in the token\-level policy distribution\. In contrast, SPOD focuses on semantic diversity at the method\-family level: it explicitly represents method identity and corrects category\-level reward imbalance to reduce excessive concentration on a small set of dominant solution families\.
## 3Method
### 3\.1Learning Ideation Experience from Repository Histories
Rather than acquiring ideation ability primarily through costly online trial\-and\-error, we learn an ideation policy directly from repository evolution\. Repository histories provide scalable supervision by recording concrete modifications together with their subsequent empirical outcomes, allowing accumulated engineering experience to be converted into training signals for ideation\.
For each target system, we extract training trajectories from its repository history, each comprising a scenario context, a proposed modification, and its observed outcome\. We train the ideation policy in two stages\. First, we perform supervised fine\-tuning on successful historical modifications, grounding the policy in domain\-specific technical patterns\. Second, we train a verifier on both successful and failed historical outcomes to predict modification utility, and use it to refine the policy via reinforcement learning, optimizing toward directions with stronger empirical gains\. During downstream inference, the policy samples candidate ideas that are ranked by the verifier; the top proposals are then dispatched to a coding agent for automated implementation \(Fig\.[1](https://arxiv.org/html/2611.33183#S1.F1)\)\.
### 3\.2Analysis: Diversity Collapse in Idea Generation
Learning from repository histories provides the ideation policy with a stronger starting point, yet subsequent alignment still determines how exploration is distributed across method families\. During iterative optimization, some families are easier to reinforce than others, potentially narrowing the range of solution directions explored by the policy\.
This effect is particularly relevant to recommender systems\. For example, modifying the loss formulation can quickly improve the current offline metric and is therefore readily rewarded by a verifier, whereas introducing multi\-interest user modeling\([Zhou et al\., 2017](https://arxiv.org/html/2611.33183#bib.bib30);[Lv et al\., 2026](https://arxiv.org/html/2611.33183#bib.bib37)\)may yield smaller initial gains despite its potential value over continued iteration\. Repeatedly favoring directions with stronger short\-term rewards can therefore concentrate exploration on a narrow subset of method families\.
Empirical analysis reveals a systematic collapse in method\-level diversity during reinforcement learning\. Although the initial policy already prefers certain solution families, standard reinforcement learning amplifies this tendency and concentrates generation on a small number of dominant families\. Appendix[C](https://arxiv.org/html/2611.33183#A3)gives the protocol and metric definitions for the three analyses below\.
Figure 2:Diversity collapse after RL alignment\.\(a\)Same\-task verifier reward improves under GRPO, but cross\-task gains disappear\.\(b\)Method families are grouped by their generated share: head \(≥40%\\geq 40\\%\), mid \(1010–40%40\\%\), and tail \(<10%<10\\%\)\. GRPO improves the head family while degrading the mid and tail families\.Long\-tail and cross\-task performance decline\.As training progresses, performance on the training task continues to improve\. On the same task, GRPO increases both the mean verifier reward and the best\-of\-8 reward, as shown by the solid lines in Figure[2](https://arxiv.org/html/2611.33183#S3.F2)\(a\)\. However, these gains do not transfer to the out\-of\-distribution cross\-task setting, where the mean reward slightly decreases and the best\-of\-8 reward changes little \(dashed lines in Figure[2](https://arxiv.org/html/2611.33183#S3.F2)\(a\)\)\. The discrepancy is more pronounced across method families\. When method families are grouped by their share among generated candidates and Hit@1 is measured within each group, GRPO improves the head family while degrading the mid\- and tail\-frequency families \(Figure[2](https://arxiv.org/html/2611.33183#S3.F2)\(b\)\)\. Thus, improvements on the training objective can coincide with weaker cross\-task generalization and reduced coverage of long\-tail method families\.
Figure 3:Surface diversity holds while method diversity collapses\.*Left*: token entropy over training \(2\.11→1\.942\.11\\to 1\.94; axis starts at zero\)\.*Middle*: method\-level trajectories, normalized to step00\.*Right*: magnitude of change at final checkpoint relative to SFT initialization; arrows mark higher diversity\.Lexical diversity does not explain the collapse\.The degradation in cross\-task and long\-tail performance suggests that exploration becomes increasingly concentrated during training\. However, this concentration cannot be explained by a corresponding collapse in token\- or lexical\-level diversity\. Token entropy exhibits only a marginal decline throughout training \(Figure[3](https://arxiv.org/html/2611.33183#S3.F3), left\), while lexical dissimilarity changes by less than 5% relative to the SFT initialization \(Figure[3](https://arxiv.org/html/2611.33183#S3.F3), right\)\.
Instead, the collapse is substantially more pronounced at the level of method semantics\. An offline LLM maps each generated idea into a method taxonomy𝒞\\mathcal\{C\}\. During training, category entropy and the number of distinct method familiesncatn\_\{\\mathrm\{cat\}\}decrease steadily, while the share of the most frequent method family increases monotonically \(Figure[3](https://arxiv.org/html/2611.33183#S3.F3), middle\)\. At the final checkpoint, lexical statistics change by only22–8%8\\%, whereas method\-level statistics change by1818–29%29\\%\. The policy therefore remains relatively diverse in surface realization while becoming increasingly concentrated in its underlying method families\.
Figure 4:A higher\-fidelity verifier accelerates the collapse: the head\-method \(top\-1\) share rises monotonically across the weak/medium/strong verifiers \(fidelity 0\.55/0\.67/0\.83\)\.Stronger optimization further amplifies the collapse\.Another possible explanation is that the observed concentration is primarily caused by exposure imbalance in the training data or verifier noise\. The experimental results do not support this interpretation\. Rebalancing the training samples across method categories leaves the collapse largely unchanged\. More importantly, improving verifier fidelity, measured as pairwise ranking accuracy between verifier scores and realized gains, does not mitigate the effect; instead, it further increases method\-level concentration\. As shown in Figure[4](https://arxiv.org/html/2611.33183#S3.F4), the head\-method share rises monotonically from 49\.1% to 58\.8% to 62\.5% as verifier fidelity increases\.
Under group\-relative updates such as GRPO, category\-level reward differences can become self\-reinforcing\. Candidates from method families that consistently receive higher rewards are more likely to obtain positive advantages, causing subsequent policy updates to further favor these families\. Higher\-fidelity verification may amplify this effect by preserving the current reward ordering more faithfully\. Taken together, these results indicate that the observed collapse occurs primarily at the level of method families rather than surface language\. Preserving token\-level or lexical diversity is therefore insufficient for maintaining broad exploration\. Effective ideation alignment should explicitly account for method\-level semantics and reduce systematic reward advantages that repeatedly concentrate optimization on already favored method families\.
### 3\.3SPOD: Semantic Prior Optimization for Diversity\-Preserving Ideation
To counter method\-level concentration, SPOD introduces a three\-step alignment pipeline \(Fig\.[1](https://arxiv.org/html/2611.33183#S1.F1)\)\. For each proposal group, it first assigns method categories through semantic annotation, then computes reward corrections from category reward priors, and finally applies them while exempting each category’s highest\-reward candidate\.
Method\-Level Semantic Annotation\.Because the observed collapse occurs at the level of method families rather than surface wording, SPOD explicitly represents method identity\. For each candidate ideayy, we assign a method categoryc∈𝒞c\\in\\mathcal\{C\}and prepend the corresponding tag, yieldingy~=\[TAGc\]∘y\\tilde\{y\}=\[\\mathrm\{TAG\}\_\{c\}\]\\circ y, where∘\\circdenotes concatenation\. This representation allows subsequent optimization to distinguish candidates by their underlying method family rather than only their lexical form\. When a ground\-truth taxonomy is available, it is used directly; otherwise, the category is assigned by an offline LLM annotator\.
Category\-Aware Reward Correction\.Under the same objective, some method categories consistently receive higher rewards than others\. Without correction, these category\-level reward differences can cause group\-relative optimization to repeatedly favor the same method families\. SPOD compensates for this effect by adjusting candidate rewards according to the reward prior of their corresponding method category\.
A fixed reference set𝒟ref\\mathcal\{D\}\_\{\\mathrm\{ref\}\}of categorized ideas is used to estimate the category\-level reward prior\. LetRi=R\(x,yi\)R\_\{i\}=R\(x,y\_\{i\}\)denote the raw reward of candidateyiy\_\{i\}with category labelcic\_\{i\}\. For a sampled candidate groupG=\{y1,…,yK\}G=\\\{y\_\{1\},\\dots,y\_\{K\}\\\}with reward standard deviations\(G\)s\(G\), the correction is
μc=𝔼\(x,y\)∈𝒟ref,cat\(y\)=c\[R\(x,y\)\],φ\(c\)=μc−μ¯σμ,Δi=βs\(G\)φ\(ci\),\\mu\_\{c\}=\\mathbb\{E\}\_\{\(x,y\)\\in\\mathcal\{D\}\_\{\\mathrm\{ref\}\},\\,\\mathrm\{cat\}\(y\)=c\}\\left\[R\(x,y\)\\right\],\\qquad\\varphi\(c\)=\\frac\{\\mu\_\{c\}\-\\bar\{\\mu\}\}\{\\sigma\_\{\\mu\}\},\\qquad\\Delta\_\{i\}=\\beta\\,s\(G\)\\,\\varphi\(c\_\{i\}\),\(1\)whereμ¯\\bar\{\\mu\}andσμ\\sigma\_\{\\mu\}denote the mean and standard deviation of the category\-wise average rewards, respectively, andβ\>0\\beta\>0controls the correction strength\. A largerφ\(c\)\\varphi\(c\)corresponds to a stronger positive reward prior for categorycc\.
The corrected reward is
R~i=Ri−Δi\.\\tilde\{R\}\_\{i\}=R\_\{i\}\-\\Delta\_\{i\}\.\(2\)
Candidates from categories with stronger positive reward priors receive larger downward corrections, thereby leveling the playing field across method families\.
Inspired by debiasing techniques in recommender systems\([Chen et al\., 2020](https://arxiv.org/html/2611.33183#bib.bib31);[Gao et al\., 2023](https://arxiv.org/html/2611.33183#bib.bib32);[Gao et al\., 2022](https://arxiv.org/html/2611.33183#bib.bib33);[Lin et al\., 2024](https://arxiv.org/html/2611.33183#bib.bib34)\), this mechanism decouples category\-level bias from individual candidate quality, thereby neutralizing systematic family advantages while keeping candidate\-level quality competition intact\. The following theorem formalizes this effect\.
###### Theorem 1\.
In the calibrated reward formulationri′=ri−β⋅s\(G\)⋅φ\(ci\)r\_\{i\}^\{\\prime\}=r\_\{i\}\-\\beta\\cdot s\(G\)\\cdot\\varphi\(c\_\{i\}\), the normalized fixed\-dispersion scoreA~i\\widetilde\{A\}\_\{i\}satisfies
A~i=δqi−δq¯Gs\(G\)⏟Aiintra\+\(1−β⋅s\(G\)σμ\)μci−μ¯Gs\(G\)⏟Aiinter,\\widetilde\{A\}\_\{i\}=\\underbrace\{\\frac\{\\delta q\_\{i\}\-\\overline\{\\delta q\}\_\{G\}\}\{s\(G\)\}\}\_\{A\_\{i\}^\{\\mathrm\{intra\}\}\}\+\\left\(1\-\\frac\{\\beta\\cdot s\(G\)\}\{\\sigma\_\{\\mu\}\}\\right\)\\underbrace\{\\frac\{\\mu\_\{c\_\{i\}\}\-\\bar\{\\mu\}\_\{G\}\}\{s\(G\)\}\}\_\{A\_\{i\}^\{\\mathrm\{inter\}\}\},\(3\)whereAiintraA\_\{i\}^\{\\mathrm\{intra\}\}is the category\-centered quality term andAiinterA\_\{i\}^\{\\mathrm\{inter\}\}is the category\-mean reward term\. The correction leaves the former unchanged and linearly contracts the latter\.
The theorem shows that category\-aware reward correction preserves the category\-centered quality term while contracting the category\-mean reward term\. It therefore reduces the component associated with systematic reward differences across method families without weakening candidate\-level quality competition\. The full statement and proof are provided in Appendix[A](https://arxiv.org/html/2611.33183#A1)\.
Top\-1 Retention\.Applying the same correction to every candidate within a method category would also suppress its strongest representative together with weaker redundant variants\. SPOD therefore exempts the top candidate within each category and applies the correction only to the remaining candidates:
i⋆\(c\)=argmaxj∈𝒢cR\(x,yj\),R~i=Ri−Δi⋅𝕀\(i≠i⋆\(ci\)\),i^\{\\star\}\(c\)=\\arg\\max\_\{j\\in\\mathcal\{G\}\_\{c\}\}R\(x,y\_\{j\}\),\\qquad\\tilde\{R\}\_\{i\}=R\_\{i\}\-\\Delta\_\{i\}\\cdot\\mathbb\{I\}\\\!\\left\(i\\neq i^\{\\star\}\(c\_\{i\}\)\\right\),\(4\)where𝒢c\\mathcal\{G\}\_\{c\}denotes the set of candidates in groupGGthat belong to categorycc\. The correction is thus concentrated on redundant variants within a method family while preserving its strongest representative, reducing repeated reinforcement of locally similar candidates without removing strong candidates from cross\-category competition\.
Taken together, SPOD transforms standard reward optimization into a diversity\-preserving search: semantic tags expose the underlying method structure, reward correction contracts inter\-family bias, and top\-1 retention shields the best local candidates from over\-penalization\. By jointly addressing method\-level collapse without discarding high\-quality solutions, SPOD maintains a broad and healthy exploration frontier throughout alignment\.
## 4Experiment
In this section, we answer three questions: \(1\) Does REI, coupled with SPOD, deliver superior real\-world performance over frontier LLMs and sustain multi\-round iteration? \(Section[4\.2](https://arxiv.org/html/2611.33183#S4.SS2), Section[4\.3](https://arxiv.org/html/2611.33183#S4.SS3)\) \(2\) Can SPOD prevent method collapse and maintain broad exploration across unseen tasks and long\-tail domains? \(Section[4\.4](https://arxiv.org/html/2611.33183#S4.SS4), Section[4\.5](https://arxiv.org/html/2611.33183#S4.SS5)\) \(3\) How does each design component in SPOD affect the final quality\-diversity profile? \(Section[4\.6](https://arxiv.org/html/2611.33183#S4.SS6)\)
### 4\.1Experimental Setup
Our experiments combine online and offline evaluations in an industrial AI system, offline evaluation on a public benchmark built from nanoGPT speedrun leaderboard records, and additional offline evaluation on rustc\-perf \(Appendix[G](https://arxiv.org/html/2611.33183#A7)\)\. Online evaluation uses a production recommender system, where generated ideas undergo the full implementation, training, validation, and deployment pipeline\. Offline evaluations use ground\-truth method categories for the public benchmarks and LLM\-derived reference categories for the industrial system\.
Evaluation settings\.We use Qoder as the coding agent to implement model\-generated ideas\. Industrial experiments use Qwen3\-8B\([Yang et al\., 2025a](https://arxiv.org/html/2611.33183#bib.bib35)\); public experiments use Qwen2\.5\-0\.5B\([Yang et al\., 2024](https://arxiv.org/html/2611.33183#bib.bib36)\), with a second public benchmark \(rustc\-perf, Appendix[G](https://arxiv.org/html/2611.33183#A7)\) using Qwen3\-1\.7B\. For each test case, the model generates eight ideas, ranked by the reward model\.
Metrics and method categories\.For online evaluation, we report Success@kk, the fraction of prompts with at least one loss\-reducing idea among the top\-kkcandidates\. For offline evaluation, we assess category alignment \(Hit@1, Hit@8, Coverage, TV to Reference Prior\) and diversity \(Distinct Method Count, Top\-Family Share, Max Within\-Family Count, Single\-Family Collapse Rate\)\. Public categories are ground\-truth labels; industrial categories are LLM\-extracted from internal repositories\. Full metric definitions are in Appendix[B](https://arxiv.org/html/2611.33183#A2)\.
Evaluation slices and baselines\.We report aggregate results, cross\-task transfer, and long\-tail performance after excluding the dominant category\. We compare SPOD with SFT, GRPO\([Shao et al\., 2024](https://arxiv.org/html/2611.33183#bib.bib24)\), and diversity\-oriented baselines, including entropy regularization\([Schulman et al\., 2017](https://arxiv.org/html/2611.33183#bib.bib25)\), entropy\-based advantage adjustment\([Cheng et al\., 2025](https://arxiv.org/html/2611.33183#bib.bib26)\), CISPO\([Chen et al\., 2025](https://arxiv.org/html/2611.33183#bib.bib27)\), STEER\([Hao et al\., 2026](https://arxiv.org/html/2611.33183#bib.bib29)\), and DAPO\([Yu et al\., 2025](https://arxiv.org/html/2611.33183#bib.bib28)\)\. Industrial experiments additionally compare REI with and without SPOD to isolate SPOD’s effect under real execution\. Baseline details, benchmark construction, implementation, data splits, and extended results appear in Appendix[D](https://arxiv.org/html/2611.33183#A4)and Appendix[B](https://arxiv.org/html/2611.33183#A2)\.
### 4\.2End\-to\-End Industrial Validation
To assess whether REI improves system performance under actual execution, model\-generated proposals are first implemented by a coding agent and then evaluated through training and execution in the industrial environment\. As shown in Table[1](https://arxiv.org/html/2611.33183#S4.T1), REI achieves substantially higher Success@1 and Success@3 than both human experts and general\-purpose LLMs\. Specifically, REI\-8B reaches 0\.68 Success@1 and 0\.79 Success@3, compared with 0\.32/0\.49 for human experts and 0\.31/0\.46 for GPT\-5\.5\. Incorporating SPOD further improves these metrics to 0\.69 and 0\.83, respectively\. The larger improvement on Success@3 is consistent with the design objective of SPOD, which aims to preserve broader method coverage across multiple candidates while reducing redundant variants within the same method family\.
Table 1:End\-to\-end industrial validation\. Success@kkis judged by true execution after implementation and training\. Higher is better for all metrics\.MetricHumanClaude4\.8\-OpusDeepSeekV4 ProGPT5\.5REI8B \(base\)REI8B \(\+SPOD\)Success@10\.320\.260\.220\.310\.680\.69Success@30\.490\.430\.290\.460\.790\.83
### 4\.3Multi\-round Iteration
Real\-world optimization typically unfolds over repeated iterations rather than a single round of improvement\. To evaluate performance under continual iteration, we conduct experiments in both a live production loop and an offline replay setting based on public speedrun data\. In the production loop, starting from the deployed baseline, REI drives 20 consecutive iterations over two weeks and yields a cumulative\+23\.6%improvement in Hitrate@200 relative to the initial baseline\. Adding SPOD on top of REI brings a further\+4\.2%improvement in Hitrate@200\. In the final online A/B test, live traffic is randomly split between treatment and control over a fixed observation window\. The resulting system further delivers a\+4\.86%lift in GMV and a\+1\.82%lift in advertising revenue\.
For the public speedrun data, an offline replay simulation is conducted by sorting historically accepted improvements within each method family according to their realized gains\. At each round, a method family is sampled from the trained model’s measured output distribution, and the next unused realized gain from that family is assigned\. As shown in Figure[5](https://arxiv.org/html/2611.33183#S4.F5), GRPO increasingly concentrates on a dominant method family and slows later in the horizon, whereas SPOD maintains broader coverage across method families and continues to accumulate reward\. AtT=30T=30, SPOD achieves a higher cumulative reward than GRPO \(246\.5246\.5vs\.197\.2197\.2\), and the advantage persists under cross\-task transfer \(218\.1218\.1vs\.171\.6171\.6; see Appendix[H](https://arxiv.org/html/2611.33183#A8)\)\. These replay results further indicate that preserving method\-family coverage is beneficial for sustained multi\-round optimization\.
Figure 5:Replay atT=30T\{=\}30: colored bands show cumulative reward by method family \(C1–C5; Appendix[B](https://arxiv.org/html/2611.33183#A2)\)\. SPOD maintains broader family coverage and achieves higher cumulative reward\.
### 4\.4Overall Quality–Diversity Performance
As shown in Table[2](https://arxiv.org/html/2611.33183#S4.T2), existing baselines improve only part of the quality profile and do not consistently balance top\-ranked accuracy, multi\-candidate coverage, and distributional alignment\. SPOD achieves the strongest results on all four metrics on the nanoGPT benchmark and shows the same overall trend in the industrial offline evaluation, indicating that SPOD improves category\-level candidate quality while bringing the generated method distribution closer to the reference distribution\.
The diversity results show a similar pattern\. As shown in Table[3](https://arxiv.org/html/2611.33183#S4.T3), SPOD achieves a higher Distinct Method Count and lower Top\-Family Share and Max Within\-Family Count than GRPO and the other post\-training baselines, while also maintaining a low Single\-Family Collapse Rate\. These results indicate that SPOD substantially mitigates semantic concentration toward a small number of dominant method families\.
Table 2:Overall quality comparison on the industrial offline analysis and the nanoGPT benchmark\. Higher is better for Hit@1, Hit@8, and Coverage, while lower is better for TV to Reference Prior\.MethodIndustrial OfflineNanoGPT BenchmarkHit@1↑\\uparrowHit@8↑\\uparrowCoverage↑\\uparrowTV↓\\downarrowHit@1↑\\uparrowHit@8↑\\uparrowCoverage↑\\uparrowTV↓\\downarrowSFT0\.6870\.9600\.9600\.2380\.3910\.7830\.7070\.297GRPO0\.6980\.9490\.9490\.2320\.2170\.6960\.5650\.498STEER0\.7300\.9440\.9440\.1890\.2170\.7390\.6410\.475DAPO0\.7410\.9600\.9600\.2660\.3040\.7390\.6410\.498Ent\. Reg\.0\.6980\.8600\.8600\.2830\.2170\.7830\.6520\.524CISPO0\.6400\.8970\.8970\.2140\.2170\.6960\.5650\.515Entro\. Adv\.0\.7010\.8700\.8700\.1710\.2610\.8260\.7070\.395SPOD0\.7870\.9700\.9700\.1530\.4350\.9130\.8700\.123Table 3:Method diversity on the industrial offline analysis and nanoGPT benchmark\.↑\\uparrow/↓\\downarrowindicate the preferred direction; bold marks the best value\. SPOD is shaded\.MethodIndustrial OfflineNanoGPT BenchmarkDistinct↑\\uparrowTop\-Fam↓\\downarrowMax\-Fam↓\\downarrowCollapse↓\\downarrowDistinct↑\\uparrowTop\-Fam↓\\downarrowMax\-Fam↓\\downarrowCollapse↓\\downarrowSFT3\.0540\.4205\.2470\.0433\.6790\.4153\.9290\.000GRPO2\.5440\.5005\.4410\.1403\.0000\.6215\.0710\.071STEER2\.9060\.4724\.9030\.0753\.1070\.6034\.9640\.071DAPO3\.0330\.4804\.9890\.0713\.0710\.6125\.0000\.071Ent\. Reg\.3\.2690\.4284\.6810\.0843\.0000\.6435\.2860\.071CISPO2\.6900\.4884\.9450\.0652\.8930\.6435\.2500\.071Entro\. Adv\.2\.9610\.4764\.6590\.0903\.4290\.5224\.3930\.036SPOD3\.3210\.3414\.0210\.0563\.7860\.3353\.5710\.000
### 4\.5Cross\-Task and Long\-Tail Evaluation
Cross\-task generalization\.As shown in Table[4](https://arxiv.org/html/2611.33183#S4.T4)\(left\), SPOD achieves the highest Hit@8 and Coverage, and the lowest TV to Reference Prior on the nanoGPT cross\-task slice\. This suggests SPOD better preserves access to relevant method families under task transfer\. Although SFT achieves a higher Hit@1, it performs worse on the remaining category\-alignment metrics\. On the industrial cross\-task slice, SPOD achieves the highest Hit@1, Hit@8, and Coverage \(Appendix[F](https://arxiv.org/html/2611.33183#A6), Table[6](https://arxiv.org/html/2611.33183#A6.T6)\)\.
Long\-tail exploration\.After excluding the dominant head method family on nanoGPT \(Table[4](https://arxiv.org/html/2611.33183#S4.T4), right\), SPOD ties for the highest Hit@1 and achieves the highest Hit@8 and Coverage, with a lower TV than Entro\. Adv\. On the industrial long\-tail slice, SPOD also achieves the highest Hit@1 and Hit@8, exceeding the strongest baseline for each metric by 7\.3 and 6\.8 percentage points, respectively\. These results show that SPOD’s advantages extend to non\-head method families\.
Table 4:Quality comparison on two challenging nanoGPT\-benchmark slices: cross\-task \(left\) and long\-tail \(right\)\. Industrial offline results are reported in Appendix[F](https://arxiv.org/html/2611.33183#A6)\.MethodCross\-TaskLong\-TailHit@1↑\\uparrowHit@8↑\\uparrowCoverage↑\\uparrowTV↓\\downarrowHit@1↑\\uparrowHit@8↑\\uparrowCoverage↑\\uparrowTV↓\\downarrowSFT0\.5000\.7140\.6250\.3080\.4290\.7620\.6980\.155GRPO0\.2140\.6430\.5000\.4760\.3330\.6190\.5400\.286STEER0\.2140\.6430\.5540\.4560\.3330\.7140\.6510\.225DAPO0\.2860\.7140\.6250\.4760\.4760\.7140\.6510\.261Ent\. Reg\.0\.3570\.6430\.5360\.4490\.3330\.6670\.5870\.207CISPO0\.2140\.6430\.5000\.4350\.2860\.6670\.5870\.265Entro\. Adv\.0\.2140\.7860\.6960\.3930\.2860\.7620\.6980\.096SPOD0\.2860\.9290\.8570\.1340\.4760\.9050\.8570\.094
### 4\.6Ablation Study
Table[5](https://arxiv.org/html/2611.33183#S4.T5)reports a staged ablation of SPOD on the nanoGPT benchmark\. The order follows the construction of SPOD: category\-aware reward correction requires method\-level annotation, while top\-1 retention further relies on reward scores within each category\. Method\-level annotation alone improves Hit@8 and Coverage over GRPO\. Adding category\-aware reward correction further improves Hit@1, TV to Reference Prior, and the diversity metrics\. Finally, incorporating top\-1 retention yields the strongest overall quality–diversity performance\. The progressive improvements demonstrate the contribution of each component to the complete SPOD formulation\.
Table 5:Component ablation of SPOD on the nanoGPT benchmark\. Ann\. denotes method\-level annotation, RC denotes category\-aware reward correction, and Top1 denotes top\-1 retention\.MethodQualityDiversityHit@1↑\\uparrowHit@8↑\\uparrowCov\.↑\\uparrowTV↓\\downarrowDist\.↑\\uparrowTopFam↓\\downarrowMaxInFam↓\\downarrowColl\.↓\\downarrowGRPO0\.2170\.6960\.5650\.4983\.0000\.6215\.0710\.071\+ Ann\.0\.2170\.8260\.7070\.4313\.0000\.6434\.6070\.036\+ Ann\. \+ RC0\.3910\.8260\.7610\.1993\.7500\.3883\.8570\.000\+ Ann\. \+ RC \+ Top10\.4350\.9130\.8700\.1233\.7860\.3353\.5710\.000
### 4\.7Further Analysis
The appendix reports additional analyses: sensitivity to the debiasing strengthβ\\betaand exemption depthkk\(Appendix[E](https://arxiv.org/html/2611.33183#A5)\), the cross\-task and long\-tail slices \(Appendix[F](https://arxiv.org/html/2611.33183#A6)\), replay simulations and case studies \(Appendix[H](https://arxiv.org/html/2611.33183#A8),[I](https://arxiv.org/html/2611.33183#A9)\), diversity dynamics across the token, surface, and method layers \(Appendix[J](https://arxiv.org/html/2611.33183#A10)\), consistency across LLM\-based extractors under different annotation schemes \(Appendix[K](https://arxiv.org/html/2611.33183#A11)\), multi\-seed statistical tests \(Appendix[L](https://arxiv.org/html/2611.33183#A12)\) and a second public benchmark \(Appendix[G](https://arxiv.org/html/2611.33183#A7)\)\. The main conclusions remain unchanged across these analyses\.
## 5Conclusion
We presented REI, a framework for learning reusable ideation policies from repository histories\. We showed that standard reward optimization can cause hidden method\-level collapse, even when surface diversity remains largely intact\. We therefore introduced SPOD to preserve method coverage during alignment\. Experiments on public benchmarks and a real\-world industrial recommender system show consistent gains in quality, diversity, and practical effectiveness\.
## Acknowledgments
This work was supported in part by the New Generation Artificial Intelligence\-National Science and Technology Major Project \(No\. 2025ZD0123602\)\.
## References
- Chenet al\.\(2020\)J\. Chen, H\. Dong, X\. Wang, F\. Feng, M\. Wang, and X\. HeBias and debias in recommender system: a survey and future directions\.ACM Transactions on Information Systems41,pp\. 1 – 39\.External Links:[Link](https://api.semanticscholar.org/CorpusID:222177417)Cited by:[§3\.3](https://arxiv.org/html/2611.33183#S3.SS3.p7.1)\.
- Chenet al\.\(2025\)M\. A\. Chen, A\. Li, B\. Gong, B\. Jiang, B\. Fei, B\. Yang, B\. Shan, C\. Yu, C\. Wang, C\. Zhu, C\. Xiao, C\. Du, C\. Zhang, C\. Qiao, C\. Zhang, C\. Du, C\. Guo, D\. Chen, D\. Ding, D\. Sun, D\. Li, E\. Jiao, H\. Zhou, H\. Zhang, H\. Ding, H\. Sun, H\. Feng, H\. Cai, H\. Zhu, J\. Sun, J\. Zhuang, J\. Cai, J\. Song, J\. Zhu, J\. Li, J\. Tian, J\. Liu, J\. Xu, J\. Yan, J\. Liu, J\. He, K\. Feng, K\. Yang, K\. Xiao, L\. Han, L\. Wang, L\. Yu, L\. Feng, L\. Li, L\. Zheng, L\. Du, L\. Yang, L\. Zeng, M\. Yu, M\. Tao, M\. Chi, M\. Zhang, M\. Lin, N\. Hu, N\. Di, P\. Gao, P\. Li, P\. Zhao, Q\. Ren, Q\. Xu, Q\. Li, Q\. Wang, R\. Tian, R\. Leng, S\. Chen, S\. Chen, S\. Shi, S\. Weng, S\. Guan, S\. Yu, S\. Li, S\. Zhu, T\. Li, T\. Cai, T\. Liang, W\. Cheng, W\. Kong, W\. Li, X\. Chen, X\. Song, X\. Luo, X\. Su, X\. Li, X\. Han, X\. Hou, X\. Lu, X\. Zou, X\. Shen, Y\. Gong, Y\. Ma, Y\. Wang, Y\. Shi, Y\. Zhong, Y\. Duan, Y\. Fu, Y\. Hu, Y\. Gao, Y\. Fan, Y\. Yang, Y\. Li, Y\. Hu, Y\. Huang, Y\. Li, Y\. Xu, Y\. Mao, Y\. Shi, Y\. Wenren, Z\. Li, Z\. Li, Z\. Tian, Z\. Zhu, Z\. Fan, Z\. Wu, Z\. Xu, Z\. Yu, Z\. Lyu, Z\. Jiang, Z\. Gao, Z\. Wu, Z\. Song, and Z\. SunMiniMax\-m1: scaling test\-time compute efficiently with lightning attention\.ArXivabs/2506\.13585\.External Links:[Link](https://api.semanticscholar.org/CorpusID:279402731)Cited by:[§2\.2](https://arxiv.org/html/2611.33183#S2.SS2.p1.1),[§4\.1](https://arxiv.org/html/2611.33183#S4.SS1.p4.1)\.
- Chenget al\.\(2025\)D\. Cheng, S\. Huang, X\. Zhu, B\. Dai, W\. X\. Zhao, Z\. Zhang, and F\. WeiReasoning with exploration: an entropy perspective\.InAAAI Conference on Artificial Intelligence,External Links:[Link](https://api.semanticscholar.org/CorpusID:279410424)Cited by:[§2\.2](https://arxiv.org/html/2611.33183#S2.SS2.p1.1),[§4\.1](https://arxiv.org/html/2611.33183#S4.SS1.p4.1)\.
- Duanet al\.\(2026\)Y\. Duan, Y\. Liu, Z\. Tang, H\. Chen, J\. Zhou, Y\. Liu, B\. Xu, Y\. Wu, S\. Chen, Y\. Zhou, H\. Wang, X\. Yu, S\. Han, X\. Zhu, L\. Zhou, B\. Lu, W\. Zhou, J\. Liu, N\. Fang, J\. Tian, R\. Chen, Y\. Li, K\. Zuo, K\. Zhang, Q\. Yang, Z\. Wang, J\. Qiu, C\. He, G\. Li, B\. Zhou, Z\. Liu, Z\. Wen, J\. Kang, X\. Zhou, and F\. WuThe last ai built by humans: toward genuine recursive self\-improvement\.External Links:[Link](https://api.semanticscholar.org/CorpusID:291905750)Cited by:[§1](https://arxiv.org/html/2611.33183#S1.p1.1)\.
- Gaoet al\.\(2023\)C\. Gao, K\. Huang, J\. Chen, Y\. Zhang, B\. Li, P\. Jiang, S\. Wang, Z\. Zhang, and X\. HeAlleviating matthew effect of offline reinforcement learning in interactive recommendation\.Proceedings of the 46th International ACM SIGIR Conference on Research and Development in Information Retrieval\.External Links:[Link](https://api.semanticscholar.org/CorpusID:259501995)Cited by:[§3\.3](https://arxiv.org/html/2611.33183#S3.SS3.p7.1)\.
- Gaoet al\.\(2022\)C\. Gao, W\. Lei, J\. Chen, S\. Wang, X\. He, S\. Li, B\. Li, Y\. Zhang, and P\. JiangCIRS: bursting filter bubbles by counterfactual interactive recommender system\.ACM Transactions on Information Systems42,pp\. 1 – 27\.External Links:[Link](https://api.semanticscholar.org/CorpusID:247940070)Cited by:[§3\.3](https://arxiv.org/html/2611.33183#S3.SS3.p7.1)\.
- Guoet al\.\(2024\)S\. Guo, C\. Deng, Y\. Wen, H\. Chen, Y\. Chang, and J\. WangDS\-agent: automated data science by empowering large language models with case\-based reasoning\.ArXivabs/2402\.17453\.External Links:[Link](https://api.semanticscholar.org/CorpusID:268033675)Cited by:[§2\.1](https://arxiv.org/html/2611.33183#S2.SS1.p1.1)\.
- Haoet al\.\(2026\)Z\. Hao, H\. Wang, H\. Liu, J\. Luo, J\. Yu, H\. Dong, Q\. Lin, C\. Wang, and J\. ChenRethinking entropy interventions in RLVR: an entropy change perspective\.InProceedings of the 64th Annual Meeting of the Association for Computational Linguistics \(Volume 1: Long Papers\),M\. Liakata, V\. P\. Moreira, J\. Zhang, and D\. Jurgens \(Eds\.\),San Diego, California, United States,pp\. 31105–31133\.External Links:[Link](https://aclanthology.org/2026.acl-long.1436/),[Document](https://dx.doi.org/10.18653/v1/2026.acl-long.1436),ISBN 979\-8\-89176\-390\-6Cited by:[§2\.2](https://arxiv.org/html/2611.33183#S2.SS2.p1.1),[§4\.1](https://arxiv.org/html/2611.33183#S4.SS1.p4.1)\.
- Hollmannet al\.\(2023\)N\. Hollmann, S\. Müller, and F\. HutterLarge language models for automated data science: introducing CAAFE for context\-aware automated feature engineering\.InThirty\-seventh Conference on Neural Information Processing Systems,External Links:[Link](https://openreview.net/forum?id=9WSxQZ9mG7)Cited by:[§2\.1](https://arxiv.org/html/2611.33183#S2.SS1.p1.1)\.
- Honget al\.\(2024\)S\. Hong, Y\. Lin, B\. Liu, B\. Wu, D\. Li, J\. Chen, J\. Zhang, J\. Wang, L\. Zhang, M\. Zhuge, T\. Guo, T\. Zhou, W\. Tao, W\. Wang, X\. Tang, X\. Lu, X\. Liang, Y\. Fei, Y\. Cheng, Z\. Gou, Z\. Xu, C\. Wu, L\. Zhang, M\. Yang, and X\. ZhengData interpreter: an llm agent for data science\.InAnnual Meeting of the Association for Computational Linguistics,External Links:[Link](https://api.semanticscholar.org/CorpusID:268063292)Cited by:[§2\.1](https://arxiv.org/html/2611.33183#S2.SS1.p1.1)\.
- Huanget al\.\(2026\)C\. Huang, W\. Yu, X\. Wang, H\. Zhang, Z\. Li, R\. Li, J\. Huang, H\. Mi, and D\. YuR\-zero: self\-evolving reasoning LLM from zero data\.InThe Fourteenth International Conference on Learning Representations,External Links:[Link](https://openreview.net/forum?id=96apU6YzSO)Cited by:[§1](https://arxiv.org/html/2611.33183#S1.p1.1)\.
- Kimet al\.\(2026\)S\. Kim, S\. Y\. Park, H\. Kang, W\. Kim, J\. Seo, Y\. In, K\. Yoon, and C\. ParkSelf\-evolverec: self\-evolving recommender systems with llm\-based directional feedback\.ArXivabs/2602\.12612\.External Links:[Link](https://api.semanticscholar.org/CorpusID:285606704)Cited by:[§1](https://arxiv.org/html/2611.33183#S1.p1.1)\.
- Langeet al\.\(2026\)R\. T\. Lange, Y\. Imajuku, and E\. CetinShinkaEvolve: towards open\-ended and sample\-efficient program evolution\.InThe Fourteenth International Conference on Learning Representations,External Links:[Link](https://openreview.net/forum?id=lKEdGCoDNC)Cited by:[§1](https://arxiv.org/html/2611.33183#S1.p1.1)\.
- Linet al\.\(2024\)S\. Lin, C\. Gao, J\. Chen, S\. Zhou, B\. Hu, Y\. Feng, C\. Chen, and C\. WangHow do recommendation models amplify popularity bias? an analysis from the spectral perspective\.Proceedings of the Eighteenth ACM International Conference on Web Search and Data Mining\.External Links:[Link](https://api.semanticscholar.org/CorpusID:269214175)Cited by:[§3\.3](https://arxiv.org/html/2611.33183#S3.SS3.p7.1)\.
- Luet al\.\(2024\)C\. Lu, C\. Lu, R\. T\. Lange, J\. N\. Foerster, J\. Clune, and D\. HaThe ai scientist: towards fully automated open\-ended scientific discovery\.ArXivabs/2408\.06292\.External Links:[Link](https://api.semanticscholar.org/CorpusID:271854887)Cited by:[§1](https://arxiv.org/html/2611.33183#S1.p1.1)\.
- Lvet al\.\(2026\)Z\. Lv, L\. Zhang, A\. He, S\. Cao, S\. Han, and J\. ChenDAIAN: deep adaptive intent\-aware network for ctr prediction in trigger\-induced recommendation\.ArXivabs/2602\.13971\.External Links:[Link](https://api.semanticscholar.org/CorpusID:285616489)Cited by:[§3\.2](https://arxiv.org/html/2611.33183#S3.SS2.p2.1)\.
- Namet al\.\(2025\)J\. Nam, J\. Yoon, J\. Chen, J\. Shin, S\. O\. Arik, and T\. PfisterMLE\-STAR: machine learning engineering agent via search and targeted refinement\.InThe Thirty\-ninth Annual Conference on Neural Information Processing Systems,External Links:[Link](https://openreview.net/forum?id=vS1M06Px6u)Cited by:[§2\.1](https://arxiv.org/html/2611.33183#S2.SS1.p1.1)\.
- Novikovet al\.\(2025\)A\. Novikov, N\. Vu, M\. Eisenberger, E\. Dupont, P\. Huang, A\. Z\. Wagner, S\. Shirobokov, B\. M\. Kozlovskii, F\. J\. R\. Ruiz, A\. Mehrabian, M\. P\. Kumar, A\. See, S\. Chaudhuri, G\. Holland, A\. Davies, S\. Nowozin, P\. Kohli, and M\. BalogAlphaEvolve: a coding agent for scientific and algorithmic discovery\.ArXivabs/2506\.13131\.External Links:[Link](https://api.semanticscholar.org/CorpusID:278658695)Cited by:[§1](https://arxiv.org/html/2611.33183#S1.p1.1)\.
- Ouyanget al\.\(2026\)S\. Ouyang, J\. Yan, I\. Hsu, Y\. Chen, K\. Jiang, Z\. Wang, R\. Han, L\. Le, S\. Daruki, X\. Tang, V\. Tirumalashetty, G\. Lee, M\. Rofouei, H\. Lin, J\. Han, C\. Lee, and T\. PfisterReasoningBank: scaling agent self\-evolving with reasoning memory\.InThe Fourteenth International Conference on Learning Representations,External Links:[Link](https://openreview.net/forum?id=jL7fwchScm)Cited by:[§1](https://arxiv.org/html/2611.33183#S1.p2.1)\.
- Romera\-Paredeset al\.\(2023\)B\. Romera\-Paredes, M\. Barekatain, A\. Novikov, M\. Balog, M\. P\. Kumar, E\. Dupont, F\. J\. R\. Ruiz, J\. S\. Ellenberg, P\. Wang, O\. Fawzi, P\. Kohli, and A\. FawziMathematical discoveries from program search with large language models\.Nature625,pp\. 468 – 475\.External Links:[Link](https://api.semanticscholar.org/CorpusID:266223700)Cited by:[§1](https://arxiv.org/html/2611.33183#S1.p1.1)\.
- Schmidgallet al\.\(2025\)S\. Schmidgall, Y\. Su, Z\. Wang, X\. Sun, J\. Wu, X\. Yu, J\. Liu, M\. Moor, Z\. Liu, and E\. BarsoumAgent laboratory: using LLM agents as research assistants\.InFindings of the Association for Computational Linguistics: EMNLP 2025,C\. Christodoulopoulos, T\. Chakraborty, C\. Rose, and V\. Peng \(Eds\.\),Suzhou, China,pp\. 5977–6043\.External Links:[Link](https://aclanthology.org/2025.findings-emnlp.320/),[Document](https://dx.doi.org/10.18653/v1/2025.findings-emnlp.320),ISBN 979\-8\-89176\-335\-7Cited by:[§1](https://arxiv.org/html/2611.33183#S1.p1.1)\.
- Schulmanet al\.\(2017\)J\. Schulman, F\. Wolski, P\. Dhariwal, A\. Radford, and O\. KlimovProximal policy optimization algorithms\.ArXivabs/1707\.06347\.External Links:[Link](https://api.semanticscholar.org/CorpusID:28695052)Cited by:[§2\.2](https://arxiv.org/html/2611.33183#S2.SS2.p1.1),[§4\.1](https://arxiv.org/html/2611.33183#S4.SS1.p4.1)\.
- Shaoet al\.\(2024\)Z\. Shao, P\. Wang, Q\. Zhu, R\. Xu, J\. Song, M\. Zhang, Y\. K\. Li, Y\. Wu, and D\. GuoDeepSeekMath: pushing the limits of mathematical reasoning in open language models\.ArXivabs/2402\.03300\.External Links:[Link](https://api.semanticscholar.org/CorpusID:267412607)Cited by:[§2\.2](https://arxiv.org/html/2611.33183#S2.SS2.p1.1),[§4\.1](https://arxiv.org/html/2611.33183#S4.SS1.p4.1)\.
- Tanget al\.\(2025\)J\. Tang, L\. Xia, Z\. Li, and C\. HuangAI\-researcher: autonomous scientific innovation\.InThe Thirty\-ninth Annual Conference on Neural Information Processing Systems,External Links:[Link](https://openreview.net/forum?id=kQWyOYUAC4)Cited by:[§2\.1](https://arxiv.org/html/2611.33183#S2.SS1.p1.1)\.
- Team \(2026\)A\. TeamAgentX: towards agent\-driven self\-iteration of industrial recommender systems\.ArXivabs/2606\.26859\.External Links:[Link](https://api.semanticscholar.org/CorpusID:289627646)Cited by:[§1](https://arxiv.org/html/2611.33183#S1.p1.1)\.
- Triratet al\.\(2025\)P\. Trirat, W\. Jeong, and S\. J\. HwangAutoML\-agent: a multi\-agent LLM framework for full\-pipeline autoML\.InForty\-second International Conference on Machine Learning,External Links:[Link](https://openreview.net/forum?id=p1UBWkOvZm)Cited by:[§2\.1](https://arxiv.org/html/2611.33183#S2.SS1.p1.1)\.
- Wanget al\.\(2026\)H\. Wang, Y\. Wu, D\. Chang, L\. Wei, and L\. HeldtSelf\-evolving recommendation system: end\-to\-end autonomous model optimization with llm agents\.ArXivabs/2602\.10226\.External Links:[Link](https://api.semanticscholar.org/CorpusID:285470525)Cited by:[§1](https://arxiv.org/html/2611.33183#S1.p1.1)\.
- Wuet al\.\(2026\)X\. Wu, Z\. Yue, R\. Wei, H\. Chen, D\. Bai, J\. Liu, X\. Wang, X\. Wang, L\. Wang, and X\. ChengAgenticRecTune: multi\-agent with self\-evolving skillhub for recommendation system optimization\.ArXivabs/2604\.26969\.External Links:[Link](https://api.semanticscholar.org/CorpusID:287915829)Cited by:[§1](https://arxiv.org/html/2611.33183#S1.p1.1)\.
- Yamadaet al\.\(2025\)Y\. Yamada, R\. T\. Lange, C\. Lu, S\. Hu, C\. Lu, J\. N\. Foerster, J\. Clune, and D\. HaThe ai scientist\-v2: workshop\-level automated scientific discovery via agentic tree search\.ArXivabs/2504\.08066\.External Links:[Link](https://api.semanticscholar.org/CorpusID:277741107)Cited by:[§1](https://arxiv.org/html/2611.33183#S1.p1.1)\.
- Yanget al\.\(2025a\)A\. Yang, A\. Li, B\. Yang, B\. Zhang, B\. Hui, B\. Zheng, B\. Yu, C\. Gao, C\. Huang, C\. Lv, C\. Zheng, D\. Liu, F\. Zhou, F\. Huang, F\. Hu, H\. Ge, H\. Wei, H\. Lin, J\. Tang, J\. Yang, J\. Tu, J\. Zhang, J\. Yang, J\. Yang, J\. Zhou, J\. Zhou, J\. Lin, K\. Dang, K\. Bao, K\. Yang, L\. Yu, L\. Deng, M\. Li, M\. Xue, M\. Li, P\. Zhang, P\. Wang, Q\. Zhu, R\. Men, R\. Gao, S\. Liu, S\. Luo, T\. Li, T\. Tang, W\. Yin, X\. Ren, X\. Wang, X\. Zhang, X\. Ren, Y\. Fan, Y\. Su, Y\. Zhang, Y\. Zhang, Y\. Wan, Y\. Liu, Z\. Wang, Z\. Cui, Z\. Zhang, Z\. Zhou, and Z\. QiuQwen3 technical report\.External Links:[Link](https://api.semanticscholar.org/CorpusID:278602855)Cited by:[§4\.1](https://arxiv.org/html/2611.33183#S4.SS1.p2.1)\.
- Yanget al\.\(2024\)Q\. A\. Yang, B\. Yang, B\. Zhang, B\. Hui, B\. Zheng, B\. Yu, C\. Li, D\. Liu, F\. Huang, G\. Dong, H\. Wei, H\. Lin, J\. Yang, J\. Tu, J\. Zhang, J\. Yang, J\. Yang, J\. Zhou, J\. Lin, K\. Dang, K\. Lu, K\. Bao, K\. Yang, L\. Yu, M\. Li, M\. Xue, P\. Zhang, Q\. Zhu, R\. Men, R\. Lin, T\. Li, T\. Xia, X\. Ren, X\. Ren, Y\. Fan, Y\. Su, Y\. Zhang, Y\. Wan, Y\. Liu, Z\. Cui, Z\. Zhang, Z\. Qiu, S\. Quan, and Z\. WangQwen2\.5 technical report\.ArXivabs/2412\.15115\.External Links:[Link](https://api.semanticscholar.org/CorpusID:274859421)Cited by:[§4\.1](https://arxiv.org/html/2611.33183#S4.SS1.p2.1)\.
- Yanget al\.\(2025b\)X\. Yang, X\. Yang, S\. Fang, Y\. Zhang, J\. Wang, B\. Xian, Q\. Li, J\. Li, M\. Xu, Y\. Li, H\. Pan, Y\. Zhang, W\. Liu, Y\. Shen, W\. Chen, and J\. BianR&D\-agent: an llm\-agent framework towards autonomous data science\.External Links:[Link](https://api.semanticscholar.org/CorpusID:278782890)Cited by:[§1](https://arxiv.org/html/2611.33183#S1.p1.1)\.
- Yuet al\.\(2025\)Q\. Yu, Z\. Zhang, R\. Zhu, Y\. Yuan, X\. Zuo, YuYue, W\. Dai, T\. Fan, G\. Liu, J\. Liu, L\. Liu, X\. Liu, H\. Lin, Z\. Lin, B\. Ma, G\. Sheng, Y\. Tong, C\. Zhang, M\. Zhang, R\. Zhang, W\. Zhang, H\. Zhu, J\. Zhu, J\. Chen, J\. Chen, C\. Wang, H\. Yu, Y\. Song, X\. Wei, H\. Zhou, J\. Liu, W\. Ma, Y\. Zhang, L\. Yan, Y\. Wu, and M\. WangDAPO: an open\-source LLM reinforcement learning system at scale\.InThe Thirty\-ninth Annual Conference on Neural Information Processing Systems,External Links:[Link](https://openreview.net/forum?id=2a36EMSSTp)Cited by:[§2\.2](https://arxiv.org/html/2611.33183#S2.SS2.p1.1),[§4\.1](https://arxiv.org/html/2611.33183#S4.SS1.p4.1)\.
- Zhanget al\.\(2026a\)J\. Zhang, S\. Hu, C\. Lu, R\. T\. Lange, and J\. CluneDarwin gödel machine: open\-ended evolution of self\-improving agents\.InThe Fourteenth International Conference on Learning Representations,External Links:[Link](https://openreview.net/forum?id=pUpzQZTvGY)Cited by:[§1](https://arxiv.org/html/2611.33183#S1.p1.1)\.
- Zhanget al\.\(2026b\)Q\. Zhang, C\. Hu, S\. Upasani, B\. Ma, F\. Hong, V\. Kamanuru, J\. Rainton, C\. Wu, M\. Ji, H\. Li, U\. Thakker, J\. Zou, and K\. OlukotunAgentic context engineering: evolving contexts for self\-improving language models\.InThe Fourteenth International Conference on Learning Representations,External Links:[Link](https://openreview.net/forum?id=eC4ygDs02R)Cited by:[§1](https://arxiv.org/html/2611.33183#S1.p2.1)\.
- Zhanget al\.\(2026c\)W\. Zhang, X\. Li, Q\. Ge, K\. Dong, P\. Jia, X\. Li, Z\. Zhang, M\. Wang, Y\. Wang, H\. Guo, R\. Tang, and X\. ZhaoExploring recommender system evaluation: a multi\-modal llm agent framework for a/b testing\.InProceedings of the 32nd ACM SIGKDD Conference on Knowledge Discovery and Data Mining V\.1,KDD ’26,New York, NY, USA,pp\. 2878–2889\.External Links:ISBN 9798400722585,[Link](https://doi.org/10.1145/3770854.3785688),[Document](https://dx.doi.org/10.1145/3770854.3785688)Cited by:[§2\.1](https://arxiv.org/html/2611.33183#S2.SS1.p1.1)\.
- Zhouet al\.\(2017\)G\. Zhou, C\. Song, X\. Zhu, X\. Ma, Y\. Yan, X\. Dai, H\. Zhu, J\. Jin, H\. Li, and K\. GaiDeep interest network for click\-through rate prediction\.Proceedings of the 24th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining\.External Links:[Link](https://api.semanticscholar.org/CorpusID:1637394)Cited by:[§3\.2](https://arxiv.org/html/2611.33183#S3.SS2.p2.1)\.
## Appendix ATheoretical Analysis
In this section, we formulate a rigorous theoretical foundation for our proposed calibration framework under Group Relative Policy Optimization \(GRPO\)\. We first formalize the problem by characterizing how category\-level systemic reward bias propagates through the empirical group\-normalization mechanism of GRPO \(Section[A\.1](https://arxiv.org/html/2611.33183#A1.SS1)\), establishing an exact dual\-channel algebraic decomposition of the policy advantage \(Section[A\.2](https://arxiv.org/html/2611.33183#A1.SS2)\)\. Subsequently, we prove the structural necessity of coupling the penalty term with the group sample dispersion and a standardized category deviation metric \(Section[A\.3](https://arxiv.org/html/2611.33183#A1.SS3)\)\. Building upon these results, we establish the uniform linear contraction theorem of the category\-mean reward channel and provide formal arguments justifying why a soft shrinkage operator is preferable to hard zero\-cancellation \(Section[A\.4](https://arxiv.org/html/2611.33183#A1.SS4)\)\.
### A\.1Problem Formulation and Additive Bias Model
Let𝒳\\mathcal\{X\}denote the prompt domain, and let𝒴\\mathcal\{Y\}represent the sequence space of generated responses\. Letπθ\(y∣x\)\\pi\_\{\\theta\}\(y\\mid x\)denote the parameterized autoregressive policy\. We consider a discrete semantic category universe𝒞=\{1,2,…,C\}\\mathcal\{C\}=\\\{1,2,\\dots,C\\\}consisting ofC∈ℕ\+C\\in\\mathbb\{N\}^\{\+\}distinct categories\. We assume the existence of a deterministic semantic classifierc:𝒴→𝒞c:\\mathcal\{Y\}\\to\\mathcal\{C\}that maps each responseyyto its underlying category labelc\(y\)∈𝒞c\(y\)\\in\\mathcal\{C\}\.
###### Definition 1\(Additive Category\-Level Bias Model\)\.
For any responsey∈𝒴y\\in\\mathcal\{Y\}belonging to semantic categoryc\(y\)∈𝒞c\(y\)\\in\\mathcal\{C\}, the scalar outputr\(y\)∈ℝr\(y\)\\in\\mathbb\{R\}emitted by the proxy reward model admits an additive decomposition:
r\(y\)=q\(y\)\+bc\(y\),r\(y\)=q\(y\)\+b\_\{c\(y\)\},\(5\)whereq\(y\)∈ℝq\(y\)\\in\\mathbb\{R\}denotes the latent, instance\-level intrinsic quality of responseyydictated by its structural correctness and reasoning depth, andbc\(y\)∈ℝb\_\{c\(y\)\}\\in\\mathbb\{R\}represents a fixed\-effect systemic bias specific to categoryc\(y\)c\(y\), invariant to the microscopic token sequences ofyy\.
To benchmark category\-level behavior across the semantic space, we introduce a balanced reference dataset𝒟ref\\mathcal\{D\}\_\{\\mathrm\{ref\}\}\. For each categoryk∈𝒞k\\in\\mathcal\{C\}, the category\-conditional expected reward is defined asμk≜𝔼y∼𝒟ref\[r\(y\)∣c\(y\)=k\]\\mu\_\{k\}\\triangleq\\mathbb\{E\}\_\{y\\sim\\mathcal\{D\}\_\{\\mathrm\{ref\}\}\}\[r\(y\)\\mid c\(y\)=k\]\. By linearity of the conditional expectation applied to Definition[1](https://arxiv.org/html/2611.33183#Thmdefinition1), we have the exact identity:
μk=q¯k\+bk,\\mu\_\{k\}=\\bar\{q\}\_\{k\}\+b\_\{k\},\(6\)whereq¯k≜𝔼y∼𝒟ref\[q\(y\)∣c\(y\)=k\]\\bar\{q\}\_\{k\}\\triangleq\\mathbb\{E\}\_\{y\\sim\\mathcal\{D\}\_\{\\mathrm\{ref\}\}\}\[q\(y\)\\mid c\(y\)=k\]characterizes the baseline quality of categorykkon the reference set\. Across the discrete category universe𝒞\\mathcal\{C\}, the macro\-average expectationμ¯\\bar\{\\mu\}and the inter\-category standard deviationσμ\\sigma\_\{\\mu\}are defined by:
μ¯≜1C∑k=1Cμk,σμ≜1C∑k=1C\(μk−μ¯\)2\.\\bar\{\\mu\}\\triangleq\\frac\{1\}\{C\}\\sum\_\{k=1\}^\{C\}\\mu\_\{k\},\\qquad\\sigma\_\{\\mu\}\\triangleq\\sqrt\{\\frac\{1\}\{C\}\\sum\_\{k=1\}^\{C\}\(\\mu\_\{k\}\-\\bar\{\\mu\}\)^\{2\}\}\.\(7\)This induces the dimensionless, standardized category deviation score for categorykk:
φ\(k\)≜μk−μ¯σμ\.\\varphi\(k\)\\triangleq\\frac\{\\mu\_\{k\}\-\\bar\{\\mu\}\}\{\\sigma\_\{\\mu\}\}\.\(8\)By algebraic construction,φ\(k\)\\varphi\(k\)possesses zero sample mean and unit sample variance over𝒞\\mathcal\{C\}, serving as a scale\-invariant metric of category preference\.
In standard GRPO training, given a promptx∼𝒳x\\sim\\mathcal\{X\}, the policyπθ\\pi\_\{\\theta\}generates an ensemble ofKKresponses denoted by the ordered tupleG=\(y1,y2,…,yK\)G=\(y\_\{1\},y\_\{2\},\\dots,y\_\{K\}\)\. For each sample indexi∈\{1,…,K\}i\\in\\\{1,\\dots,K\\\}, we abbreviate the instance scalar reward asri≜r\(yi\)r\_\{i\}\\triangleq r\(y\_\{i\}\), its intrinsic quality asqi≜q\(yi\)q\_\{i\}\\triangleq q\(y\_\{i\}\), and its semantic label asci≜c\(yi\)∈𝒞c\_\{i\}\\triangleq c\(y\_\{i\}\)\\in\\mathcal\{C\}\. The group sample meanr¯G\\bar\{r\}\_\{G\}and sample standard deviations\(G\)s\(G\)are evaluated as:
r¯G≜1K∑j=1Krj,s\(G\)≜1K∑j=1K\(rj−r¯G\)2\.\\bar\{r\}\_\{G\}\\triangleq\\frac\{1\}\{K\}\\sum\_\{j=1\}^\{K\}r\_\{j\},\\qquad s\(G\)\\triangleq\\sqrt\{\\frac\{1\}\{K\}\\sum\_\{j=1\}^\{K\}\(r\_\{j\}\-\\bar\{r\}\_\{G\}\)^\{2\}\}\.\(9\)The standardized advantage assigned to responseyiy\_\{i\}by standard GRPO is defined as:
Ai≜ri−r¯Gs\(G\)\.A\_\{i\}\\triangleq\\frac\{r\_\{i\}\-\\bar\{r\}\_\{G\}\}\{s\(G\)\}\.\(10\)
### A\.2Exact Dual\-Channel Advantage Decomposition
To characterize the precise influence of category bias in non\-asymptotic settings whereKKis typically small \(such asK=4K=4orK=8K=8\), we bypass any heuristic statistical approximations and establish an exact algebraic decomposition\.
For any candidate responseyi∈Gy\_\{i\}\\in G, we define its individual quality deviation from its category expectation asδqi≜qi−q¯ci\\delta q\_\{i\}\\triangleq q\_\{i\}\-\\bar\{q\}\_\{c\_\{i\}\}\. Across the sampled groupGG, we define the empirical average of individual quality deviations asδq¯G≜1K∑j=1Kδqj\\overline\{\\delta q\}\_\{G\}\\triangleq\\frac\{1\}\{K\}\\sum\_\{j=1\}^\{K\}\\delta q\_\{j\}, and the empirical average of sampled category expectations asμ¯G≜1K∑j=1Kμcj\\bar\{\\mu\}\_\{G\}\\triangleq\\frac\{1\}\{K\}\\sum\_\{j=1\}^\{K\}\\mu\_\{c\_\{j\}\}\.
###### Proposition 1\(Dual\-Channel Advantage Identity\)\.
For an arbitrary promptxxand any sampled groupG=\(y1,…,yK\)G=\(y\_\{1\},\\dots,y\_\{K\}\)of sizeK≥2K\\geq 2, the standard GRPO advantageAiA\_\{i\}assigned to sampleyiy\_\{i\}decomposes identically as:
Ai=Aiintra\+Aiinter,A\_\{i\}=A\_\{i\}^\{\\mathrm\{intra\}\}\+A\_\{i\}^\{\\mathrm\{inter\}\},\(11\)where the intra\-category quality competition channel and inter\-category category\-mean reward channel are defined respectively as:
Aiintra≜δqi−δq¯Gs\(G\),Aiinter≜μci−μ¯Gs\(G\)\.A\_\{i\}^\{\\mathrm\{intra\}\}\\triangleq\\frac\{\\delta q\_\{i\}\-\\overline\{\\delta q\}\_\{G\}\}\{s\(G\)\},\\qquad A\_\{i\}^\{\\mathrm\{inter\}\}\\triangleq\\frac\{\\mu\_\{c\_\{i\}\}\-\\bar\{\\mu\}\_\{G\}\}\{s\(G\)\}\.\(12\)
###### Proof\.
From the identityμci=q¯ci\+bci\\mu\_\{c\_\{i\}\}=\\bar\{q\}\_\{c\_\{i\}\}\+b\_\{c\_\{i\}\}, we express the category bias directly asbci=μci−q¯cib\_\{c\_\{i\}\}=\\mu\_\{c\_\{i\}\}\-\\bar\{q\}\_\{c\_\{i\}\}\. Substituting this into Definition[1](https://arxiv.org/html/2611.33183#Thmdefinition1)for sampleyiy\_\{i\}yields:
ri=qi\+bci=qi\+\(μci−q¯ci\)=\(qi−q¯ci\)\+μci\.r\_\{i\}=q\_\{i\}\+b\_\{c\_\{i\}\}=q\_\{i\}\+\(\\mu\_\{c\_\{i\}\}\-\\bar\{q\}\_\{c\_\{i\}\}\)=\(q\_\{i\}\-\\bar\{q\}\_\{c\_\{i\}\}\)\+\\mu\_\{c\_\{i\}\}\.\(13\)Recalling the definitionδqi=qi−q¯ci\\delta q\_\{i\}=q\_\{i\}\-\\bar\{q\}\_\{c\_\{i\}\}, each observed scalar reward is equivalently expressed as:
ri=δqi\+μci\.r\_\{i\}=\\delta q\_\{i\}\+\\mu\_\{c\_\{i\}\}\.\(14\)Averaging Equation[14](https://arxiv.org/html/2611.33183#A1.E14)across allKKinstances within groupGGand leveraging the finite linearity of summations:
r¯G=1K∑j=1Krj=1K∑j=1K\(δqj\+μcj\)=\(1K∑j=1Kδqj\)\+\(1K∑j=1Kμcj\)=δq¯G\+μ¯G\.\\bar\{r\}\_\{G\}=\\frac\{1\}\{K\}\\sum\_\{j=1\}^\{K\}r\_\{j\}=\\frac\{1\}\{K\}\\sum\_\{j=1\}^\{K\}\(\\delta q\_\{j\}\+\\mu\_\{c\_\{j\}\}\)=\\left\(\\frac\{1\}\{K\}\\sum\_\{j=1\}^\{K\}\\delta q\_\{j\}\\right\)\+\\left\(\\frac\{1\}\{K\}\\sum\_\{j=1\}^\{K\}\\mu\_\{c\_\{j\}\}\\right\)=\\overline\{\\delta q\}\_\{G\}\+\\bar\{\\mu\}\_\{G\}\.\(15\)Subtracting Equation[15](https://arxiv.org/html/2611.33183#A1.E15)from Equation[14](https://arxiv.org/html/2611.33183#A1.E14)yields the centered reward deviation:
ri−r¯G=\(δqi\+μci\)−\(δq¯G\+μ¯G\)=\(δqi−δq¯G\)\+\(μci−μ¯G\)\.r\_\{i\}\-\\bar\{r\}\_\{G\}=\(\\delta q\_\{i\}\+\\mu\_\{c\_\{i\}\}\)\-\(\\overline\{\\delta q\}\_\{G\}\+\\bar\{\\mu\}\_\{G\}\)=\(\\delta q\_\{i\}\-\\overline\{\\delta q\}\_\{G\}\)\+\(\\mu\_\{c\_\{i\}\}\-\\bar\{\\mu\}\_\{G\}\)\.\(16\)Dividing both sides by the group sample dispersions\(G\)s\(G\)gives:
ri−r¯Gs\(G\)=δqi−δq¯Gs\(G\)\+μci−μ¯Gs\(G\)\.\\frac\{r\_\{i\}\-\\bar\{r\}\_\{G\}\}\{s\(G\)\}=\\frac\{\\delta q\_\{i\}\-\\overline\{\\delta q\}\_\{G\}\}\{s\(G\)\}\+\\frac\{\\mu\_\{c\_\{i\}\}\-\\bar\{\\mu\}\_\{G\}\}\{s\(G\)\}\.\(17\)Recognizing the left\-hand side asAiA\_\{i\}and the right\-hand terms asAiintraA\_\{i\}^\{\\mathrm\{intra\}\}andAiinterA\_\{i\}^\{\\mathrm\{inter\}\}completes the proof\. ∎
Proposition[1](https://arxiv.org/html/2611.33183#Thmproposition1)provides foundational insight into the pathological vulnerability of GRPO\. The advantage function consists of two distinct components\. The intra\-category channelAiintraA\_\{i\}^\{\\mathrm\{intra\}\}captures genuine capability, quantifying whether instanceyiy\_\{i\}outperforms its category peers in terms of micro\-level generation\. Conversely, the inter\-category channelAiinterA\_\{i\}^\{\\mathrm\{inter\}\}serves as a systemic baseline offset\. When a category suffers from inflated biasbcib\_\{c\_\{i\}\}, its reference meanμci\\mu\_\{c\_\{i\}\}dominates the group baselineμ¯G\\bar\{\\mu\}\_\{G\}\. As a result, sub\-optimal responses from positively biased categories receive spurious positive advantage scores solely by virtue of their category affiliation, creating an optimization loop that triggers mode collapse\.
### A\.3Structural Scale Compatibility of the Penalty Term
To suppress the unearned systemic channelAiinterA\_\{i\}^\{\\mathrm\{inter\}\}, one must formulate a calibrated rewardri′=ri−Δir\_\{i\}^\{\\prime\}=r\_\{i\}\-\\Delta\_\{i\}\. We consider a generalized penalty parameterized byΔi≜f\(G\)⋅ϕ\(ci\)\\Delta\_\{i\}\\triangleq f\(G\)\\cdot\\phi\(c\_\{i\}\), wheref\(G\)f\(G\)denotes a group\-dependent scale factor andϕ\(ci\)\\phi\(c\_\{i\}\)represents a category metric\.
For the purpose of theoretical analysis, we define the fixed\-dispersion normalized score:
A~i≜ri′−r¯G′s\(G\),\\widetilde\{A\}\_\{i\}\\triangleq\\frac\{r\_\{i\}^\{\\prime\}\-\\bar\{r\}\_\{G\}^\{\\prime\}\}\{s\(G\)\},\(18\)which isolates the first\-order effect of reward calibration on the group\-relative numerator while holding the empirical dispersions\(G\)s\(G\)fixed\. In actual deployment, the calibrated GRPO advantage evaluates asAi′≜\(ri′−r¯G′\)/s\(G′\)A\_\{i\}^\{\\prime\}\\triangleq\(r\_\{i\}^\{\\prime\}\-\\bar\{r\}\_\{G\}^\{\\prime\}\)/s\(G^\{\\prime\}\), wheres\(G′\)≜1K∑j\(rj′−r¯G′\)2s\(G^\{\\prime\}\)\\triangleq\\sqrt\{\\frac\{1\}\{K\}\\sum\_\{j\}\(r\_\{j\}^\{\\prime\}\-\\bar\{r\}\_\{G\}^\{\\prime\}\)^\{2\}\}\. When the variance shift induced by calibration is well\-behaved,A~i\\widetilde\{A\}\_\{i\}serves as a direct first\-order surrogate forAi′A\_\{i\}^\{\\prime\}\.
###### Proposition 2\(Scale Compatibility and Non\-Singularity under Collapse\)\.
LetδAi≜A~i−Ai\\delta A\_\{i\}\\triangleq\\widetilde\{A\}\_\{i\}\-A\_\{i\}denote the net advantage displacement under the fixed\-dispersion score\. In order for the calibration mechanism to satisfy:
1. 1\.Scale compatibility, such thatδAi\\delta A\_\{i\}is strictly dimensionless and invariant to linear rescalings of the underlying reward metric;
2. 2\.Non\-singularity under mode collapse, such that in the event of severe intra\-group homogenization where sample variance vanishes \(s\(G\)→0s\(G\)\\to 0\), the advantage perturbation remains uniformly bounded \(lims\(G\)→0\|δAi\|<∞\\lim\_\{s\(G\)\\to 0\}\|\\delta A\_\{i\}\|<\\infty\);
settingf\(G\)=β⋅s\(G\)f\(G\)=\\beta\\cdot s\(G\)for some fixed scalarβ\>0\\beta\>0and choosingϕ\(c\)\\phi\(c\)as the standardized deviationφ\(c\)\\varphi\(c\)represents a natural and robust formulation\.
###### Proof\.
Defining the empirical mean of the penalty terms over groupGGasΔ¯G≜1K∑j=1KΔj\\bar\{\\Delta\}\_\{G\}\\triangleq\\frac\{1\}\{K\}\\sum\_\{j=1\}^\{K\}\\Delta\_\{j\}, the calibrated group mean reward is:
r¯G′=1K∑j=1K\(rj−Δj\)=r¯G−Δ¯G\.\\bar\{r\}\_\{G\}^\{\\prime\}=\\frac\{1\}\{K\}\\sum\_\{j=1\}^\{K\}\(r\_\{j\}\-\\Delta\_\{j\}\)=\\bar\{r\}\_\{G\}\-\\bar\{\\Delta\}\_\{G\}\.\(19\)The fixed\-dispersion normalized score takes the form:
A~i=\(ri−Δi\)−\(r¯G−Δ¯G\)s\(G\)=ri−r¯Gs\(G\)−Δi−Δ¯Gs\(G\)\.\\widetilde\{A\}\_\{i\}=\\frac\{\(r\_\{i\}\-\\Delta\_\{i\}\)\-\(\\bar\{r\}\_\{G\}\-\\bar\{\\Delta\}\_\{G\}\)\}\{s\(G\)\}=\\frac\{r\_\{i\}\-\\bar\{r\}\_\{G\}\}\{s\(G\)\}\-\\frac\{\\Delta\_\{i\}\-\\bar\{\\Delta\}\_\{G\}\}\{s\(G\)\}\.\(20\)SubtractingAi=\(ri−r¯G\)/s\(G\)A\_\{i\}=\(r\_\{i\}\-\\bar\{r\}\_\{G\}\)/s\(G\), the exact advantage displacement simplifies to:
δAi=−Δi−Δ¯Gs\(G\)\.\\delta A\_\{i\}=\-\\frac\{\\Delta\_\{i\}\-\\bar\{\\Delta\}\_\{G\}\}\{s\(G\)\}\.\(21\)SubstitutingΔi=f\(G\)⋅ϕ\(ci\)\\Delta\_\{i\}=f\(G\)\\cdot\\phi\(c\_\{i\}\)and definingϕ¯G≜1K∑j=1Kϕ\(cj\)\\bar\{\\phi\}\_\{G\}\\triangleq\\frac\{1\}\{K\}\\sum\_\{j=1\}^\{K\}\\phi\(c\_\{j\}\), we have:
δAi=−f\(G\)⋅ϕ\(ci\)−1K∑j=1Kf\(G\)⋅ϕ\(cj\)s\(G\)=−\(f\(G\)s\(G\)\)\(ϕ\(ci\)−ϕ¯G\)\.\\delta A\_\{i\}=\-\\frac\{f\(G\)\\cdot\\phi\(c\_\{i\}\)\-\\frac\{1\}\{K\}\\sum\_\{j=1\}^\{K\}f\(G\)\\cdot\\phi\(c\_\{j\}\)\}\{s\(G\)\}=\-\\left\(\\frac\{f\(G\)\}\{s\(G\)\}\\right\)\\big\(\\phi\(c\_\{i\}\)\-\\bar\{\\phi\}\_\{G\}\\big\)\.\(22\)Iff\(G\)f\(G\)is chosen independent ofs\(G\)s\(G\)\(e\.g\., settingf\(G\)=βf\(G\)=\\beta\), the ratio exhibits an asymptotic explosion as homogenization occurs:
lims\(G\)→0\|δAi\|=lims\(G\)→0β\|ϕ\(ci\)−ϕ¯G\|s\(G\)=∞\.\\lim\_\{s\(G\)\\to 0\}\|\\delta A\_\{i\}\|=\\lim\_\{s\(G\)\\to 0\}\\frac\{\\beta\|\\phi\(c\_\{i\}\)\-\\bar\{\\phi\}\_\{G\}\|\}\{s\(G\)\}=\\infty\.\(23\)This induces severe numerical instability and gradient explosion during training\. Conversely, choosingf\(G\)=β⋅s\(G\)f\(G\)=\\beta\\cdot s\(G\)leads to exact algebraic cancellation of the dispersion parameter:
δAi=−β⋅s\(G\)s\(G\)\(ϕ\(ci\)−ϕ¯G\)=−β\(ϕ\(ci\)−ϕ¯G\)\.\\delta A\_\{i\}=\-\\frac\{\\beta\\cdot s\(G\)\}\{s\(G\)\}\\big\(\\phi\(c\_\{i\}\)\-\\bar\{\\phi\}\_\{G\}\\big\)=\-\\beta\\big\(\\phi\(c\_\{i\}\)\-\\bar\{\\phi\}\_\{G\}\\big\)\.\(24\)Consequently,lims\(G\)→0\|δAi\|=β\|ϕ\(ci\)−ϕ¯G\|<∞\\lim\_\{s\(G\)\\to 0\}\|\\delta A\_\{i\}\|=\\beta\|\\phi\(c\_\{i\}\)\-\\bar\{\\phi\}\_\{G\}\|<\\infty, ensuring uniform stability across all optimization regimes\. Settingϕ\(c\)≜φ\(c\)\\phi\(c\)\\triangleq\\varphi\(c\)guarantees scale compatibility\. ∎
### A\.4Linear Contraction of the Category\-Mean Channel
We now examine how the established calibration termΔi=β⋅s\(G\)⋅φ\(ci\)\\Delta\_\{i\}=\\beta\\cdot s\(G\)\\cdot\\varphi\(c\_\{i\}\)modulates the individual components of the advantage decomposition established in Proposition[1](https://arxiv.org/html/2611.33183#Thmproposition1)\.
###### Lemma 1\(Exact Group\-Centering of Standardized Scores\)\.
Letφ¯G≜1K∑j=1Kφ\(cj\)\\bar\{\\varphi\}\_\{G\}\\triangleq\\frac\{1\}\{K\}\\sum\_\{j=1\}^\{K\}\\varphi\(c\_\{j\}\)denote the group average of normalized category deviations\. The centered deviation strictly satisfies:
φ\(ci\)−φ¯G=μci−μ¯Gσμ\.\\varphi\(c\_\{i\}\)\-\\bar\{\\varphi\}\_\{G\}=\\frac\{\\mu\_\{c\_\{i\}\}\-\\bar\{\\mu\}\_\{G\}\}\{\\sigma\_\{\\mu\}\}\.\(25\)
###### Proof\.
Substituting Equation[8](https://arxiv.org/html/2611.33183#A1.E8)into the group mean expression:
φ¯G=1K∑j=1K\(μcj−μ¯σμ\)=1σμ\(1K∑j=1Kμcj−1K∑j=1Kμ¯\)=μ¯G−μ¯σμ\.\\bar\{\\varphi\}\_\{G\}=\\frac\{1\}\{K\}\\sum\_\{j=1\}^\{K\}\\left\(\\frac\{\\mu\_\{c\_\{j\}\}\-\\bar\{\\mu\}\}\{\\sigma\_\{\\mu\}\}\\right\)=\\frac\{1\}\{\\sigma\_\{\\mu\}\}\\left\(\\frac\{1\}\{K\}\\sum\_\{j=1\}^\{K\}\\mu\_\{c\_\{j\}\}\-\\frac\{1\}\{K\}\\sum\_\{j=1\}^\{K\}\\bar\{\\mu\}\\right\)=\\frac\{\\bar\{\\mu\}\_\{G\}\-\\bar\{\\mu\}\}\{\\sigma\_\{\\mu\}\}\.\(26\)Subtracting this fromφ\(ci\)=\(μci−μ¯\)/σμ\\varphi\(c\_\{i\}\)=\(\\mu\_\{c\_\{i\}\}\-\\bar\{\\mu\}\)/\\sigma\_\{\\mu\}, the common constant termμ¯\\bar\{\\mu\}cancels directly:
φ\(ci\)−φ¯G=\(μci−μ¯\)−\(μ¯G−μ¯\)σμ=μci−μ¯−μ¯G\+μ¯σμ=μci−μ¯Gσμ,\\varphi\(c\_\{i\}\)\-\\bar\{\\varphi\}\_\{G\}=\\frac\{\(\\mu\_\{c\_\{i\}\}\-\\bar\{\\mu\}\)\-\(\\bar\{\\mu\}\_\{G\}\-\\bar\{\\mu\}\)\}\{\\sigma\_\{\\mu\}\}=\\frac\{\\mu\_\{c\_\{i\}\}\-\\bar\{\\mu\}\-\\bar\{\\mu\}\_\{G\}\+\\bar\{\\mu\}\}\{\\sigma\_\{\\mu\}\}=\\frac\{\\mu\_\{c\_\{i\}\}\-\\bar\{\\mu\}\_\{G\}\}\{\\sigma\_\{\\mu\}\},\(27\)which completes the proof\. ∎
###### Theorem 2\(Linear Contraction of the Category\-Mean Channel\)\.
Under the calibrated reward formulationri′=ri−β⋅s\(G\)⋅φ\(ci\)r\_\{i\}^\{\\prime\}=r\_\{i\}\-\\beta\\cdot s\(G\)\\cdot\\varphi\(c\_\{i\}\), the fixed\-dispersion normalized scoreA~i\\widetilde\{A\}\_\{i\}satisfies the exact algebraic identity:
A~i=δqi−δq¯Gs\(G\)⏟Aiintra\+\(1−β⋅s\(G\)σμ\)μci−μ¯Gs\(G\)⏟Aiinter\.\\widetilde\{A\}\_\{i\}=\\underbrace\{\\frac\{\\delta q\_\{i\}\-\\overline\{\\delta q\}\_\{G\}\}\{s\(G\)\}\}\_\{A\_\{i\}^\{\\mathrm\{intra\}\}\}\+\\left\(1\-\\frac\{\\beta\\cdot s\(G\)\}\{\\sigma\_\{\\mu\}\}\\right\)\\underbrace\{\\frac\{\\mu\_\{c\_\{i\}\}\-\\bar\{\\mu\}\_\{G\}\}\{s\(G\)\}\}\_\{A\_\{i\}^\{\\mathrm\{inter\}\}\}\.\(28\)
###### Proof\.
Combining the exact decomposition from Proposition[1](https://arxiv.org/html/2611.33183#Thmproposition1)with the net displacement from Proposition[2](https://arxiv.org/html/2611.33183#Thmproposition2), we write:
A~i=Ai\+δAi=\(δqi−δq¯Gs\(G\)\+μci−μ¯Gs\(G\)\)−β\(φ\(ci\)−φ¯G\)\.\\widetilde\{A\}\_\{i\}=A\_\{i\}\+\\delta A\_\{i\}=\\left\(\\frac\{\\delta q\_\{i\}\-\\overline\{\\delta q\}\_\{G\}\}\{s\(G\)\}\+\\frac\{\\mu\_\{c\_\{i\}\}\-\\bar\{\\mu\}\_\{G\}\}\{s\(G\)\}\\right\)\-\\beta\\big\(\\varphi\(c\_\{i\}\)\-\\bar\{\\varphi\}\_\{G\}\\big\)\.\(29\)Applying Lemma[1](https://arxiv.org/html/2611.33183#Thmlemma1)to substituteφ\(ci\)−φ¯G\\varphi\(c\_\{i\}\)\-\\bar\{\\varphi\}\_\{G\}:
A~i=δqi−δq¯Gs\(G\)\+μci−μ¯Gs\(G\)−βσμ\(μci−μ¯G\)\.\\widetilde\{A\}\_\{i\}=\\frac\{\\delta q\_\{i\}\-\\overline\{\\delta q\}\_\{G\}\}\{s\(G\)\}\+\\frac\{\\mu\_\{c\_\{i\}\}\-\\bar\{\\mu\}\_\{G\}\}\{s\(G\)\}\-\\frac\{\\beta\}\{\\sigma\_\{\\mu\}\}\(\\mu\_\{c\_\{i\}\}\-\\bar\{\\mu\}\_\{G\}\)\.\(30\)Factoring out the term\(μci−μ¯G\)\(\\mu\_\{c\_\{i\}\}\-\\bar\{\\mu\}\_\{G\}\)from the second and third components yields:
A~i=δqi−δq¯Gs\(G\)\+\(1s\(G\)−βσμ\)\(μci−μ¯G\)\.\\widetilde\{A\}\_\{i\}=\\frac\{\\delta q\_\{i\}\-\\overline\{\\delta q\}\_\{G\}\}\{s\(G\)\}\+\\left\(\\frac\{1\}\{s\(G\)\}\-\\frac\{\\beta\}\{\\sigma\_\{\\mu\}\}\\right\)\(\\mu\_\{c\_\{i\}\}\-\\bar\{\\mu\}\_\{G\}\)\.\(31\)Extracting the factor1/s\(G\)1/s\(G\)from the bracketed expression:
\(1s\(G\)−βσμ\)\(μci−μ¯G\)=\(1−β⋅s\(G\)σμ\)\(μci−μ¯Gs\(G\)\)\.\\left\(\\frac\{1\}\{s\(G\)\}\-\\frac\{\\beta\}\{\\sigma\_\{\\mu\}\}\\right\)\(\\mu\_\{c\_\{i\}\}\-\\bar\{\\mu\}\_\{G\}\)=\\left\(1\-\\frac\{\\beta\\cdot s\(G\)\}\{\\sigma\_\{\\mu\}\}\\right\)\\left\(\\frac\{\\mu\_\{c\_\{i\}\}\-\\bar\{\\mu\}\_\{G\}\}\{s\(G\)\}\\right\)\.\(32\)Substituting this back yields Equation[28](https://arxiv.org/html/2611.33183#A1.E28), completing the proof\. ∎
Theorem[2](https://arxiv.org/html/2611.33183#Thmtheorem2)reveals the dual benefits of our calibration operator: First, the intra\-category quality competition channelAiintraA\_\{i\}^\{\\mathrm\{intra\}\}retains a multiplier strictly equal to unity, ensuring that micro\-level relative generation quality is preserved without attenuation\. Second, the category\-mean channelAiinterA\_\{i\}^\{\\mathrm\{inter\}\}is scaled by the contraction factorγ\(G\)≜1−β⋅s\(G\)/σμ\\gamma\(G\)\\triangleq 1\-\\beta\\cdot s\(G\)/\\sigma\_\{\\mu\}, whereγ\(G\)∈\(0,1\)\\gamma\(G\)\\in\(0,1\)under standard hyperparameter configurations\. Compared to enforcing hard cancellation \(γ\(G\)=0\\gamma\(G\)=0\), which requiresβ∝1/s\(G\)\\beta\\propto 1/s\(G\)and risks asymptotic instability ass\(G\)→0s\(G\)\\to 0, soft shrinkage preserves training stability while maintaining meaningful exploration over legitimate category\-level quality variations\.
## Appendix BExperimental Setup
#### Overview\.
We evaluate REI on three sources of performance\-oriented evolution traces: an internal industrial corpus from a large\-scale production recommender system, a public benchmark constructed from modded\-nanogpt speedrun records, and a second public benchmark based on rustc\-perf \(Appendix[G](https://arxiv.org/html/2611.33183#A7)\)\. In all three settings, each sample links a pre\-change system state, a performance\-motivated modification, and an observed post\-change outcome\. The full data construction and evaluation pipelines are programmatic, with no human intervention in sample selection, split assignment, or metric computation\.
#### Industrial corpus\.
The industrial corpus contains 60,000\+ recommender\-system evolution samples, covering success/failure annotations of changes from 24 code repositories\. Among them, 54,710 samples are used for training and 6,291 for testing\.
Each raw industrial record corresponds to one recommender\-system evolution attempt and contains three parts: \(1\) an engineering\-code snapshot, including the full training repository at submission time; \(2\) training logs and metrics, including loss curves and downstream evaluation outputs; and \(3\) experiment metadata, such as repository identifiers, commit hash, experiment id, timestamps, runner, model name, dataset identifier, and checkpoint path\. This structure matches the real evolution loop in production: a candidate direction is first implemented, then trained and evaluated, and only afterwards can its value be determined\.
#### Industrial data construction\.
To reduce sparsity, we form pairwise samples from historical experiment trajectories rather than keeping only strictly adjacent changes\. To reduce noise, we apply a fully automatic two\-stage filtering pipeline\.
The first stage is execution\-logic filtering\. We perform reachability analysis from the script entry point and discard changed functions or classes that are not reachable from actual execution paths\. We then parse Python files into abstract syntax trees \(ASTs\), remove debugging statements and comments, normalize import ordering, and suppress purely superficial edits\. After normalization, we compute pairwise code differences and apply configuration whitelisting so that engineering variables such as output directories, resource settings, tracing options, and data endpoints are removed, while performance\-relevant fields such as optimizer, learning rate, weight decay, batch size, model structure, and feature configuration are retained\.
The second stage is semantic intent filtering\. The purified code delta is mapped into explicit evolution intent by a fixed extraction pipeline\. Modifications whose intent cannot be reliably recovered are discarded as ambiguous noise\. The retained samples are further organized into structured direction annotations used by the generator and by the diversity analysis\.
#### NanoGPT benchmark\.
The nanoGPT benchmark is built from the modded\-nanogpt speedrun leaderboard \(KellerJordan/modded\-nanogpt\), using pull requests and associated repository history from 2024\-05 to 2026\-01\. We use two leaderboard tracks: track 1 \(GPT\-2 Small\) and track 2 \(GPT\-2 Medium\)\. We choose this source because it naturally records repeated performance\-oriented iteration: contributors propose a change, realize it in code, run the full training/evaluation pipeline, and report the resulting gain\. Compared with generic open\-source repository histories, these records are cleaner for ideation learning because the dominant intent is leaderboard improvement rather than maintenance, refactoring, or feature development\.
Each retained public item is annotated with one of five direction families: C1 system/kernel, C2 optimizer, C3 architecture, C4 attention, and C5 loss\. On the public benchmark, these categories are the ground\-truth direction families provided by the dataset and are used for method\-level evaluation\.
#### NanoGPT data curation and split\.
The raw nanoGPT library contains 190 candidate records\. After removing invalid entries, we retain 107 valid ideas for the benchmark\. Retained items are labeled by observed outcome:*strong*for realized speedup≥1%\\geq 1\\%and*null*for valid attempts without meaningful gain\. Invalid records are excluded from the curated set\. We train on 79 track\-1 items and evaluate on a 28\-question held\-out test set, of which 23 have ground\-truth labels for family\-level evaluation\. The split is defined at the PR level to prevent leakage, so all artifacts associated with a held\-out PR are kept out of training\.
#### Prompt construction\.
Each prompt contains the current scenario context together with up to 8 historical changes retrieved from the corresponding training library\. The model is asked to generate a compact single\-line proposal in the format\[CATEGORY\] <what to change\>\.
In the public benchmark, the ground\-truth label is the accepted direction family attached to the held\-out record\. In the industrial setting, where no ground\-truth taxonomy exists, family labels used for diversity analysis are obtained by the same LLM extraction pipeline used during industrial data construction\.
#### Class balance\.
To reduce trivial under\-exposure of rare families, SFT up\-samples minority categories in the public training set\. We additionally tested whether the observed semantic collapse could be explained by family\-frequency skew in the data or reward pipeline\. It could not: the collapse remains qualitatively unchanged after category rebalancing, indicating that the phenomenon is not an artifact of popularity bias alone\.
#### Implementation\.
The nanoGPT benchmark is relatively small, so nanoGPT\-benchmark experiments useQwen2\.5\-0\.5Bas the default backbone and run on 2 NVIDIA A100 80GB GPUs with standard data parallelism\. By contrast, the industrial corpus is much larger and the industrial experiments useQwen3\-8Bon 8 NVIDIA A100 80GB GPUs\. Unless otherwise stated, SFT, reward\-model training, and GRPO follow the same stage definitions described in the main paper, with hardware scaled to match the dataset size and backbone\.
Rollout sampling uses temperature0\.990\.99, top\-p=0\.99p=0\.99, and top\-k=100k=100\. Megatron parallelism is disabled beyond data parallelism \(TP=PP=EP=1\)\. Software versions are PyTorch 2\.6\.0, vLLM 0\.8\.4, and Transformer\-Engine 2\.2\.0\.
The main\-text nanoGPT\-benchmark tables report a single representative seed \(4242\); five\-seed means over\{42,211,985,43,44\}\\\{42,211,985,43,44\\\}and paired significance tests are given in Appendix[L](https://arxiv.org/html/2611.33183#A12)\. All post\-training baselines share the same SFT initialization, reward model, training prompts, and test set, and differ only in the RL objective or diversity\-preserving mechanism\.
#### Evaluation protocol\.
For each test prompt, the model generates 8 candidates unless otherwise specified, ranked by the corresponding reward model\. Candidate\-set quality uses four metrics\. Hit@1 is the fraction of prompts whose top\-ranked candidate falls in a correct method family\. Hit@8 is the fraction for which at least one of the 8 candidates falls in a correct family\. Coverage is, for prompts with multiple valid families, the fraction of those families covered by the candidate set\. TV to Reference Prior is the total variation distance between the generated method\-category distribution and the reference\-corpus prior, where smaller is better\. In the industrial setting, each evaluation instance has a single ground\-truth family, so Coverage is identical to Hit@8\. In the public benchmark, a prompt may have multiple valid families because several distinct PR directions from the same repository state are treated as valid targets, so Coverage and Hit@8 need not coincide\.
Method\-level diversity uses four metrics\. Distinct Method Count is the number of distinct families among the 8 candidates\. Top\-Family Share is the share of the most frequent family\. Max Within\-Family Count is the largest number of candidates in a single family\. Single\-Family Collapse Rate is the fraction of prompts whose 8 candidates all fall in one family\. Cross\-task evaluates transfer beyond the training task, while long\-tail removes the dominant head family before recomputing the metrics, testing whether a method can still recover valid non\-head families\.
#### Fairness of comparison\.
All compared post\-training baselines are trained from the same SFT checkpoint and evaluated on the same held\-out prompts with the same candidate budget\. For industrial offline evaluation, the same system context and candidate budget are given to all model baselines\. All model outputs are processed under the same ranking and metric pipeline, with no manual intervention or example\-specific adjustment\. Human\-expert comparisons use the same task description and access to the same scenario context\. The method\-category signal is provided to all compared methods as a shared input format\. Baselines receive the same \[CATEGORY\]\-tagged prompts but retain their original objectives\. SPOD differs in that it uses this shared signal for category\-aware reward correction and top\-1 retention\.
## Appendix CProtocols for the Diversity\-Collapse Analysis
#### Evaluation data and slices\.
Figures[2](https://arxiv.org/html/2611.33183#S3.F2)and[3](https://arxiv.org/html/2611.33183#S3.F3)use the public nanoGPT\-speedrun benchmark with the 79\-item training split and 28\-prompt held\-out test split, with Qwen2\.5\-0\.5B as the ideation policy\. Ten late\-stage prompts from track 1 form the same\-task slice and evaluate temporal extrapolation within the training track\. The remaining 18 prompts come from track 2 and form the cross\-task slice, evaluating transfer to a track unseen during training\. Both slices are fully held out from policy training\.
#### Reward and long\-tail summaries\.
For each prompt, the policy generates eight candidates, ranked by the same verifier used during training\. In Figure[2](https://arxiv.org/html/2611.33183#S3.F2)\(a\), mean reward is computed by averaging verifier scores over the eight candidates and then over prompts\. Best\-of\-8 reward first takes the highest verifier score among the eight candidates for each prompt and then averages across prompts\. The former summarizes overall candidate\-set quality, whereas the latter measures whether sampling still produces at least one high\-scoring direction\.
For Figure[2](https://arxiv.org/html/2611.33183#S3.F2)\(b\), generated candidates are mapped to the five speedrun method families: system/kernel, optimizer, architecture, attention, and loss\. Families are grouped by generated share into head \(≥40%\\geq 40\\%\), mid \(10%10\\%–40%40\\%\), and tail \(<10%<10\\%\), after which Hit@1 is recomputed within each bucket\. Prompts without a usable ground\-truth family label are excluded from Hit@1\. This analysis tests whether post\-training gains are broadly distributed or concentrated in a small number of dominant families\.
#### Surface\- and method\-level diversity\.
Figure[3](https://arxiv.org/html/2611.33183#S3.F3)separates surface\-level from method\-level changes\. The left panel reports token\-level entropy during generation\. The middle panel tracks three method\-level statistics normalized to step 0: category entropy, the share of the most frequent family, and the number of distinct familiesncatn\_\{\\mathrm\{cat\}\}covered by the eight candidates\. The right panel reports final\-checkpoint percentage changes relative to the SFT initialization\. Surface statistics are computed directly from generated text: word\-level Distinct\-2 measures bigram repetition, the TF–IDF Vendi score measures the effective number of distinct texts, and mean pairwise cosine distance measures separation in TF–IDF space\. Method\-level statistics use the offline family annotations\. All percentage changes use the same28×828\\times 8evaluation batch for the method being compared with its SFT initialization\.
#### Verifier\-fidelity intervention\.
Figure[4](https://arxiv.org/html/2611.33183#S3.F4)studies whether stronger verifier agreement is associated with greater method\-level concentration\. Verifier fidelity is defined as pairwise ranking accuracy between verifier scores and realized gains, where0\.50\.5denotes random ranking and1\.01\.0perfect agreement\. Realized gains come from the nanoGPT\-speedrun submission history\. For each submission, we compute the relative wall\-time change from the adjacent record and apply same\-era quantile normalization to reduce temporal drift\. This reduces the Spearman correlation between record index and normalized gain from−0\.46\-0\.46to−0\.08\-0\.08\. Historical submissions are grouped into strong, null, and reject outcomes using the community significance thresholdp<0\.01p<0\.01\.
To vary fidelity while holding the remaining setup fixed, we keep the deployed verifier, policy initialization, training data, model scale, and optimization configuration unchanged and perturb only the verifier score:
sλ=sRM\+λϵ,ϵ∼𝒩\(0,1\),s\_\{\\lambda\}=s\_\{\\mathrm\{RM\}\}\+\\lambda\\epsilon,\\qquad\\epsilon\\sim\\mathcal\{N\}\(0,1\),\(33\)whereλ\\lambdacontrols the noise magnitude\. The weak, medium, and strong conditions have measured pairwise ranking accuracies of0\.550\.55,0\.670\.67, and0\.830\.83, respectively\. After training under each condition, concentration is measured as the final share of generated candidates assigned to the most frequent method family\. The corresponding shares are49\.1%49\.1\\%,58\.8%58\.8\\%, and62\.5%62\.5\\%\.
## Appendix DBaseline Methods
We compare SPOD with supervised learning, reward\-driven policy optimization, and token\-level exploration controls\. For a promptxx, letyiy\_\{i\}be a sampled response,si,t=\(x,yi,<t\)s\_\{i,t\}=\(x,y\_\{i,<t\}\)its prefix,RiR\_\{i\}its reward, andρi,t=πθ\(yi,t∣si,t\)/πold\(yi,t∣si,t\)\\rho\_\{i,t\}=\\pi\_\{\\theta\}\(y\_\{i,t\}\\mid s\_\{i,t\}\)/\\pi\_\{\\mathrm\{old\}\}\(y\_\{i,t\}\\mid s\_\{i,t\}\)the importance ratio\. WriteHi,tH\_\{i,t\}for the entropy of the full next\-token distribution at that prefix\.
#### Supervised fine\-tuning \(SFT\)\.
SFT maximizes the likelihood of reference responses, minimizing−𝔼\(x,y\)∼𝒟logπθ\(y∣x\)\-\\mathbb\{E\}\_\{\(x,y\)\\sim\\mathcal\{D\}\}\\log\\pi\_\{\\theta\}\(y\\mid x\)\. In REI, repository\-derived examples provide supervision for learning reusable ideation patterns\. SFT provides a reference before reward optimization, without explicitly optimizing candidate\-set coverage\.
#### Group Relative Policy Optimization \(GRPO\)\.
GRPO generates multiple responses per prompt and computesAi=\(Ri−R¯\)/\(std\(R\)\+ϵ\)A\_\{i\}=\(R\_\{i\}\-\\bar\{R\}\)/\(\\operatorname\{std\}\(R\)\+\\epsilon\)within each group, avoiding a separate value model\. Its clipped policy surrogate averagesmin\{ρi,tAi,clip\(ρi,t,1−ϵl,1\+ϵh\)Ai\}\\min\\\{\\rho\_\{i,t\}A\_\{i\},\\operatorname\{clip\}\(\\rho\_\{i,t\},1\-\\epsilon\_\{l\},1\+\\epsilon\_\{h\}\)A\_\{i\}\\\}over tokens and responses\. It reinforces candidates with above\-average rewards\.
#### Entropy regularization \(Ent\. Reg\.\)\.
This baseline augments reward optimization with an entropy bonus,JRL\+α𝔼i,t\[Hi,t\]J\_\{\\mathrm\{RL\}\}\+\\alpha\\mathbb\{E\}\_\{i,t\}\[H\_\{i,t\}\], whereα\>0\\alpha\>0controls the incentive to retain uncertainty\. It discourages premature concentration of next\-token probabilities\. However, preserving token entropy does not directly ensure that generated ideas span distinct methods: different wordings can still express the same solution family\.
#### Entropy\-based advantage adjustment \(Entro\. Adv\.\)\.
These variants incorporate conditional entropy into the advantage or its weighting, making policy updates depend on both reward feedback and uncertainty at a generation step\. Unlike an additive entropy regularizer, they modify the learning signal attached to sampled tokens\. Such interventions aim to preserve exploration at uncertain positions, but uncertainty alone does not determine whether a particular update increases or decreases entropy\.
#### Clipped IS\-weight Policy Optimization \(CISPO\)\.
CISPO clips importance weights while retaining a log\-likelihood gradient:
JCISPO=𝔼\[1∑i\|yi\|∑i,tsg\[clip\(ρi,t,1−ϵlIS,1\+ϵhIS\)\]Ailogπθ\(yi,t∣si,t\)\],J\_\{\\mathrm\{CISPO\}\}=\\mathbb\{E\}\\\!\\left\[\\frac\{1\}\{\\sum\_\{i\}\|y\_\{i\}\|\}\\sum\_\{i,t\}\\operatorname\{sg\}\\\!\\left\[\\operatorname\{clip\}\(\\rho\_\{i,t\},1\-\\epsilon\_\{l\}^\{\\mathrm\{IS\}\},1\+\\epsilon\_\{h\}^\{\\mathrm\{IS\}\}\)\\right\]A\_\{i\}\\log\\pi\_\{\\theta\}\(y\_\{i,t\}\\mid s\_\{i,t\}\)\\right\],wheresg\\operatorname\{sg\}stops gradients through the weight\. Unlike the clipped GRPO surrogate, exceeding a ratio threshold does not itself eliminate the token’s direct policy gradient\. This preserves learning signals while limiting their importance weights; it does not recalibrate the underlying reward or identify redundant method families\.
#### STEER\.
STEER estimates the local entropy change induced by a policy update from token probabilities, advantages, and conditional entropy\. It attenuates updates with large predicted changes usingλi,t=exp\(−k\|Ωi,t\|\)\\lambda\_\{i,t\}=\\exp\(\-k\|\\Omega\_\{i,t\}\|\), whereΩi,t\\Omega\_\{i,t\}estimates entropy change andkksets the minimum weight\. Thus it regulates the rate of entropy change, rather than simply maximizing entropy, and suppresses both abrupt concentration and excessive dispersion\.
#### Decoupled Clip and Dynamic Sampling Policy Optimization \(DAPO\)\.
DAPO combines asymmetric ratio clipping, dynamic sampling of informative response groups, token\-level loss aggregation, and overlong\-response reward shaping\. A higher upper clipping threshold gives positively rewarded, initially unlikely tokens more room to grow; dynamic sampling excludes groups with identical rewards and no relative learning signal\. These baselines test whether generic exploration controls suffice to preserve method diversity, compared with SPOD’s category\-aware reward correction\.
## Appendix EParameter Sensitivity
#### Debiasing strength\.
The debiasing strengthβ\\betacontrols the reward correction, withβ=0\\beta=0reducing exactly to GRPO\. We sweepβ∈\{0,0\.5,1\.0,1\.5\}\\beta\\in\\\{0,0\.5,1\.0,1\.5\\\}and find that SPOD is robust across a broad range of values: all nonzero choices ofβ\\betaoutperform theβ=0\\beta=0GRPO baseline overall across the eight metrics in Figure[6](https://arxiv.org/html/2611.33183#A5.F6)\. Among them,β=1\.0\\beta=1\.0gives the best overall trade\-off and is therefore used in all other experiments\. Increasingβ\\betafurther to1\.51\.5causes some metrics to regress, suggesting that overly strong correction can start to suppress genuinely strong in\-family candidates, although it still remains better overall than GRPO\.
Figure 6:Sensitivity to the debiasing strengthβ\\beta\. Abbreviations follow Table[5](https://arxiv.org/html/2611.33183#S4.T5)\. Theβ=0\\beta=0\(GRPO\) column is greyed out and excluded from the per\-row min–max scaling; raw values are shown and the best value in each row is outlined\.
#### Exemption depth\.
We further ablate the exemption depthkk, i\.e\. how many top\-ranked in\-family candidates are shielded from the penalty\. Tighteningkkfrom33to11improves all eight metrics monotonically \(Figure[7](https://arxiv.org/html/2611.33183#A5.F7)\): a largerkkshields more of the in\-family head and thus dilutes the debiasing signal, whilek=1k=1is the tightest setting that still protects the strongest in\-family candidate\. We usek=1k=1in the remaining experiments\.
Figure 7:Sensitivity to top\-kkexemption\. Axes are min–max scaled across the tested settings; outward is better\. Metric abbreviations follow Table[5](https://arxiv.org/html/2611.33183#S4.T5)\.
#### Default setting across datasets\.
Unless otherwise stated, all reported experiments on the industrial system, nanoGPT, and rustc\-perf use the same SPOD hyperparameters, namelyβ=1\.0\\beta=1\.0andk=1k=1\. We do not tune these parameters separately for each dataset\.
## Appendix FIndustrial Cross\-Task and Long\-Tail Evaluation
#### Evaluation scope\.
We report additional industrial offline evaluations on two slices: cross\-task, which assesses generalization beyond the training task, and long\-tail, which evaluates performance on long\-tail method categories\. Table[6](https://arxiv.org/html/2611.33183#A6.T6)reports the four quality metrics for all eight methods\. Each industrial instance has a single ground\-truth method category, so Coverage equals Hit@8 for every method: covering the ground truth is equivalent to having at least one matching candidate\. Bold entries indicate column\-wise best values\.
Table 6:Industrial offline quality on cross\-task and long\-tail slices\. Coverage equals Hit@8 because each instance has one ground\-truth category\. Higher is better except for TV to Reference Prior\.MethodCross\-TaskLong\-TailHit@1↑\\uparrowHit@8↑\\uparrowCov\.↑\\uparrowTV↓\\downarrowHit@1↑\\uparrowHit@8↑\\uparrowCov\.↑\\uparrowTV↓\\downarrowSFT0\.5000\.8850\.8850\.1120\.2480\.4260\.4260\.093GRPO0\.4950\.8250\.8250\.0690\.2780\.4220\.4220\.087STEER0\.5000\.8900\.8900\.1040\.3000\.4400\.4400\.075DAPO0\.5150\.9000\.9000\.2290\.3140\.4410\.4410\.168Ent\. Reg\.0\.4900\.8900\.8900\.1170\.2660\.4290\.4290\.209CISPO0\.4750\.8490\.8490\.2030\.2550\.5020\.5020\.191Entro\. Adv\.0\.5190\.8820\.8820\.3030\.3130\.4970\.4970\.068SPOD0\.5790\.9160\.9160\.0850\.3870\.5700\.5700\.080
#### Cross\-task results\.
SPOD achieves the highest Hit@1 \(0\.579\), Hit@8 \(0\.916\), and Coverage \(0\.916\)\. Relative to the best competing baseline for each metric, its Hit@1 exceeds Entro\. Adv\. by 0\.060 \(6\.0 percentage points\), while its Hit@8 and Coverage exceed DAPO by 0\.016 \(1\.6 percentage points\)\.
#### Long\-tail results\.
SPOD again attains the highest Hit@1 \(0\.387\), Hit@8 \(0\.570\), and Coverage \(0\.570\)\. Its Hit@1 exceeds DAPO, the strongest alternative on this metric, by 0\.073 \(7\.3 percentage points\); its Hit@8 and Coverage exceed CISPO by 0\.068 \(6\.8 percentage points\)\. For TV, Entro\. Adv\. ranks first \(0\.068\), followed by STEER \(0\.075\) and SPOD \(0\.080\)\. These results support improved recovery of valid long\-tail methods, while indicating that candidate\-level accuracy and agreement with the reference category distribution capture different aspects of performance\.
## Appendix GGeneralization to a Second Public Benchmark: rustc\-perf
The main paper evaluates SPOD in two application scenarios: an industrial recommender system \(*AI for Recommendation*\) and the nanoGPT speedrun \(*AI for AI*\)\. To test whether the quality–diversity behavior of SPOD transfers to a qualitatively different scenario, we evaluate SPOD in a third setting—*AI for Software Engineering*—using a second, fully public benchmark drawn from the Rust compiler ecosystem\. In this task, given the recent optimization history of the compiler, the model proposes one next change that may reduce compilation time on the rustc\-perf benchmark suite\. The corpus contains1,5911\{,\}591landed changes collected from public rustc\-perf triage reports and rust\-lang/rust pull requests, and a strict temporal split yields1,4141\{,\}414training states and177177held\-out test states\. At each state the model observes summary statistics from the preceding5252weeks and the eight most recent compiler changes, then proposes one concrete optimization in the form “\[category\] change description”\. The six categories cover backend and code generation, type and trait solving, incremental queries, frontend parsing, the standard library, and infrastructure and tooling\. Crucially, the gold utility is derived from the compile\-time change measured by the public rustc\-perf continuous\-integration reports rather than from any model\-generated judgment, so the evaluation does not rely on a private task or a learned gold signal\.
Table 7:Summary of the public rustc\-perf benchmark\.ItemSettingSourcePublic rustc\-perf triage reports and rust\-lang/rust pull requestsBase modelQwen3\-1\.7B\-BaseTask granularityOne state per landed compiler changeDataset size1,5911\{,\}591states:1,4141\{,\}414train /177177temporal hold\-outEvaluationk=8k=8samples per state;157157of177177test states carry usable gold labelsGold signalMeasured compile\-time change from rustc\-perf CIWe report the same eight metrics as in the main paper, which separate answer quality from category\-level diversity\. Hit@1, Hit@8, Coverage, and the Distinct Method Count \(Dist\.\) are better when larger, while TV to the reference category distribution, Top\-Family Share \(TopFam\), Max Within\-Family Count \(MaxInFam\), and the Single\-Family Collapse Rate \(Coll\.\) are better when smaller\. All methods are evaluated on the same temporal hold\-out with the same reward model\. Tables[8](https://arxiv.org/html/2611.33183#A7.T8)and[9](https://arxiv.org/html/2611.33183#A7.T9)report quality and diversity, respectively; bold marks the best result in each column\.
Table 8:Quality results on the rustc\-perf benchmark\.MethodHit@1↑\\uparrowHit@8↑\\uparrowCov\.↑\\uparrowTV↓\\downarrowSFT0\.2360\.8030\.7270\.226GRPO0\.1980\.8090\.7270\.252DAPO0\.2290\.7640\.7020\.270Entro\. Adv\.0\.2230\.7830\.7060\.232Ent\. Reg\.0\.2100\.8030\.7320\.235CISPO0\.2480\.8470\.7700\.247STEER0\.2480\.7770\.7150\.240SPOD0\.2610\.8600\.7730\.218Table 9:Category\-diversity results on the rustc\-perf benchmark\. Coll\. is the fraction of states for which all eight samples fall into one category\.MethodDist\.↑\\uparrowTopFam↓\\downarrowMaxInFam↓\\downarrowColl\.↓\\downarrowSFT4\.6160\.2332\.9890\.000GRPO4\.4180\.2623\.0570\.000DAPO4\.4630\.2603\.0960\.000Entro\. Adv\.4\.3620\.2583\.0850\.000Ent\. Reg\.4\.5140\.2593\.2090\.000CISPO4\.4630\.2543\.0400\.000STEER4\.4120\.2533\.0850\.000SPOD4\.5370\.2013\.0510\.000#### Main finding\.
On this public compiler\-optimization task, standard reinforcement learning increases category concentration relative to the SFT initialization: GRPO raises Top\-Family Share from0\.2330\.233to0\.2620\.262while reducing the Distinct Method Count\. SPOD reverses this trend, attaining the lowest Top\-Family Share \(0\.2010\.201\) together with the highest Hit@1 \(0\.2610\.261\), the highest Hit@8 \(0\.8600\.860\), the highest Coverage \(0\.7730\.773\), and the lowest TV \(0\.2180\.218\)\. These results reproduce the central quality–diversity claim of the main paper on an independent public benchmark whose gold signal comes from measured compile\-time changes rather than from model\-generated judgments\.
## Appendix HMulti\-Round Replay Simulation: Details
This appendix expands the replay simulation summarized in Section[4\.3](https://arxiv.org/html/2611.33183#S4.SS3)\. The core issue is not diversity in the abstract, but a concrete optimization behavior: under reward\-only training, policies increasingly shift probability mass toward the head method family that is easiest to score well under the current reward model or dataset prior\. This can preserve superficial single\-round performance, but over repeated iteration it systematically removes non\-head yet genuinely high\-yield directions\. We observe the same overall pattern on both the public speedrun data and the industrial dataset; Section[H\.2](https://arxiv.org/html/2611.33183#A8.SS2)reports the industrial replication\.
### H\.1Public Benchmark: Family\-Level Concentration and Long\-Horizon Stagnation
On the public speedrun data, we sort the historically accepted improvements within each method family by realized gain\. At each round, a policy samples one family according to the trained model’s measured output distribution and receives the next unused real gain from that family\. This setup asks a direct question: if a policy keeps most of its probability mass on a small number of families, does repeated reuse of the same high\-prior direction eventually hurt long\-horizon performance?
The replay results support this concern\. GRPO concentrates heavily on the head family C4, allowing it to obtain some early reward from attention\-related directions\. However, its cumulative reward grows more slowly in later rounds\. UnderT=30T\{=\}30, GRPO spends on average 8\.96 rounds on families that no longer yield additional replay reward\. By contrast, SPOD preserves broader coverage across C1–C5, so its replay distribution continues to draw reward from multiple families in later rounds \(Figure[8](https://arxiv.org/html/2611.33183#A8.F8)\)\. This pattern is consistent with SPOD’s advantage over GRPO under short\-horizon, long\-horizon, and cross\-task settings, and with the widening gap as the horizon grows\.
Figure 8:Family\-decomposed cumulative reward on the public benchmark atT=30T\{=\}30\. GRPO \(left\) derives most of its reward from a single dominant family and grows more slowly later in the horizon\. SPOD \(right\), by contrast, maintains broader coverage across C1–C5 and continues to accumulate reward from multiple families throughout the horizon\.The cross\-task result supports the same interpretation\. After the task pool switches at round 15, GRPO remains more concentrated on its previous head\-family preference\. Because SPOD preserves broader family coverage, its replay distribution continues to place probability mass on families that remain productive in the new task pool, allowing it to stay ahead after the switch \(Figure[9](https://arxiv.org/html/2611.33183#A8.F9)\)\.
Figure 9:Cross\-task replay on the nanoGPT benchmark\. The task pool switches at round 15 \(dashed line\)\. GRPO remains concentrated on its previous head\-family preference, whereas SPOD maintains broader coverage and retains probability mass on families that continue to yield reward after the switch\.
### H\.2Industrial Replication: Misalignment Between Popularity and Productivity
The industrial replay leads to the same conclusion, but the key pattern is a systematic misalignment between popularity and productivity\. In the industrial library, the most common method family is not the family whose individual directions contribute the strongest returns\. However, reward\-only RL continues to push probability mass toward the most common and easiest\-to\-repeat family, rather than the families that contribute the largest long\-horizon payoff\.
This pattern is clear in the industrial replay \(Figure[10](https://arxiv.org/html/2611.33183#A8.F10)\)\. Loss design is the most frequent family in the historical library, and GRPO further increases its allocation to that family after RL\. But the highest\-payoff directions are concentrated more heavily in colder families such as optimization and training infrastructure\. In other words, GRPO learns that repeatedly betting on the popular family is the easiest way to maintain high reward, not that this family contains the best directions\. SPOD acts exactly on this failure mode: it weakens the one\-sided concentration toward the head family and reallocates more mass toward optimization and training\-infra, which leads to substantially higher cumulative reward over time\.
Figure 10:Popularity–productivity misalignment on the industrial library\. Left: family popularity \(share of historical library\) versus productivity \(mean realized gain\); the most frequent family is not the most productive one\. Right: the family allocation GRPO learns versus SPOD; marker area encodes GRPO’s probability mass on that family and the largest\-mass families are annotated, and markers above the dashed diagonal are up\-weighted by SPOD relative to GRPO\. SPOD shifts mass from the popular head family toward the higher\-yield optimization and training\-infra families\.The industrial results are fully consistent with this mechanism\. SPOD outperforms GRPO under short\-horizon, long\-horizon, and cross\-task settings, and comes much closer to the oracle upper bound in the long\-horizon setting\. This gain is not driven by a few isolated lucky samples\. It comes from a persistent difference in family allocation: GRPO obtains too much of its cumulative reward from the head family, while SPOD recovers substantially more useful directions from optimization and training\-infra, yielding both higher average reward per round and higher final cumulative reward \(Figure[11](https://arxiv.org/html/2611.33183#A8.F11)\)\.
Figure 11:Cumulative reward over the horizon on the industrial replay\. SPOD stays above GRPO throughout the horizon\. This advantage is consistent with a more balanced allocation across method families in the replay\.The cross\-task result supports the same explanation\. After the task pool switches, both methods encounter new high\-payoff directions, but SPOD retains its advantage because its higher allocation to optimization and training\-infra continues to transfer to the new task \(Figure[12](https://arxiv.org/html/2611.33183#A8.F12)\)\. Its gain therefore does not depend on any one fixed family, but on a healthier long\-horizon allocation policy\.
Figure 12:Cross\-task replay on the industrial dataset\. After the task pool switches, SPOD remains ahead and continues to accumulate reward from a broader mix of method families\. By contrast, GRPO remains heavily concentrated on the loss family, and most of its post\-switch gains still come from loss, with little contribution from other families\.
## Appendix ICase Studies: Why the Multi\-Round Gap Emerges
This section uses four representative examples to explain why the multi\-round gap above arises\. Across all four cases, the same mechanism appears: after RL, GRPO, STEER, and DAPO increasingly revolve around the head family C4 \(attention\), because repeatedly emitting that family is the easiest way to align with the current reward\-model preference or dataset prior\. In the short term, this can preserve or even inflate hit\-based scores\. In the long term, it systematically removes non\-head but genuinely high\-yield families from the candidate set\. SPOD does not help by enforcing a uniform distribution\. It helps by suppressing this head\-family bias, so that useful non\-head families remain available before multi\-round iteration even begins\.
### I\.1Case 1: All Three RL Baselines Collapse to the Same Family
This example is the cleanest illustration of semantic collapse after RL\. The prompt comes from track 2 under the cross\-track slice, at a relatively early state \(27\.727\.7minutes,n\_history=3n\\\_history=3\)\. The ground\-truth accepted direction is a C2 optimizer change: extending the learning\-rate cooldown phase, with a gain of1\.8051\.805minutes and a strong\-tier label\.
The key observation is that SFT does*not*hit the ground truth, but it still retains multiple families\. After RL, however, all three RL baselines collapse completely to the head family C4\. GRPO, STEER, and DAPO each produce 8/8 C4 candidates\. At that point, the problem is no longer only ranking error: the correct family has disappeared from the candidate set entirely\. Under the same RL setting, SPOD still preserves four families and includes a C2 candidate \(Table[10](https://arxiv.org/html/2611.33183#A9.T10)\)\. Its top\-ranked candidate is still wrong, but the correct family remains alive in the pool\.
Table 10:Case 1: the correct family disappears after RL\. The ground truth is a C2 optimizer change, but all three RL baselines collapse to 8/8 C4 candidates\.ArmFamily distribution over 8 candidatesHit@1SPOD \(β=1\.0\\beta\{=\}1\.0\)C1×\\times3 / C2×\\times1 / C3×\\times2 / C4×\\times2missGRPOC4×\\times8missSTEERC4×\\times8missDAPOC4×\\times8missSFTC1×\\times4 / C3×\\times2 / C4×\\times2missThis case directly explains the long\-horizon gap in the replay\. A collapsed policy does not merely rank the wrong candidate first; it removes the correct family before ranking even starts\. Once this happens repeatedly across prompts, non\-head families such as C2 contribute less and less over time\. SPOD’s first gain is therefore not simply better top\-1 ranking, but preventing RL from collapsing the candidate space so aggressively that the correct family disappears\.
### I\.2Case 2: The Baselines Keep Betting on Attention While SPOD Preserves the Optimizer Direction
The second example shows that the same failure mode is not an isolated extreme case, but a stable search bias\. This prompt also comes from track 2 under the cross\-track slice \(23\.423\.4minutes,n\_history=8n\\\_history=8\)\. The ground\-truth accepted direction is again in C2: the Snoo optimizer, with gain0\.7250\.725\.
SPOD produces a mixed candidate set and hits the ground truth at top\-1, whereas GRPO, STEER, DAPO, and SFT all allocate five of their eight candidates to C4 and miss \(Table[11](https://arxiv.org/html/2611.33183#A9.T11)\)\. More importantly, this is not a matter of guessing the exact method name by chance\. The top SPOD candidate stays within the optimizer / learning\-rate family, while the baselines’ top candidates continue to revolve around attention windows, attention skip connections, and qkv\-related changes\.
Table 11:Case 2: SPOD preserves the optimizer family, while the baselines continue to bet on attention\.ArmFamily distributionHit@1First line of top\-scored candidateSPOD \(β=1\.0\\beta\{=\}1\.0\)C1×\\times2 / C2×\\times1 / C3×\\times4 / C4×\\times1✓\[C2\] Faster step, reduced lr decay duration, reduced learning rate value range, improved parameter freeze & warmstart logicGRPOC3×\\times1 / C4×\\times5 / C5×\\times2miss\[C4\] Attention window update, 1024x residual connection, no gate layer, 1024x qkv layer \.\.\.STEERC3×\\times1 / C4×\\times5 / C5×\\times2miss\[C3\] Unwrapped Attention warmup with 15 min cooldown, skip connection no\-warmup \.\.\.DAPOC4×\\times5 / C5×\\times3miss\[C4\] Attention window warmup, no attention skip connection for long sequences \.\.\.SFTC3×\\times1 / C4×\\times5 / C5×\\times2miss\[C4\] Batched DGL attentionThe interpretation is straightforward\. These baselines have learned that staying near attention is the easiest way to keep reward high, even when the genuinely useful direction lies in the optimizer family\. SPOD interrupts this bias\. Its advantage is not that it forces an artificial uniform distribution, but that it keeps the optimizer family from disappearing under RL pressure\.
### I\.3Case 3: Betting on the Head Family Can Artificially Inflate Hit\-Based Scores
The third example shows why hit\-based metrics alone can overestimate collapsed policies\. This prompt comes from track 1 under a late\-stage slice \(1\.31\.3minutes,n\_history=8n\\\_history=8\)\. The ground\-truth accepted change contains both C1 and C4: an algebraic rewrite of XSA that preserves the same computation while improving execution speed\.
Because the ground truth itself contains the head family C4, methods that collapse entirely to C4 can still score perfectly on hit\-based metrics\. In this example, GRPO, STEER, and DAPO all generate 8/8 C4 candidates and all achieve Hit@1; SFT and SPOD also hit \(Table[12](https://arxiv.org/html/2611.33183#A9.T12)\)\. The key point is not which method wins this example, but why the collapsed baselines can look strong at all: if the head family is common enough, repeatedly emitting it can directly raise Hit@1 and Hit@8, even when the candidate set has already degenerated semantically\.
Table 12:Case 3: a collapsed policy can score well simply by betting on the head family\.ArmFamily distribution over 8 candidatesHit@1SPOD \(β=1\.0\\beta\{=\}1\.0\)C1×\\times4 / C3×\\times1 / C4×\\times3✓GRPOC4×\\times8✓STEERC4×\\times8✓DAPOC4×\\times8✓SFTC1×\\times1 / C3×\\times1 / C4×\\times5 / C5×\\times1✓This is exactly the kind of behavior that can mask collapse if one only reports hit\-based scores\. The baselines are not demonstrating healthier search; they are benefiting from a strategy that keeps emitting the head family because that family is common and reward\-friendly\. This case is therefore direct evidence for why the main paper reports distributional alignment, coverage, and method\-diversity metrics in addition to Hit@k\.
### I\.4Case 4: Even a Basic High\-Gain Optimizer Change Is Missed by the Collapsed Baselines
The fourth example shows how damaging this bias can become in practice\. This prompt comes from track 2 under the cross\-track slice at an almost initial state \(29\.329\.3minutes,n\_history=1n\\\_history=1\)\. The ground\-truth accepted direction is a basic optimizer change in C2: adding standard weight decay, with gain4\.0964\.096minutes, one of the largest gains in the batch and labeled strong\-tier\.
Such a basic, high\-gain optimizer direction should be easy to recover\. Yet the RL baselines systematically miss it\. GRPO, STEER, and DAPO each allocate five of eight candidates to C4 and generate no C2 candidate at all\. SFT still preserves one C2 candidate but does not rank it first\. Only SPOD both retains C2 and hits the ground truth at top\-1 \(Table[13](https://arxiv.org/html/2611.33183#A9.T13)\)\.
Table 13:Case 4: even a basic high\-gain optimizer change is systematically missed by the collapsed baselines\.ArmFamily distributionHit@1First line of top\-scored candidateSPOD \(β=1\.0\\beta\{=\}1\.0\)C1×\\times2 / C2×\\times1 / C3×\\times3 / C4×\\times2✓\[C2\] Single step SGD, increased step size and mini\-batch size, decreased warmup steps \.\.\.GRPOC1×\\times1 / C3×\\times2 / C4×\\times5miss\[C4\] Faster update attention weights, use long sequence embeddings, shorter training steps \.\.\.STEERC1×\\times1 / C3×\\times2 / C4×\\times5miss\[C3\] Increase learning rate of RoPE layers by 10x and lower number of k\-args for RoPEDAPOC1×\\times1 / C3×\\times2 / C4×\\times5miss\[C4\] Single step attentionSFTC1×\\times1 / C2×\\times1 / C3×\\times2 / C4×\\times4miss\[C3\] Merged batched attention with gradient attentionThis example is especially revealing because the prompt contains only one history item\. The baselines therefore cannot plausibly be explained away as following a long, misleading attention\-heavy context\. Instead, they exhibit a learned default bias: once RL has reshaped the policy, generating attention\-related candidates becomes the easiest general\-purpose strategy, even when the prompt calls for a basic optimizer change\. This is precisely why such methods underperform in the multi\-round setting\. If even an early, high\-gain optimizer direction fails to survive candidate generation, repeated iteration will keep circling around the same head family and lose long\-horizon reward\.
### I\.5Connection to the Multi\-Round Results
Together, these four cases explain the multi\-round results in the previous section\. In the replay, GRPO\-like methods can obtain some early reward from the head family, but once the high\-yield directions in that family are consumed, they continue allocating mass back to the same family, effectively spending later rounds on homogeneous repetition\. The single\-prompt cases show the same mechanism in local form: the baselines do not merely rank slightly worse, but compress the candidate space into C4 so early that non\-head yet high\-yield families such as C2 often disappear altogether\.
SPOD improves long\-horizon performance because it changes this behavior at the source\. It prevents RL from turning candidate generation into repeated head\-family hacking, preserves the presence of useful non\-head families in the pool, and therefore makes it possible for those families to keep contributing reward over repeated iteration\.
## Appendix JThree\-Layer Training Dynamics of Diversity
This appendix asks a direct question\. When reinforcement learning reduces the diversity of a policy, at which level does the loss actually happen? To answer it, we attach a lightweight diversity probe to the reward pipeline and record diversity throughout training\. The probe only reads each generation batch\. It does not touch the reward, the advantage, or the sampling state, so training itself is left unchanged\. We separate diversity into three layers\.
- •Token layer\.Token\-level entropy of the policy output distribution\.
- •Surface layer\.Lexical variation of the text, measured on the clean evaluation set by word\-level Distinct\-2, the TF\-IDF Vendi score, and mean pairwise cosine distance \(higher is more diverse\); the training monitor additionally tracks Self\-BLEU \(lower is more diverse\)\.
- •Method layer\.Variation of the idea that a response proposes\. Every response is mapped to one of five idea categories \(Sys/Kernel, Optimizer, Architecture, Attention, Loss\)\. On these categories we track the category entropy, the top\-1 category share, and the number of categories covered\.
All seven methods use the same five\-category scheme, so the method\-layer axis is comparable across methods\. Each run is monitored over 50 optimization steps\.
#### The three layers behave very differently\.
Figure[13](https://arxiv.org/html/2611.33183#A10.F13)plots the six signals over training\. At the token layer, every method falls by 8 to 22 percent, with GRPO decreasing the least at 8\.4 percent\. This is ordinary entropy convergence and shows no diversity\-relevant separation between methods\. At the surface layer the methods narrow only mildly\. SPOD keeps the most lexical variation, with Distinct\-2 dropping about 2 percent against 3 to 8 percent for the baselines, and Self\-BLEU stays low for all methods\. The method layer is the watershed\. SPOD is the only method whose category entropy stays flat and even rises, whose top\-1 share stays the lowest, and whose category coverage stays the highest\. Every baseline moves the other way\. Category entropy falls, one category swells, and coverage shrinks\.
Figure 13:Six diversity signals over 50 training steps, grouped by layer\. SPOD is the solid red curve and GRPO is the dashed black curve\. Curves use a centered width\-5 moving average\. The token layer \(top left\) and the surface layer \(top middle and top right\) show little separation between methods\. The method layer \(bottom row\) is where the methods split apart, and only SPOD stays diverse\.
#### The collapse is a drift toward one idea\.
Figure[14](https://arxiv.org/html/2611.33183#A10.F14)shows the idea\-category mix as a stacked share over training\. For every baseline one band grows steadily wider, most visibly the Attention category, while the other ideas fade\. STEER and CISPO show the sharpest concentration\. SPOD behaves in the opposite way\. Its dominant band shrinks and probability mass flows into the under\-used categories, so the mix becomes more balanced as training proceeds\.
Figure 14:Stacked idea\-category share over training\. A single band that keeps widening indicates collapse onto one idea\. SPOD \(top left\) is the only method whose distribution stays balanced and in fact spreads toward the smaller categories\.
#### Quantitative summary\.
Table[14](https://arxiv.org/html/2611.33183#A10.T14)reports the method\-layer change on the clean evaluation set relative to the SFT baseline\. SPOD is the only method that moves in the diverse direction on all three signals\. Table[15](https://arxiv.org/html/2611.33183#A10.T15)reports the token and surface layers\.
Table 14:Method\-layer change on the clean evaluation set relative to the SFT baseline\. Arrows give the diverse direction\. SPOD is the only method that improves on all three signals\.MethodCategory entropy↑\\uparrowTop\-1 share↓\\downarrow\#Categories↑\\uparrowSPOD \(β=1\.0\\beta\{=\}1\.0\)\+6\.4%\\mathbf\{\+6\.4\\%\}−9\.1%\\mathbf\{\-9\.1\\%\}\+2\.9%\\mathbf\{\+2\.9\\%\}GRPO−24\.3%\-24\.3\\%\+29\.1%\+29\.1\\%−18\.4%\-18\.4\\%DAPO−22\.4%\-22\.4\\%\+27\.3%\+27\.3\\%−16\.5%\-16\.5\\%STEER−21\.1%\-21\.1\\%\+26\.4%\+26\.4\\%−15\.5%\-15\.5\\%Ent\. Reg\.−26\.6%\-26\.6\\%\+34\.5%\+34\.5\\%−18\.4%\-18\.4\\%Entro\. Adv\.−9\.4%\-9\.4\\%\+11\.8%\+11\.8\\%−6\.8%\-6\.8\\%CISPO−28\.6%\-28\.6\\%\+33\.6%\+33\.6\\%−21\.4%\-21\.4\\%Table 15:Token\- and surface\-layer change\. Token entropy is each arm’s training\-log endpoint change; the surface metrics are clean\-eval changes relative to SFT\. SPOD narrows the least at the surface layer\.MethodToken entropyDistinct\-2 \(word\)Vendi \(TF\-IDF\)PairwiseSPOD \(β=1\.0\\beta\{=\}1\.0\)−19\.1%\-19\.1\\%−2\.0%\\mathbf\{\-2\.0\\%\}−1\.8%\\mathbf\{\-1\.8\\%\}−3\.9%\\mathbf\{\-3\.9\\%\}GRPO−8\.4%\-8\.4\\%−3\.5%\-3\.5\\%−2\.3%\-2\.3\\%−4\.6%\-4\.6\\%DAPO−18\.0%\-18\.0\\%−4\.7%\-4\.7\\%−4\.8%\-4\.8\\%−6\.7%\-6\.7\\%STEER−17\.7%\-17\.7\\%−3\.6%\-3\.6\\%−2\.7%\-2\.7\\%−4\.6%\-4\.6\\%Ent\. Reg\.−15\.3%\-15\.3\\%−5\.6%\-5\.6\\%−3\.8%\-3\.8\\%−5\.7%\-5\.7\\%Entro\. Adv\.−15\.3%\-15\.3\\%−2\.9%\-2\.9\\%−1\.8%\\mathbf\{\-1\.8\\%\}−4\.0%\-4\.0\\%CISPO−21\.9%\-21\.9\\%−7\.5%\-7\.5\\%−5\.7%\-5\.7\\%−7\.7%\-7\.7\\%
#### Takeaway\.
Diversity collapse under reinforcement learning is not mainly a token or surface effect: at the token layer all methods converge similarly, and at the surface layer they narrow only slightly\. The loss is concentrated at the method layer, where a policy keeps writing lexically varied text while quietly narrowing to a single kind of idea\. Among the seven methods studied, only SPOD resists this method\-layer collapse, and the probe shows it doing so during training rather than only at the final checkpoint\.
## Appendix KRobustness to Method\-Category Annotation
SPOD uses method\-category labels to correct category\-level reward bias, so a natural question is how sensitive it is to the quality of those labels\. This question matters especially in the industrial setting, where no ground\-truth taxonomy is available and the category signal must be inferred automatically\. In this appendix, we test that sensitivity from four angles: weaker category extractors \(Section[K\.1](https://arxiv.org/html/2611.33183#A11.SS1)\), noisy labels with full SPOD re\-runs \(Section[K\.2](https://arxiv.org/html/2611.33183#A11.SS2)\), vocabulary granularity \(Section[K\.3](https://arxiv.org/html/2611.33183#A11.SS3)\), and perturbations of theϕ\\phitable \(Section[K\.4](https://arxiv.org/html/2611.33183#A11.SS4)\)\. Across all four tests, the same conclusion emerges\. SPOD does not require a precise or fragile taxonomy\. It only needs a category partition that is coarse but still informative\.
### K\.1Q1: Weaker category extractors
We first test whether SPOD still helps when the category signal is replaced by a much weaker one\. This is important because, in practice, method categories may be extracted imperfectly rather than provided as clean labels\. To stress\-test this dependence, we construct two substantially weaker method\-category extractors and use them in place of the category assignment used in the main experiments: \(i\)XcentX\_\{\\text\{cent\}\}, a TF–IDF nearest\-centroid classifier, and \(ii\)XkwX\_\{\\text\{kw\}\}, a keyword\-scoring rule\-based extractor\.
We then re\-evaluate the same held\-out outputs using category assignments produced by each weaker extractor\. Because different extractors change the measurement scale, the absolute metric values are not the main point of comparison\. The key question is whether SPOD still improves over GRPO in the same direction as in the main results\. Table[16](https://arxiv.org/html/2611.33183#A11.T16)shows that it does\. For every metric that still provides a meaningful comparison, the direction of the SPOD\-over\-GRPO improvement is unchanged\. The only exception is All\-8\-same\-category, which becomes0\.0000\.000for both methods under both weak extractors and therefore no longer distinguishes between them\.
Table 16:Held\-out metrics recomputed after replacing the category field with a weaker extractor\. Entries areΔ=SPOD−GRPO\\Delta=\\text\{SPOD\}\-\\text\{GRPO\}\. “Sign” counts how many of the two weaker extractors preserve the direction of the main result\.MetricDir\.Main exp\. fieldXcentX\_\{\\text\{cent\}\}XkwX\_\{\\text\{kw\}\}Sign*Quality*Hit@1↑\\uparrow\+0\.218\+0\.218\+0\.130\+0\.130\+0\.130\+0\.1302/2Hit@8↑\\uparrow\+0\.217\+0\.217\+0\.087\+0\.087\+0\.130\+0\.1302/2Gold\-category coverage↑\\uparrow\+0\.305\+0\.305\+0\.087\+0\.087\+0\.207\+0\.2072/2TV to library prior↓\\downarrow−0\.375\-0\.375−0\.139\-0\.139−0\.070\-0\.0702/2*Diversity*distinct ideas↑\\uparrow\+0\.786\+0\.786\+0\.464\+0\.464\+0\.250\+0\.2502/2Top\-1 category share↓\\downarrow−0\.286\-0\.286−0\.170\-0\.170−0\.118\-0\.1182/2Mean max same\-category↓\\downarrow−1\.500\-1\.500−0\.679\-0\.679−0\.714\-0\.7142/2All\-8\-same\-category↓\\downarrow−0\.071\-0\.0710\.000\\ \\ 0\.0000\.000\\ \\ 0\.000n/aTotal informative directions preserved14/14These results show that the main GRPO\-to\-SPOD improvement does not depend on a high\-precision category extractor\. Even after replacing the category signal with much weaker alternatives, the quality and diversity gains remain in the same direction\.
### K\.2Q2: Does SPOD remain useful when the method labels are noisy?
SPOD relies on method\-category labels to apply category\-aware reward correction\. A natural concern, therefore, is whether this dependence makes it brittle: if the labels are imperfect, does SPOD fail quickly, or does it degrade gradually as the category signal becomes noisier?
To test this, we deliberately corrupt the method labels and then re\-run SPOD using the corrupted annotations\. Concretely, for each example, we keep the original label with probability1−ε1\-\\varepsilon, and with probabilityε\\varepsilonwe replace it with a different category label\. This lets us control how much category information remains available to SPOD\.
#### What should happen under random label noise?
SPOD’s correction is category\-dependent\. If the labels are corrupted at random, the correction should not disappear all at once; instead, it should be progressively diluted because the category signal becomes less reliable\. Under the simple noise model above, the expected correction for categoryccbecomes
ϕeff\(c\)=\(1−KK−1ε\)ϕ\(c\),\\phi\_\{\\mathrm\{eff\}\}\(c\)=\\left\(1\-\\frac\{K\}\{K\-1\}\\varepsilon\\right\)\\phi\(c\),whereKKis the number of categories\. In other words, random label noise mainly scales down the original correction signal\.
The correction vanishes when
ε⋆=K−1K\.\\varepsilon^\{\\star\}=\\frac\{K\-1\}\{K\}\.In our main setting,K=5K=5, soε⋆=0\.8\\varepsilon^\{\\star\}=0\.8\. This gives a clear prediction: asε\\varepsilonincreases, SPOD should gradually move back toward the GRPO baseline\. It should not collapse as soon as a modest amount of label noise is introduced\.
Table[17](https://arxiv.org/html/2611.33183#A11.T17)\(a\) shows exactly this pattern\. As the labels become noisier, SPOD weakens smoothly rather than failing abruptly\. Acrossε∈\[0,0\.6\]\\varepsilon\\in\[0,0\.6\], it remains better than GRPO on all eight metrics\. Atε⋆=0\.8\\varepsilon^\{\\star\}=0\.8, where the expected correction is zero, the results return to nearly the GRPO level\. Overall, these results suggest that noisy labels mainly reduce the strength of SPOD’s correction, rather than turning it into a harmful signal\.
Table 17:Robustness of SPOD to noisy method labels and to category granularity, compared with a common GRPO reference row\. Panel \(a\) corrupts the method labels and re\-runs SPOD\. ItsScalecolumn reports how much of the original correction signal is expected to remain under that noise level\. Panel \(b\) changes the number of method categoriesKK\. There,Scalereports the relative strength of the resulting correction signal, normalized so that the main\-text setting \(K=5K=5\) equals100%100\\%\.QualityDiversitySettingScaleHit@1↑\\uparrowHit@8↑\\uparrowCov\.↑\\uparrowTVlib↓\{\}\_\{\\text\{lib\}\}\\downarrow\#Ideas↑\\uparrowTop\-1↓\\downarrowMaxSame↓\\downarrowAllSame↓\\downarrowGRPO—0\.2170\.6960\.5650\.4983\.0000\.6215\.0710\.071*\(a\) Noisy method categories; scale=ϕeff=\\phi\_\{\\text\{eff\}\}*ε=0\.0\\varepsilon=0\.01\.0000\.4350\.9130\.8700\.1233\.7860\.3353\.5710\.000ε=0\.1\\varepsilon=0\.10\.8750\.4350\.9130\.8260\.1463\.6790\.3753\.6070\.000ε=0\.2\\varepsilon=0\.20\.7500\.4350\.8700\.7830\.1553\.7140\.3533\.5000\.000ε=0\.3\\varepsilon=0\.30\.6250\.4350\.9130\.8700\.2133\.5710\.3573\.8570\.000ε=0\.4\\varepsilon=0\.40\.5000\.3910\.8700\.7830\.2353\.6430\.3623\.6070\.000ε=0\.5\\varepsilon=0\.50\.3750\.3040\.8260\.7830\.3473\.3930\.4604\.1430\.036ε=0\.6\\varepsilon=0\.60\.2500\.2610\.7830\.6520\.4043\.1430\.5184\.7140\.036ε⋆=0\.8\\varepsilon^\{\\star\}=0\.80\.0000\.2610\.6960\.5650\.4893\.0360\.6075\.0360\.071ε=1\.0\\varepsilon=1\.0\-0\.2500\.1300\.5220\.4350\.7182\.3930\.8626\.1430\.143*\(b\) Vocabulary granularity; row label=K=K*10%0\.2610\.6960\.5650\.4893\.0000\.6165\.0000\.071297%0\.4350\.8700\.8700\.1433\.7500\.3843\.7860\.0003108%0\.3910\.9130\.8700\.1593\.6790\.3753\.6790\.0005100%0\.4350\.9130\.8700\.1233\.7860\.3353\.5710\.000888%0\.3910\.9130\.8260\.2033\.5710\.3843\.7140\.0002041%0\.3910\.8260\.6960\.3633\.3570\.4514\.2860\.0364021%0\.2610\.7390\.6090\.4543\.1070\.5584\.7140\.0361845%0\.2170\.6960\.6090\.4922\.9640\.6295\.1070\.071
### K\.3Q3: Vocabulary granularity
We next test whether SPOD only works at one carefully chosen category granularity\. This matters because any practical taxonomy requires a design choice about how coarse or fine the category space should be\. If SPOD depended on a single special vocabulary size, its usefulness would be much more limited\.
The main text uses a five\-category vocabulary\. Table[17](https://arxiv.org/html/2611.33183#A11.T17)\(b\) shows that changing the number of categories mainly weakens SPOD toward GRPO rather than below it\. At the coarsest extreme,K=1K=1, no category structure remains and SPOD moves back to the GRPO regime\. At the finest extreme considered here,K=184K=184, the category space becomes so fine that the correction signal is spread too thinly, and the results again move back toward GRPO\. The five\-category setting used in the main text therefore does not behave like a fragile special case\. It lies inside a fairly broad effective range, and nearby coarsening or refinement leaves the qualitative conclusion unchanged\.
### K\.4Q4: Sensitivity to theϕ\\phitable
Finally, we test whether SPOD depends on a finely calibrated correction tableϕ\\phi\. Here, theϕ\\phitable is the lookup table that assigns each category its correction score in the reward debiasing step\. Even if the category assignments themselves are reasonable, the method could still be fragile if it required very precise numerical values for these scores\.
Table[18](https://arxiv.org/html/2611.33183#A11.T18)compares several informative variants ofϕ\\phi, including two independently calibrated tables, a sign\-only version, and a sparse one\-category version, against two controls: a constantϕ\\phiand a random permutation\. The goal is to see whether SPOD needs one very specific calibration, or whether it works as long as the table preserves the broad structure of category\-level bias\.
Table 18:Results under differentϕ\\phitables\. The first four rows are informative variants, and the last two are controls\. Random permutation is averaged over 30 draws\.QualityDiversityϕ\\phitableHit@1↑\\uparrowHit@8↑\\uparrowCov\.↑\\uparrowTVlib↓\{\}\_\{\\text\{lib\}\}\\downarrow\#Ideas↑\\uparrowTop\-1↓\\downarrowMaxSame↓\\downarrowAllSame↓\\downarrowGRPO \(no correction\)0\.2170\.6960\.5650\.4983\.0000\.6215\.0710\.071Calibrated \(main text\)0\.4350\.9130\.8700\.1233\.7860\.3353\.5710\.000Earlier calibration0\.3910\.8700\.7830\.2383\.6430\.4333\.9640\.000sign\(ϕ\)\\mathrm\{sign\}\(\\phi\)only0\.4350\.9130\.7830\.2413\.7140\.4243\.8210\.000C4only \(ϕ=1\\phi=1, else00\)0\.2610\.8260\.7390\.3963\.2860\.4964\.5360\.036*Control:*ϕ≡1\\phi\\equiv 10\.2170\.8260\.6960\.4313\.3570\.5584\.6070\.036*Control:*random perm\.0\.2170\.6960\.6090\.5123\.0360\.6494\.9640\.071Table[18](https://arxiv.org/html/2611.33183#A11.T18)leads to a clear conclusion\. SPOD does not depend on a highly specific calibration of theϕ\\phitable\. As long as the table preserves meaningful category\-level structure, performance stays within a similar range\. Once that structure is removed, as in the constant and permuted controls, the gains largely disappear\. This shows that SPOD relies on the coarse pattern of category\-level bias rather than on finely tuned numerical values\.
Across Tables[16](https://arxiv.org/html/2611.33183#A11.T16)–[18](https://arxiv.org/html/2611.33183#A11.T18), the overall conclusion is consistent\. SPOD does not require a precise or brittle taxonomy\. Its gains persist under weaker category extractors, noisy method labels, changes in vocabulary granularity, and substantial perturbations of theϕ\\phitable\. As the category signal becomes less informative, SPOD degrades smoothly toward GRPO rather than failing abruptly or dropping below it\.
## Appendix LMulti\-Seed Results and Statistical Tests
We repeat the overall public\-benchmark evaluation for all seven post\-training methods across five random seeds\{42,211,985,43,44\}\\\{42,211,985,43,44\\\}\. Every run uses the same SFT initialization, reward model, training prompts, and 28\-task test set, and differs only in the RL objective or the diversity\-preserving mechanism\. Each task has eight generated candidates\. Hit@1, Hit@8, and Coverage use the 23 tasks that carry a ground\-truth method label, while the four diversity metrics use all 28 tasks\. TV measures the deviation from the reference library category distribution\. Arrows in the headers give the preferred direction, and bold marks the best method for each metric\. Metric abbreviations follow Table[9](https://arxiv.org/html/2611.33183#A7.T9)\.
The five per\-seed tables below list the raw scores\. On every seed SPOD attains the best value on seven of the eight metrics, including all four diversity metrics together with TV, Coverage, and Hit@8, and on three of the five seeds it is best on all eight\.
Seed 42 MethodHit@1↑\\uparrowHit@8↑\\uparrowCov\.↑\\uparrowTV↓\\downarrowDist\.↑\\uparrowTopFam↓\\downarrowMaxInFam↓\\downarrowColl\.↓\\downarrowSPOD \(β=1\.0\\beta\{=\}1\.0\)0\.4350\.9130\.8700\.1233\.7860\.3353\.5710\.000GRPO0\.2170\.6960\.5650\.4983\.0000\.6215\.0710\.071DAPO0\.3040\.7390\.6410\.4983\.0710\.6125\.0000\.071STEER0\.2170\.7390\.6410\.4753\.1070\.6034\.9640\.071Ent\. Reg\.0\.2170\.7830\.6520\.5243\.0000\.6435\.2860\.071Entro\. Adv\.0\.2610\.8260\.7070\.3953\.4290\.5224\.3930\.036CISPO0\.2170\.6960\.5650\.5152\.8930\.6435\.2500\.071
Seed 211 MethodHit@1↑\\uparrowHit@8↑\\uparrowCov\.↑\\uparrowTV↓\\downarrowDist\.↑\\uparrowTopFam↓\\downarrowMaxInFam↓\\downarrowColl\.↓\\downarrowSPOD \(β=1\.0\\beta\{=\}1\.0\)0\.4780\.7830\.7280\.1813\.6790\.3353\.5710\.000GRPO0\.2610\.6960\.5650\.4843\.0360\.6125\.0000\.071DAPO0\.2610\.7390\.6090\.4403\.1070\.5674\.7860\.036STEER0\.3910\.7830\.6740\.3503\.3210\.4784\.1070\.000Ent\. Reg\.0\.3040\.6520\.5220\.5692\.7500\.6925\.6070\.071Entro\. Adv\.0\.3910\.7830\.6630\.4173\.3210\.5454\.5710\.036CISPO0\.2610\.6960\.5650\.5422\.9290\.6615\.3930\.071
Seed 985 MethodHit@1↑\\uparrowHit@8↑\\uparrowCov\.↑\\uparrowTV↓\\downarrowDist\.↑\\uparrowTopFam↓\\downarrowMaxInFam↓\\downarrowColl\.↓\\downarrowSPOD \(β=1\.0\\beta\{=\}1\.0\)0\.3480\.8700\.8260\.1143\.7500\.3573\.6790\.000GRPO0\.4350\.7390\.6090\.4803\.0360\.5984\.9290\.071DAPO0\.3040\.6960\.5870\.4843\.0360\.6125\.0360\.071STEER0\.3040\.7390\.6300\.5383\.0000\.6565\.3570\.071Ent\. Reg\.0\.1740\.7390\.6200\.5243\.1070\.6385\.2140\.071Entro\. Adv\.0\.3480\.8260\.7070\.3903\.3930\.5184\.4290\.000CISPO0\.2170\.7830\.6630\.4803\.0710\.6074\.9640\.071
Seed 43 MethodHit@1↑\\uparrowHit@8↑\\uparrowCov\.↑\\uparrowTV↓\\downarrowDist\.↑\\uparrowTopFam↓\\downarrowMaxInFam↓\\downarrowColl\.↓\\downarrowSPOD \(β=1\.0\\beta\{=\}1\.0\)0\.3040\.8700\.8150\.1183\.7860\.3713\.7500\.000GRPO0\.3480\.7390\.6090\.4443\.1430\.5714\.7500\.036DAPO0\.2170\.7830\.6520\.4713\.1790\.5894\.8930\.071STEER0\.2610\.6960\.5650\.5242\.9640\.6345\.1790\.071Ent\. Reg\.0\.3040\.7830\.6850\.4753\.1070\.6034\.9640\.071Entro\. Adv\.0\.3480\.7390\.6090\.4533\.1070\.5804\.8210\.071CISPO0\.3040\.7390\.6300\.5153\.0000\.6435\.2500\.071
Seed 44 MethodHit@1↑\\uparrowHit@8↑\\uparrowCov\.↑\\uparrowTV↓\\downarrowDist\.↑\\uparrowTopFam↓\\downarrowMaxInFam↓\\downarrowColl\.↓\\downarrowSPOD \(β=1\.0\\beta\{=\}1\.0\)0\.4350\.9130\.8700\.1093\.7860\.3793\.7500\.000GRPO0\.2170\.7390\.6090\.5113\.0360\.6385\.2140\.071DAPO0\.3480\.6960\.5870\.5063\.0000\.6345\.1790\.071STEER0\.2610\.6960\.5540\.5742\.8210\.6885\.5000\.071Ent\. Reg\.0\.2170\.7390\.6300\.4713\.1790\.5804\.8570\.036Entro\. Adv\.0\.2610\.8260\.6960\.4133\.3210\.5404\.5360\.036CISPO0\.2610\.7830\.6630\.5073\.1790\.6215\.1070\.071
Table[19](https://arxiv.org/html/2611.33183#A12.T19)and Table[20](https://arxiv.org/html/2611.33183#A12.T20)average these runs and report the sample standard deviation \(ddof=1\\mathrm\{ddof\}=1\)\. SPOD ranks first by the mean on all eight metrics, and Entro\. Adv\. is the runner\-up on all eight\. The gap between the best and the second\-best mean is large for the alignment and diversity metrics, for example\+0\.146\+0\.146on Coverage,−0\.285\-0\.285on TV, and−0\.886\-0\.886on Max Within\-Family Count\.
Table 19:Public\-benchmark quality and alignment: mean±\\pmsample standard deviation over five seeds\. Bold marks the best method\.MethodHit@1↑\\uparrowHit@8↑\\uparrowCov\.↑\\uparrowTV↓\\downarrowSPOD \(β=1\.0\\beta\{=\}1\.0\)0\.400±0\.071\\mathbf\{0\.400\}\\pm 0\.0710\.870±0\.053\\mathbf\{0\.870\}\\pm 0\.0530\.822±0\.058\\mathbf\{0\.822\}\\pm 0\.0580\.129±0\.029\\mathbf\{0\.129\}\\pm 0\.029GRPO0\.296±0\.0940\.296\\pm 0\.0940\.722±0\.0240\.722\\pm 0\.0240\.591±0\.0240\.591\\pm 0\.0240\.483±0\.0250\.483\\pm 0\.025DAPO0\.287±0\.0500\.287\\pm 0\.0500\.730±0\.0360\.730\\pm 0\.0360\.615±0\.0300\.615\\pm 0\.0300\.480±0\.0260\.480\\pm 0\.026STEER0\.287±0\.0660\.287\\pm 0\.0660\.730±0\.0360\.730\\pm 0\.0360\.613±0\.0510\.613\\pm 0\.0510\.492±0\.0870\.492\\pm 0\.087Ent\. Reg\.0\.243±0\.0580\.243\\pm 0\.0580\.739±0\.0530\.739\\pm 0\.0530\.622±0\.0610\.622\\pm 0\.0610\.513±0\.0410\.513\\pm 0\.041Entro\. Adv\.0\.322±0\.0580\.322\\pm 0\.0580\.800±0\.0390\.800\\pm 0\.0390\.676±0\.0420\.676\\pm 0\.0420\.414±0\.0250\.414\\pm 0\.025CISPO0\.252±0\.0360\.252\\pm 0\.0360\.739±0\.0430\.739\\pm 0\.0430\.617±0\.0490\.617\\pm 0\.0490\.512±0\.0220\.512\\pm 0\.022Table 20:Public\-benchmark diversity: mean±\\pmsample standard deviation over five seeds\. Metric abbreviations follow Table[9](https://arxiv.org/html/2611.33183#A7.T9)\. Bold marks the best method\.MethodDist\.↑\\uparrowTopFam↓\\downarrowMaxInFam↓\\downarrowColl\.↓\\downarrowSPOD \(β=1\.0\\beta\{=\}1\.0\)3\.757±0\.047\\mathbf\{3\.757\}\\pm 0\.0470\.355±0\.020\\mathbf\{0\.355\}\\pm 0\.0203\.664±0\.090\\mathbf\{3\.664\}\\pm 0\.0900\.000±0\.000\\mathbf\{0\.000\}\\pm 0\.000GRPO3\.050±0\.0543\.050\\pm 0\.0540\.608±0\.0250\.608\\pm 0\.0254\.993±0\.1724\.993\\pm 0\.1720\.064±0\.0160\.064\\pm 0\.016DAPO3\.079±0\.0693\.079\\pm 0\.0690\.603±0\.0250\.603\\pm 0\.0254\.979±0\.1494\.979\\pm 0\.1490\.064±0\.0160\.064\\pm 0\.016STEER3\.043±0\.1863\.043\\pm 0\.1860\.612±0\.0810\.612\\pm 0\.0815\.021±0\.5495\.021\\pm 0\.5490\.057±0\.0320\.057\\pm 0\.032Ent\. Reg\.3\.029±0\.1683\.029\\pm 0\.1680\.631±0\.0430\.631\\pm 0\.0435\.186±0\.2945\.186\\pm 0\.2940\.064±0\.0160\.064\\pm 0\.016Entro\. Adv\.3\.314±0\.1253\.314\\pm 0\.1250\.541±0\.0250\.541\\pm 0\.0254\.550±0\.1694\.550\\pm 0\.1690\.036±0\.0250\.036\\pm 0\.025CISPO3\.014±0\.1153\.014\\pm 0\.1150\.635±0\.0210\.635\\pm 0\.0215\.193±0\.1635\.193\\pm 0\.1630\.071±0\.0000\.071\\pm 0\.000We next test whether the advantage of SPOD over the runner\-up is statistically reliable\. The comparison uses two\-sided paired permutation tests between SPOD and Entro\. Adv\. The paired unit is a \(task, seed\) pair, which givesn=140n=140over the five seeds\. For each metric the statistic is the observed difference between the two methods, oriented so that a positive value favors SPOD\. Each ofB=20,000B=20\{,\}000permutations swaps the two methods within a matched unit and recomputes the statistic, with
p=1\+∑b=1B𝟏\{\|Δb∗\|≥\|Δobs\|\}B\+1\.p=\\frac\{1\+\\sum\_\{b=1\}^\{B\}\\mathbf\{1\}\\\{\|\\Delta\_\{b\}^\{\*\}\|\\geq\|\\Delta\_\{\\mathrm\{obs\}\}\|\\\}\}\{B\+1\}\.TV and Top\-Family Share are recomputed from pooled category counts rather than averaged over per\-task differences\. The test relies on exchangeability under the null and does not by itself model a population of independent training seeds\. Holm and Benjamini–Hochberg \(BH\) corrections are applied across the eight metrics\.
Table 21:SPOD versus Entro\. Adv\. on the public benchmark: two\-sided paired permutation tests with multiplicity\-adjusted values\. PositiveΔ\\Deltafavors SPOD\. A star marks adjustedp<0\.05p<0\.05\.MetricΔ\\DeltazzppHolmBHHit@1\+0\.0783\+0\.0783\+1\.53\+1\.53\.1750\.1750\.1750\.1750\.1750\.1750Hit@8\+0\.0696\+0\.0696\+2\.54\+2\.54\.0194\.0194\.0582\.0582\.0259∗\.0259^\{\*\}Cov\.\+0\.1457\+0\.1457\+4\.48\+4\.48<\.0001<\.0001\.0004∗\.0004^\{\*\}<\.0001∗<\.0001^\{\*\}TV\+0\.2846\+0\.2846\+9\.55\+9\.55<\.0001<\.0001\.0004∗\.0004^\{\*\}<\.0001∗<\.0001^\{\*\}Dist\.\+0\.4429\+0\.4429\+5\.33\+5\.33<\.0001<\.0001\.0004∗\.0004^\{\*\}<\.0001∗<\.0001^\{\*\}TopFam\+0\.1857\+0\.1857\+5\.96\+5\.96<\.0001<\.0001\.0004∗\.0004^\{\*\}<\.0001∗<\.0001^\{\*\}MaxInFam\+0\.8857\+0\.8857\+6\.35\+6\.35<\.0001<\.0001\.0004∗\.0004^\{\*\}<\.0001∗<\.0001^\{\*\}Coll\.\+0\.0357\+0\.0357\+2\.22\+2\.22\.0640\.0640\.1280\.1280\.0731\.0731Table[21](https://arxiv.org/html/2611.33183#A12.T21)collects the results\. Coverage, TV, Distinct Method Count, Top\-Family Share, and Max Within\-Family Count are all significant after Holm and BH correction, with raw permutationppbelow0\.0010\.001\. Hit@8 also clears the raw and BH criteria\. The observed difference is positive for SPOD on every metric\. The strongest corrected evidence therefore concerns distributional alignment and reduced category concentration, which are the properties SPOD is designed to improve\.
## Appendix MLimitations
SPOD relies on method\-category labels for category\-aware reward correction\. On benchmarks where such categories are available, they can be used directly; in new domains without an existing taxonomy, they must be obtained through semantic annotation\. Appendix[K](https://arxiv.org/html/2611.33183#A11)shows that SPOD degrades gracefully rather than collapsing when the category signal is weaker, labels are noisy, or vocabulary size changes\. Still, constructing and validating a useful taxonomy for a new repository domain requires some upfront effort\. This is mainly an engineering cost rather than a fundamental limitation, since the annotation pipeline can be built largely through automatic LLM extraction with only light human checking\.相似文章
IDEAgent:面向研究想法生成的智能质量多样性搜索
IDEAgent 引入了一个多智能体框架,将研究构思视为质量多样性搜索,通过谱系演化联合优化想法的质量和多样性,在新的联合指标上以3.89倍的优势超越基线。
SWE-Explore:编码代理仓库探索能力基准测试
SWE-Explore 引入了一个基准测试,用于评估编码代理的仓库探索能力,要求在行预算内返回相关代码区域的排序列表。实验表明,基于代理的探索优于传统检索,而行级覆盖仍然是关键区分因素。
@omarsar0:递归自我改进是当前AI领域最受讨论的理念之一。我特别感兴趣的是它如何应用……
该论文提出了DiscoveryRSI框架,通过多智能体进化搜索、研究回放和信用分配,将递归自我改进应用于科学假设生成,在四个生命科学领域中将假设质量从4.86提升至5.39,与训练截止日期之后发表的研究的吻合率达到6.3%。
SERPO:面向开放式测试时强化学习的自演化评分策略优化
SERPO 提出了一种自演化评分策略优化框架,用于开放式生成中的测试时强化学习,用闭环替代答案投票,该闭环协同进化响应证据、查询特定评分标准和策略参数,在健康和研究基准上取得了显著改进。
局部编辑,全局涟漪:基于回放的工作流合成策略适应
本文介绍了RIPPLE,这是一种用于工作流合成中持久化提示策略编辑的方法,它解决了编辑局部性和组合敏感性问题,在合成基准测试上将验证成功率提高了高达23.1%。