An Adaptive Random Forest for Data Stream Sentiment Classification under Concept Drift
Abstract
Data labeling plays a crucial role in determining the performance of machine learning models, especially in data stream environments where concept drift frequently occurs. The primary objective of this study is to analyze the effectiveness of adaptive learning models in managing dynamic data distribution changes and to evaluate the influence of different labeling strategies on sentiment classification performance using user reviews from the OVO mobile application. The research contributes to understanding how labeling approaches interact with adaptive modeling under real-time data stream conditions. Two labeling methods were employed: score-based labeling derived from user ratings and content-based labeling generated automatically using the IndoRoBERTa language model. These labeled data streams were evaluated using two classifiers: a conventional Random Forest model and an Adaptive Random Forest model designed to handle evolving data distributions. The evaluation was conducted through streaming experiments that continuously fed new review data to simulate real-world drift scenarios. The results reveal that in the score-based labeling scenario, the conventional Random Forest model’s accuracy gradually declined, reaching a final accuracy of 31%, while the Adaptive Random Forest achieved 80%, reflecting a 49% performance gap. In the content-based labeling scenario, both models improved over time, with final accuracies of 57% for Random Forest and 76% for the adaptive model, resulting in a 19% difference. These findings indicate that Adaptive Random Forest is more robust in adapting to distributional and temporal changes in data streams regardless of the labeling strategy used. This study implies that combining adaptive learning with semantically rich labeling approaches can substantially enhance model reliability in real-time sentiment analysis tasks. Future research may further explore hybrid adaptive mechanisms to improve the resilience of data stream classification models across various domains.
Keywords
Full Text:
PDFReferences
G. J. Aguiar and A. Cano, “Enhancing Concept Drift Detection in Drifting and Imbalanced Data Streams through Meta-Learning,” in Proceedings - 2023 IEEE International Conference on Big Data, BigData 2023, Institute of Electrical and Electronics Engineers Inc., 2023, pp. 2648–2657. doi: 10.1109/BigData59044.2023.10386364.
M. A. Shyaa, N. F. Ibrahim, Z. Zainol, R. Abdullah, M. Anbar, and L. Alzubaidi, “Evolving cybersecurity frontiers: A comprehensive survey on concept drift and feature dynamics aware machine and deep learning in intrusion detection systems,” Nov. 01, 2024, Elsevier Ltd. doi: 10.1016/j.engappai.2024.109143.
B. Halstead et al., “Analyzing and repairing concept drift adaptation in data stream classification,” Mach Learn, vol. 111, no. 10, pp. 3489–3523, Oct. 2022, doi: 10.1007/s10994-021-05993-w.
X. Jin and Y. Zhang, “Adaptive Random Forest with Dynamic Detectors for Evolving Data Stream Classification,” in ACM International Conference Proceeding Series, Association for Computing Machinery, Mar. 2023, pp. 678–684. doi: 10.1145/3594315.3594390.
N. Abdulla, M. Demirci, and S. Ozdemir, “Adaptive Learning on Fog-Cloud Collaborative Architecture for Stream Data Processing,” in 2021 International Symposium on Networks, Computers and Communications, ISNCC 2021, Institute of Electrical and Electronics Engineers Inc., 2021. doi: 10.1109/ISNCC52172.2021.9615824.
A. O. Alqabbany and A. M. Azmi, “Measuring the effectiveness of adaptive random forest for handling concept drift in big data streams,” Entropy, vol. 23, no. 7, Jul. 2021, doi: 10.3390/e23070859.
Kevin Parnow, Zuchao Li, and Hai Zhao, Grammatical Error Correction: More Data with More Context. IEEE, 2020. doi: 10.1109/IALP51396.2020.9310498.
Ł. Korycki and B. Krawczyk, “Adaptive Deep Forest for Online Learning from Drifting Data Streams,” Oct. 2020, [Online]. Available: http://arxiv.org/abs/2010.07340
M. G. Rahman and M. Z. Islam, “Adaptive Decision Forest: An Incremental Machine Learning Framework,” Jan. 2021, [Online]. Available: http://arxiv.org/abs/2101.11828
L. Yang and A. Shami, “A Lightweight Concept Drift Detection and Adaptation Framework for IoT Data Streams,” Apr. 2021, doi: 10.1109/IOTM.0001.2100012.
F. Ceschin, M. Botacin, H. M. Gomes, F. Pinagé, L. S. Oliveira, and A. Grégio, “Fast & Furious: Modelling Malware Detection as Evolving Data Streams,” May 2022, doi: 10.1016/j.eswa.2022.118590.
M. Badar, W. Nejdl, and M. Fisichella, “FAC-fed: Federated adaptation for fairness and concept drift aware stream classification,” Mach Learn, vol. 112, no. 8, pp. 2761–2786, Aug. 2023, doi: 10.1007/s10994-023-06360-7.
E. Yu, J. Lu, B. Zhang, and G. Zhang, “Online Boosting Adaptive Learning under Concept Drift for Multistream Classification,” Jan. 2024, [Online]. Available: http://arxiv.org/abs/2312.10841
Z. Han et al., “A Survey on Event Tracking in Social Media Data Streams,” Big Data Mining and Analytics, vol. 7, no. 1, pp. 217–243, Mar. 2024, doi: 10.26599/BDMA.2023.9020021.
E. Yu, Y. Song, G. Zhang, and J. Lu, “Learn-to-adapt: Concept drift adaptation for hybrid multiple streams,” Neurocomputing, vol. 496, pp. 121–130, Jul. 2022, doi: 10.1016/j.neucom.2022.05.025.
Y. Vivek, “ROSFD: Robust Online Streaming Fraud Detection with Resilience to Concept Drift in Data Streams,” 2025.
M. A. Khder, “Web scraping or web crawling: State of art, techniques, approaches and application,” International Journal of Advances in Soft Computing and its Applications, vol. 13, no. 3, pp. 144–168, 2021, doi: 10.15849/ijasca.211128.11.
Z. Jiang, B. Gao, Y. He, Y. Han, P. Doyle, and Q. Zhu, “Text Classification Using Novel Term Weighting Scheme-Based Improved TF-IDF for Internet Media Reports,” Math Probl Eng, vol. 2021, 2021, doi: 10.1155/2021/6619088.
S. J. S. K. V. S. Jain, “An Effective TF-IDF Model to Improve the Text - Classification Performance,” 2024.
S. G. Liu, R. Liu, and S. Y. Rao, “Secure and efficient two-party collaborative SM9 signature scheme suitable for smart home,” Journal of King Saud University - Computer and Information Sciences, vol. 34, no. 7, pp. 4022–4030, Jul. 2022, doi: 10.1016/j.jksuci.2022.05.008.
Y. Zhong, H. Yang, Y. Zhang, P. Li, and C. Ren, “Long short-term memory self-adapting online random forests for evolving data stream regression,” Neurocomputing, vol. 457, pp. 265–276, Oct. 2021, doi: 10.1016/j.neucom.2021.05.026.
Z. Pang, J. Cen, and M. Yi, “Unsupervised concept drift detection method based on robust random cut forest,” International Journal of Machine Learning and Cybernetics, vol. 14, no. 12, pp. 4207–4222, Dec. 2023, doi: 10.1007/s13042-023-01890-x.
F. Ridder, K. H. Chen, and N. Alachiotis, “Accelerated Real-Time Classification of Evolving Data Streams using Adaptive Random Forests,” in Proceedings - International Conference on Field-Programmable Technology, ICFPT, Institute of Electrical and Electronics Engineers Inc., 2023, pp. 232–237. doi: 10.1109/ICFPT59805.2023.00031.
M. M. Yacoub, A. Rezk, and M. B. Senousy, “ADAPTIVE CLASSIFICATION IN DATA STREAM MINING,” J Theor Appl Inf Technol, vol. 15, no. 13, 2020, [Online]. Available: www.jatit.org
S. si Zhang, J. wei Liu, and X. Zuo, “Adaptive online incremental learning for evolving data streams,” Appl Soft Comput, vol. 105, Jul. 2021, doi: 10.1016/j.asoc.2021.107255.
J. Haug, A. Braun, S. Zürn, and G. Kasneci, “Change Detection for Local Explainability in Evolving Data Streams,” in International Conference on Information and Knowledge Management, Proceedings, Association for Computing Machinery, Oct. 2022, pp. 706–716. doi: 10.1145/3511808.3557257.
G. Goos, E. Bertino, W. Gao, B. Steffen, and M. Yung, “Artificial Neural Networks and Machine Learning – ICANN 2022,” 2022. [Online]. Available: https://link.springer.com/bookseries/558
E. B. Gulcan and F. Can, “Implicit Concept Drift Detection for Multi-label Data Streams,” Jan. 2022, [Online]. Available: http://arxiv.org/abs/2202.00070
W. Ren, P. Wang, X. Li, C. E. Hughes, and Y. Fu, “Semi-supervised Drifted Stream Learning with Short Lookback,” in Proceedings of the ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, Association for Computing Machinery, Aug. 2022, pp. 1504–1513. doi: 10.1145/3534678.3539297.
A. L. Suárez-Cetrulo, D. Quintana, and A. Cervantes, “A survey on machine learning for recurring concept drifting data streams,” Mar. 01, 2023, Elsevier Ltd. doi: 10.1016/j.eswa.2022.118934.
S. Kumar, R. Singh, M. Z. Khan, and A. Noorwali, “Design of adaptive ensemble classifier for online sentiment analysis and opinion mining,” PeerJ Comput Sci, vol. 7, pp. 1–24, 2021, doi: 10.7717/peerj-cs.660.
Y. Sun, B. Pfahringer, H. M. Gomes, and A. Bifet, “SOKNL: A novel way of integrating K-nearest neighbours with adaptive random forest regression for data streams,” Data Min Knowl Discov, vol. 36, no. 5, pp. 2006–2032, Sep. 2022, doi: 10.1007/s10618-022-00858-9.
Z. Yuan, Y. Sun, and D. Shasha, “Forgetful Forests: Data Structures for Machine Learning on Streaming Data under Concept Drift,” Algorithms, vol. 16, no. 6, Jun. 2023, doi: 10.3390/a16060278.
Q. Xiang, L. Zi, X. Cong, and Y. Wang, “Concept Drift Adaptation Methods under the Deep Learning Framework: A Literature Review,” Jun. 01, 2023, MDPI. doi: 10.3390/app13116515.
T. Mahmood and T. Fatima, “Concept Drift in Streaming Data: A Systematic Literature Review,” 2021. doi: 10.51153/KJCIS.V4I1.43.
D. Mulimani, P. Patil, S. Totad, and R. Benni, “Online Detection and Adaptation of Concept Drift in Streaming Data Classification,” in Procedia Computer Science, Elsevier B.V., 2024, pp. 2803–2811. doi: 10.1016/j.procs.2024.04.265.
K. Goel and S. Batra, “Adaptive Online Learning for Classification under Concept Drift.”
DOI: https://doi.org/10.47738/jads.v7i2.1153
Refbacks
- There are currently no refbacks.

Journal of Applied Data Sciences
| ISSN | : | 2723-6471 (Online) |
| Publisher | : | Bright Publisher |
| Website | : | http://bright-journal.org/JADS |
| : | taqwa@amikompurwokerto.ac.id (principal contact) | |
| support@bright-journal.org (technical issues) |
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0




.png)