WeFair:面向短视频搜索中个性化查询重写的保真度感知人类反馈对齐

·

研究论文 · 2026/11/02

短视频搜索需要紧凑的查询重写器,在严格延迟约束下从模糊查询中恢复用户的个性化意图。现有基于LLM的方法通过合成推理和后续消费行为反馈改进了重写,但过度强调后续消费可能偏向吸引内容而非用户即时需求,导致意图漂移。我们提出WeFair,基于人类反馈的保真度感知对齐,用于微信短视频搜索中的个性化查询重写。WeFair根据反馈直接反映个性化意图的程度,将反馈保真度分为演示、偏好和验证三个阶段。首先从搜索会话中挖掘实际查询和用户重写,并筛选上下文支持。演示阶段采用监督微调课程,从大规模上下文到查询学习,逐步过渡到基于人类重写和保留的推理与直接预测。偏好阶段使用直接偏好优化从后续消费反馈中学习相对偏好。验证阶段使用组相对策略优化奖励与重写或保留目标的精确一致,以约束意图漂移。进一步分析表明,广泛监督有利于全课程监督训练,而严格验证比辅助奖励取得更好性能。离线实验中,WeFair-2B在整体准确性和意图保留上优于强重写基线。在线A/B测试显示有效视频观看率相对提升2.593%,查询重写率相对降低2.350%。WeFair-2B已部署在微信短视频搜索系统中,每天服务超过1亿次查询。

本文提出了一种基于人类反馈保真度分阶段对齐的查询重写方法,有效解决了短视频搜索中个性化意图恢复与意图漂移的平衡问题,并在微信大规模实际系统中验证了其有效性,对搜索和推荐系统领域具有重要的实践参考价值。

Short-video search needs compact query rewriters that recover users' personalized intent from ambiguous queries under strict latency constraints. Existing LLM-based methods have improved rewriting by using synthetic reasoning and subsequent consumption-behavioral feedback. However, overemphasizing subsequent consumption can favor engaging content over the user's immediate need, causing intent drift even when rewritten queries are grounded in behavioral history. We propose WeFair, Fidelity-Aware Alignment from Human Feedback for Personalized Query Rewriting in WeChat short-video search. WeFair uses human feedback according to how directly it reflects personalized intent, assigning feedback fidelity to a progression from demonstration to preference to verification. We first mine actual queries and user reformulations from search sessions, and then screen them for contextual support. In the demonstration stage, a supervised fine-tuning curriculum progresses from large-scale context-to-query learning to reasoning and direct prediction on human reformulation and preservation. In the preference stage, direct preference optimization learns relative preferences from subsequent consumption feedback. In the verification stage, group relative policy optimization rewards exact agreement with reformulation or preservation targets to constrain intent drift. Further analysis shows that broad supervision benefits the full curriculum supervised training, while strict verification achieves better performance than auxiliary rewards. In offline experiments, WeFair-2B outperforms strong rewriting baselines in overall accuracy and intent preservation. An online A/B test shows relative increases of 2.593% in effective video-view rate and a 2.350% relative reduction in query reformulation rate. WeFair-2B has been deployed in the WeChat short-video search system, which serves over 100 million queries per day.

阅读原文

参与讨论