← Back to Paper Radar

RecHarness: A Bandit-Routed Agentic Harness for Self-Evolving Recommender Systems

Haoran Ling, Yuecheng Li, Zeyu Song, Jing Yao, Shuwen Kang, Chi Lu, Wenjin Wu, Peng Jiang
arXiv.org | 2026

Reading guide · Based on sections of the original paper

The authors propose RecHarness, which splits automated recommender optimization into two roles. A Thompson-sampling bandit, driven by validation feedback, chooses which expert-defined edit direction to try next. An LLM then writes the concrete hypothesis and code edit within that direction. A jump-and-retune mechanism permits structural changes once local gains stall.

Why read this

Practitioners running LLM agents to tune recommender code under a fixed GPU budget can use this paper as evidence that explicit trial allocation beats letting the LLM pick search directions.

What the authors found

  • In the authors' SASRec ablation, which reports best-so-far validation HR@10 macro-averaged over four Amazon datasets with GPU budget and four parallel trials held fixed, the full method reaches 0.6371. Replacing the router with LLM selection reaches 0.5887, random selection 0.5742, and removing predefined arms 0.5904. Note that these are validation scores, not test scores. 3.3 Ablation Study
  • On held-out test sets averaged over three runs, the authors report the best average NDCG@10 and HR@10 across five backbones on Amazon (evaluated with 99 sampled negatives) and the best result on all 12 KuaiRec model–metric pairs. On SASRec, the gain over MLE-STAR is 5.64% and 6.87% relative, with 31.99% fewer total tokens. Some margins are tiny, for example GR on KuaiRec, and no variance is reported. 3.2 Overall Performance
  • In one production short-video ad ranker, a single selected candidate adding intra-sequence self-attention was tested for 7 days on 10% of traffic. It improved ADVV by 2.084% (CI 1.74–2.44%), Revenue by 0.534%, and Exposure by 0.559%. 3.5 Online A/B Test

Main limitation

The search space depends on edit arms that experts define in advance, and the usefulness of those arms can shift as the incumbent model changes. The authors' own analysis also attributes the gains to better allocation over routine tuning controls rather than to novel designs. Limitations

Where to start

Appendix F Additional Experiments · This section gives trial-level success rates (47.92% versus about 22% for random or LLM routing) and gain sizes, which show whether the bandit helps by finding more improvements or larger ones.

Abstract

Optimizing modern recommender models still depends heavily on engineers manually iterating over architectural, objective, and training-strategy changes. While LLM-based agents can automate this trial-and-error process, allowing the LLM to both select modification directions and generate concrete hypotheses often leads to unstable search under limited experiment budgets. Inspired by the above challenge, we propose RecHarness, a Bandit-Routed Agentic Harness for automated recommender model optimization. RecHarness separates the optimization process into two steps: a bandit router selects the next modification direction according to historical validation feedback, while the LLM generates a concrete optimization hypothesis and executable code edit within the selected direction. To sustain long-horizon exploration, RecHarness uses a jump-basin mechanism to activate a structural-jump arm when local edits stagnate. Across multiple recommendation tasks, datasets, and model backbones, RecHarness achieves more stable performance improvements and uses limited trial budgets more effectively than LLM-reasoning search. During a 7-day online A/B test on a large-scale short-video advertising platform, the selected candidate improves ADVV by 2.084%, Revenue by 0.534%, and Exposure by 0.559%. Code is available at https://github.com/6lyc/RecHarness.

Generated automatically from paper sections on 2026-11-28.