Lune

AAAI2021Top-tier venue

Encoding Syntactic Knowledge in Transformer Encoder for Intent Detection and Slot Filling

Jixuan Wang, Kai Wei, Martin Radfar, Weiwei Zhang, Clement Chung

Abstract

We propose a novel Transformer encoder-based architecture with syntactical knowledge encoded for intent detection and slot filling. Specifically, we encode syntactic knowledge into the Transformer encoder by jointly training it to predict syntactic parse ancestors and part-of-speech of each token via multi-task learning. Our model is based on self-attention and feed-forward layers and does not require external syntactic information to be available at inference time. Experiments show that on two benchmark datasets, our models with only two Transformer encoder layers achieve state-of-the-art results. Compared to the previously best performed model without pre-training, our models achieve absolute F1 score and accuracy improvement of 1.59 % and 0.85 % for slot filling and intent detection on the SNIPS dataset, respectively. Our models also achieve absolute F1 score and accuracy improvement of 0.1 % and 0.34 % for slot filling and intent detection on the ATIS dataset, respectively, over the previously best performed model. Furthermore, the visualization of the self-attention weights illustrates the benefits of incorporating syntactic information during training.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

Builds onCited byLeft to right by year; the more cited, the higher.

Builds on2

  1. SG-Net: Syntax-Guided Machine Reading ComprehensionZhuosheng Zhang, Yuwei Wu, Junru Zhou, Sufeng Duan et al.AAAI 2020 · 192 citations
  2. Graph LSTM with Context-Gated Mechanism for Spoken Language UnderstandingLinhao Zhang, Dehong Ma, Xiaodong Zhang, Xiaohui Yan et al.AAAI 2020 · 57 citations

Related papers

  1. Enhancing Joint Multiple Intent Detection and Slot Filling with Global Intent-Slot Co-occurrenceMengxiao Song, Bowen Yu, Quangang Li, Yubin Wang et al.EMNLP 2022 · 28 citations
  2. Co-guiding Net: Achieving Mutual Guidances between Multiple Intent Detection and Slot Filling via Heterogeneous Semantics-Label GraphsBowen Xing, Ivor W. TsangEMNLP 2022 · 36 citations
  3. MISCA: A Joint Model for Multiple Intent Detection and Slot Filling with Intent-Slot Co-AttentionThinh Pham, Tran Chi, Dat Quoc NguyenEMNLP Findings 2023 · 21 citations
  4. Augmented Natural Language for Generative Sequence LabelingBen Athiwaratkun, Cícero Nogueira dos Santos, Jason Krone, Bing XiangEMNLP 2020 · 54 citations
  5. Decoupling Representation and Knowledge for Few-Shot Intent Classification and Slot FillingJie Han, Yixiong Zou, Haozhao Wang, Jun Wang et al.AAAI 2024 · 4 citations
Dusk over the sea between two cliffs drawn in fine vertical lines