Authors

C. Ubani

Department of Computer Science, Rivers State University, Port Harcourt, Nigeria

E.O. Bennett

Department of Computer Science, Rivers State University, Port Harcourt, Nigeria

V.I.E. Anireh

Department of Computer Science, Rivers State University, Port Harcourt, Nigeria

D. Matthias

Department of Computer Science, Rivers State University, Port Harcourt, Nigeria

Abstract

In many real-world streaming applications, the unequal distribution of class instances presents significant challenges to conventional machine learning algorithms, leading to biased predictions and poor detection of minority-class events. This study proposes an Efficient Algorithm for Imbalanced Data Stream Management that addresses class imbalance while maintaining high processing speed and predictive accuracy in dynamic streaming environments. Existing approaches to opinion analysis in dynamic data streams face notable limitations, particularly in managing imbalanced sentiment distributions and adapting to evolving feature spaces over time. Opinion analysis often deals with imbalanced data streams, where certain sentiments or opinions may be more prevalent than others, which can cause the model to become biased toward the more common results. Addressing imbalanced data streams is crucial to prevent biased models and ensure accurate sentiment analysis. The methodology integrates a transformer-based contextual embedding model (DistilBERT) with an adaptive autoencoder for feature compression and Synthetic Minority Over-Sampling Technique (SMOTE) to address class imbalance in streaming sentiment datasets. Concept drift in dynamic opinion data is monitored using Feature Selection Stability and Drift (FSSD) combined with the ADWIN drift detection algorithm, enabling the system to adapt to evolving sentiment patterns over time. Performance evaluation is conducted using benchmark imbalanced data stream datasets and real-time streaming data, with assessment based on classification accuracy, precision, recall, F1-score, G-mean, Area Under the ROC Curve (AUC), processing time, memory utilization, and scalability. Experimental results demonstrate that the proposed algorithm effectively enhances minority-class detection, maintains robust predictive performance under concept drift, and significantly outperforms conventional streaming classification methods in terms of efficiency and adaptability. Experimental evaluation demonstrated that the proposed system significantly improves adaptability and classification robustness compared to static feature-based streaming models, particularly in handling feature evolution and imbalanced sentiment distributions in real-time opinion analysis environments.

Keywords

Imbalanced Data Streams Opinion Analysis SMOTE Concept Drift Transformer Autoencoder ADWIN Feature Selection Stability and Drift.

Citation of this Article

C. Ubani, E.O. Bennett, V.I.E. Anireh, & D. Matthias. (2026). An Efficient Algorithm for Imbalanced Data Streams Management in Opinion Analysis. Journal of Artificial Intelligence and Emerging Technologies (JAIET). 3(8), 1-8. Article DOI: https://doi.org/10.47001/JAIET/2026.308001

Licence Copyright (c) 2026 Journal of Artificial Intelligence and Emerging Technologies. This work is licensed under a Creative Commons Attribution Non Commercial 4.0 International Licence.

References

Zekaouiu, N. (2023). Analysis of the evolution of advanced transformer-based language models: experiments on opinion mining. IAES International Journal of Artificial Intelligence, 12(4), 1995 -2010.

Tuama, M. (2023). Beyond polarity: the potential applications and impacts of sentiment analysis and emotion detection. AKJS, 1(2), 44-51.

Dang, C., García, M., & Prieta, F. (2020). Sentiment analysis based on deep learning: a comparative study. Electronics, 9(3), Article 483.

Mabokela, K., Çelik, T., & Raborife, M. (2023). Multilingual sentiment analysis for under-resourced languages: a systematic review of the landscape. IEEE Access, 11, 15996-16020.

Zhang, D., Li, S., Zhu, Q., & Zhou, G. (2020). Multi-modal sentiment classification with independent and interactive knowledge via semi-supervised learning. IEEE Access, 8, 22945 - 22954

Redjeki, S. & Widyarto, S. (2022). Comparison of seven machine learning algorithms in the classification of public opinion. Tech-E, 5(2), 143-149.

Chung, S. & Aring, D. (2018). Integrated real-time big data stream sentiment analysis service. Journal of Data Analysis and Information Processing, 06(02), 46-66.

Wang, S., Minku, L., & Yao, X. (2015). Resampling-based ensemble methods for online class imbalance learning. IEEE Transactions on Knowledge and Data Engineering, 27(5), 1356-1368.

Pangastuti, S., Fithriasari, K., Iriawan, N., & Suryaningtyas, W. (2021). Data mining approach for educational decision support. Eksakta Journal of Sciences and Data Analysis, 33-44.

Bechini, A., Bondielli, A., Ducange, P., Marcelloni, F., &Renda, A. (2021). Addressing event-driven concept drift in twitter stream: a stance detection application. IEEE Access, 9, 77758-77770.

Korycki, L. & Krawczyk, B. (2021). Concept drift detection from multi-class imbalanced data streams. arXiv.

Bahar, K. (2023). Exploring somali sentiment analysis: a resource-light approach for small-scale text classification. International Conference on Applied Engineering and Natural Sciences, 1(1), 620-628.

Vargas-Calderón, V., Flórez, J., Ardila, L., Parra-A., N., Camargo, J., & Vargas, N. (2020). Learning from students’ perception on professors through opinion mining. In communications in Computer and Information Science (330-344).

Guesmi, T. (2023). Efficient social media sentiment analysis using confidence interval-based classification of online product brands. International Journal of Advanced and Applied Sciences, 10(10), 94-102.