Classification Benchmarks for Under-resourced Bengali Language based on Multichannel Convolutional-LSTM Network

Md. Rezaul Karim, Bharathi Raja Chakravarthi, John P. McCrae, Michael Cochez

Abstract

Bengali is the seventh most spoken language globally, yet it remains "under-resourced" in the field of Natural Language Processing (NLP). This research addresses the digital divide by introducing BengFastText, a massive word embedding model, and MConv-LSTM, a hybrid deep learning architecture designed for complex text classification tasks. By training on a corpus of 250 million articles and utilizing a multichannel CNN-LSTM network, the authors establish new performance benchmarks for hate speech detection, sentiment analysis, and document classification in Bengali.

Introduction

The rapid growth of online content in non-English languages necessitates robust NLP tools for moderation and analysis. Bengali, with approximately 230 million speakers, faces significant hurdles in AI development due to data scarcity, morphological complexity, and the limitations of existing models in capturing both local and global linguistic contexts. This paper proposes a comprehensive solution to these challenges, providing a foundation for future Bengali NLP research.

Methodology

BengFastText: Subword-level Embeddings

To address the morphological richness of Bengali and the prevalence of "Out-of-Vocabulary" (OOV) terms, the researchers developed BengFastText. Using the fastText algorithm, this model was trained on a diverse corpus of 250 million articles from Wikipedia, news outlets, and social media. By treating words as bags of character n-grams, BengFastText captures the semantic meaning of sub-components (prefixes and suffixes), making it highly resilient to grammatical inflections and misspellings.

MConv-LSTM Architecture

The core of the classification framework is the Multichannel Convolutional-LSTM (MConv-LSTM) network. This hybrid model combines the strengths of two distinct architectures:

  • CNN Channels: Three parallel convolutional layers with varying kernel sizes (4, 6, and 8) extract local features and short phrases (n-grams).
  • LSTM Layer: A parallel Long Short-Term Memory layer captures long-range dependencies and the sequential structure of the text.

The outputs from these channels are fused and passed through dropout layers to mitigate overfitting before reaching the final Softmax classification layer.

Experimental Setup and Datasets

The study introduces three significant, manually annotated benchmarks to evaluate the proposed model:

  1. Document Classification: 376,226 documents categorized into State, Economy, International, Entertainment, and Sports.
  2. Hate Speech Detection: 35,000 statements classified into Political, Religious, Gender Abusive, Geopolitical, and Personal hate.
  3. Sentiment Analysis: 320,000 reviews labeled with binary (Positive/Negative) sentiment.
Word clouds representing frequently used terms in (a) hate speech, (b) sentiments, and (c) general topics of discussion within the Bengali datasets.

Results and Discussion

The MConv-LSTM model, initialized with BengFastText embeddings, consistently outperformed traditional machine learning models (like SVM and Random Forest) and standard deep learning baselines (Word2Vec, GloVe).

  • Document Classification: Achieved an F1-score of 92.30%, representing an ~8.75% boost over standalone models.
  • Hate Speech Detection: Reached 90.45% F1-score, outperforming the best classic model (Gradient Boosted Trees) by ~4%.
  • Sentiment Analysis: Achieved an F1-score of 82.25% with a strong Pearson correlation (> 0.65).

The results highlight the "hybrid power" of combining CNNs for keyword spotting and LSTMs for contextual understanding. Furthermore, the use of subword information proved critical for handling the linguistic nuances of Bengali.

Conclusion and Future Work

This work provides a robust framework for Bengali NLP, demonstrating that hybrid architectures and subword-aware embeddings can overcome the challenges of under-resourced languages. Future research will focus on fine-grained sentiment analysis, incorporating user-centric features for hate speech detection, and exploring Transformer-based models like BERT to further enhance performance.

Summary updated

Abstract

Exponential growths of social media and micro-blogging sites not only provide platforms for empowering freedom of expressions and individual voices, but also enables people to express anti-social behavior like online harassment, cyberbul-lying, and hate speech. Numerous works have been proposed to utilize these data for social and anti-social behavior analysis, document characterization, and sentiment analysis by predicting the contexts mostly for highly resourced languages like English. However, some languages are under-resources, e.g., South Asian languages like Bengali, Tamil, Assamese, Malayalam, that lack of computational resources for natural language processing. In this paper <sup xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">1</sup> , we provide several classification benchmarks for Bengali, an under-resourced language. We prepared three datasets of expressing hate, commonly used topics, and opinions for hate speech detection, document classification, and sentiment analysis. We built the largest Bengali word embedding models to date based on 250 million articles, which we call BengFastText. We perform three experiments, covering document classification, sentiment analysis, and hate speech detection. We incorporate word embeddings into a Multichannel Convolutional-LSTM (MC-LSTM) network for predicting different types of hate speech, document classification, and sentiment analysis. Experiments demonstrate that BengFastText can capture the semantics of words from respective contexts correctly. Evaluations against several baseline embedding models, e.g., Word2Vec and GloVe yield up to 92.30%, 82.25%, and 90.45% F1-scores in case of document classification, sentiment analysis, and hate speech detection, respectively during 5-fold cross-validation tests.
BibTeX
@inproceedings{karim2020classification,
  author = {Md. Rezaul Karim and Bharathi Raja Chakravarthi and John P. McCrae and Michael Cochez},
  title = {{Classification Benchmarks for Under-resourced Bengali Language based on Multichannel Convolutional-LSTM Network}},
  booktitle = {DSAA},
  year = {2020},
  url = {https://openreview.net/forum?id=LhTDhDUPs1z},
}
Figure