OptAgent: Optimizing Query Rewriting for E-commerce via Multi-Agent Simulation
On the map: LLM agents and tool use → Social simulation and multi-agent debate
Abstract (arXiv)
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.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Social simulation and multi-agent debate, one of 16 directions in LLM agents and tool use. Builds on 56 of its 70 references that are in the map. First posted on arXiv 4 Oct 2025.
Builds on
56 of 70 references.
References · 56
- 2022Training language models to follow instructions with human feedbackcited by 15,971
- 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 9,379
- 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,626
- 2025Gemini 2.5: Pushing the Frontier with Advanced Reasoning, Multimodality, Long Context, and Next Generation Agentic Capabilitiescited by 3,796
- 2023G-Eval: NLG Evaluation using GPT-4 with Better Human Alignmentcited by 2,276
- 2024Scaling LLM Test-Time Compute Optimally can be More Effective than Scaling Model Parameterscited by 1,986
- 2025s1: Simple test-time scalingcited by 1,341
- 2024Large Language Monkeys: Scaling Inference Compute with Repeated Samplingcited by 991
- 2022STaR: Bootstrapping Reasoning With Reasoningcited by 940
- 2025AlphaEvolve: A coding agent for scientific and algorithmic discoverycited by 867
- 2023Large Language Models as Optimizerscited by 864
- 2023Just Ask for Calibration: Strategies for Eliciting Calibrated Confidence Scores from Language Models Fine-Tuned with Human Feedbackcited by 812
38 more
- 2023AutoDAN: Generating Stealthy Jailbreak Prompts on Aligned Large Language Modelscited by 785
- 2022MaPLe: Multi-modal Prompt Learningcited by 687
- 2023Bias and Fairness in Large Language Models: A Surveycited by 639
- 2025GEPA: Reflective Prompt Evolution Can Outperform Reinforcement Learningcited by 542
- 2023Symbolic Discovery of Optimization Algorithmscited by 434
- 2024MLLM-as-a-Judge: Assessing Multimodal LLM-as-a-Judge with Vision-Language Benchmarkcited by 372
- 2023JudgeLM: Fine-tuned Large Language Models are Scalable Judgescited by 367
- 2024Humans or LLMs as the Judge? A Study on Judgement Biasescited by 323
- 2021All That's 'Human' Is Not Gold: Evaluating Human Evaluation of Generated Textcited by 287
- 2025A Survey on Test-Time Scaling in Large Language Models: What, How, Where, and How Well?cited by 223
- 2024The Effect of Sampling Temperature on Problem Solving in Large Language Modelscited by 170
- 2023Generative Judge for Evaluating Alignmentcited by 169
- 2024Rethinking the Bounds of LLM Reasoning: Are Multi-Agent Discussions the Key?cited by 159
- 2024Is Your LLM Secretly a World Model of the Internet? Model-Based Planning for Web Agentscited by 154
- 2024FinCon: A Synthesized LLM Multi-Agent System with Conceptual Verbal Reinforcement for Enhanced Financial Decision Makingcited by 113
- 2024WorldCoder, a Model-Based LLM Agent: Building World Models by Writing Code and Interacting with the Environmentcited by 107
- 2025Outcome-based Exploration for LLM Reasoningcited by 83
- 2025Jointly Reinforcing Diversity and Quality in Language Model Generationscited by 80
- 2024A Survey on Large Language Models for Critical Societal Domains: Finance, Healthcare, and Lawcited by 74
- 2023Style Over Substance: Evaluation Biases for Large Language Modelscited by 70
- 2024(A)I Am Not a Lawyer, But...: Engaging Legal Experts towards Responsible LLM Policies for Legal Advicecited by 63
- 2024Blinded by Generated Contexts: How Language Models Merge Generated and Retrieved Contexts When Knowledge Conflicts?cited by 48
- 2022Don't Blame the Annotator: Bias Already Starts in the Annotation Instructionscited by 47
- 2025Inference-Time Scaling for Complex Tasks: Where We Stand and What Lies Aheadcited by 44
- 2024WorldGPT: Empowering LLM as Multimodal World Modelcited by 42
- 2025UXAgent: An LLM Agent-Based Usability Testing Framework for Web Designcited by 40
- 2024When "Competency" in Reasoning Opens the Door to Vulnerability: Jailbreaking LLMs via Novel Complex Cipherscited by 30
- 2025Hypothesis Generation for Materials Discovery and Design Using Goal-Driven and Constraint-Guided LLM Agentscited by 30
- 2023Exploring the Reliability of Large Language Models as Customized Evaluators for Diverse NLP Taskscited by 24
- 2024MindMerger: Efficient Boosting LLM Reasoning in non-English Languagescited by 21
- 2022Evolving symbolic density functionalscited by 19
- 2025AgentA/B: Automated and Scalable Web A/BTesting with Interactive LLM Agentscited by 19
- 2024Leveraging Large Language Models for Relevance Judgments in Legal Case Retrievalcited by 16
- 2024Mixing It Up: The Cocktail Effect of Multi-Task Fine-Tuning on LLM Performance -- A Case Study in Financecited by 15
- 2025PlanGEN: A Multi-Agent Framework for Generating Planning and Reasoning Trajectories for Complex Problem Solvingcited by 15
- 2018A Study of Position Bias in Digital Library Recommender Systemscited by 13
- 2023Exploring the Viability of Synthetic Query Generation for Relevance Predictioncited by 9
- 2025ThinkTuning: Instilling Cognitive Reflections without Distillationcited by 9
50 most cited of 56 All 56 (JSON)
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026QueryAgent-R1: Bridging Query Generation and Product Retrieval for E-Commerce Query Recommendation
- 2026Iterating Toward Better Search: A Two-Agent Simulation Framework for Evaluating Agentic Search Architectures in E-Commerce
- 2025QAgent: A modular Search Agent with Interactive Query Understanding
- 2026MerchantBench: Benchmarking LLM Agents for Long-Term Coherence in E-Commerce Operations
- 2026Continuous Improvement and Parallel Autonomous Exploration: An LLM-Agent Framework for Searching Large Solution Spaces
- 2026ShopSimulator: Evaluating and Exploring RL-Driven LLM Agent for Shopping Assistants
- 2026ShopGym: An Integrated Framework for Realistic Simulation and Scalable Benchmarking of E-Commerce Web Agents
- 2026EComAgentBench: Benchmarking Shopping Agents on Long-Horizon Tasks with Distributed Hidden Intent