A Multiple Utterances based Neural Network Model for Joint Intent Detection and Slot Filling

Lingfeng Pan, Yi Zhang, Feiliang Ren, Yining Hou, Yan Li, Xiaobo Liang, Yongkang LiuCCKS Tasks 2018

TL;DR

This paper introduces a novel neural network model for spoken language understanding (SLU) that leverages multiple preceding utterances to improve intent detection and slot filling. By employing an utterance-to-utterance attention mechanism and a slot-gated mechanism, their model achieves state-of-the-art performance on a Chinese music domain dataset, outperforming previous single-utterance approaches.

What Problem Does This Paper Address?

Spoken Language Understanding (SLU) is crucial for dialogue systems, typically involving two tasks: identifying the user's intent and extracting relevant information (slots). Existing SLU models often process only the current utterance, which can lead to ambiguity due to the loss of contextual information. This is particularly problematic in languages like Chinese, where word boundaries are not always clear. The authors highlight an example where understanding the intent of "We are different" as a song request is only possible by considering previous utterances like "Sing a song." This paper aims to address this context-dependency by developing a model that effectively utilizes information from multiple preceding utterances.

Methods

The proposed model has three main components:

  • Utterance2utterance Attention: This component encodes each utterance in a sequence using a Bidirectional Gated Recurrent Unit (BiGRU). It then fuses the representations of multiple utterances using an attention mechanism. This allows the model to weigh the importance of information from different utterances when forming a comprehensive representation.
  • Slot Attention and Intent Attention: After fusing utterance information, this component computes a "slot context vector" for each word in the target utterance by attending to the fused representations of all utterances. Similarly, an "intent context vector" is computed for intent detection.
  • Output Layer with Slot-Gated Mechanism: This layer uses both the slot context vectors and the intent context vector to predict slot labels for each word in the last utterance. Crucially, a "slot-gated mechanism" is introduced to leverage the intent information to improve slot filling performance. This gate controls the flow of information between intent and slot predictions, allowing the model to better capture their interdependencies.

Datasets

The paper evaluates its model on the CCKS2018 Task 2 dataset. This dataset is specifically designed for intent detection and slot filling in the Chinese music domain. Each sample consists of three utterances, and the goal is to detect the intent and slots of the last utterance, using the first two as context. The dataset contains 12,000 samples, with 10,000 used for training and 2,000 for development.

Key Insights and Ideas

  • Context is King for SLU: The paper strongly demonstrates that considering multiple utterances is essential for accurate SLU, especially in ambiguous situations or for languages with less explicit word boundaries.
  • Attention for Cross-Utterance Fusion: The utterance2utterance attention mechanism is a powerful way to integrate information from sequential utterances, allowing the model to dynamically focus on the most relevant contextual cues.
  • Slot-Gating for Intent-Slot Synergy: The slot-gated mechanism effectively bridges the gap between intent detection and slot filling, showing that intent information can significantly enhance slot extraction accuracy. This suggests a more integrated approach to these two tasks is beneficial.

Key Results

The proposed model achieved a score of 1.41 on the CCKS2018 Task 2, ranking No. 2 among highly competitive models.

  • Overall Performance: The model outperformed a strong LSTM+CRF baseline (score 1.170) and an attention-based Encoder-Decoder model (score 1.365).
  • Component Contributions:
    • Adding the slot-gating mechanism improved the F1 score for slot filling (F1_E) by approximately 2%.
  • Incorporating contextual utterance information via the attention mechanism improved intent detection (F1_I) by about 1%.

Limitations and Future Work

  • Limitations: The paper acknowledges that the current model primarily focuses on the "deeper connections within multiple continuous utterances."
  • Future Work: The authors plan to further explore these deeper connections and investigate the use of "input utterances' syntactic structure information" to enhance input representations. They also suggest exploring the performance of input representations with different sequence lengths.

Summary updated

BibTeX
@inproceedings{pan2018multiple,
  author = {Lingfeng Pan and Yi Zhang and Feiliang Ren and Yining Hou and Yan Li and Xiaobo Liang and Yongkang Liu},
  title = {{A Multiple Utterances based Neural Network Model for Joint Intent Detection and Slot Filling}},
  booktitle = {CCKS Tasks},
  year = {2018},
  url = {https://openreview.net/forum?id=eyffad2218},
}
Figure