Joint Slot Filling and Intent Detection via Capsule Neural Networks

Chenwei Zhang, Yaliang Li, Nan Du, Wei Fan, Philip S. Yu
12/22/2018
cs.CL

Official code: czhang99/Capsule-NLU (139 stars, TensorFlow, last commit 2023-03-24).

Abstract

Being able to recognize words as slots and detect the intent of an utterance has been a keen issue in natural language understanding. The existing works either treat slot filling and intent detection separately in a pipeline manner, or adopt joint models which sequentially label slots while summarizing the utterance-level intent without explicitly preserving the hierarchical relationship among words, slots, and intents. To exploit the semantic hierarchy for effective modeling, we propose a capsule-based neural network model which accomplishes slot filling and intent detection via a dynamic routing-by-agreement schema. A re-routing schema is proposed to further synergize the slot filling performance using the inferred intent representation. Experiments on two real-world datasets show the effectiveness of our model when compared with other alternative model architectures, as well as existing natural language understanding services.

View on arXivView PDF

Code Implementations(1)

TensorFlow

Joint Slot Filling and Intent Detection via Capsule Neural Networks (ACL'19) https://arxiv.org/abs/1812.09471

13927PythonJul 8, 20193 years ago
acl2019capsule-neural-networksdeep-learningintent-detectionnatural-language-understanding+2 more

Similar Papers

Cite this paper

@article{zhang2018joint,
  title  = {Joint Slot Filling and Intent Detection via Capsule Neural Networks},
  author = {Chenwei Zhang and Yaliang Li and Nan Du and Wei Fan and Philip S. Yu},
  year   = {2018},
  eprint = {1812.09471},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1812.09471}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1812.09471.svg)](https://codeofpaper.com/paper/1812.09471)

Discussion