Weight Coding: Evolving Web-Scale Recommenders through Direct Weight Edits with LLM Agents
On the map: LLM agents and tool use → Agentic recommender systems
Abstract (arXiv)
Web-scale recommender models evolve primarily through retraining or fine-tuning. We propose weight coding, a methodology for model evolution through direct, executable weight edits. A large language model (LLM) agent inspects model structure and parameters, formulates hypotheses, and implements edits using evaluation feedback. The loop progresses from localized changes to targeted searches and composition, allowing edited components to adapt to one another. A cached engine enables rapid forward evaluation without backpropagation. On Pinterest's 147M-parameter Image Search two-tower retriever, weight coding improves held-out recall@10 of production model by up to 15.0 percentage points (+24% relative) with few edits in about 1/4 GPU hours of a full post-training finetune, while a common launch only improves around 1%. After reinitializing the entire 13.6M-parameter interaction module randomly while retaining the surrounding trained model, searching 2,448 mixing and normalization parameters yields 9.8 points above production. Offline gains span the full funnel including dense retrieval, generative retrieval and ranking, with up to 1.37B learnable parameters and different edits for each architecture. Steering edits provide explicit control of model performance over segments like freshness and product. Weight coding requires no serving change and online A/B tests increase saves per user from the edited retrieval source by 8.4% to 10.7%, aligned with the target business objectives. Our results establish weight coding as a practical and useful tool for model development and and behavioral control in a real web-scale production system, with potential to extend to both pre-training and post-training stages across the funnel.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in Agentic recommender systems, one of 16 directions in LLM agents and tool use. Builds on 45 of its 65 references that are in the map. Submitted 22 Nov 2026, announced 24 Nov 2026.
Builds on
45 of 65 references.
Closest ancestors · 1
Same direction, newest first
Other references · 44
- 2014Adam: A Method for Stochastic Optimizationcited by 38,596
- 2016Layer Normalizationcited by 6,002
- 2022Locating and Editing Factual Associations in GPTcited by 2,951
- 2018The Lottery Ticket Hypothesis: Finding Sparse, Trainable Neural Networkscited by 2,314
- 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineeringcited by 2,069
- 2023Representation Engineering: A Top-Down Approach to AI Transparencycited by 1,530
- 2022Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference timecited by 1,502
- 2021BitFit: Simple Parameter-efficient Fine-tuning for Transformer-based Masked Language-modelscited by 1,287
- 2023Steering Language Models With Activation Engineeringcited by 1,128
- 2022Mass-Editing Memory in a Transformercited by 1,110
- 2023TIES-Merging: Resolving Interference When Merging Modelscited by 916
- 2019Are Sixteen Heads Really Better than One?cited by 855
32 more
- 2021Robust fine-tuning of zero-shot modelscited by 850
- 2023Language Models are Super Mario: Absorbing Abilities from Homologous Models as a Free Lunchcited by 762
- 2020Long-tail learning via logit adjustmentcited by 655
- 2017Evolution Strategies as a Scalable Alternative to Reinforcement Learningcited by 616
- 2024MLE-bench: Evaluating Machine Learning Agents on Machine Learning Engineeringcited by 572
- 2025Muon is Scalable for LLM Trainingcited by 555
- 2017Word Translation Without Parallel Datacited by 511
- 2018Measuring the Intrinsic Dimension of Objective Landscapescited by 396
- 2023Editing Large Language Models: Problems, Methods, and Opportunitiescited by 386
- 2023Fine-Tuning Language Models with Just Forward Passescited by 380
- 2025AIDE: AI-Driven Exploration in the Space of Codecited by 281
- 2024AlphaEdit: Null-Space Constrained Knowledge Editing for Language Modelscited by 272
- 2019A Study of BFLOAT16 for Deep Learning Trainingcited by 269
- 2019What's Hidden in a Randomly Weighted Neural Network?cited by 238
- 2023Self-Taught Optimizer (STOP): Recursively Self-Improving Code Generationcited by 213
- 2018Categorizing Variants of Goodhart's Lawcited by 175
- 2021Causal Intervention for Leveraging Popularity Bias in Recommendationcited by 118
- 2020Training BatchNorm and Only BatchNorm: On the Expressive Power of Random Features in CNNscited by 106
- 2020Model-Agnostic Counterfactual Reasoning for Eliminating Popularity Bias in Recommender Systemcited by 96
- 2024Wukong: Towards a Scaling Law for Large-Scale Recommendationcited by 88
- 2021Editing a classifier by rewriting its prediction rulescited by 72
- 2021MaskNet: Introducing Feature-Wise Multiplication to CTR Ranking Models by Instance-Guided Maskcited by 50
- 2017Related Pins at Pinterest: The Evolution of a Real-World Recommender Systemcited by 25
- 2025WeaveRec: An LLM-Based Cross-Domain Sequential Recommendation Framework with Model Mergingcited by 4
- 2024Better Late Than Never: Formulating and Benchmarking Recommendation Editingcited by 2
- 2024CRM: Retrieval Model with Controllable Conditioncited by 2
- 2026From Insight to Intervention: Interpretable Neuron Steering for Controlling Popularity Bias in Recommender Systemscited by 2
- 2025Finding Interest Needle in Popularity Haystack: Improving Retrieval by Modeling Item Exposurecited by 1
- 2025Post-hoc Popularity Bias Correction in GNN-based Collaborative Filteringcited by 1
- 2026MergeRec: Model Merging for Data-Isolated Cross-Domain Sequential Recommendationcited by 1
- 2026Aligning Recommendations with User Popularity Preferencescited by 1
- 2026Deep-learning Causal Retrieval Optimization for Efficient e-commerce Distribution in Pinterestcited by 1
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026Try Before You Evolve: Ranking-Scored Trials for Recursive Self-Improvement of Recommender Systems
- 2026EvoRec: Self Evolving Agentic Recommender Systems
- 2026CORAL: An LLM-Native Harness for Production Recommender Systems
- 2026Self-EvolveRec: Self-Evolving Recommender Systems with LLM-based Directional Feedback
- 2026MLE Agents: Autonomous ML Engineering in Large-scale Recommendation Systems
- 2026Self-Evolving Recommendation System: End-To-End Autonomous Model Optimization With LLM Agents
- 2025Balancing Fine-tuning and RAG: A Hybrid Strategy for Dynamic LLM Recommendation Updates
- 2026TGR-EvoDAG: A DAG-based Multi-Agent Code Evolution Framework for Generative Recommendation on Tencent