arXiv:2510.08048cs.IRcs.AI2025-10中稿 · The Web Conference被引 5

用自适应强化学习提升电商搜索相关性,让大模型更懂复杂查询。

TaoSR-AGRL: Adaptive Guided Reinforcement Learning Framework for E-commerce Search Relevance

  • 通过规则感知的奖励分解,将最终判断拆成多步密集奖励。
  • 在训练中识别低精度推理路径并注入真实答案引导,加速收敛。
  • 已在淘宝主搜索上线,服务数亿用户,显著提升准确率和规则遵守度。

查询-商品相关性预测是电商搜索的核心,在AI驱动购物时代,语义理解与复杂推理直接影响用户体验与转化率。大语言模型(LLMs)虽可通过监督微调(SFT)或偏好优化(如DPO)实现生成式推理,但面对日益复杂的业务规则与长尾查询时,其推理能力仍显不足。现有强化学习方法(如GRPO)常因终端奖励稀疏,难以有效指导多步推理,导致收敛缓慢。为此,我们提出TaoSR-AGRL:一种面向淘宝搜索相关性的自适应引导强化学习框架。该框架引入两项创新:(1)规则感知奖励塑造,将最终相关性判断分解为与领域规则对齐的密集结构化奖励;(2)自适应引导回放,识别训练中的低精度推理轨迹,并注入目标真值指引,引导策略避开违规路径,走向合规推理。在大规模真实数据集及淘宝线上双盲人工评估中验证,TaoSR-AGRL在离线实验中持续优于DPO与标准GRPO基线,提升相关性准确率、规则遵循度与训练稳定性。该模型已成功部署于淘宝主搜索场景,服务超亿级用户。

原文摘要 · Abstract (English)

Query-product relevance prediction is fundamental to e-commerce search and has become even more critical in the era of AI-powered shopping, where semantic understanding and complex reasoning directly shape the user experience and business conversion. Large Language Models (LLMs) enable generative, reasoning-based approaches, typically aligned via supervised fine-tuning (SFT) or preference optimization methods like Direct Preference Optimization (DPO). However, the increasing complexity of business rules and user queries exposes the inability of existing methods to endow models with robust reasoning capacity for long-tail and challenging cases. Efforts to address this via reinforcement learning strategies like Group Relative Policy Optimization (GRPO) often suffer from sparse terminal rewards, offering insufficient guidance for multi-step reasoning and slowing convergence. To address these challenges, we propose TaoSR-AGRL, an Adaptive Guided Reinforcement Learning framework for LLM-based relevance prediction in Taobao Search Relevance. TaoSR-AGRL introduces two key innovations: (1) Rule-aware Reward Shaping, which decomposes the final relevance judgment into dense, structured rewards aligned with domain-specific relevance criteria; and (2) Adaptive Guided Replay, which identifies low-accuracy rollouts during training and injects targeted ground-truth guidance to steer the policy away from stagnant, rule-violating reasoning patterns toward compliant trajectories. TaoSR-AGRL was evaluated on large-scale real-world datasets and through online side-by-side human evaluations on Taobao Search. It consistently outperforms DPO and standard GRPO baselines in offline experiments, improving relevance accuracy, rule adherence, and training stability. The model trained with TaoSR-AGRL has been successfully deployed in the main search scenario on Taobao, serving hundreds of millions of users.

大模型强化学习电商搜索规则对齐

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。