Text Classification based on Multiple Block Convolutional Highways

Seyed Mahdi Rezaeinia, Ali Ghodsi, Rouhollah RahmaniarXiv 2018

Abstract

Deep learning models for text classification often struggle with vanishing gradients in deep architectures and the inability of standard word embeddings to capture sentiment and syntactic nuances. This paper introduces a dual-strategy approach: the Multiple Block Convolutional Highways (MBCH) architecture and Improved Word Vectors (IWV). MBCH utilizes highway networks and dense connections to facilitate gradient flow in deep networks, while IWV enriches semantic embeddings with sentiment lexicon scores and part-of-speech data. Experimental results across five benchmark datasets demonstrate that this combined approach achieves state-of-the-art performance, particularly in sentiment-heavy classification tasks.

Introduction

Convolutional Neural Networks (CNNs) have become a standard tool for sentiment analysis and text classification. However, two significant challenges persist. First, as networks grow deeper to capture complex features, they become increasingly difficult to train due to the vanishing gradient problem. Second, standard embeddings like Word2Vec or GloVe primarily capture semantic similarity but often fail to distinguish between words with similar contexts but opposite sentiment polarities (e.g., "good" vs. "bad"). This research addresses these limitations by proposing a novel architecture and a feature-rich embedding method.

Improved Word Vectors (IWV)

To bridge the information gap in standard embeddings, the authors propose Improved Word Vectors (IWV). Instead of relying solely on semantic representations, IWV creates a composite vector by concatenating three distinct information sources:

  1. Word2Vec/GloVe: Provides the base semantic representation.
  2. Lexicon2Vec (L2V): Incorporates sentiment scores from seven established lexicons, ensuring the model explicitly recognizes word polarity.
  3. POS2Vec (P2V): Encodes Part-of-Speech tags to provide a syntactic map of the input text.
The construction process of Improved Word Vectors (IWV) through the concatenation of semantic, sentiment, and syntactic features.

Multiple Block Convolutional Highways (MBCH)

The MBCH architecture is designed to optimize deep feature extraction while maintaining efficient gradient flow. It draws inspiration from Highway Networks and DenseNet architectures through several key components:

  • Highway Blocks: These blocks utilize gating mechanisms to regulate the flow of information, allowing gradients to bypass non-linear transformations when necessary.
  • Dense Connections: Each layer receives feature maps from all preceding layers, promoting feature reuse and reducing the number of parameters.
  • Bottleneck Layers: 1x1 convolutions are employed to reduce dimensionality before data enters the highway blocks, ensuring computational efficiency.
The MBCH architecture featuring initial convolutions, highway blocks, and 1x1 bottleneck layers leading to a final softmax output.

Experimental Results

The proposed model was evaluated on five benchmark datasets: CR (Customer Reviews), Subj (Subjectivity), Yelp (Restaurant Reviews), MPQA (Opinion Polarity), and IMDB (Movie Reviews). The MBCH-6F variant, which utilizes six different filter sizes (2 through 7), consistently outperformed established baselines.

Key performance highlights include:

  • IMDB: 92.0% accuracy (a 3.5% improvement over previous SOTA).
  • Yelp: 93.6% accuracy (a 2.4% improvement).
  • Subj: 94.1% peak accuracy.
  • MPQA: 90.5% accuracy.

Discussion and Conclusion

The success of MBCH and IWV underscores two important principles in modern NLP. First, explicitly incorporating traditional sentiment lexicons into deep learning pipelines remains highly effective for classification tasks. Second, "dense" and gated architectures allow relatively shallow models to outperform more complex recurrent structures like LSTMs. Future work may explore the scalability of this architecture for low-resource languages where high-quality sentiment lexicons are less available, as well as its application to more complex NLP tasks beyond binary or multi-class classification.

Summary updated

BibTeX
@misc{rezaeinia2018text,
  author = {Seyed Mahdi Rezaeinia and Ali Ghodsi and Rouhollah Rahmani},
  title = {{Text Classification based on Multiple Block Convolutional Highways}},
  year = {2018},
  eprint = {1807.09602},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1807.09602},
}
Figure