Open-domain Topic Identification of Out-of-domain Utterances using Wikipedia

Alexandry Augustin, Alexandros Papangelis, Margarita Kotti, Pavlos Vougiouklis, Jonathon Hare, Norbert BraunschweilerarXiv 2021

Abstract

Modern spoken dialogue systems (SDS) often struggle with out-of-domain (OOD) utterances, typically defaulting to generic error messages. This paper proposes a novel joint architecture that identifies both the domain and the specific topic of user utterances by mapping them to a semantic space derived from Wikipedia articles. Our approach utilizes a Long Recurrent Convolutional Neural Network (LRCN) to perform simultaneous domain classification and topic regression. Experimental results on the TourSG corpus demonstrate that this joint model achieves a topic identification accuracy of 30.69%, a significant improvement over baseline models, without compromising domain classification performance.

Introduction

Multi-domain spoken dialogue systems are generally confined to predefined topics. When users stray from these boundaries, systems often fail to provide helpful feedback because they lack an understanding of the OOD content. Traditional probabilistic topic modeling often fails to handle the short, context-heavy nature of dialogue. To address this, we propose using Wikipedia as a proxy for human-interpretable topics, allowing the system to identify what a user is talking about even when it falls outside the system's primary functional domains.

Methodology

The core of our approach is a Long Recurrent Convolutional Neural Network (LRCN) designed for joint task optimization.

Model Architecture

The architecture consists of three primary stages:

  1. CNN Layer: Extracts local features from the current utterance.
  2. LSTM Layer: Processes these features sequentially to capture dialogue history and context, which is essential for disambiguating short utterances.
  3. Joint Output Heads: The model branches into two paths. A softmax layer performs standard domain classification (e.g., "Food", "Attraction"), while a feedforward layer performs regression to predict coordinates in a doc2vec semantic space.
The LRCN architecture for joint domain classification and topic regression.

Semantic Space and Optimization

We utilize Wikipedia (4.5 million articles) to create a shared semantic space. For each utterance, relevant articles are ranked via TF-IDF, and their doc2vec embeddings serve as regression targets. The model is optimized using a hybrid loss function that combines cross-entropy for classification and Mean Squared Error (MSE) for topic regression.

Experimental Setup

We evaluated our model using the TourSG (DSTC4) dataset, which contains over 31,000 transcribed utterances from dialogues between tour guides and tourists in Singapore. The "topic" targets were derived from a filtered set of 4,409 Wikipedia articles relevant to the dataset's context.

Results and Discussion

The joint LRCN (D+T) model significantly outperforms baseline architectures in topic identification.

Comparative performance of different models on Domain and Topic identification tasks.

As shown in the results, the LRCN (D+T) model achieved a topic accuracy of 30.69%, compared to 17.82% for a CNN-only model and 13.86% for an LSTM-only model. This highlights the importance of both local feature extraction and temporal context. Notably, the "Random" baseline for topic identification is 0%, emphasizing the difficulty of selecting the correct article from thousands of candidates.

Furthermore, the joint training objective does not degrade domain classification. The LRCN (D+T) maintained a domain accuracy of 50.28%, which is competitive with single-task models. This suggests that learning to predict the topic actually helps the model develop more robust internal representations of the utterances.

Conclusion

By grounding OOD utterances in a human-readable Wikipedia-based semantic space, we provide a path toward more informative dialogue system failures. Future work will focus on quantifying model uncertainty to avoid "confidently wrong" topic predictions and integrating these identified topics into real-time response generation.

Summary updated

BibTeX
@misc{augustin2021open,
  author = {Alexandry Augustin and Alexandros Papangelis and Margarita Kotti and Pavlos Vougiouklis and Jonathon Hare and Norbert Braunschweiler},
  title = {{Open-domain Topic Identification of Out-of-domain Utterances using Wikipedia}},
  year = {2021},
  eprint = {2101.11134},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2101.11134},
}
Figure