Skip to content
aiqbench takeAI Research

aiqbench analysis

PQR introduces a novel framework for automatically generating realistic user queries that expose failure modes in LLM-based agents, addressing the critical need for robust evaluation beyond adversarial testing. By iteratively refining prompts to mimic genuine user intents while targeting specific objectives like helpfulness and safety, this method significantly increases the detection of unhelpful responses compared to prior techniques. This research advances the field of AI agent reliability by providing a scalable approach to stress-test systems with diverse, real-world scenarios.
Sources coveringarXiv, AI Alignment Forum, SiliconANGLE, Proton Blog
What this isA model's reading of the article and related coverage, written for aiqbench. Not the publisher's words.

PQR: A Framework to Generate Diverse and Realistic User Queries that Elicit QA Agent Failures

arXiv2 min read

arXiv:2605.16551v3 Announce Type: replace Abstract: 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.

Abstract: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.

Computation and Language (cs.CL)

arXiv:2605.16551 [cs.CL]

(or arXiv:2605.16551v3 [cs.CL] for this version)

https://doi.org/10.48550/arXiv.2605.16551 Focus to learn more arXiv-issued DOI via DataCite

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

Full text under the publisher's open licence · 245 words

Related coverage