Skip to content

Ranking-Scored Trials Cut Wasted Retrainings in Self-Improving Recommenders

THE ARGUMENT

For recommender self-improvement, a short trial scored by full-ranking NDCG@10 is a better pre-retraining filter than training loss or an LLM judgment, because it runs the same training and evaluation procedure at a fraction of the cost.

On this page

You have 1 GPU slot this week and a recommender training script to revise, but should you retrain the first edit an LLM proposes or spend a little on short trials first? The usual advice is to let the agent rewrite the training recipe, retrain once, and keep the edit if validation ranking improves; the loop is simple, and it mirrors how coding agents evolve programs. That advice has a hidden cost: proposing an edit takes one LLM call, while judging it takes a full retraining, so most of the budget goes to edits that are never run before selection. The paper [1] asks whether a short trial, scored by full-ranking NDCG@10 on held-out users, can pick the edit that deserves the one full retraining each round. It tests this on two sequential recommenders, three datasets, and the same number of full retrainings for every method.

Why retraining the first edit wastes budget

The default loop is easy to describe: an LLM reads the current recommender recipe, proposes one code edit, the system fully retrains the edited model, and the edit is kept only if validation ranking improves. Paper [1] runs AlphaEvolve, DeepEvolve, and Self-EvolveRec in a common harness with two sequential backbones and three datasets; across 90 full retrainings, only 37 yield a kept edit, or 41%, and four Self-EvolveRec retrainings fail before training starts. The bottleneck is not proposal quality but feedback timing: a candidate can be proposed cheaply, yet its outcome reward, the validation gain after full retraining, arrives only after the retraining has been spent.

Training loss is a tempting early signal, but it is not a small version of full-ranking quality. SASRec is trained with binary cross-entropy, which asks a positive item to outscore one sampled negative; NDCG@10 asks it to outrank almost the whole catalog. On Office, only 6.4% of positives score below their sampled negative under the initial SASRec, so the loss is near its floor, yet 55% of positives score below the strongest of just 32 random items, which the paper reads as at least 53% of positives ranking below position 100. Edits that change the loss or sampler also change the scale: after 15% of the step budget, an in-batch softmax edit has loss 6.2 while two binary-cross-entropy edits sit near 1.05, so picking the lowest loss would discard the one edit that later ranks above the parent.

RecRSI: diagnose, propose a batch, trial, then retrain once

RecRSI changes the order of decisions. Each round starts with a diagnosis of the current model on probe users, which are held-out validation users used for early stopping and candidate comparison. The LLM then proposes several candidate edits conditioned on that diagnosis and on a memory of earlier rounds. Every executable edit is trained from the same initialization as the full retraining for the first 15% of its step budget and scored by full-ranking NDCG@10 on probe users; the top-scoring edit receives the single full retraining of the round. After retraining, the edit is promoted only if NDCG@10 on a separate set of select users improves by more than a fixed margin, and the round is written to memory.

The trial keeps two properties the authors call training consistency and ranking consistency. Training consistency means the trial follows the same training code and path as the full run, only shorter; ranking consistency means the trial and the final decision both use full-ranking NDCG@10 rather than a cheaper proxy.

SignalRuns codeScores candidateFollows trainingFull rankingBefore retraining
Outcome reward after full retrainingYesYesYesYesNo
Parent diagnosisYesNoNoYesYes
LLM patch judgmentNoYesNoNoYes
Zero-cost proxyYesYesNoNoYes
Short trial (RecRSI)YesYesYesYesYes

Trial scores track final ranking better than loss or patch judgment

The ablation replaces the short trial with a random choice among the same edits, an LLM judgment, or a continuation from the current model; all lower final quality on average, and retraining untried edits for more rounds does not close the gap. The reason is structural: those alternatives either do not run the candidate, do not follow the edited training path, or do not apply the full-ranking measurement.

A concrete first-round example makes the scale difference visible. On Office with SASRec, the parent and three edits receive trial scores of 0.0063, 0.0054, 0.0201, and 0.0021; the in-batch logQ softmax edit at 0.0201 wins the trial, and its full retraining raises select NDCG@10 from 0.0096 to 0.0277. A training-loss rule would reject it: at 15% of the budget its loss is 6.2, while two binary-cross-entropy edits are near 1.05. Loss values from different objectives are not comparable, but full-ranking scores on the same probe users are.

Measured gains: first-round leads at equal retraining counts

With SASRec and HSTU on CDs, Office, and LastFM, and with every method given the same number of full retrainings, RecRSI beats the strongest existing agent in all six settings by 16.1% to 102.0% in Test NDCG@10. It keeps 23 of 30 retrainings, or 77%, versus 37 of 90 for the existing agents. It also keeps an edit in the first round of all six runs, and on both Amazon datasets it reaches a validation NDCG@10 in one round that no existing agent reaches in five.

The cost comparison is deliberately separated. Under an equal one-GPU-hour budget on SASRec and CDs, RecRSI still beats all three agents and a batch proposer. The extra trials are reported as additional cost rather than hidden inside the full-retraining budget, which matters for a team deciding whether to buy more retraining time or more trial time.

  • 90 existing-agent retrainings, 37 kept (41%).
  • 30 RecRSI retrainings, 23 kept (77%).
  • Six settings: two backbones times three datasets.
  • 16.1% to 102.0% Test NDCG@10 gain over the strongest agent.

Limits: when short trials do not apply

The method fails when a candidate cannot be short-run under the same training and evaluation code, or when probe users are too few or too noisy for a 0.0063 versus 0.0054 gap to mean anything. It does not apply well to edits whose effect appears only late in training, such as schedules, or to edits that change the data pipeline or the evaluation protocol itself; those break training consistency or ranking consistency. It is also out of scope when one full retraining is already cheaper than the engineering cost of trials.

The empirical boundary is narrow: the paper tests two backbones, SASRec and HSTU, and three datasets, CDs, Office, and LastFM. The reported 16.1% to 102.0% range should not be extrapolated to every recommender domain or catalog size without new measurements. A team also needs a separate select-user split; repeatedly reading probe users for both trials and promotion would overfit the decision. Use this method when retraining is expensive, candidates are plentiful, and full-ranking evaluation is the decision metric; do not use it when retraining is cheap, candidates are few, or the evaluation protocol is unstable.

References

  1. Try Before You Evolve: Ranking-Scored Trials for Recursive Self-Improvement of Recommender Systems

Sign in to Padda

A code in your inbox. No password to remember.

Connecting to sign-in…