FedEnsemble: federated learning model for efficient sentiment analysis

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.

Authors

Institutions

Publication Details

Journal
Computing
Published
2025-12-26
DOI
https://doi.org/10.1007/s00607-025-01592-y
Primary Topic
Sentiment Analysis and Opinion Mining
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

FedEnsemble: federated learning model for efficient sentiment analysis

Walaa Gad, Yasmine M. Afify, Shaimaa Haridy, Hesham Ayman
Computing
Sentiment Analysis and Opinion Mining
article

FedEnsemble: federated learning model for efficient sentiment analysis

Walaa Gad, Yasmine M. Afify, Shaimaa Haridy, Hesham Ayman
article en

Abstract

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.

ComputingVol. 108(1)
Ain Shams University (EG)
Science and Technology Development Fund
Quality Education
Openalex Percentile: Top 18%
Sentiment Analysis and Opinion Mining
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

FedEnsemble: federated learning model for efficient sentiment analysis — Walaa Gad, Yasmine M. Afify, et al. · Computing (2025) | TGRS Research Map | TGRS