EnCAgg: Enhanced Clustering Aggregation for Robust Federated Learning against Dynamic Model Poisoning PubID: pubid: 0000–0000/00$00.00 © 2021 IEEE

Tianyun Zhang, Zhen Yang, Haozhao Wang, Ru Zhang, Yongfeng Huang · 2026

Read EnCAgg: Enhanced Clustering Aggregation for Robust Federated Learning against Dynamic Model Poisoning PubID: pubid: 0000–0000/00$00.00 © 2021 IEEE by Tianyun Zhang, Zhen Yang, Haozhao Wang, Ru Zhang, Yongfeng Huang (2026) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2605-22506.txt.

Introduction

Zhang and team offer EnCAgg, robust pooling for federated learning under shifting attacks. Old shields use fixed thresholds and struggle with changing attacks. EnCAgg uses known benign clients as guides, cutting bad gradients while keeping benign ones, even with unknown bad counts. Gradients are mapped onto two spread axes and grouped. A second model makes pseudo-gradients matched with the benign edge, bridging outliers. Re-grouping pseudo-gradients with real gradients recovers wrongly flagged benign gradients. Tests on MNIST, CIFAR-10 and MIND show toughness under poisoning attacks.

Catalog record

CREATORTianyun Zhang, Zhen Yang, Haozhao Wang, Ru Zhang, Yongfeng Huang
YEAR2026
COLLECTIONPAPERS
FORMATTXT
FILE SIZE69027
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2605.22506

Browse the full library · About the Tower of Babel

Full text

The opening of the work, from the library's hosted text:

