Dual-Feedback Knowledge Retrieval for Task-Oriented Dialogue Systems

Tianyuan Shi, Liangzhi Li, Zijian Lin, Tao Yang, Xiaojun Quan, Qifan Wang

Introduction

Task-Oriented Dialogue (TOD) systems, such as those used for restaurant recommendations or hotel bookings, must effectively integrate external Knowledge Bases (KBs) to provide accurate information. However, current end-to-end systems face significant challenges. Scalability is a primary concern; encoding an entire KB into a model's prompt or parameters becomes unfeasible as the database grows. Furthermore, a "label gap" exists: training a separate, scalable retriever typically requires explicit labels indicating which KB entry is relevant for every conversation turn—labels that are rarely available in standard datasets.

While weak supervision from a response generator has been explored, generators can be misled by similar entities, leading to noisy training signals. This paper proposes a dual-feedback mechanism to train knowledge retrievers without manual labels, leveraging both positive and negative signals from a response generator to achieve state-of-the-art performance and scalability.

Methodology

The proposed architecture consists of a retriever-generator loop designed to bridge the label gap through automated feedback.

Detailed architecture of the dual-feedback retriever-generator framework showing positive and negative feedback loops.

The Dual-Feedback Loop

  1. Retriever: A BERT-based encoder calculates similarity scores between the dialogue context and KB entities.
  2. Generator: A T5-based model utilizes the Fusion-in-Decoder (FiD) architecture, processing retrieved entities independently to generate a response.
  3. Positive Feedback: The generator assigns "scores" to retrieved entities based on the conditional probability of generating the ground-truth response given a specific entity. The retriever is trained to align its similarity scores with these generator-derived pseudo-labels using KL-divergence.
  4. Negative Feedback: To address the issue of "overconfidence" in incorrect entities, the authors introduce a negative feedback mechanism. It identifies "negative samples"—responses where the model shows high confidence but low accuracy (low BLEU score). The retriever is penalized via a margin loss for prioritizing entities that lead to these high-confidence errors, effectively calibrating the system.

Experimental Setup

The model was evaluated on three standard TOD benchmarks: Multi-WOZ 2.1 (MWOZ), Stanford Multi-Domain (SMD), and CamRest. To test scalability, the authors conducted experiments using both "session-level" KBs (small local subsets) and "dataset-level" KBs (the entire database). The latter provides a more rigorous test of the retriever's ability to handle large-scale data.

Key Results and Insights

The dual-feedback approach demonstrates significant improvements in both dialogue quality and retrieval accuracy.

Performance comparison of the proposed model against baselines on MWOZ and CamRest datasets.

State-of-the-Art Performance

As shown in the results table, the system (T5-large) achieved the highest scores on MWOZ and SMD. On the MWOZ dataset, it reached an Entity-F1 of 52.96 and a BLEU of 18.36, outperforming previous benchmarks like Q-TOD. The retriever itself proved highly effective, reaching a 90.98% Recall@7 on the dataset-level MWOZ KB.

Stability and Calibration

A key insight is the importance of the negative feedback loop. Ablation studies showed that removing negative feedback led to a drop in both retrieval and dialogue metrics, confirming that calibration is essential for stable training. Unlike many baseline models (e.g., DF-Net) that suffer performance degradation as KB size increases, this dual-feedback approach remained stable, proving its viability for real-world, large-scale applications.

LLM Synergy

The framework is not restricted to T5; the authors demonstrated that signals from massive LLMs like ChatGPT can be used to provide feedback. This suggests a path for "distilling" the reasoning capabilities of large models into smaller, more efficient retrievers.

Conclusion and Future Work

While the dual-feedback mechanism offers a powerful solution for unsupervised retriever training, some limitations remain. Generating negative samples requires beam search during training, which increases computational overhead. Additionally, the cost of using high-end LLMs for feedback can be significant. Future research will focus on more efficient sampling methods and narrowing the performance gap between fully fine-tuned models and few-shot LLM prompting.

Summary updated

BibTeX
@inproceedings{shi2023dual,
  author = {Tianyuan Shi and Liangzhi Li and Zijian Lin and Tao Yang and Xiaojun Quan and Qifan Wang},
  title = {{Dual-Feedback Knowledge Retrieval for Task-Oriented Dialogue Systems}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2023},
  doi = {10.18653/v1/2023.emnlp-main.405},
}
Figure