Skip to main content
QUICK REVIEW

[Paper Review] A Co-Interactive Transformer for Joint Slot Filling and Intent Detection

Libo Qin, Tailu Liu|arXiv (Cornell University)|Oct 8, 2020
Topic ModelingComputer Science29 references11 citations
TL;DR

This paper proposes a Co-Interactive Transformer that explicitly models bidirectional, mutual influence between intent detection and slot filling via a co-interactive attention mechanism, outperforming prior methods by leveraging cross-task attention. The model achieves state-of-the-art performance on SNIPS and ATIS benchmarks, with further gains when combined with BERT.

ABSTRACT

Intent detection and slot filling are two main tasks for building a spoken language understanding (SLU) system. The two tasks are closely related and the information of one task can be utilized in the other task. Previous studies either model the two tasks separately or only consider the single information flow from intent to slot. None of the prior approaches model the bidirectional connection between the two tasks simultaneously. In this paper, we propose a Co-Interactive Transformer to consider the cross-impact between the two tasks. Instead of adopting the self-attention mechanism in vanilla Transformer, we propose a co-interactive module to consider the cross-impact by building a bidirectional connection between the two related tasks. In addition, the proposed co-interactive module can be stacked to incrementally enhance each other with mutual features. The experimental results on two public datasets (SNIPS and ATIS) show that our model achieves the state-of-the-art performance with considerable improvements (+3.4% and +0.9% on overall acc). Extensive experiments empirically verify that our model successfully captures the mutual interaction knowledge.

Motivation & Objective

  • To address the limitation of prior joint models that either implicitly share parameters or only model unidirectional information flow from intent to slot.
  • To explicitly model the bidirectional cross-impact between intent detection and slot filling in a unified framework.
  • To improve performance by enabling slot and intent representations to attend to each other's semantic information.
  • To demonstrate the effectiveness of explicit mutual interaction through ablation and comparative studies.

Proposed method

  • The framework uses a shared BiLSTM encoder to generate context-aware hidden states for input sequences.
  • A label attention layer is applied to obtain explicit intent and slot representations using learned embedding matrices for each label class.
  • The core co-interactive module replaces self-attention with a dual-attention mechanism: intent representations query slot representations and vice versa, enabling bidirectional interaction.
  • The co-interactive attention layer allows each task to attend to relevant information from the other, modeling cross-impact explicitly.
  • A feed-forward network is applied after the co-interactive layer to further fuse information implicitly.
  • The model is further enhanced by integrating BERT as the shared encoder, improving performance on both benchmarks.

Experimental results

Research questions

  • RQ1Can explicit bidirectional interaction between intent detection and slot filling improve joint performance compared to unidirectional or implicit methods?
  • RQ2How does the inclusion of explicit intent and slot representations affect model performance?
  • RQ3Does replacing self-attention with a co-interactive attention mechanism lead to better results than standard attention or shared parameter models?
  • RQ4How does the proposed framework compare to existing state-of-the-art models in joint intent and slot detection?

Key findings

  • The Co-Interactive Transformer achieves state-of-the-art performance on both SNIPS and ATIS datasets, outperforming all prior baselines.
  • The model with BERT integration achieves new state-of-the-art results, surpassing even Stack-Propagation + BERT.
  • Ablation studies show that removing the intent or slot attention layer degrades performance, confirming the importance of explicit representations.
  • Replacing the co-interactive layer with self-attention (which models interaction implicitly) leads to lower performance, proving the benefit of explicit bidirectional attention.
  • The bidirectional connection outperforms both intent-to-slot and slot-to-intent unidirectional setups, demonstrating mutual enhancement is superior.

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.