EnCAgg: Enhanced Clustering Aggregation for Robust Federated Learning against Dynamic Model Poisoning PubID: pubid: 0000–0000/00$00.00 © 2021 IEEE Tianyun Zhang, Zhen Yang, Haozhao Wang, Ru Zhang, Yongfeng Huang Abstract Federated learning faces increasing threats from model poisoning attacks, which harms its application to improve privacy. Existing defense methods typically rely on fixed thresholds or perform clustering with a fixed number of clusters to distinguish malicious gradients from benign ones. However, these methods are difficult to adapt to dynamic poisoning strategies of malicious clients, and often result in the loss of benign gradients due to the heterogeneity of clients’ local datasets. To address these problems, we propose a novel robust aggregation method that leverages a small number of known benign clients as references, enabling accurate identification and filtering of malicious gradients while retaining as many benign gradients as possible, even when the number of malicious clients is unknown and variable. First, we introduce a density-based low-dimensional gradient clustering method, which projects gradients onto the two most divergent dimensions and applies density-based clustering to identify malicious gradients while retaining clustered benign gradients and potentially benign outliers. Second, we design an enhancing clustering low-dimensional gradient generator model, which learns to generate pseudo-gradients aligned with the boundary of the benign cluster. These pseudo-gradients act as bridges to connect sparse benign gradient outliers. Third, we introduce low-dimensional gradient re-clustering that clusters the generated pseudo-gradients together with real gradients to recover benign gradients misclassified as noise points, enabling more benign gradients to participate in aggregation. Extensive experiments on the MNIST, CIFAR-10, and MIND datasets demonstrate that our method exhibits superior fidelity and robustness under dynamic poisoning scenarios. I Introduction Federated learning (FL) allows decentralized clients to collaboratively train models without exposing raw data, and is widely used in privacy-sensitive domains. However, due to its distributed, heterogeneous and uncontrollable nature, FL is vulnerable to model poisoning attacks (MPAs), where malicious clients upload random or carefully crafted gradients to disrupt global convergence and degrade performance. In particular, recent poisoning strategies have become increasingly stealthy and dynamic, substantially intensifying the challenge of defense methods. Sophisticated malicious clients can finely constrain their updates, minimizing distances or angular deviations from benign updates [ 1 , 2 ] or selectively perturb only high-impact parameters [ 3 ] to avoid detection. Besides, malicious clients may decide to alternate between benign and malicious behavior to fraudulently obtain a higher trust score, thereby making the malicious ratio vary across iterations. These stealthy and dynamic scenarios cause malicious updates to appear indistinguishable from benign ones in high-dimensional gradient space, especially since benign gradients naturally exhibit diversity. Numerous robust aggregation methods have been proposed to defend MPAs. Traditional methods [ 4 , 5 , 6 , 7 , 8 ] rely on fixed thresholds or statistical metrics to remove malicious gradients, usually assuming a known and relatively small proportion of adversaries. When the number of malicious clients fluctuates, fixed thresholds often lead to false positives or negatives. Moreover, due to data heterogeneity, the natural diversity among benign clients may cause some benign gradients to be mistakenly discarded, reducing generalization ability of the global model. To flexibly defend against stealthy and dynamic attacks, recent studies have introduced clustering-based defenses. Some methods applied distance-based methods such as K-means, which partition all gradients into two clusters, assuming the larger one contains benign gradients [ 9 , 10 , 11 ] . However, when no malicious gradients are present in an iteration, forced clustering may wrongly discard benign gradients. Besides, if malicious clients are dominant, they may form the largest cluster and evade detection. Other methods applied density-based methods like HDBSCAN, which divide gradients into multiple small clusters without requiring a preset number [ 12 , 13 ] . These approaches assign trust scores or weights based on features such as variance. However, benign updates may be inherently scattered and appear as outliers, while well-crafted malicious updates may form dense clusters that are mistakenly trusted as benign. In summary, current defense methods face two major challenges: first, most methods assume a fixed and relatively low proportion of malicious updates, but in reality, the behavior of malicious clients may vary dynamically across iterations. Some iterations may have no active attacks, while others may involve all malicious clients submitting poisoned gradients, resulting in a high proportion of adversarial gradients that disrupt detection accuracy. Second, benign gradients naturally exhibit diversity due to variations in client data, and traditional filtering methods often discard a considerable amount of useful updates. Nevertheless, we observe that the discrepancy between malicious and benign gradients is generally greater than the variation within benign gradients, while malicious gradients themselves tend to be more homogeneous—this offers a potential clue for precise discrimination. To address the above issues, we propose a novel robust aggregation method for FL that does not rely on prior knowledge of the malicious client proportion or access to trusted data. By leveraging a small number of known benign clients as references, our method can accurately distinguish and filter out malicious gradients even under scenarios involving dynamic poisoning strategies from malicious clients. Specifically, we analyze the dissimilarity between client gradients and project high-dimensional gradients into a low-dimensional space to enhance the separability of benign and malicious gradients. We then apply density-based clustering in this low-dimensional space to identify potential benign clusters and introduce a generative model to aid in identifying borderline benign gradients, thereby improving the retention of sparse benign gradients. Finally, we employ a re-clustering mechanism to make more robust aggregation decisions, significantly enhancing resilience against dynamic poisoning attacks. Our main contributions are summarized as follows: 1) We propose a density-based low-dimensional gradient clustering method that projects high-dimensional gradients onto a two-dimensional space using the two most divergent dimensions, and performs initial density-based clustering. This method effectively distinguishes benign from malicious gradients and retains possible benign gradients, overcoming the limitations of traditional fixed-threshold strategies. 2) We design an enhancing clustering low-dimensional gradient generator model. It is trained to generate pseudo-gradients along the boundary of the benign cluster, serving as “bridges” to connect benign gradients that were misclassified as outliers in the first round of clustering. Then we introduce low-dimensional gradient re-clustering, which combines real and generated pseudo-gradients for a second density-based clustering to recover benign outliers. After re-clustering, the generation model is optimized using the clustering labels of the generated gradients along with their symmetry and diversity as constraints. 3) We conduct extensive experiments on three representative datasets(MNIST, CIFAR10 and MIND) to comprehensively evaluate the fidelity and robustness of our proposed method. The results demonstrate that our method consistently outperforms baseline methods under both low and high malicious ratios and effectively maintains superior global model performance. II Related Work In this section, we review existing works on model poisoning attacks and corresponding defenses in federated learning. II-A Model Poisoning Attacks Model poisoning attacks aim to craft or manipulate client-submitted gradients to introduce imperceptible interference during aggregation, thereby degrading global model performance and disrupting federated learning. The aim is to significantly degrade the performance of the global model and disrupt the normal operation of the federated system. Early strategies manipulated all parameters using extreme values. For example, the Gaussian attack [ 14 ] samples malicious updates from a Gaussian distribution

Read the complete text