Skip to content

When the Database Fails: Prompting LLM Dialogue Agents for Safe Recovery in Task-Oriented Dialogue

Jun 2026 · SIGDIAL Conferences · pp. 815-820 · 0 citations · 13 references
Computer Science

TL;DR

A lightweight prompting-based recovery approach that improves robustness without retraining or additional model calls is studied, and human annotation shows substantial agreement while supporting the validity of the automatic commitment-safety metric.

Abstract

Large language models used in task-oriented dialogue often produce fluent but unsafe responses when backend database calls fail, return empty results, or surface mismatched information, inventing venues, confirmations, or booking details not grounded in the database. We study a lightweight prompting-based recovery approach that improves robustness without retraining or additional model calls. We compare three response strategies, including a guided recovery prompt conditioned on structured database status, across six open-weight model families (DeepSeek-R1, Gemma-2, Llama-3, Mistral, Phi-3, and Qwen-2.5) and four database conditions: empty result, wrong-domain retrieval, API error, and clean retrieval. Using fault-injected benchmarks built on two structurally different datasets, MultiWOZ 2.2 (5 domains) and SGD (20 domains), we find that naive agents hallucinate on 30.5% of failure turns on MultiWOZ and 20.9% on SGD. Our Guided-Retry strategy reduces hallucination by 50% on MultiWOZ (30.5 to 15.3%) and by 42% on SGD (20.9 to 12.2%) without retraining. However, residual hallucination remains substantial (6-37% across models), with wrong-domain failures the hardest case. Results are consistent across both datasets and all six model families, and human annotation shows substantial agreement while supporting the validity of the automatic commitment-safety metric.

View source

Similar papers

Preprint Jul 2026

Hy-MultiTurn: A Six-Dimensional Benchmark for Deep Multi-Turn Dialogue Understanding

This work analyzes real chatbot failures to identify six recurring mechanisms and defines six controlled evaluation modes in Hy-MultiTurn, a Chinese benchmark for deep multi-turn dialogue understanding, which shows that Hy-MultiTurn is broadly challenging.

Eileen Ye, Ji-Hua Tao, Yao-Ming Li et al. · 0 citations
Jul 2026

TRACER: Early Failure Detection for Task-Oriented Dialogue

TRACER detects useful failure signals well before the end of the conversation and outperforms heuristic, classical, and single-stream baselines, suggesting that early failure detection can provide a practical warning signal for dialogue systems before the interaction fully breaks down.

E. Nourbakhsh, Rocky Slavin, Ke Yang et al. · 0 citations
Open access 2026

CoSy: Conversational Synthesis for Grounded Question Answering

This work introduces CoSy, a novel framework for generating diverse, steerable, multi-turn conversations at scale and evaluates CoSy on conversational grounded reasoning tasks (i.e., answering questions based on contextual information), a core on-device use case.

Patrick Huber, Arash Einolghozati, Rylan Conway et al. · 0 citations
Preprint Jul 2026

Towards Detecting Inconsistencies in End-to-end Generated TODs

This work investigates a method for automatically detecting inconsistencies in Task-Oriented Dialogues by conceptualizing TODs as a Constraint Satisfaction Problem (CSP), where variables represent dialogue segments referencing the conversational domain and constraints among variables capture dialogue properties such as turn coherence and adherence to domain knowledge.

Tiziano Labruna, Giovanni Bonetta, Bernardo Magnini · 0 citations