HyperAIHyperAI

Command Palette

Search for a command to run...

4 months ago

Joint Slot Filling and Intent Detection via Capsule Neural Networks

Chenwei Zhang; Yaliang Li; Nan Du; Wei Fan; Philip S. Yu

Joint Slot Filling and Intent Detection via Capsule Neural Networks

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.

Code Repositories

czhang99/Capsule-NLU
Official
tf
Mentioned in GitHub
Fireblossom/DeepDarkHomework
Mentioned in GitHub
Fireblossom/DeepDarkHomeword
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
intent-detection-on-atisCapsule-NLU
Accuracy: 0.95
intent-detection-on-snipsCapsule-NLU
Accuracy: 97.3
slot-filling-on-atisCapsule-NLU
F1: 0.952
slot-filling-on-snipsCapsule-NLU
F1: 0.918

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
Joint Slot Filling and Intent Detection via Capsule Neural Networks | Papers | HyperAI