External Knowledge Selection with Weighted Negative Sampling in Knowledge-grounded Task-oriented Dialogue Systems

Janghoon Han, Joongbo ShinOpenReview 2022

Abstract

Constructing a robust dialogue system for spoken conversations brings more challenges than written conversation. In this respect, DSTC10-Track2-Task2 is proposed, which aims to build a task-oriented dialogue (TOD) system incorporating unstructured external knowledge on a spoken conversation, extending DSTC9-Track1. This paper introduces our system containing four advanced methods: data construction, weighted negative sampling, post-training, and style transfer. We first automatically construct a large training data because DSTC10-Track2 does not release the official training set. For the knowledge selection task, we propose weighted negative sampling to train the model in a more fine-grained manner. We also employ post-training and style transfer for the response generation task to generate an appropriate response with a similar style to the target response. In the experiment, we investigate the effect of weighted negative sampling, post-training, and style transfer. Our model ranked 7 out of 16 teams in the objective evaluation and 6 in human evaluation.

Introduction

Standard Task-oriented Dialogue (TOD) systems typically rely on structured databases or APIs to fulfill user requests. However, real-world interactions often involve "out-of-bounds" queries—questions that fall outside the predefined schema, such as specific restaurant policies or amenities. Knowledge-grounded TOD addresses this by enabling systems to retrieve information from unstructured text, like FAQ documents.

This task is particularly challenging in the context of spoken dialogue, as seen in the DSTC10-Track2-Task2 challenge. Spoken conversations are characterized by disfluencies, stutters, and errors from Automatic Speech Recognition (ASR) systems. Furthermore, the lack of domain-specific spoken training data for new knowledge sets creates a significant "data scarcity" problem.

Methodology

The proposed system follows a modular pipeline consisting of four primary stages: Data Construction, Turn Detection, Knowledge Selection, and Response Generation.

The proposed system architecture for knowledge-grounded task-oriented dialogue.

1. Automatic Data Construction

To mitigate the lack of official training data for DSTC10, the authors synthesized a dataset by adapting existing dialogues from DSTC9. They replaced old knowledge snippets with new DSTC10 entries and utilized a BART-based noise injector to simulate ASR-like disfluencies. This process ensures the model is robust to the "messiness" of spoken input.

2. Weighted Negative Sampling

The core innovation in the Knowledge Selection module is Weighted Negative Sampling. In standard retrieval training, models are often presented with random negative samples that are easily distinguishable from the ground truth. To improve fine-grained selection, the authors categorized negatives into four types: Random, In-entity (same entity, wrong topic), In-domain (same general domain), and Semantically-similar (linguistically similar but factually incorrect).

By assigning higher weights to "hard" negatives (In-domain and Semantically-similar), the RoBERTa-based selection model learns to make more precise distinctions between subtly different information snippets.

3. Response Generation with Style Transfer

The final module uses a GPT-2 base for response generation. To ensure the output matches the target dataset's linguistic style, the team employed Style Transfer and Post-training on the MultiWOZ dataset. This approach bridges the gap between synthetic training data and the desired human-like response style, significantly boosting automated metrics like BLEU.

Experimental Results

The system was evaluated against strong baselines on the DSTC10 test set. The results demonstrate significant improvements across all subtasks: Turn Detection, Knowledge Selection, and Response Generation.

Objective evaluation results on the DSTC10 test set, comparing the proposed model against baselines.

As shown in the table, the proposed model significantly outperformed the baselines. In Task 2 (Knowledge Selection), the model achieved an MRR@5 of 0.831, a substantial leap from the baseline's 0.540. Similarly, in Task 3 (Response Generation), metrics like BLEU-4 and ROUGE-L saw dramatic increases, indicating more coherent and contextually grounded responses. The system eventually ranked 7th out of 16 teams in objective metrics and 6th in human evaluation.

Conclusion

This work presents a robust pipeline for spoken knowledge-grounded TOD. The combination of noise-aware data construction and weighted negative sampling proved highly effective in overcoming the challenges of noisy spoken input and data scarcity. While the selection module remains a critical bottleneck, the proposed methods offer a clear path forward for building more resilient and accurate dialogue systems. Future work will explore automated curriculum learning for dynamic negative weighting and more advanced selection architectures.

Summary updated

BibTeX
@misc{han2022external,
  author = {Janghoon Han and Joongbo Shin},
  title = {{External Knowledge Selection with Weighted Negative Sampling in Knowledge-grounded Task-oriented Dialogue Systems}},
  year = {2022},
  eprint = {2209.02251},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2209.02251},
  howpublished = {OpenReview},
}
Figure