SOTAVerified

Investigating Capsule Networks with Dynamic Routing for Text Classification

2018-03-29EMNLP 2018Code Available0· sign in to hype

Wei Zhao, Jianbo Ye, Min Yang, Zeyang Lei, Suofei Zhang, Zhou Zhao

Code Available — Be the first to reproduce this paper.

Reproduce

Code

Abstract

In this study, we explore capsule networks with dynamic routing for text classification. We propose three strategies to stabilize the dynamic routing process to alleviate the disturbance of some noise capsules which may contain "background" information or have not been successfully trained. A series of experiments are conducted with capsule networks on six text classification benchmarks. Capsule networks achieve state of the art on 4 out of 6 datasets, which shows the effectiveness of capsule networks for text classification. We additionally show that capsule networks exhibit significant improvement when transfer single-label to multi-label text classification over strong baseline methods. To the best of our knowledge, this is the first work that capsule networks have been empirically investigated for text modeling.

Tasks

Benchmark Results

DatasetModelMetricClaimedVerifiedStatus
CRCapsule-BAccuracy85.1Unverified
MRCapsule-BAccuracy82.3Unverified
SST-2 Binary classificationCapsule-BAccuracy86.8Unverified

Reproductions