Inverse-RAG Synthetic Test Generation for Agentic AI Assistants in Intelligent Environments: A Mutation-Based Evaluation of Fault-Detection Effectiveness
Abstract Conversational agents that retrieve documents and call tools are being deployed to operate buildings, campuses and other intelligent environments, yet engineering teams rarely have labelled data with which to test them before real users arrive. Synthetic test generation is widely offered as a remedy, but there is little evidence on whether synthetic suites detect faults, which generation strategies matter, and whether automatically produced ground truth can be trusted. We present an inverse retrieval-augmented generation pipeline that turns knowledge-base context into persona-conditioned questions with verifiable answers, expands them along multi-hop, linguistic, edge-case, adversarial and privacy dimensions, and filters them with a claim-level critic. In a controlled study with a deterministic tool-using agent and a grammar-based teacher, synthetic suites of 100 tests detected 93% of fifteen design faults, against 29% for a rule-based suite and at most 40% for re-implemented Ragas- and PyRIT-style generators. On faults independent of the generator design the advantage was smaller: 92% versus 75-77% of 312 automatically generated code mutants, and 70% versus 54-62% of twelve faults from external taxonomies. Fault-level hypothesis tests confirmed the advantage on design faults and code mutants (Holm-adjusted ≤ 0.022), but not on the underpowered held-out set, and the code-mutant advantage lost significance when mutants were aggregated by function. A claim-level critic removed injected label errors in the structured corpus, but on paraphrased, outdated and cross-referenced documents it had to route 41% of items to human review to stay error-free.
- Link
- https://doi.org/10.21203/rs.3.rs-11421050/v1
- Found by
- Crossref
- Authors
- Paula Soledad Otano, Cristian Rodriguez Rivero
- Organizations
- National Technological University (UTN-FRC), Fontys University of Applied Sciences
- Categories
- evaluation, dataset, agentic
- Published
- 2026-11-13
- Last seen by the radar
- 2026-11-15
- Citations
- 0
- Radar score
- 44.25 / 100 (how it is scored)
- Why it scored so
- Matched: agentic~evaluation, corpus, evaluat; Primary record: Crossref