Skip to main content
QUICK REVIEW

[Paper Review] Attention-Based Recurrent Neural Network Models for Joint Intent Detection and Slot Filling

Bing Liu, Ian Lane|arXiv (Cornell University)|Sep 6, 2016
Topic ModelingComputer Science16 references68 citations
TL;DR

This paper proposes attention-based recurrent neural network models for joint intent detection and slot filling in spoken language understanding. By integrating explicit alignment information into encoder-decoder architectures and applying attention mechanisms to bidirectional RNNs, the model achieves state-of-the-art performance, reducing intent detection error by 0.56% (23.8% relative) and improving slot filling F1 by 0.23% over independent models on the ATIS benchmark.

ABSTRACT

Attention-based encoder-decoder neural network models have recently shown promising results in machine translation and speech recognition. In this work, we propose an attention-based neural network model for joint intent detection and slot filling, both of which are critical steps for many speech understanding and dialog systems. Unlike in machine translation and speech recognition, alignment is explicit in slot filling. We explore different strategies in incorporating this alignment information to the encoder-decoder framework. Learning from the attention mechanism in encoder-decoder model, we further propose introducing attention to the alignment-based RNN models. Such attentions provide additional information to the intent classification and slot label prediction. Our independent task models achieve state-of-the-art intent detection error rate and slot filling F1 score on the benchmark ATIS task. Our joint training model further obtains 0.56% absolute (23.8% relative) error reduction on intent detection and 0.23% absolute gain on slot filling over the independent task models.

Motivation & Objective

  • To improve joint intent detection and slot filling in spoken language understanding by combining attention mechanisms with alignment-aware RNNs.
  • To investigate how explicit alignment in slot filling can be effectively integrated into sequence-to-sequence encoder-decoder models.
  • To explore whether attention mechanisms from encoder-decoder models can enhance alignment-based RNNs for better slot labeling and intent classification.
  • To evaluate the performance gains of joint training over independent training for both intent detection and slot filling.

Proposed method

  • Uses a bidirectional RNN encoder to process input sequences and generate context vectors for the decoder.
  • Employs an attention mechanism in the decoder to dynamically attend to relevant encoder states during output generation, enabling soft alignment.
  • Introduces aligned inputs in the encoder-decoder framework, where each input word is paired with its corresponding slot label during training.
  • Applies attention to bidirectional RNNs by computing context vectors from hidden states to improve label prediction.
  • Trains joint models that share parameters between intent detection and slot filling, enabling end-to-end optimization.
  • Uses cross-entropy loss for both intent and slot prediction, with beam search during inference for sequence generation.

Experimental results

Research questions

  • RQ1How can explicit alignment information in slot filling be effectively incorporated into attention-based encoder-decoder models?
  • RQ2Can attention mechanisms from encoder-decoder models improve the performance of alignment-based RNNs in joint intent and slot prediction?
  • RQ3Does joint training of intent detection and slot filling yield better performance than independent training?
  • RQ4What is the relative contribution of attention and bidirectional encoding to model performance on the ATIS benchmark?

Key findings

  • The joint training model using the attention-based bidirectional RNN achieved a 0.56% absolute reduction in intent detection error rate (23.8% relative) compared to independent models.
  • The same joint model improved slot filling F1 score by 0.23% over independent training.
  • The attention-based encoder-decoder model with aligned inputs achieved a slot filling F1 score of 95.78%, advancing previous SOTA results.
  • The attention-based bidirectional RNN model achieved an intent detection error rate of 2.35%, outperforming previous state-of-the-art methods.
  • On the additional ATIS dataset with 10-fold cross-validation, the attention-based bidirectional RNN joint model achieved 95.78% F1 and 5.60% intent error rate, surpassing prior joint models.
  • The attention mechanism showed meaningful attention patterns, such as focusing on relevant words like 'noon' when predicting slot labels, indicating effective context utilization.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.