Skip to main content
QUICK REVIEW

[Paper Review] Enriched Pre-trained Transformers for Joint Slot Filling and Intent Detection

Momchil Hardalov, Ivan Koychev|arXiv (Cornell University)|Apr 30, 2020
Topic ModelingComputer Science11 citations
TL;DR

This paper proposes Transformer-NLU, a joint intent detection and slot filling model that enhances BERT and RoBERTa with an intent pooling attention mechanism, word features (case, NER), and intent-guided slot representation. It achieves state-of-the-art performance, reducing error by over 55% on SNIPS and 5% on ATIS in slot F1 and intent accuracy.

ABSTRACT

Detecting the user's intent and finding the corresponding slots among the utterance's words are important tasks in natural language understanding. Their interconnected nature makes their joint modeling a standard part of training such models. Moreover, data scarceness and specialized vocabularies pose additional challenges. Recently, the advances in pre-trained language models, namely contextualized models such as ELMo and BERT have revolutionized the field by tapping the potential of training very large models with just a few steps of fine-tuning on a task-specific dataset. Here, we leverage such models, namely BERT and RoBERTa, and we design a novel architecture on top of them. Moreover, we propose an intent pooling attention mechanism, and we reinforce the slot filling task by fusing intent distributions, word features, and token representations. The experimental results on standard datasets show that our model outperforms both the current non-BERT state of the art as well as some stronger BERT-based baselines.

Motivation & Objective

  • To address the challenge of low-resource NLU tasks with limited labeled data and specialized vocabularies.
  • To improve joint intent classification and slot filling by leveraging pre-trained language models beyond standard fine-tuning.
  • To enhance slot filling with explicit features (case, NER) and predicted intent distributions as guidance.
  • To investigate the implicit knowledge captured in pre-trained models for NLU tasks.
  • To design a more effective pooling mechanism than the [CLS] token for intent representation.

Proposed method

  • Introduce an intent pooling attention layer that computes a weighted sum of all token representations from the last BERT/RoBERTa layer, replacing reliance on the [CLS] token.
  • Extract word-level features including true case and named entity recognition (NER) predictions for each token.
  • Fuse the predicted intent distribution, BERT/RoBERTa’s last hidden states, and word features into a unified slot filling layer.
  • Use a CRF layer on top of the slot prediction head to model label dependencies.
  • Train the model end-to-end on ATIS and SNIPS datasets using joint loss for intent and slot tagging.
  • Evaluate the model with ablation studies to isolate the contribution of each component.
(a) BERT-Joint.
(a) BERT-Joint.

Experimental results

Research questions

  • RQ1Can a more effective intent representation than the [CLS] token improve joint intent and slot filling performance?
  • RQ2How much does incorporating word-specific features (case, NER) improve slot filling accuracy?
  • RQ3To what extent does using the predicted intent distribution as a guide enhance slot tagging?
  • RQ4Does the enriched model outperform both non-BERT and strong BERT-based baselines on standard NLU benchmarks?
  • RQ5What kind of task-relevant knowledge is encoded in pre-trained models like BERT and RoBERTa for NLU?

Key findings

  • Transformer-NLU achieved a 97.87% intent accuracy on ATIS and 98.86% on SNIPS, significantly outperforming prior non-BERT SOTA.
  • On the SNIPS dataset, the model reduced error by over 55% in slot F1 compared to the previous state-of-the-art, achieving 96.57% F1.
  • On ATIS, the model achieved a 13.66% relative error reduction in slot F1, reaching 96.25% F1.
  • The use of RoBERTa and a CRF layer did not improve performance, suggesting that the proposed enhancements are more impactful than architectural changes.
  • The intent pooling mechanism and feature fusion contributed significantly to performance gains, especially on low-resource settings.
  • The model demonstrated that pre-trained models contain substantial implicit knowledge relevant to intent and slot detection, which can be effectively leveraged through architectural enhancements.
(b) Transformer-NLU (ours).
(b) Transformer-NLU (ours).

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.