Joint Slot Filling and Intent Detection via Capsule Neural Networks
About
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.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Slot Filling | ATIS (test) | F1 Score95.2 | 55 | |
| Intent Classification | Snips (test) | Accuracy97.7 | 40 | |
| Natural Language Understanding | Snips (test) | Intent Acc97.7 | 27 | |
| Slot Filling | Snips (test) | F1 Score0.918 | 25 | |
| Spoken Language Understanding | ATIS (test) | Slot F195.2 | 18 | |
| Spoken Language Understanding | ATIS | Slot F195.2 | 16 | |
| Spoken Language Understanding | SNIPS | Slot F191.8 | 15 | |
| Intent Detection | ATIS (test) | -- | 13 | |
| Joint Slot Filling and Intent Detection | SNIPS-NLU (test) | Intent Accuracy0.977 | 11 | |
| Joint Slot Filling and Intent Detection | ATIS (test) | Slot F195.2 | 11 |