Analysis of BERT-Based Federated Learning in Text Classification: A Study on Data Distribution and Algorithm Selection

Federated learning has emerged as a popular distributed machine learning framework designed to preserve privacy. However, in non-IID (non-Independent and Identically Distributed) training data environments that more closely resemble real-world scenarios, the performance of models trained through federated learning can be adversely affected. This paper explores the application of a BERT-based federated learning framework in Chinese news classification tasks, with a focus on analyzing the impact of different data distributions on model performance and the selection strategies of federated learning algorithms. We compare the performance of FedAvg and FedProx algorithms in both IID and non-IID (label distribution skewed) data environments, and investigate the influence of the proximal term hyperparameter <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">$\mu$</tex> in FedProx on model convergence and performance. The research results indicate that: models trained under IID data distribution generally outperform those under non-IID data distribution; in non-IID data distribution scenarios, the FedProx algorithm demonstrates better stability and accuracy compared to FedAvg; appropriate adjustment of the proximal term hyperparameter <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">$\mu$</tex> in FedProx can further optimize model performance in non-IID environments. This study provides empirical references for the application of federated learning in Chinese natural language processing tasks and offers guidance for addressing data heterogeneity issues in practical applications.

Authors

Institutions

Publication Details

Published
2025-06-20
DOI
https://doi.org/10.1109/caibda65784.2025.11182786
Primary Topic
Privacy-Preserving Technologies in Data
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Analysis of BERT-Based Federated Learning in Text Classification: A Study on Data Distribution and Algorithm Selection

Ziyu Jia
Privacy-Preserving Technologies in Data
article

Analysis of BERT-Based Federated Learning in Text Classification: A Study on Data Distribution and Algorithm Selection

Ziyu Jia
article en

Abstract

Federated learning has emerged as a popular distributed machine learning framework designed to preserve privacy. However, in non-IID (non-Independent and Identically Distributed) training data environments that more closely resemble real-world scenarios, the performance of models trained through federated learning can be adversely affected. This paper explores the application of a BERT-based federated learning framework in Chinese news classification tasks, with a focus on analyzing the impact of different data distributions on model performance and the selection strategies of federated learning algorithms. We compare the performance of FedAvg and FedProx algorithms in both IID and non-IID (label distribution skewed) data environments, and investigate the influence of the proximal term hyperparameter <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">$\mu$</tex> in FedProx on model convergence and performance. The research results indicate that: models trained under IID data distribution generally outperform those under non-IID data distribution; in non-IID data distribution scenarios, the FedProx algorithm demonstrates better stability and accuracy compared to FedAvg; appropriate adjustment of the proximal term hyperparameter <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">$\mu$</tex> in FedProx can further optimize model performance in non-IID environments. This study provides empirical references for the application of federated learning in Chinese natural language processing tasks and offers guidance for addressing data heterogeneity issues in practical applications.

Hong Kong Baptist University (HK)
Openalex Percentile: Top 85%
Privacy-Preserving Technologies in Data
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.

Analysis of BERT-Based Federated Learning in Text Classification: A Study on Data Distribution and Algorithm Selection — Ziyu Jia · (2025) | TGRS Research Map | TGRS