arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.03771cs.AI
收藏

OptAgent:基于多智能体仿真的电商查询改写优化

OptAgent: Optimizing Query Rewriting for E-commerce via Multi-Agent Simulation

Arizona State University(亚利桑那州立大学);Etsy

Divij Handa, David Blincoe, Orson Adams, Yinlin Fu

AI总结:

针对电商查询改写效果难评估的主观任务痛点,提出结合多智能体仿真与遗传算法的OptAgent框架,以模拟购物用户的多LLM智能体评分为动态奖励迭代优化查询,在千条真实电商查询数据集上实现显著效果提升。

摘要:

部署性能优异且符合用户需求的基于大语言模型(LLM)的系统需要可靠的评估机制。虽然LLM在编码、数学等有标准答案的可验证任务中表现出色,但在缺乏唯一正确答案的主观任务中落地仍颇具挑战,电商查询改写(QR)正是这类问题之一——算法层面很难判定改写后的查询是否准确捕捉了用户意图。\n本文提出了一种新型框架OptAgent,它将多智能体仿真与遗传算法相结合,用于验证并优化查询改写效果。该方法不再依赖静态奖励模型或单个LLM裁判,而是采用多个基于LLM的智能体(每个智能体模拟一位购物消费者)作为动态奖励信号,这些智能体给出的评分平均值将作为进化算法的有效适应度函数,对用户的初始查询进行迭代优化。\n我们在包含5个不同品类的1000条真实电商查询的数据集上对OptAgent进行了评估,结果显示:相较于用户原始查询,其效果平均提升21.98%;相较于Best-of-N LLM改写基线,效果平均提升3.36%。

英文摘要:

Deploying capable and user-aligned LLM-based systems necessitates reliable evaluation. While LLMs excel in verifiable tasks like coding and mathematics, where gold-standard solutions are available, adoption remains challenging for subjective tasks that lack a single correct answer. E-commerce Query Rewriting (QR) is one such problem where determining whether a rewritten query properly captures the user intent is extremely difficult to figure out algorithmically. In this work, we introduce OptAgent, a novel framework that combines multi-agent simulations with genetic algorithms to verify and optimize queries for QR. Instead of relying on a static reward model or a single LLM judge, our approach uses multiple LLM-based agents, each acting as a simulated shopping customer, as a dynamic reward signal. The average of these agent-derived scores serves as an effective fitness function for an evolutionary algorithm that iteratively refines the user's initial query. We evaluate OptAgent on a dataset of 1000 real-world e-commerce queries in five different categories, and we observe an average improvement of 21.98% over the original user query and 3.36% over a Best-of-N LLM rewriting baseline.

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

↑