A Novel BGCapsule Network for Text Classification

07/02/2020
by   Akhilesh Kumar Gangwar, et al.
0

Several text classification tasks such as sentiment analysis, news categorization, multi-label classification and opinion classification are challenging problems even for modern deep learning networks. Recently, Capsule Networks (CapsNets) are proposed for image classification. It has been shown that CapsNets have several advantages over Convolutional Neural Networks (CNNs), while their validity in the domain of text has been less explored. In this paper, we propose a novel hybrid architecture viz., BGCapsule, which is a Capsule model preceded by an ensemble of Bidirectional Gated Recurrent Units (BiGRU) for several text classification tasks. We employed an ensemble of Bidirectional GRUs for feature extraction layer preceding the primary capsule layer. The hybrid architecture, after performing basic pre-processing steps, consists of five layers: an embedding layer based on GloVe, a BiGRU based ensemble layer, a primary capsule layer, a flatten layer and fully connected ReLU layer followed by a fully connected softmax layer. In order to evaluate the effectiveness of BGCapsule, we conducted extensive experiments on five benchmark datasets (ranging from 10,000 records to 700,000 records) including Movie Review (MR Imdb 2005), AG News dataset, Dbpedia ontology dataset, Yelp Review Full dataset and Yelp review polarity dataset. These benchmarks cover several text classification tasks such as news categorization, sentiment analysis, multiclass classification, multi-label classification and opinion classification. We found that our proposed architecture (BGCapsule) achieves better accuracy compared to the existing methods without the help of any external linguistic knowledge such as positive sentiment keywords and negative sentiment keywords. Further, BGCapsule converged faster compared to other extant techniques.

READ FULL TEXT
research
08/12/2018

Text classification using capsules

This paper presents an empirical exploration of the use of capsule netwo...
research
07/23/2018

Text Classification based on Multiple Block Convolutional Highways

In the Text Classification areas of Sentiment Analysis, Subjectivity/Obj...
research
10/22/2018

Compositional coding capsule network with k-means routing for text classification

Text classification is a challenging problem which aims to identify the ...
research
06/09/2019

Hierarchical Taxonomy-Aware and Attentional Graph Capsule RCNNs for Large-Scale Multi-Label Text Classification

CNNs, RNNs, GCNs, and CapsNets have shown significant insights in repres...
research
01/15/2018

Predicting Movie Genres Based on Plot Summaries

This project explores several Machine Learning methods to predict movie ...
research
05/21/2023

F-PABEE: Flexible-patience-based Early Exiting for Single-label and Multi-label text Classification Tasks

Computational complexity and overthinking problems have become the bottl...
research
06/17/2014

Notes on hierarchical ensemble methods for DAG-structured taxonomies

Several real problems ranging from text classification to computational ...

Please sign up or login with your details

Forgot password? Click here to reset