FedEnsemble: federated learning model for efficient sentiment analysis
Open Access
- 26 December 2025
- journal article
- research article
- Published by Springer Nature in Computing
- Vol. 108 (1) , 11
Abstract
In the realm of Natural Language Processing (NLP), sentiment analysis plays a crucial role in deriving insights from vast amounts of user-generated text. However, deploying state-of-the-art transformer-based models in real-world applications poses two key challenges: preserving user data privacy and mitigating the computational overhead associated with large-scale models. This study introduces FedEnsemble, a novel federated learning framework that addresses these challenges through three core innovations: (i) a heterogeneous ensemble of BERT, RoBERTa, and DistilBERT to enhance classification robustness; (ii) an entropy-based attention stacking mechanism that adaptively fuses model outputs according to predictive confidence; and (iii) Quantization-Aware Training (QAT) to compress models while maintaining high accuracy and communication efficiency. Extensive experiments on multiple benchmark datasets—including IMDB, Amazon Reviews, AG News, Sentiment140, and ISOT Fake News—demonstrate the effectiveness and generalizability of the proposed model. FedEnsemble consistently outperforms baseline meta-learners, achieving up to 98.10% accuracy on the IMDB dataset while delivering competitive results across diverse and noisy data distributions. Furthermore, applying 4-bit QAT reduced model size by 86.90% and inference time by 48.69%, with only a 1.80% decrease in accuracy. Experiments under non-IID conditions with skewed label distributions further confirmed the robustness of the model, maintaining accuracy above 95%. Statistical significance tests (t-test, p < 0.05) validated the reliability of these improvements.Keywords
Funding Information
- Ain Shams University
This publication has 51 references indexed in Scilit:
- A joint bidding mode for charging stations approaching social welfare maximizationInternational Journal of Electrical Power & Energy Systems, 2025
- Efficient federated recommender system based on Slimify Module and Feature Sharpening ModuleKnowledge and Information Systems, 2025
- RoBERTa, ResNeXt and BiLSTM with self-attention: The ultimate trio for customer sentiment analysisApplied Soft Computing, 2024
- Synchronization-based semi-supervised data streams classification with label evolution and extreme verification delayInformation Sciences, 2024
- An attention-based stacked BiLSTM framework for predicting remaining useful life of rolling bearingsApplied Soft Computing, 2022
- Quantization-aware training for low precision photonic neural networksNeural Networks, 2022
- A review on the attention mechanism of deep learningNeurocomputing, 2021
- Detecting opinion spams and fake news using text classificationSecurity and Privacy, 2017
- Bits and bytes: the future of radiology lies in informatics and information technologyEuropean Radiology, 2017
- A Mathematical Theory of CommunicationBell System Technical Journal, 1948