LocalSUG:面向本地生活服务的城市偏好增强大语言模型查询建议
LocalSUG: City-Preference-Enhanced LLM for Query Suggestion in Local-Life Services
AI总结:
提出LocalSUG框架,通过挖掘城市偏好候选词注入提示、束搜索GRPO算法和加速解码,解决大语言模型在本地生活服务查询建议中城市偏好不足、偏好暴露偏差和延迟约束问题。
摘要:
在本地生活服务平台中,查询建议通过从输入前缀生成候选查询来减少用户操作。传统的多阶段系统严重依赖历史热门查询,限制了其捕捉长尾和新兴需求的能力。尽管大语言模型提供了强大的语义泛化能力,但它们在本地生活服务中的部署面临三个挑战:城市偏好感知不足、偏好优化中的暴露偏差以及严格的在线延迟约束。我们提出了LocalSUG,一个基于大语言模型的本地生活服务查询建议框架。LocalSUG从术语共现中挖掘城市偏好增强的候选词,并将其作为动态参考注入提示中,而非融合到模型参数中。这使得模型能够适应变化的城市偏好(如商家开业或关闭),同时减少过时或本地无效的建议。我们进一步引入了束搜索驱动的GRPO算法,使训练与推理时解码对齐,并优化相关性以及业务导向的奖励。最后,质量感知的束加速和词汇剪枝在保持生成质量的同时降低了在线延迟。离线评估和大规模在线A/B测试表明,LocalSUG将点击率提高了0.35%,并将低/无结果率降低了3.98%,证明了其在实际部署中的有效性。
英文摘要:
In local-life service platforms, query suggestion reduces user effort by generating candidate queries from input prefixes. Traditional multi-stage systems rely heavily on historical popular queries, limiting their ability to capture long-tail and emerging demand. Although LLMs provide strong semantic generalization, their deployment in local-life services faces three challenges: insufficient city-preference awareness, exposure bias in preference optimization, and strict online latency constraints. We propose LocalSUG, an LLM-based query suggestion framework for local-life services. LocalSUG mines city-preference-enhanced candidates from term co-occurrence and injects them into prompts as dynamic references rather than fusing them into model parameters. This allows the model to adapt to changing city preferences, such as merchant openings or closures, while reducing stale or locally invalid suggestions. We further introduce a beam-search-driven GRPO algorithm to align training with inference-time decoding and optimize relevance together with business-oriented rewards. Finally, quality-aware beam acceleration and vocabulary pruning reduce online latency while preserving generation quality. Offline evaluations and large-scale online A/B testing show that LocalSUG improves CTR by +0.35% and reduces the no-result rate by 3.98%, demonstrating its effectiveness in real-world deployment.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。