arXiv Science⌕ Search

arXiv · 2611.29613

Weight Coding: Evolving Web-Scale Recommenders through Direct Weight Edits with LLM Agents

Abstract

Web-scale recommender models evolve primarily through retraining or fine-tuning. We propose \emph{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.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Junpeng Hou, Jiaxing Qu, Derek Cheng, Jaewon Yang, Abhinav Naikawadi, Karthik Subbian. 2026-11-22. Weight Coding: Evolving Web-Scale Recommenders through Direct Weight Edits with LLM Agents. https://arxiv.science/abs/2611.29613

Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite arXiv Science by Indiciae: BibTeX · RIS.

KEEP EXPLORING

Related papers

VLM2Rec: Resolving Modality Collapse in Vision-Language Models for Sequential Recommendation

Sequential Recommendation (SR) learns sequence-level Collaborative Filtering (CF) from interactions, but ID-based models struggle with sparse data and cold-start items. In contrast, item titles and images can reveal preference continuity, such as a recurring color or style. Yet existing approaches miss visual continuity: small encoders take a single item as input, and Large Language Models (LLMs) read only titles. We therefore shift our focus to Large Vision-Language Models (VLMs), which can read a user's entire image sequence, not just its titles. However, VLMs inherently suffer from modality collapse: they over-rely on text and, as a result, overlook visual continuity for recommendation. We find that standard contrastive Supervised Fine-Tuning (SFT), essential for adapting VLMs to SR, further amplifies this collapse: updates follow the text gradient, visual discrimination weakens, and adding image embeddings to the text embeddings consistently lowers accuracy. We propose VLM2Rec with two objectives: Weak-modality Penalized Contrastive Learning strengthens each user's weaker modality, and Cross-modal Relational Topology Regularization aligns each user's relative similarity structure over the same items across the two modality spaces. Its variant, $\text{VLM2Rec}_{\text{plug}}$, reuses the learned item embeddings in SR backbones and thus serves at the latency of conventional SR models. Experiments show that VLM2Rec mitigates the collapse and consistently improves accuracy and robustness.

cs.IR↗

RCER: Reconstructing Cross-Evidence Relations for Iterative Retrieval-Augmented Generation

Iterative retrieval-augmented generation (RAG) accumulates knowledge from retrieved evidence to answer complex questions, but existing methods struggle to reconstruct entity correspondences and inferential dependencies across retrieved passages as new information emerges. We propose RCER, an iterative RAG method that reconstructs these cross-evidence relations directly from accumulated source passages. Inter-round relational evidence acquisition identifies entity correspondences and relational dependencies to drive dynamic problem decomposition and iterative retrieval. Reasoning context reconstruction independently constructs a coherent reasoning context through joint selection of complementary passages and derivation of cross-evidence inferences. Cross-evidence compositional reasoning leverages these inferences to establish entity correspondences and compose relations across selected passages for answer derivation. Experiments show that RCER outperforms the best baselines by 2.83 EM and 3.06 F1 points on average across three multi-hop QA benchmarks and achieves superior performance on narrative and implicit reasoning tasks.

cs.IR↗

Jev-as-a-Judge for Brazilian Portuguese Information Retrieval: Relevance Assessment and Reranking

This study investigates Jev, a System One model designed for structured decision-making, in two information retrieval tasks: relevance assessment and reranking. We evaluate Jev using Brazilian Portuguese IR collections covering different domains and document types. First, we use Jev to generate relevance judgments for four collections and compare them with reference judgments. Exact agreement ranged from 53% to 65%, while quadratic weighted Cohen's kappa ranged from 0.52 to 0.82. Most disagreements involved adjacent relevance levels, with at least 94% of judgments matching exactly or differing by no more than one level. Despite differences at the individual query--document level, Jev-generated qrels produced retrieval system rankings similar to those obtained with reference qrels, with Kendall's tau ranging from 0.90 to 0.93 across two collections for nDCG@10 and MRR. Second, we evaluate Jev as a pointwise reranker of BM25 candidates on two collections. On a collection of short web passages, reranking the top 1,000 candidates increased nDCG@10 from 0.333 to 0.633 (+90%) and MRR from 0.685 to 0.903 (+32%). On a collection of full-length legal documents, reranking the top 100 candidates increased nDCG@10 from 0.356 to 0.403 (+13%) and MRR from 0.475 to 0.583 (+23%). These results indicate that Jev can support relevance assessment and improve BM25 ranking effectiveness across different document types, including short web passages and full-length legal documents.

cs.IR↗