Manuscript Offprint

arXiv:2609.03674

LLM4AIGQ: LLM-based AI Guidance Query Generation Framework for Multi Interest Mining

Xiangchen Pan, Jiayi Xu, Jing Wang, Xing Fang, Lingyun Zhu

Xiangchen Pan

Huazhong University of Science and Technology, Alibaba Group

Wuhan, China

pxcstart666@gmail.com

Jiayi Xu

Alibaba Group

Hangzhou, China

youyi.xjy@alibaba-inc.com

Jing Wang

Alibaba Group

Hangzhou, China

jing.wangj1@taobao.com

Xing Fang ∗^{*}

Nankai University, Alibaba Group

Hangzhou, China

fangxing.fx@taobao.com

Abstract

Guidance queries stimulate user consumption by extracting preferences to provide search queries with guidance value, playing a crucial role in the e-commerce field. Traditional AI-generated queries (AIGQ) generation primarily relies on a two-stage "Query-to-Ai-Generated-Query" (Q2AIGQ) association paradigm, first recalling user primary search queries from user profiles, historical behavior sequences, item-side information, and the current query through multi-path retrieval, then generalizing AIGQ via rule-based methods. This approach suffers from semantic drift due to information cascade loss; additionally, primary search query derivation heavily depends on "user-item" co-occurrence relationships, lacking exploration of user multi-interests, resulting in guidance queries with low value and mismatched purchase intent. To address the expressive limitations of traditional co-occurrence-based retrieval, we propose LLM4AIGQ, an LLM-based solution for generating AI guidance queries tailored to users' multi-interests. This approach segments user interests by integrating user profiles and historical interaction sequences, infers specific consumption intents for each sub-interest, and subsequently generates corresponding AIGQ. In terms of model training, we employ a post-training pipeline comprising Supervised Fine-Tuning (SFT), Reinforcement Learning (RL), and Direct Preference Optimization (DPO) to enhance the model's capability in generating AIGQ. We also introduce a multi-level reward design to satisfy the requirements of multi-objective optimization and long-chain reasoning in practical applications. Regarding deployment, we adopt an nearline-generation and online-read architecture to meet latency constraints. Extensive experimental analyses demonstrate that our model achieves robust performance in both offline evaluations and online A/B tests.

Lingyun Zhu

Alibaba Group

Hangzhou, China

zly234561@taobao.com

Keywords

Query Recommendation, LLM-based Recommendation, Reinforcement Learning

References (14)