arrow
Return

FedEnsemble: federated learning model for efficient sentiment analysis

delete2025-12-26
delete0
delete
OA
AI
H
Hesham Ayman *
S
Shaimaa Haridy
Y
Yasmine M. Afify
W
Walaa Gad
DOI:10.1007/s00607-025-01592-ydelete
deleteOriginal
deleteShare
deleteSave
View PDF
Abstract

Abstract

En 中文
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:
Model compression
Natural language processing (NLP)
Quantization
Attention-based stacking
Entropy-weighting
Transformers
AI Summary

AI Summary

Key information extracted from the uploaded paper, including a brief overview, abstract, background, key highlights, visual analysis, and future outlook.

Journal

C
Computing
IF:
2.8
Papers:
2.3K
Citations:
3.5K

Organization

F
Faculty of Computer and Information Sciences
Scholars:
58
Papers: 34
Citations: 0