New Benchmark Evaluates LLM Handling of Off-Procedure Diagnostic Queries

Guillermo Gil de Avalle, Laura Maruster, Shaina Raza, Christos Emmanouilidis· June 17, 2026 View original

Summary

Researchers introduce DiagFlowBench, a new dataset designed to assess how language models manage inputs that deviate from established diagnostic procedures in grounded dialogue systems. Evaluations show that models often provide plausible but incorrect advice when faced with out-of-scope queries, highlighting a critical vulnerability in current grounding approaches.

Language models are increasingly deployed as advisory tools in maintenance and operational settings. To ensure accuracy and prevent fabricated responses, these systems are often "grounded" in specific procedural documentation, limiting their responses to approved steps. However, real-world operators frequently ask questions that fall outside these predefined procedures, a scenario not well-addressed by existing evaluation benchmarks. To tackle this, a new dataset called DiagFlowBench has been developed. It comprises 50 industrial diagnostic flowcharts from a consumer manufacturer, translated into 1,676 multi-turn conversations. These conversations specifically include both compliant and out-of-scope utterances, allowing for a direct assessment of how models handle deviations from protocol. Testing ten commercial and open-source language models on DiagFlowBench revealed significant variations in their ability to abstain from answering out-of-scope questions. A common issue observed was models selecting a real but contextually inappropriate step rather than explicitly indicating an inability to answer or fabricating information. This tendency to offer plausible but incorrect advice presents a subtle yet challenging vulnerability for systems relying on grounding.

Why it matters

Professionals deploying or developing AI advisory systems need to understand how these models perform when users deviate from expected conversational flows. This research highlights a critical safety and reliability concern where models might offer misleading, yet plausible, advice rather than admitting limitations, potentially leading to errors in critical operations.

How to implement this in your domain

  1. 1Integrate DiagFlowBench or similar out-of-scope detection tests into your LLM evaluation pipeline.
  2. 2Develop robust error handling and abstention mechanisms for AI advisory systems when inputs are ambiguous or out of scope.
  3. 3Train models with diverse datasets that include examples of off-procedure queries and appropriate responses, such as "I cannot assist with that specific query."
  4. 4Implement human-in-the-loop validation for critical diagnostic advice generated by AI systems, especially for non-standard inputs.
  5. 5Refine grounding techniques to not only constrain models to approved steps but also to explicitly recognize and flag when a query cannot be adequately addressed within those constraints.

Who benefits

ManufacturingHealthcareAutomotiveCustomer ServiceIT Support

Key takeaways

  • Current LLM grounding systems struggle with out-of-scope user inputs in diagnostic dialogues.
  • Models often provide plausible but incorrect advice rather than abstaining, posing a significant risk.
  • DiagFlowBench offers a new benchmark to evaluate LLM robustness to off-procedure queries.
  • Developers must prioritize explicit out-of-scope recognition and safe abstention in AI advisory systems.

Original post by Guillermo Gil de Avalle, Laura Maruster, Shaina Raza, Christos Emmanouilidis

"arXiv:2606.17904v1 Announce Type: new Abstract: Language models increasingly serve as advisory systems in maintenance operations. To prevent hallucination, recent systems ground these models in procedural documentation to constrain them to approved steps. In practice, however, op…"

View on X

Originally posted by Guillermo Gil de Avalle, Laura Maruster, Shaina Raza, Christos Emmanouilidis on X · view source

Want to go deeper?

Turn these trends into skills with Learnijoy's hands-on AI & tech courses.

Explore courses