PQR: A Framework to Generate Diverse and Realistic User Queries that Elicit QA Agent Failures
On the map: LLM agents and tool use → General LLM agent frameworks and benchmarks
Abstract (arXiv)
Evaluating LLM-based agents remains challenging because identifying meaningful failure cases often requires substantial human effort to design realistic test scenarios. Prior works primarily focus on automatically discovering agent failures induced by adversarial users, while overlooking queries with real user intents that also trigger agent failures. We introduce PQR, a framework that not only surfaces agent failures with respect to specific objectives (e.g., helpfulness, safety, etc.) but also resembles real users' intents. PQR operates through an iterative interaction between two complementary modules. The query refinement module performs rewrites to explore diverse query variations, while the prompt refinement module uses prior feedback to derive new objective-violating strategies and realism policies for refining prompts, which in turn generate failure-triggering yet realistic queries. We evaluate PQR on detecting an e-commerce QA agent's unhelpful responses. Our method uncovers 23% - 78% more unhelpful responses, and our generated queries are more diverse and realistic compared to previous methods.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in General LLM agent frameworks and benchmarks, one of 16 directions in LLM agents and tool use. Builds on 15 of its 29 references that are in the map. First posted on arXiv 15 May 2026.
Builds on
15 of 29 references.
Closest ancestors · 2
Same direction, newest first
- 2025Evaluation and Benchmarking of LLM Agents: A Survey29 Jul
- 2024τ-bench: A Benchmark for Tool-Agent-User Interaction in Real-World Domains17 Jun
Other references · 13
- 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,626
- 2023Jailbreaking Black Box Large Language Models in Twenty Queriescited by 1,420
- 2015A Diversity-Promoting Objective Function for Neural Conversation Modelscited by 1,077
- 2023Automatic Prompt Optimization with "Gradient Descent" and Beam Searchcited by 653
- 2025GEPA: Reflective Prompt Evolution Can Outperform Reinforcement Learningcited by 542
- 2024Replacing Judges with Juries: Evaluating LLM Generations with a Panel of Diverse Modelscited by 326
- 2020Evaluating the Evaluation of Diversity in Natural Language Generationcited by 129
- 2023An LLM can Fool Itself: A Prompt-Based Adversarial Attackcited by 116
- 2025CRMArena-Pro: Holistic Assessment of LLM Agents Across Diverse Business Scenarios and Interactionscited by 47
- 2025SECA: Semantically Equivalent and Coherent Attacks for Eliciting LLM Hallucinationscited by 9
- 2024Auto-Prompt Generation is Not Robust: Prompt Optimization Driven by Pseudo Gradientcited by 6
- 2025SAGE: A Top-Down Bottom-Up Knowledge-Grounded User Simulator for Multi-turn AGent Evaluationcited by 6
1 more
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2025Agent-Testing Agent: A Meta-Agent for Automated Testing and Evaluation of Conversational AI Agents
- 2026Iterating Toward Better Search: A Two-Agent Simulation Framework for Evaluating Agentic Search Architectures in E-Commerce
- 2025OptAgent: Optimizing Query Rewriting for E-commerce via Multi-Agent Simulation
- 2026Talk, Evaluate, Diagnose: User-aware Agent Evaluation with Automated Error Analysis
- 2026FAMA: Failure-Aware Meta-Agentic Framework for Open-Source LLMs in Interactive Tool Use Environments
- 2024MAG-V: A Multi-Agent Framework for Synthetic Data Generation and Verification
- 2026AgentFixer: From Failure Detection to Fix Recommendations in LLM Agentic Systems
- 2026A Tri-Agent Framework for Evaluating and Aligning Question Clarification Capabilities of Large Language Models