Efficient lightweight privacy data anomaly detection solution with robust aggregation
Detecting anomalies in privacy-sensitive text under federated learning requires robustness against model poisoning and computational efficiency. This study presents an integrated framework combining an early-exit RoBERTa classifier ([Formula: see text]-RoBERTa) with a robust federated layered aggregation strategy (RFLA). [Formula: see text]-RoBERTa incorporates multi-stage exits and a spatio-temporal convolutional-LSTM fusion module to reduce inference cost while maintaining high detection accuracy. RFLA enhances server-side resilience by filtering and reweighting client updates through dimensionality reduction, density clustering, fallback adjustment, and Mahalanobis-based weighting. Experiments on four public datasets demonstrate consistent performance gains: E<sup>2</sup>-RoBERTa attains [Formula: see text] on SMS data, and RFLA maintains higher accuracy and [Formula: see text] than Krum, Trimmed Mean, and Median under 20-50% malicious clients. The early-exit mechanism further reduces average inference time by about 17%. Overall, the framework achieves a balanced trade-off among privacy preservation, robustness, and efficiency, supporting practical deployment for privacy-text anomaly detection in federated settings.
Authors
- Shang‐Ming Zhou (ORCID: https://orcid.org/0000-0002-0719-9353)
- Bin Wen (ORCID: https://orcid.org/0000-0001-5784-0893)
- J. Leon Zhao (ORCID: https://orcid.org/0000-0002-0624-0254)
- Jiashuai Yang
Institutions
- Hainan Normal University (CN)
Publication Details
- Journal
- Scientific Reports
- Published
- 2025-11-27
- DOI
- https://doi.org/10.1038/s41598-025-30180-5
- Primary Topic
- Anomaly Detection Techniques and Applications
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- National Natural Science Foundation of China