TasksSotADatasetsPapersMethodsSubmitAbout
Papers With Code 2

A community resource for machine learning research: papers, code, benchmarks, and state-of-the-art results.

Explore

Notable BenchmarksAll SotADatasetsPapersMethods

Community

Submit ResultsAbout

Data sourced from the PWC Archive (CC-BY-SA 4.0). Built by the community, for the community.

Papers/Investigating Capsule Networks with Dynamic Routing for Te...

Investigating Capsule Networks with Dynamic Routing for Text Classification

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

2018-03-29EMNLP 2018 10Text ClassificationSubjectivity AnalysisSentiment AnalysisGeneral ClassificationClassificationMulti-Label Text Classification
PaperPDFCodeCode(official)CodeCode

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.

Results

TaskDatasetMetricValueModel
Sentiment AnalysisCRAccuracy85.1Capsule-B
Sentiment AnalysisMRAccuracy82.3Capsule-B
Sentiment AnalysisSST-2 Binary classificationAccuracy86.8Capsule-B
Subjectivity AnalysisSUBJAccuracy93.8Capsule-B
Text ClassificationTREC-6Error7.2Capsule-B
Text ClassificationAG NewsError7.4Capsule-B
ClassificationTREC-6Error7.2Capsule-B
ClassificationAG NewsError7.4Capsule-B

Related Papers

Making Language Model a Hierarchical Classifier and Generator2025-07-17AdaptiSent: Context-Aware Adaptive Attention for Multimodal Aspect-Based Sentiment Analysis2025-07-17Adversarial attacks to image classification systems using evolutionary algorithms2025-07-17Efficient Calisthenics Skills Classification through Foreground Instance Selection and Depth Estimation2025-07-16Safeguarding Federated Learning-based Road Condition Classification2025-07-16AI Wizards at CheckThat! 2025: Enhancing Transformer-Based Embeddings with Sentiment for Subjectivity Detection in News Articles2025-07-15DCR: Quantifying Data Contamination in LLMs Evaluation2025-07-15SentiDrop: A Multi Modal Machine Learning model for Predicting Dropout in Distance Learning2025-07-14