arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2611.29613cs.IRcs.AIcs.LG
收藏

权重编码:通过LLM智能体直接修改权重实现Web规模推荐系统的演进

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

Junpeng Hou, Jiaxing Qu, Derek Cheng, Jaewon Yang, Abhinav Naikawadi, Karthik Subbian

AI总结:

提出权重编码方法,用LLM智能体直接修改权重演进Web规模推荐系统,在Pinterest检索任务中大幅提升召回率,在线测试也实现业务指标增益,是实用的模型开发工具。

摘要:

Web规模推荐系统模型的演进主要依赖重新训练或微调。我们提出权重编码(weight coding)这一通过直接、可执行的权重修改实现模型演进的方法。大型语言模型(LLM)智能体检查模型结构与参数,提出假设并利用评估反馈实施修改。该循环从局部修改逐步推进到针对性搜索与组合,使修改后的组件相互适配。缓存引擎支持无需反向传播的快速前向评估。在Pinterest的1.47亿参数图像搜索双塔检索器上,权重编码仅通过少量修改,将生产模型的保留召回率@10提升了最多15.0个百分点(相对提升24%),耗时约为完整后训练微调的1/4 GPU小时,而常规微调仅提升约1%。在随机重新初始化整个1360万参数的交互模块并保留周围训练好的模型后,搜索2448个混合与归一化参数,结果比生产模型高9.8个百分点。离线增益覆盖全流程,包括密集检索、生成式检索与排序,涉及多达13.7亿个可学习参数,且不同架构对应不同修改。引导修改可对模型在新鲜度、产品等细分维度的性能提供显式控制。权重编码无需修改服务部署,在线A/B测试显示,经修改的检索源的每用户保存量提升了8.4%至10.7%,符合目标业务指标。我们的结果表明,权重编码是实际Web规模生产系统中模型开发与行为控制的实用工具,有望扩展到全流程的预训练与后训练阶段。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