Manuscript Offprint

arXiv:2608.25190

BanglaMamba: Exploring State Space Models for Bangla Fake News Detection

M. K. Khalidi Siam

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

Fake news detection has become an important Natural Language Processing (NLP) task due to the rapid spread of misinformation through online news platforms and social media. While transformer-based models such as BanglaBERT achieve strong performance for Bangla text classification, their quadratic computational complexity makes them less suitable for long-document processing in resource-constrained environments. This paper investigates Mamba-based State Space Models (SSMs) as an efficient alternative for Bangla fake news detection. We propose BanglaMamba and compare it with pre-trained BanglaBERT and a similarly configured BERT model trained from scratch. Experimental results show that BanglaBERT achieves the highest Macro-F1 score (0.9260), while BanglaMamba (0.9029) achieves performance comparable to the from-scratch CustomBERT (0.9057) despite using a different architecture. Meanwhile, BanglaMamba achieves approximately 2.2×2.2\times higher inference throughput and 49% lower inference peak GPU memory usage than the BERT-based models. Cross-dataset evaluation shows that BanglaBERT generalizes better to an external dataset, highlighting the importance of large-scale pretraining. These findings demonstrate that Mamba-based SSMs can provide a competitive and computationally efficient alternative to Transformer-based architectures for Bangla fake news detection, particularly in resource-constrained settings.

1 INTRODUCTION

Fake news has become a major challenge in the digital information era, where misleading information spreads rapidly through online news portals and social media. The widespread dissemination of false information can influence public opinion and undermine trust in credible news sources, making automatic fake news detection an important research problem in Natural Language Processing (NLP).

In recent years, transformer-based models such as BERT have significantly improved fake news detection by learning contextual representations that outperform traditional machine learning and conventional deep learning approaches (Devlin et al., 2019; Dell'Oglio et al., 2026). For Bangla NLP, BanglaBERT has emerged as a strong pretrained language model for text classification tasks (Bhattacharjee et al., 2022).

Despite their effectiveness, transformer-based models have important limitations. The self-attention mechanism has quadratic time and memory complexity with respect to input length, resulting in increased computational cost and GPU memory consumption for longer sequences (Vaswani et al., 2017).

Recent advances in State Space Models (SSMs), particularly the Mamba architecture, provide an alternative approach for efficient long-sequence modeling through linear scaling with sequence length while maintaining competitive sequence modeling performance (Gu & Dao, 2024). However, the application of SSMs to Bangla fake news detection remains largely unexplored. Furthermore, existing studies have not systematically compared transformer-based and SSM-based models in terms of classification performance and computational efficiency.

To address these gaps, this paper investigates a Mamba-based State Space Model, referred to as BanglaMamba, for Bangla fake news detection and compares it with a pre-trained BanglaBERT and a similarly configured Transformer model trained from scratch (CustomBERT). The main contributions of this work are as follows:

• To the best of our knowledge, this is the first study to investigate a Mamba-based State Space Model (SSM) for Bangla fake news detection.

• We provide a systematic comparison of BanglaMamba with BanglaBERT and a similarly configured CustomBERT in terms of classification performance and computational efficiency, including GPU memory usage, inference latency, and throughput, while using the from-scratch Transformer baseline to distinguish architectural effects from the benefits of language pretraining.

• We evaluate the out-of-domain generalization of all three models on an external Bangla fake news dataset to examine their robustness under a shifted data distribution.

References (26)