Command Palette
Search for a command to run...
Towards Scalable and Reliable Capsule Networks for Challenging NLP Applications
Wei Zhao; Haiyun Peng; Steffen Eger; Erik Cambria; Min Yang

Abstract
Obstacles hindering the development of capsule networks for challenging NLP applications include poor scalability to large output spaces and less reliable routing processes. In this paper, we introduce: 1) an agreement score to evaluate the performance of routing processes at instance level; 2) an adaptive optimizer to enhance the reliability of routing; 3) capsule compression and partial routing to improve the scalability of capsule networks. We validate our approach on two NLP tasks, namely: multi-label text classification and question answering. Experimental results show that our approach considerably improves over strong competitors on both tasks. In addition, we gain the best results in low-resource settings with few training instances.
Code Repositories
Benchmarks
| Benchmark | Methodology | Metrics |
|---|---|---|
| multi-label-text-classification-on-eur-lex | NLP-Cap | P@1: 80.2 P@3: 65.48 P@5: 52.83 nDCG@1: 80.2 nDCG@3: 71.11 nDCG@5: 68.8 |
| question-answering-on-trecqa | NLP-Capsule | MAP: 0.7773 MRR: 0.7416 |
| text-classification-on-rcv1 | NLP-Cap | P@1: 97.05 P@3: 81.27 P@5: 56.33 nDCG@1: 97.05 nDCG@3: 92.47 nDCG@5: 93.11 |
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.