Abstract
Federated Learning (FL) enables privacy-preserving model training in edge and IoT environments. However, in adversarial settings, FL suffers from two key challenges: robustness degradation due to data heterogeneity and poisoning attacks, and runtime instability on resource-constrained devices. Existing work mainly focuses on robustness while overlooking system-level stability. To address this, we propose FedCASKD, a robustness- and stability-aware FL framework. It employs a score-based soft aggregation mechanism to suppress unreliable client updates without requiring a trusted dataset, and introduces a selection-aware bidirectional knowledge distillation protocol to mitigate model drift under Non-IID data. The novelty lies in integrating aggregation and distillation into a unified feedback framework that enhances robustness and stability. Experiments on AGNews and SogouNews show that FedCASKD outperforms baselines under label-flipping attacks and heterogeneous settings. Memory and Out-of-Memory (OOM) tests further demonstrate its superior runtime stability in edge environments.
1. Introduction
With the rapid proliferation of the Internet of Things (IoT) and edge computing, the volume of data generated by billions of intelligent terminals has witnessed exponential growth. The traditional centralized machine learning paradigm necessitates uploading raw data to cloud servers, which not only imposes a massive burden on network bandwidth but also raises significant concerns regarding user privacy. To address these imperatives, Federated Learning (FL) has emerged as a promising distributed collaborative training paradigm [1,2]. By allowing edge devices to train models locally and share only model parameters [3], FL realizes privacy-preserving computation under the principle of “data staying local.” Beyond general terminal intelligence, the versatility of FL has led to significant advancements in specialized domains, particularly in intrusion detection systems, where it provides a robust framework for collaborative threat monitoring while maintaining data sovereignty [4].
Despite its theoretical potential, the deployment of FL in practical edge systems remains hindered by two formidable challenges: data heterogeneity and system vulnerability.
First, data collected by edge devices typically exhibit Non-Independent and Identically Distributed (Non-IID) characteristics. Disparities in user behavior lead to significant label distribution skew. In such scenarios, traditional aggregation algorithms that directly average parameters often suffer from severe model drift on heterogeneous data. Relevant studies, such as the FedCBA framework, demonstrate that integrating associative classification can enhance predictive performance when dealing with complex, skewed datasets in FL scenarios [5]. Although Knowledge Distillation (KD) has been integrated into FL to alleviate this issue [6], most existing FL-KD methods employ a unidirectional distillation strategy [7], which merely compels local models to mimic the global model’s behavior. This unidirectional mechanism overlooks the unique domain-specific knowledge embedded in local models, preventing the global model from effectively assimilating personalized edge features and thus limiting the integrity of knowledge transfer.
Second, and more critically regarding system security, the open architecture of FL is inherently susceptible to poisoning attacks [8]. Malicious participants may compromise the global model’s integrity by manipulating training data (data poisoning) or uploading corrupted gradients (model poisoning). Current defense mechanisms, such as Krum and Median, generally adopt statistical-based hard-selection strategies [9]. However, these methods often fail to distinguish between malicious nodes and benign nodes with unique data distributions [10], frequently resulting in the erroneous exclusion of valuable edge data. Furthermore, such approaches typically demand auxiliary datasets or prohibitive computational overhead, rendering them unsuitable for resource-constrained edge environments. Recently, some efforts have turned toward lightweight, stable architectures—such as those utilizing TinyLlama—to achieve a balance between robust adversarial attack detection and the strict computational limits of edge hardware [11].
However, existing methods typically address these challenges in isolation. Parameter-based optimization focuses on convergence but ignores semantic inconsistency, while robust aggregation improves security but often sacrifices useful heterogeneous information. Similarly, most distillation-based approaches enhance knowledge transfer but lack robustness awareness and system-level stability considerations.
Therefore, there is a critical need for a unified framework that can simultaneously address heterogeneity, adversarial robustness, and deployment stability in edge environments.
To tackle these challenges, this paper proposes FedCASKD, a robust and secure federated distillation framework. Unlike traditional approaches, FedCASKD establishes a closed-loop control system based on quality feedback. The architecture not only achieves Byzantine resilience against adversarial threats through score-based feedback but, more crucially, introduces a bidirectional knowledge flow [12]. This enables the deep fusion of global generalized knowledge and local personalized features during the local training phase.
1.1. Contributions
To address the limitations of existing federated learning frameworks in adversarial and heterogeneous edge environments, this paper proposes a unified and system-aware solution. The main contributions are summarized as follows:
- A robust and secure federated distillation framework. We propose FedCASKD, a novel framework that integrates robustness, adaptability, and system-level stability into a unified architecture. Unlike existing methods that focus solely on algorithmic robustness, our approach explicitly considers adversarial threats and deployment constraints in edge environments, thereby bridging the gap between theoretical FL design and real-world applicability.
- Score-Aware Robust Soft Aggregation (SA-RSA). We design a score-based soft aggregation mechanism that leverages validation loss as a quality feedback signal. This approach avoids the limitations of hard filtering strategies (e.g., Krum), enabling the model to suppress malicious updates while preserving useful information from benign clients with heterogeneous data distributions. This significantly improves robustness without sacrificing data diversity.
- Selection-Aware Adaptive Bidirectional Distillation (SA-BiKD). We introduce a bidirectional distillation protocol that enables mutual knowledge transfer between global and local models. Furthermore, by incorporating selection-aware feedback, the distillation process dynamically adapts to client reliability, effectively mitigating knowledge contamination from unreliable clients while enhancing generalization under Non-IID conditions.
- System-level stability design for edge deployment. We incorporate endogenous stability mechanisms, including dynamic input truncation and numerical boundary control, to ensure deterministic memory usage and safe execution. This design addresses a critical but often overlooked issue in FL systems, namely runtime failures under resource-constrained and adversarial conditions.
1.2. Discussion of Contributions
Compared with existing federated learning and federated distillation methods, the proposed FedCASKD framework provides several key advantages. First, in terms of robustness, our score-based soft aggregation avoids the drawbacks of hard-selection strategies and provides a more flexible defense against poisoning attacks. Second, in heterogeneous environments, the bidirectional distillation mechanism enables a more comprehensive knowledge exchange, improving both global generalization and local adaptation. Finally, from a system perspective, our design explicitly considers runtime stability, which is often neglected in prior work but is critical for real-world edge deployment. These advantages collectively demonstrate that FedCASKD is not only theoretically effective but also practically applicable.
2. Related Work
To provide a structured and comprehensive review, we categorize existing studies based on the key challenges they address in practical federated learning systems. Specifically, prior work can be broadly grouped into four directions: (i) optimization-based federated learning methods that focus on mitigating Non-IID data issues at the parameter level, (ii) federated distillation approaches that aim to align model behaviors in the functional space, (iii) robust aggregation mechanisms designed to defend against poisoning attacks, and (iv) system-level optimization techniques targeting communication efficiency and runtime stability in resource-constrained environments.
This categorization is motivated by the observation that real-world FL systems face intertwined challenges spanning statistical heterogeneity, adversarial robustness, and system constraints. By organizing the literature along these dimensions, we can more clearly highlight the limitations of existing approaches and position the proposed FedCASKD framework as a unified solution that jointly addresses these aspects.
2.1. Federated Learning
Federated Learning (FL) was first proposed by McMahan et al. [13]. Its core philosophy is to train a global model by periodically aggregating model updates from distributed clients without sharing raw data. This paradigm has demonstrated immense potential in scenarios such as collaborative modeling for mobile devices and privacy-sensitive data analysis and has been widely deployed in practical systems including keyboard input prediction, speech recognition, and medical data analysis [14,15].
However, as FL transitions from idealized simulated environments to real-world edge systems, its fundamental challenges have gradually surfaced, with data heterogeneity being one of the most prominent issues. In real-world applications, data collected by different clients often originate from diverse users, devices, or environments, leading to significant discrepancies in both label and feature spaces, which constitutes Non-Independent and Identically Distributed (Non-IID) data [16,17]. Under such conditions, the classic FedAvg [13] algorithm, which performs a simple weighted averaging of local model parameters, often causes the global model update to deviate from the optimal solution, thereby triggering the so-called “client drift” or “model drift” phenomenon [18].
To mitigate the convergence degradation caused by Non-IID data, researchers have proposed various optimization strategies to tackle the challenges of Non-IID distributions and objective inconsistency. One category of methods introduces constraints or regularization terms into the optimization objective to limit the deviation of local updates. FedProx [19] incorporates a proximal term into the local loss function, suppressing excessive drift by penalizing the distance between the local and global models, and theoretically supports varying amounts of local computation across clients. Subsequently, SCAFFOLD [20] utilizes control variates maintained at both the server and client sides to perform variance reduction on local gradients, thereby statistically eliminating the bias induced by Non-IID data. While these methods improve convergence stability to some extent, their core operations remain restricted to the parameter or gradient space. Given the parameter permutation invariance inherent in deep neural networks, these approaches often struggle to fully align the semantic behavior of models.
Furthermore, another branch of research addresses data heterogeneity from the perspective of Personalized Federated Learning (PFL), such as pFedMe [21], FedAMP [22], Ditto [23], and other related works [24,25]. These methods allow each client to retain a certain degree of personalized model parameters to enhance local performance. However, personalization strategies often come at the cost of sacrificing global model consistency or increasing system complexity, making them less suitable for collaborative scenarios that require a stable global model.
In summary, existing FL methods for handling Non-IID data either focus on regularization constraints in the parameter space or rely on complex personalization mechanisms, still struggling to achieve an ideal balance between model generalization, system stability, and deployment complexity. This status quo provides research opportunities for subsequent knowledge distillation (KD) methods based on functional space alignment and more system-aware FL architectures, which serves as one of the core motivations for our proposed FedCASKD.
2.2. Federated Distillation
Knowledge Distillation (KD) has recently emerged as an effective tool for addressing model heterogeneity and Non-IID data issues in Federated Learning. Its core concept involves transferring knowledge by aligning model behaviors in the functional space (such as logits or intermediate feature representations), thereby mitigating the inconsistency of model updates across different clients. One of the pioneering works exploring distillation in the FL context is FedMD, which utilizes a shared public dataset to perform distillation between the server and clients [26]. This ensures consistent behavior on public samples and aggregates this distributed knowledge into a global model. However, in practical privacy-sensitive scenarios, constructing or sharing a representative public dataset is often unrealistic or violates privacy protection principles.
To address the dependency on public data, several studies have proposed federated distillation methods based on generative models. For instance, FedGen [27] trains a generator on the server side to synthesize data for distillation, thereby avoiding the explicit disclosure of raw data. Nevertheless, such generative approaches impose significant computational and memory overhead on resource-constrained edge devices, hindering efficient deployment on low-end terminals. Beyond generative methods, other research focuses on utilizing client feature prototypes for distillation alignment. For example, FedProto proposes aligning local features with a global prototype space to alleviate the distribution discrepancies caused by heterogeneous data [28]. While these methods improve representation consistency to some extent, they rely heavily on the design of the prototype structure, which may be limited by specific model architectures or task types.
Despite the progress made by these methods in bridging the gap between global and local models, most existing FL-KD approaches still employ a unidirectional distillation strategy. In this setup, the aggregated model on the server side typically acts as the “teacher,” while all client models are forced to act as “students” to fit the global behavior. Although this mechanism can partially aggregate distributed knowledge, it overlooks the personalized features and domain-specific information embedded within each client’s local model. Consequently, it fails to adapt to variations in model quality across different clients. Particularly when data distributions are highly heterogeneous, or when a few clients have significant sample noise, unidirectional distillation can lead to distillation bias or even performance degradation.
To more effectively exploit the complementary information between client models, recent studies have introduced more complex distillation mechanisms, such as bidirectional distillation and mutual learning [12]. These methods allow client models to exchange soft labels or feature representations, facilitating a more comprehensive knowledge exchange. In contrast, the FedCASKD framework proposed in this paper introduces a Selection-Aware Bidirectional Distillation protocol (SA-BiKD). This protocol not only enables mutual learning between local and global views but also dynamically adjusts distillation intensity by incorporating selection feedback from the server based on model quality. By balancing global generalization with local personalization, this mechanism demonstrates superior robustness and generalization when processing highly heterogeneous data.
2.3. Robust Aggregation Against Poisoning Attacks
The open nature of Federated Learning makes it highly vulnerable to poisoning attacks. Malicious clients may upload tampered gradients (model poisoning) [29] or train on mislabeled data (data poisoning/label flipping) [30]. Standard aggregation rules, such as simple averaging, are highly sensitive to these outliers.
Recently, several client-score or accuracy-based defense mechanisms have been proposed to improve robustness against label-flipping attacks.
For instance, AntiFLipper [31] introduces a lightweight client-side detection strategy, where clients locally evaluate model consistency and provide feedback to guide server-side trust weighting. This design reduces the computational burden on the server while maintaining competitive robustness against multi-class label-flipping attacks. However, its effectiveness relies on the assumption that local validation signals are reliable, which may be vulnerable to adaptive adversaries manipulating local evaluation data.
Similarly, the Honest Score Client Selection (HSCS) [32] scheme adopts a server-side evaluation strategy using a small clean validation dataset. By computing a class-wise risk vector and comparing it with client-specific accuracy vectors, HSCS assigns trust scores to clients and selects high-quality participants for aggregation. Although this approach improves robustness in Non-IID scenarios, it depends on the availability of a representative and trusted server-side dataset, which may not always be feasible in privacy-sensitive or fully decentralized environments.
In contrast, the proposed FedCASKD adopts a fully data-free soft aggregation mechanism based on training dynamics. Instead of relying on external validation data or explicit accuracy feedback, it leverages loss-based implicit quality estimation and integrates it with a softmax-based weighting scheme. This design not only avoids the dependency on trusted server datasets but also enables smoother and more adaptive suppression of unreliable client updates.
Beyond these score-based soft weighting strategies, another important line of defense focuses on Byzantine-robust aggregation rules, which aim to explicitly filter out malicious or abnormal updates based on statistical or geometric criteria.
Distance-based methods, such as Krum [33] and Multi-Krum, select updates that have the minimum sum of Euclidean distances to their neighbors. Statistical methods [34], such as Trimmed Mean and Median, remove the maximum and minimum values along each dimension. Although these “hard-selection” strategies can filter out attackers, they often erroneously exclude benign clients holding unique Non-IID data, as the gradients of these clients naturally deviate from the consensus in a statistical sense.
Another branch of research utilizes “soft” weighting mechanisms. For instance, FLTrust [35] assigns trust scores based on a root dataset maintained by the server. However, the assumption that the server possesses clean and representative data is often unrealistic in practice. Our approach differs by implementing a score-based soft aggregation mechanism that does not require server-side data.
By leveraging a feedback loop based on training loss (quality scores) and a Softmax-based weighting scheme, our system can automatically suppress malicious contributions without the need for a server-side root dataset or complex anomaly detection algorithms.
2.4. Resource Efficiency and Endogenous Stability Design for Edge Systems
Deploying Federated Learning (FL) on real-world edge devices, such as IoT sensors and mobile terminals, must strictly adhere to the physical constraints of communication bandwidth, memory footprint, and runtime stability [36,37].
Communication Efficiency Optimization: To address the bottleneck of limited bandwidth in edge networks, gradient compression techniques have been widely applied. Among them, Singular Value Decomposition (SVD) [38] effectively compresses the uplink weight matrices through low-rank approximation. The framework proposed in this paper integrates an adaptive SVD compression module deeply coupled with the distillation protocol, significantly reducing communication overhead while maintaining model accuracy.
Endogenous Stability: Beyond communication, the runtime stability of the system is a critical factor for practical deployment, yet it is often overlooked by theoretical research. When processing variable-length sequences (e.g., NLP tasks) or noisy data, edge devices are highly susceptible to fatal errors such as Out-of-Memory (OOM) [39] or Index Out-of-Bounds, which can lead to the interruption of distributed training.
Existing algorithmic designs often lack awareness of underlying hardware limitations. FedCASKD introduces an endogenous stability design at the system architecture level, integrating mechanisms for Dynamic Input Truncation and Boundary Safety Clamping. These engineering optimizations not only endow the system with robustness against malicious attacks but also provide system-level resilience against resource exhaustion and runtime anomalies, fully satisfying the high-reliability architectural requirements of edge computing scenarios.
3. Methodology
This section presents the design of the proposed FedCASKD framework from a system-level security perspective. Unlike existing federated learning methods that focus solely on algorithmic robustness, FedCASKD jointly addresses three critical challenges in open edge environments: (i) robustness against poisoning attacks, (ii) model degradation under highly Non-IID data distributions, and (iii) runtime instability caused by resource-constrained devices and abnormal inputs.
Specifically, FedCASKD integrates a server-side score-based soft aggregation mechanism to suppress malicious or low-quality updates, a client-side selection-aware bidirectional knowledge distillation protocol to mitigate model drift, and a set of endogenous stability constraints to guarantee deterministic and safe execution on edge devices. An overview of the overall framework and training workflow is illustrated in Figure 1, followed by a detailed description of each component.
Figure 1.
Overallframework of the proposed FedCASKD.
3.1. Design Rationale of FedCASKD
To enhance the clarity and reproducibility of the proposed framework, we briefly summarize the design motivations behind each component of FedCASKD.
- Why score-based aggregation? Instead of relying on distance-based hard filtering (e.g., Krum), we adopt a loss-driven quality score as a proxy for client reliability. This is motivated by the observation that poisoned models tend to exhibit significantly higher validation loss due to inconsistency with global data distribution.
- Why soft weighting instead of hard selection? Hard elimination strategies may mistakenly discard benign clients under Non-IID settings. Therefore, we introduce a Softmax-based weighting mechanism to preserve data diversity while suppressing abnormal updates.
- Why bidirectional distillation? Unidirectional distillation forces local models to mimic the global model, which may lead to knowledge loss. Our bidirectional mechanism allows mutual knowledge exchange, improving both generalization and personalization.
- Why selection-aware adaptation? We further incorporate server-side selection feedback to dynamically adjust distillation strength, preventing unreliable clients from excessively influencing global knowledge transfer.
- Why system-level stability constraints? Unlike most FL methods, FedCASKD explicitly considers runtime failures in edge environments. The truncation and clamping mechanisms ensure deterministic memory usage and prevent system crashes under adversarial inputs.
3.2. Problem Definition and System Model
3.2.1. Problem Definition
We consider a federated learning system deployed in an open and adversarial edge environment, where multiple challenges coexist, including data heterogeneity, poisoning attacks, and resource constraints.
Consider a set consisting of K edge clients, where each client holds a private dataset . Due to differences in user behavior, the data exhibits Non-Independent and Identically Distributed (Non-IID) characteristics across clients, i.e., for . The global objective of federated learning is to collaboratively train a global model without sharing private data , aiming to minimize the global empirical loss function:
where denotes the local loss function of the k-th client (typically cross-entropy loss), and is the aggregation weight satisfying .
The objective is to learn a global model that minimizes the expected loss on the clean data distribution while satisfying the following requirements:
- Robustness: The global model should be resilient to poisoning attacks from malicious clients.
- Generalization under Non-IID data: The model should effectively aggregate heterogeneous knowledge without suffering from model drift.
- System-level stability: The training process must remain stable under resource-constrained edge environments, avoiding runtime failures such as Out-of-Memory (OOM).
Therefore, the problem can be viewed as a constrained robust optimization task, where the goal is to jointly optimize model accuracy, robustness, and system reliability under adversarial and heterogeneous conditions.
3.2.2. Endogenous Stability Design and Video Memory Controllability
In a real edge adversarial environment, the robustness of a federated learning system depends not only on the algorithm’s ability to resist poisoning, but also on its physical survivability under extreme inputs. Due to the uncontrollable long-tail characteristic of text data, malicious attackers or abnormal data sources may induce an exponential growth of the model’s intermediate activation values by constructing ultra-long sequences (Sequence Length L), thereby triggering denial of service (DoS) or resource exhaustion.
Deterministic Memory Safety: For variable-length input sequences in tasks such as NLP, the system must implement a dynamic truncation mechanism. The maximum sequence length is defined as , and the input space is restricted to , so as to ensure that the video memory usage has a definite upper bound and prevent Out-of-Memory (OOM).
Numerical Safety Boundary: Considering the index anomalies that may be caused by sensor noise or adversarial inputs, the system requires that the input feature indices must be clamped within the legal vocabulary range , i.e., , to prevent system crashes caused by index out of bounds.
Dynamic Input Truncation Mechanism: From the perspective of system security, FedCASKD explicitly introduces endogenous stability constraints. Before data enters the embedding layer, this mechanism locks the spatial dimension of the input tensor x through a dynamic input truncation operator:
where is defined as the safety threshold bearable by the system hardware. This operator works in conjunction with value clamping to forcefully limit the upper bound of the spatial complexity of the computation graph. This design ensures that even in the face of adversarial long-sequence inputs, the system can maintain deterministic memory occupation and fundamentally eliminate the risks of index out of bounds and Out-of-Memory (OOM).
3.2.3. Threat Model (Poisoning Attack)
In this paper, we consider a scenario where a federated learning system is subject to Byzantine Failures. In this scenario, the set of participating training clients is partitioned into two mutually exclusive subsets: the set of benign clients and the set of malicious clients . We assume the proportion of malicious nodes is , and the attackers remain stealthy in their identities throughout the training process (i.e., the server cannot know in advance which nodes are malicious).
We focus primarily on a stealthy attack against data integrity—Label Flipping Poisoning Attack: a malicious client tampers with the labels of local training data via a mapping function to generate a poisoned dataset , where .
In a typical All-to-One attack setting, the attacker forces all sample labels to be modified to a specific target class (e.g., ). The attacker’s objective is to maximize the loss of the global model on the benign test set, i.e., , thereby undermining the model’s usability or inducing misclassification for specific classes.
3.3. Server-Side CAS Mechanism
Traditional federated aggregation algorithms (e.g., FedAvg) adopt sample size-based weighted averaging and lack resistance to outliers; distance-based defense algorithms (e.g., Krum) employ a hard elimination strategy, which is prone to falsely removing benign nodes with unique Non-IID data. To this end, we propose a score-based soft aggregation mechanism named CAS (Client-Aware Selection).
3.3.1. Quality Feedback Loop
In the t-th communication round, each participating client k uploads a scalar quality score to the server. This score is defined as the average loss of the client on the local validation set:
denotes the cardinality of the validation set, representing the total number of samples used for local quality evaluation Specifically, represents the local model parameter set of client k in the t-th communication round. It is the output of the local training phase, where the client optimizes its model using the proposed SA-BiKD protocol on its private dataset. In the context of Equation (3), acts as the evaluation target. By feeding the validation samples into the model parameterized by , the system calculates the inference error to quantitatively measure the alignment between the client’s local updates and the global knowledge.
Theoretical basis: When a malicious node attempts to locally fit the tampered labels , its loss on the validation set tends to show a significantly abnormally high value () due to the severe conflict between its optimization objective and the global model based on benign knowledge. Therefore, this score can serve as an effective proxy metric for identifying potential attack behaviors. This phenomenon can be interpreted as a consistency violation: malicious updates optimize a different objective, leading to distributional misalignment that is reflected in elevated validation loss.
3.3.2. Softmax-Based Adaptive Soft Weighting
After collecting feedback from m clients, the server does not directly eliminate high-loss nodes but constructs a negative feedback loop using a Softmax variant function to calculate the aggregation weight for each client k:
Mechanism Analysis: Poisoning Resistance: When client k is a malicious node, the exponential term will rapidly approach 0 due to the extremely large value of the local validation loss , thus making its aggregation weight close to 0. This achieves a “soft defense” without preset thresholds. Non-convex Optimization Adaptability: For benign Non-IID nodes with slightly higher losses, the mechanism still retains their tiny weights instead of complete elimination. This helps the global model escape from local optima on the non-convex loss surface and preserve data diversity. Finally, the global model is updated as a weighted sum of the restored local parameters:
where denotes the local model parameters of client k at round t, which are reconstructed via the SVD restoration formula after transmission. Equation (5) represents the integration of global knowledge, where the system ensures the global model primarily absorbs features from high-quality benign nodes while effectively shielding against interference from abnormal updates. The updated global model serves as the foundation for the next iteration of federated training.
3.3.3. Robustness Against Score Manipulation
The CAS mechanism relies on client-reported scalar quality scores , which may be vulnerable to manipulation in adversarial settings. A malicious client could falsify its reported loss to obtain a higher aggregation weight.
To mitigate this risk, we introduce a lightweight consistency-aware filtering strategy. Instead of directly trusting the reported score, the server performs a joint verification based on the relationship between the reported loss and the corresponding model update.
Specifically, let denote the local update, and define its magnitude as . We compute a consistency term:
Additionally, to capture abnormal temporal deviations, we define
where denotes the historical average score of client k.
The final adjusted score is
This mechanism penalizes inconsistencies between the reported loss and actual model behavior, as well as abrupt deviations from historical patterns. As a result, even if a malicious client manipulates , its aggregation weight will be effectively suppressed.
Notably, this strategy introduces negligible computational overhead and does not require additional communication, making it well-suited for resource-constrained edge environments.
3.4. Selection-Aware Bidirectional Knowledge Distillation Protocol (SA-BiKD)
To alleviate the problems of model drift and knowledge contamination caused by Non-IID data distribution and potential malicious clients, this paper proposes a Selection-Aware Bidirectional Knowledge Distillation protocol (SA-BiKD). By introducing client selection feedback from the server side, this mechanism adaptively adjusts the bidirectional distillation intensity on the client side to achieve a dynamic balance between global steady-state knowledge and local personalized knowledge, thereby improving the stability and robustness of the model in heterogeneous and adversarial environments.
In each communication round, clients simultaneously receive global model parameters from the server and retain their own local models. To realize bidirectional mutual learning of global and local knowledge, SA-BiKD protocol introduces two complementary distillation constraints into the optimization objective of clients.
3.4.1. Scope of the Distillation Mechanism
The proposed bidirectional distillation mechanism in FedCASKD is designed to operate within a fully decentralized federated learning setting without requiring any public dataset or centralized supervision.
Specifically, the distillation process is performed locally at each client during the training phase, where both the global model and the local model participate in mutual knowledge transfer. The mechanism applies to both image-based models (e.g., CNNs) and text-based models (e.g., Transformer encoders), making it broadly applicable across different data modalities.
Moreover, the distillation process is selectively activated through the client-aware selection signal, enabling adaptive control over knowledge transfer based on client reliability. This design ensures that the distillation mechanism enhances model generalization while preventing the propagation of corrupted knowledge from unreliable or adversarial clients.
Overall, the proposed distillation component is lightweight, data-independent, and compatible with heterogeneous model architectures, making it suitable for real-world edge computing environments with limited resources.
3.4.2. Hyperparameter Settings and Practical Considerations
In practice, the hyperparameters of FedCASKD are selected based on empirical validation.
The base distillation weight is chosen from to balance local learning and knowledge transfer.
The temperature scaling factors and are initialized to 1.0, and is typically set to 0.5.
The maximum sequence length is determined based on hardware constraints (e.g., GPU memory capacity).
These settings ensure stable training across different datasets and hardware environments.
3.4.3. Logits Layer Distillation (Global → Local)
Treating the local model as the Student, the decision boundary is aligned by minimizing the KL divergence between its output distribution and that of the global model (Teacher). The distillation loss is defined as
where and denote the logits outputs of the local and global models on sample i, respectively, and is the Softmax function. This constraint helps clients absorb globally shared discriminative knowledge while preserving privacy, enhancing the generalization ability of the model.
3.4.4. Feature Layer Alignment (Local ↔ Global)
To further alleviate the distribution shift at the semantic level, a feature alignment constraint is introduced in the representation space. The global model features are projected into the local feature space through a learnable mapping matrix , and the mean square error (MSE) is adopted for alignment:
where and represent the intermediate feature representations of the local and global models, respectively. This design enables bidirectional distillation to achieve deeper knowledge consistency in the representation layer, in addition to the output layer.
Combining the above constraints, the overall optimization objective of the client can be expressed as
where is the cross-entropy loss based on local private data, and is used to balance the relationship between local learning and global knowledge constraints.
3.5. Selection-Aware Dynamic Distillation Weight Adjustment
In strongly heterogeneous or adversarial scenarios, fixed distillation weights are prone to trigger the Stability–Plasticity Trade-off: an overly strong global constraint may suppress the local adaptation ability, while an overly weak constraint will lead to model divergence. To this end, the SA-BiKD protocol introduces a client selection-aware mechanism to dynamically adjust the distillation intensity with the credibility of clients.
Specifically, when issuing the model in each round, the server attaches a binary state indicator variable to the client, which indicates whether client k is selected for global aggregation in round t (i.e., whether it is identified as a high-contribution/high-credibility node). The client adaptively adjusts the distillation weight based on this indicator, and the basic distillation coefficient is defined as:
where is an attenuation factor used to reduce the over-reliance of low-credibility clients on global knowledge.
Collaborative Modeling of Distillation Temperature Parameters and Weights
On this basis, this paper further refines the selection-aware mechanism to the distillation temperature level and introduces client-specific temperature parameters and to control the smoothness of logits distillation and feature distillation, respectively, which are defined as follows:
where is a regulation factor.
The above design forms a complementary relationship with in the function:
- controls the distillation intensity at the level of the overall loss weight;
- and adjust the smoothness and sensitivity of knowledge transfer at the level of the internal distillation mechanism.
They exhibit a synergistic and complementary relationship. This coupling logic can be summarized by a unified adjustment vector:
This design enables the FedCASKD algorithm to automatically balance “global consensus” and “local personalization” through the single signal in highly heterogeneous environments.
When a client is selected (), the system assigns it a large distillation weight and more stable temperature parameters simultaneously, making it closely align with global knowledge and consolidate model consensus. For unselected clients (), the distillation weight and temperature parameters decay synchronously, thereby restricting the diffusion of potential abnormal or highly biased knowledge to the global model through the distillation path.
3.6. SVD Compression Mechanism
To address the communication bottleneck in bandwidth-constrained federated learning systems, we introduce an SVD-based model compression mechanism that adaptively balances communication efficiency and model fidelity.
3.6.1. Singular Value Decomposition (SVD)
Given a real-valued model weight matrix , Singular Value Decomposition factorizes it into three matrices:
where and are orthogonal matrices and is a diagonal matrix containing singular values sorted in descending order (). The magnitude of singular values reflects the contribution of the corresponding singular vectors to the overall representation of W, enabling an energy-preserving low-rank approximation.
3.6.2. Low-Rank Truncation for Communication Efficiency
By retaining only the first r dominant singular values and their corresponding singular vectors, W can be approximated as
where . This truncated representation significantly reduces the communication payload from to while preserving most of the informative components of the model.
3.6.3. Dynamic Energy-Based Rank Selection
Instead of using a fixed truncation rank, we introduce a training-aware dynamic energy threshold at communication round t:
where T denotes the total number of communication rounds, and and are the predefined initial and final energy ratios, respectively.
The truncated rank r is then determined such that the retained singular values satisfy the following energy preservation condition:
3.6.4. Coarse-to-Fine Communication Strategy
This dynamic SVD compression mechanism naturally follows a Coarse-to-Fine learning paradigm. In the early training stage, a small energy threshold leads to aggressive compression, transmitting only the most dominant structural information of the model to rapidly establish a global consensus under minimal bandwidth consumption. As training progresses, the gradually increasing threshold allows more fine-grained singular components to be preserved, enabling richer feature transmission and higher-fidelity teacher signals for the subsequent bidirectional knowledge distillation process.
Overall, this mechanism significantly reduces cumulative communication overhead throughout the training process while progressively improving model representation accuracy, thereby providing a robust and efficient communication foundation for federated learning in Non-IID and resource-constrained environments.
3.7. Overall FedCASKD Algorithm
To further improve clarity, we summarize the full training workflow of FedCASKD in Algorithm 1, which explicitly illustrates the interaction between server-side aggregation, client-side distillation, and communication compression. Based on the server-side CAS mechanism and the client-side SA-BiKD protocol introduced above, we now summarize the complete end-to-end training procedure of the proposed FedCASKD framework. Algorithm 1 presents the overall workflow, including client selection, quality-aware aggregation, selection-aware bidirectional distillation, and dynamic SVD-based model compression.
3.8. Computational Complexity and System Stability Analysis
This section comparatively analyzes the computational efficiency of FedCASKD and existing methods from the perspective of system architecture and demonstrates its system stability in edge environments. Compared with traditional Byzantine fault-tolerant algorithms, FedCASKD exhibits significant computational efficiency advantages on the server side: Distance-based methods (e.g., Krum): It is necessary to calculate the pairwise Euclidean distances between the update vectors of all clients, with a time complexity of , where K denotes the number of clients and d denotes the dimension of model parameters. As the scale of participating nodes expands, the computational overhead grows quadratically, leading to severe aggregation latency. FedCASKD (CAS mechanism): It only needs to process the scalar quality scores and perform Softmax normalization and weighted summation, with a time complexity of merely (the main overhead comes from weighted summation, which is consistent with FedAvg [13]). This means that FedCASKD introduces robustness with almost no additional computational burden and is highly scalable.
![]() |
3.8.1. Computational Complexity Analysis
We provide a formal analysis of the server-side computational complexity of the proposed FedCASKD framework and compare it with representative Byzantine-robust aggregation methods.
Complexity of Distance-based Methods (e.g., Krum). Let denote the model update from client k, where d is the parameter dimension. Distance-based methods require computing pairwise distances between all client updates:
Each distance computation costs , and there are pairs. Therefore, the total computational complexity is
Complexity of FedCASKD (CAS Mechanism). In FedCASKD, the server performs three main operations:
Score processing: For each client, a scalar score is received and used to compute Softmax weights:
This requires operations.Weighted aggregation: The global model is updated as
Each vector addition costs , leading to a total cost of .(Optional) Consistency regularization: If the consistency-aware correction is applied, computing costs per client, resulting in .
Total Complexity: Combining the above steps, the overall complexity of FedCASKD is
since is dominated by .
Discussion Compared to distance-based methods with complexity, FedCASKD achieves linear scalability with respect to the number of clients. This makes it significantly more suitable for large-scale federated systems, where the number of participating clients can be substantial.
3.8.2. Runtime Stability
In addition to algorithm-level robustness, FedCASKD provides two layers of endogenous guarantees at the system architecture level, addressing common runtime faults of edge devices: OOM Prevention: Traditional processing methods allow variable-length sequences to be directly input into the model, resulting in dynamic fluctuations of video memory usage with data length. On low-end edge devices, long-tail data can easily trigger Out-of-Memory (OOM) errors. Through the truncation mechanism, FedCASKD locks the maximum video memory usage of the system at , providing deterministic runtime guarantees for resource-constrained devices. Exception Breaking: The clamping mechanism acts as a system-level circuit breaker. When facing illegal index inputs caused by adversarial noise attacks or sensor faults, this mechanism ensures the numerical integrity of the computation graph and prevents the crash of distributed training processes due to IndexError, thus significantly improving the overall availability of the system.
4. Experiments
This chapter conducts a comprehensive evaluation of the proposed FedCASKD framework through systematic experiments. The experimental design is intended to verify the effectiveness of the framework in heterogeneous data distribution and adversarial attack environments, and to focus on investigating its system stability and operational efficiency in resource-constrained edge computing scenarios.
4.1. Datasets and Experimental Settings
To comprehensively evaluate the generalization ability and system stability of the FedCASKD framework across different modalities (image/text) and language environments, three representative benchmark datasets are selected in this study:
MNIST (Image Classification Benchmark) [40]: It contains 70,000 28 × 28 grayscale handwritten digit images across 10 classes. As a standardized lightweight benchmark for visual tasks, MNIST is mainly used to rapidly verify the convergence correctness of the poisoning-resistant algorithm (CAS mechanism). It simulates the edge sensor scenario with low bandwidth and low computing power, serving to establish an effectiveness baseline for the security protocol before extending to complex tasks.
AGNews [41]: It is a well-recognized benchmark dataset for short text classification in the field of Natural Language Processing (NLP), constructed by Zhang et al. in 2015 based on the AG’s Corpus news corpus. This dataset covers four major categories: World, Sports, Business, and Sci/Tech, with a total of 120,000 training samples and 7600 test samples. The sample distribution across all categories is strictly balanced, with 30,000 training samples and 1900 test samples for each category. The data samples mainly consist of news headlines and their brief descriptions, featuring concise semantics and sparse features. In this study, the AGNews dataset is selected to verify the universality of the proposed federated learning algorithm on non-image modal tasks, and to focus on evaluating the convergence performance and communication efficiency of the adaptive bidirectional distillation strategy and the SVD dynamic compression mechanism in processing natural language models (Transformer).
SogouNew [41]: It serves as a benchmark dataset for Natural Language Processing (NLP) tasks. Derived from Sogou Labs, this dataset contains a large number of annotated Chinese news corpora, covering five main categories including Sports, Finance, Entertainment, Automobile, and Technology. Owing to its large sample size, clear category boundaries, and rich real semantic contexts, this dataset can effectively evaluate the generalization ability and convergence performance of the model on text classification tasks.
Data Partitioning [42]: To simulate the Non-IID characteristics prevalent in real federated networks, the experiment adopts the Dirichlet distribution to perform heterogeneous data partitioning. For each category k, its samples are randomly assigned to N clients, where the hyperparameter controls the degree of heterogeneity of the data distribution. In this experiment, is set to simulate a moderate-intensity Label Shift scenario.
Model Architecture: In our experiments, for text classification tasks, a lightweight Transformer encoder with 2 layers is adopted as the local backbone network on each client. For image classification tasks, a standard CNN model with two convolutional layers is used instead. On the AGNews and SogouNews datasets, a fully connected layer is connected after the Transformer encoder to map the feature representations for the final classification. On the MNIST dataset, the output of the convolutional module is flattened, followed by two fully connected layers. Test Accuracy is used as the main evaluation metric on all datasets. To mitigate random errors caused by stochasticity, each group of experiments is repeated 3 times with different random seeds.
Dataset Selection Rationale and Comparative Analysis
The selected datasets cover diverse data modalities and application scenarios to ensure a comprehensive evaluation of the proposed framework. Specifically, MNIST represents a lightweight image classification task, which is suitable for verifying the convergence behavior and robustness of the algorithm under low-complexity settings. In contrast, AGNews and SogouNews correspond to text classification tasks with higher feature sparsity and semantic complexity, posing greater challenges for model generalization and communication efficiency.
Moreover, AGNews (English corpus) and SogouNews (Chinese corpus) introduce cross-lingual diversity, allowing us to evaluate the adaptability of the proposed method across different language environments.
Analysis of Performance Variation Across Datasets.We further analyze why the performance of different methods varies across datasets.
First, the degree of data heterogeneity plays a key role. MNIST exhibits relatively simple and low-dimensional visual patterns, making it less sensitive to Non-IID distributions. As a result, most methods, including FedCASKD, achieve stable and high accuracy. In contrast, text datasets such as AGNews and SogouNews involve high-dimensional sparse representations and stronger semantic diversity, which amplify the impact of label skew and client drift.
Second, dataset scale and class distribution also influence robustness. AGNews contains fewer samples per class and exhibits higher sensitivity to label-flipping attacks, which can significantly distort the global decision boundary. This explains the relatively larger performance fluctuations observed under different settings. In comparison, SogouNews has a larger corpus and richer semantic coverage, which improves the stability of knowledge aggregation and allows FedCASKD to better exploit its bidirectional distillation mechanism.
Third, language characteristics further contribute to the performance gap. The Chinese dataset (SogouNews) typically involves more complex token distributions and longer input sequences, which increases the difficulty of representation learning. In this scenario, the proposed feature-level distillation and stability mechanisms provide additional benefits, leading to more pronounced improvements compared to baseline methods.
Overall, this combination enables a systematic comparison of model performance across different data modalities (image vs. text) and linguistic contexts. The experimental results indicate that FedCASKD demonstrates stronger advantages in complex, high-dimensional, and highly heterogeneous scenarios, while maintaining competitive performance on simpler datasets.
4.2. Introduction to Experimental Baselines
To comprehensively verify the robustness and model generalization ability of the proposed FedCASKD in data-heterogeneous scenarios, four representative federated learning methods are selected as comparative baselines in the experiments, covering mainstream technical routes such as parameter aggregation, regularization optimization, gradient correction, and knowledge distillation.
First, FedAvg [13] is selected as the basic performance reference method. FedAvg updates the global model by performing weighted averaging on the local model parameters of each client, and it is the most widely used baseline algorithm in the current field of federated learning. However, this method implicitly assumes that the data distribution of each client is similar and tends to suffer from slow model convergence or even performance degradation when facing severely non-independent and Non-IID data.
Second, to evaluate the algorithm’s ability to address statistical and system heterogeneity, FedProx [19] is selected as a representative baseline based on regularization optimization. Aiming at the problem of client drift prone to occur in FedAvg under Non-IID scenarios, FedProx introduces a proximal regularization term into the local objective function, redefining the optimization objective of client k as
where denotes the regularization coefficient. This mechanism effectively alleviates the model divergence caused by differences in data distribution by limiting the offset between local model parameters and the global model. FedProx is selected to verify whether the method in this paper can achieve better convergence performance without explicit parameter constraints under the condition of extremely heterogeneous data.
Third, SCAFFOLD [20] is selected as a representative algorithm based on the ideas of gradient correction and variance reduction. This method maintains control variables c and on the server and each client, respectively, and introduces a correction term into the local training process to correct the deviation of local update directions caused by data heterogeneity, thus achieving an unbiased estimation of the global gradient. This algorithm is selected to evaluate whether the method proposed in this paper can obtain more stable and consistent model update effects compared with explicit gradient correction strategies in complex semantic tasks.
Fourth, for direct comparison with homogeneous distillation methods, FedKD [43] is selected as a representative baseline based on the knowledge distillation strategy. FedKD mitigates the model heterogeneity problem to a certain extent by using local teacher models to guide the training of shared student models on clients and dynamically adjusting distillation weights according to prediction uncertainty. However, the adaptive mechanism of this method mainly relies on the local perspective of clients, and it lacks a unified perception of the global client state and knowledge quality. This algorithm is selected to verify the advantages of the proposed client-aware selection mechanism and bidirectional distillation strategy in terms of knowledge denoising and generalization ability compared with traditional local mutual distillation methods in a highly heterogeneous data environment. The experimental results across MNIST, AGNews, and SogouNews demonstrate that FedCASKD consistently maintains superior performance under both simple (image-based) and complex (text-based) tasks.
In particular, the performance gains are more significant on text datasets, indicating that the proposed bidirectional distillation mechanism is especially effective in handling high-dimensional and semantically rich data distributions.
Through the horizontal comparison of the above multi-dimensional baseline methods, the performance improvement of FedCASKD brought by the integration of the client selection and bidirectional knowledge distillation mechanisms can be systematically evaluated.
4.3. Performance Comparison Analysis with Different Client Scales in Heterogeneous Environments
4.3.1. Experimental Objective
This experiment aims to evaluate the effectiveness and robustness of the proposed FedCASKD algorithm under different network scales. The experiment simulates a heterogeneous scenario with Non-IID, ) data and investigates the performance of the algorithm as the system scale expands by adjusting the total number of clients to . We conduct a horizontal comparison of FedCASKD with four mainstream baseline algorithms (FedAvg [13], FedProx [19], SCAFFOLD [20], FedKD [42]) on three datasets (MNIST [43], AGNews [40], and SogouNews), focusing on the final convergence test accuracy and convergence stability of the models.
4.3.2. Results and Analysis
Figure 2 illustrates the evolution of test accuracy over communication rounds under different client scales ( to 50). Each subplot corresponds to a specific dataset, and each curve represents a different algorithm. The experimental results across three representative datasets—AGNews [41], MNIST [40], and SogouNews—are illustrated in Figure 2 and Table 1. As the number of participating clients K scales from 5 to 50, all methods exhibit varying degrees of performance degradation due to the intensified impact of data heterogeneity. Standard baselines, including FedAvg [13] and FedProx [19], suffer from the most significant accuracy drops. This underscores the limitations of relying solely on parameter averaging or proximal regularization to mitigate client drift in environments with strong semantic heterogeneity. While SCAFFOLD [20] mitigates performance decay to some extent by correcting local update directions with control variates, it still incurs non-negligible precision loss as the client scale increases. Similarly, FedKD [43] performs well in small-scale scenarios but experiences a sharper decline in larger populations, indicating that distillation mechanisms based purely on local perspectives are highly susceptible to biased knowledge or noisy clients. In contrast, FedCASKD consistently achieves the highest test accuracy across all client scales and datasets, exhibiting the most stable performance curves. This superiority is particularly evident on the SogouNews dataset, which contains complex long-text Chinese semantics and poses higher demands for robustness. The robust performance of FedCASKD can be attributed to two core mechanisms:
Figure 2.
Test accuracy of each algorithm versus the number of communication rounds under different client quantities.
Table 1.
Statistical performance evaluation (Accuracy %) under varying client numbers across three datasets (mean ± std over 5 runs).
- Score-Aware Soft Aggregation (SA-RSA): By adaptively modulating client contributions based on quality feedback, this mechanism effectively filters out low-quality or anomalous updates, such as those originating from noisy or malicious clients.
- Selection-Aware Bidirectional Knowledge Distillation protocol (SA-BiKD): This protocol enhances knowledge alignment between global and local models in the functional space. It ensures that the global model effectively assimilates domain-specific features while local models retain their personalized generalization capabilities.
The consistent stability of FedCASKD, even in the relatively simple MNIST task, demonstrates that our framework provides significant robustness against data heterogeneity and system vulnerability without introducing additional training instability.
4.4. Performance Comparison Analysis Under Different Degrees of Data Heterogeneity
To address robustness under varying levels of data heterogeneity, we evaluate all methods across a wide range of Dirichlet parameters ().
In particular, represents a highly heterogeneous setting with severe label skew, which is widely recognized as a challenging scenario in federated learning. Therefore, our evaluation already covers both moderate and extreme heterogeneity conditions.
4.4.1. Experimental Objective
To systematically evaluate the robustness of FedCASKD under different data heterogeneity conditions, this paper comparatively analyzes the variation trends of test accuracy of each method with different Dirichlet parameters on the MNIST, AGNews and SogouNews datasets based on the Dirichlet distribution partitioning strategy. The Dirichlet parameter controls the degree of data distribution heterogeneity among clients, where a smaller corresponds to stronger Non-IID characteristics. Figure 3 presents the test accuracy of all methods under different degrees of data heterogeneity, controlled by the Dirichlet parameter . Smaller values correspond to stronger Non-IID distributions. The experimental results are shown in Figure 3 and Table 2.
Figure 3.
Performance Scalability of Federated Learning Algorithms Under Non-IID Data Across Datasets.
Table 2.
Statistical. performance comparison (Accuracy %) under different Dirichlet settings (mean ± std over 5 runs).
4.4.2. Results and Analysis
All experiments are repeated five times with different random seeds. We report the mean accuracy and standard deviation. * indicates statistical significance (p < 0.05) compared to baseline methods.
Discussion on IID Setting. Although this work focuses on Non-IID scenarios (controlled by Dirichlet ), we briefly discuss the expected behavior under IID data for completeness.
When , the data distribution across clients approaches IID, and the discrepancy between local and global objectives is significantly reduced. In such cases, traditional methods like FedAvg are known to perform nearly optimally due to the absence of client drift.
Under this setting, the advantage of FedCASKD is expected to diminish, since its core design—namely score-based robust aggregation and selection-aware bidirectional distillation—is primarily targeted at mitigating heterogeneity and adversarial perturbations. Nevertheless, FedCASKD remains competitive due to its stable aggregation mechanism while introducing only negligible computational overhead compared to standard methods.
Therefore, we intentionally focus our evaluation on Non-IID settings, which better reflect real-world federated learning deployments and highlight the strengths of the proposed framework.
Overall, with the decrease in and the enhancement of data heterogeneity, the performance of traditional federated learning methods (e.g., FedAvg, FedProx) degrades significantly on all three datasets, indicating that strategies relying solely on parameter averaging or proximal regularization cannot effectively alleviate the model drift problem under strong heterogeneity conditions. SCAFFOLD and FedKD improve this phenomenon to a certain extent, but their performance remains highly sensitive to the degree of heterogeneity, with a more obvious decline, especially on text datasets with complex semantics.
In contrast, FedCASKD maintains a stable and leading test accuracy across all datasets and values, and its performance exhibits a smoother trend with the variation of , demonstrating stronger robustness to changes in data distribution. This advantage mainly stems from two aspects: first, the client-aware selection and weighting mechanism can suppress the negative impact of low-quality or abnormal clients on model aggregation from a global perspective; second, the selection-aware bidirectional knowledge distillation mechanism achieves bidirectional alignment between the global and local models in the function space, enabling the model to learn consistent and robust representations even in strong Non-IID scenarios. The above results fully verify the generalization ability and stability of FedCASKD in tasks with different modalities and different semantic complexities.
Robustness under extreme heterogeneity (), We observe that under the most challenging setting with , where label distribution across clients is highly skewed, FedCASKD consistently achieves the best performance across all datasets.
Compared with baseline methods, the performance gap becomes more pronounced under this extreme condition. For example, on AGNews, FedCASKD maintains an accuracy of 90.60%, outperforming FedAvg (77.94%) and FedProx (76.24%) by a large margin.
This demonstrates that the proposed client-aware selection and bidirectional distillation mechanisms are particularly effective in mitigating severe label skew and maintaining stable knowledge transfer across highly heterogeneous clients.
Overall, as decreases (i.e., heterogeneity increases), all methods experience performance degradation to varying degrees. However, FedCASKD shows significantly improved robustness and slower performance decay compared to baselines, indicating its strong adaptability to heterogeneous federated environments.
4.5. Poisoning Experiment
4.5.1. Poisoning Attack Model
To explicitly evaluate robustness, we adopt a standard label-flipping poisoning attack. This evaluation protocol follows commonly used robustness benchmarks in the federated learning literature. A subset of clients with ratio are randomly selected as malicious clients. Each malicious client modifies its local dataset by mapping labels to a target class:
which corresponds to a typical All-to-One attack widely used in federated learning robustness evaluation.
4.5.2. Experimental Objective
As shown in Figure 4, to explicitly evaluate poisoning robustness, we systematically analyze the performance of different methods under increasing attack intensity (0% → 60%). The experiment uses 10 clients with , where different proportions of clients are set as malicious clients and perform label-flipping poisoning attacks.
Figure 4.
Impact of Poisoning Ratio on Test Accuracy.
4.5.3. Results and Analysis
As shown in Figure 4, it can be observed that different aggregation and distillation mechanisms exhibit distinctly different robustness characteristics under poisoning attacks. First, FedAvg shows a low and significantly fluctuating test accuracy across all poisoning ratios. Its performance drops remarkably when the poisoning ratio increases from 0 to 20%, indicating that the parameter-averaging-based aggregation strategy is highly sensitive to abnormal updates. As the poisoning ratio increases further, the performance of FedAvg shows a slight recovery but remains at a low level overall. This non-monotonic variation reflects the instability of the model update direction under the random client participation mechanism, rather than a genuine improvement in robustness.
FedKD achieves a high initial accuracy under non-poisoning or low-proportion poisoning conditions, yet its performance experiences a sharp cliff-like decline when the poisoning ratio exceeds 40%. This phenomenon reveals an inherent flaw of traditional federated distillation methods in resisting poisoning attacks: since the distillation process directly aligns model outputs in the function space, the erroneous predictions generated by malicious clients are misidentified as soft knowledge and amplified and propagated through the distillation mechanism, thus accelerating the performance degradation of the global model. This result indicates that in the absence of an effective client quality perception and filtering mechanism, distillation not only fails to improve robustness but may even act as an amplifier for attacks.
In contrast, FedCASKD demonstrates highly stable performance characteristics over the entire range of poisoning ratios. Even in the extreme attack scenario where 60% of clients are poisoned, its test accuracy remains stable at a high level with an extremely small performance fluctuation range. This stability is not accidental but stems from the closed-loop robust control mechanism it introduces. On the one hand, the training loss-based client-aware selection mechanism can perform continuous soft suppression on low-reliability or abnormal clients during the aggregation phase, thereby effectively limiting the scope of the impact of malicious updates on the global model. On the other hand, the selection-aware bidirectional knowledge distillation mechanism enables constrained bidirectional interaction between global knowledge and local knowledge during the local training process, avoiding the indiscriminate amplification of malicious information in unidirectional distillation.
Overall, the experimental results indicate that in federated learning environments with high attack intensity and high uncertainty, strategies relying solely on parameter aggregation or unidirectional distillation cannot guarantee system security. In contrast, FedCASKD achieves system-level suppression of poisoning attacks through the collaborative design of robust aggregation and adaptive bidirectional distillation, significantly improving the stability and security robustness of the model.
4.5.4. Limitation of Validation-Based Scoring Under Strong Adversaries
The proposed CAS mechanism relies on the assumption that the client-reported validation loss reflects the alignment between local updates and the global objective.
We acknowledge that under a stronger adversarial setting, where malicious clients simultaneously manipulate both training and validation data (e.g., performing label-flipping on both sets), the reported loss may no longer serve as a reliable indicator of model quality.
However, such an attack requires the adversary to fully control both training and validation distributions while maintaining consistency with the global task, which is significantly more difficult in realistic federated learning scenarios where validation data is typically locally reserved or less frequently modified.
Moreover, the proposed softmax-based aggregation mechanism mitigates the impact of such adversarial behavior by assigning weights in a continuous manner, reducing the risk of any single client dominating the aggregation process.
Nevertheless, this limitation highlights an important direction for future work. Incorporating server-side validation, cross-client consistency checks, or trust-aware scoring mechanisms could further enhance robustness against adaptive adversaries capable of manipulating both training and validation data.
In addition, consistency-aware filtering based on update magnitude and historical behavior could be integrated to further verify the reliability of client-reported scores.
Discussion on Consistency-aware Filtering:The proposed consistency-aware filtering is designed as a lightweight safeguard rather than a core optimization component. In practice, we observe that it does not affect the convergence behavior or computational efficiency of the system while providing additional robustness against abnormal client behaviors. Therefore, it is incorporated as a default protection mechanism in FedCASKD.
4.6. Parameter Experiment of the Client-Aware Selection Mechanism
On the AGNews dataset, this paper adjusts the proportion of clients participating in training in each round from 0.1 to 1.0 by tuning the selection ratio, with the Dirichlet parameter set as .
Ablation Experiment and Sensitivity Analysis of the Client-Aware Selection Mechanism
To further verify the effectiveness of the proposed Client-Aware Selection (CAS) mechanism in dynamic communication environments, this section systematically investigates the impact of the Selection Ratio (JR) on the performance of the FedCASKD framework. As shown in Figure 5, based on the AGNews dataset, the experiment quantitatively evaluates the convergence performance and robustness of the model under different participation intensities by adjusting the proportion of clients participating in global aggregation in each round while keeping other hyperparameters constant. The analysis of experimental results is as follows:
Figure 5.
Impact of Client Selection Ratio on AGNews Accuracy.
Performance Bottleneck at Low Participation Ratios: When the selection ratio is at a low level (), the test accuracy of the model reaches 75.89%. Experimental data show that an extremely low client participation ratio limits the knowledge coverage of the global model. Since only a very small number of local features from edge nodes can be integrated in each iteration, the global model is unable to fully model the distribution diversity of Non-IID data, resulting in limited generalization performance.
Performance Leap at Medium-Scale Participation: As increases to 0.2, the model performance shows a steady growth trend (77.79%). Notably, when the selection ratio rises to 0.5, the test accuracy experiences a significant nonlinear leap, reaching 84.48%. This phenomenon indicates that under a moderate client participation scale, the CAS mechanism can accurately identify and filter out local updates with high contributions, thus significantly accelerating the knowledge alignment of the global model while maintaining communication efficiency.
Upper Performance Bound in Full-Sample Aggregation: Under the ideal condition of full client participation in training (), the model achieves the best accuracy of 90.14%. This verifies that FedCASKD has an extremely high upper performance bound and strong global knowledge integration capability with sufficient communication support. However, considering the communication overhead and computing resource burden brought by the full-participation mode, this configuration is often unsustainable in real edge computing environments.
Experimental Summary: Based on the comprehensive sensitivity analysis results, it can be seen that FedCASKD exhibits favorable performance gain and stability under different client participation intensities. In particular, with the suboptimal configuration of , the model can achieve performance close to that of full-sample aggregation. This fully proves that the client-aware selection mechanism proposed in this paper can not only effectively improve the model accuracy but also possesses excellent system scalability and communication practicality, enabling flexible adaptation to bandwidth-constrained edge communication scenarios.
4.7. Sensitivity Analysis and Action Mechanism of Feature-Level Distillation Weight ()
4.7.1. Parameter Selection Strategy for Distillation Weights
To ensure the reproducibility and robustness of the proposed method, the distillation weights and are determined through a systematic hyperparameter selection strategy. Specifically, we perform a grid search over the candidate set on a held-out validation set. The optimal configuration is selected based on the best trade-off between convergence stability and generalization performance under Non-IID settings.
From the experimental results, we observe that moderate values of and consistently achieve superior performance. In particular, the combination yields the best balance between global knowledge alignment and local feature preservation. This confirms that the proposed bidirectional distillation mechanism benefits from a balanced regularization strength, avoiding both under-constrained learning and over-regularization effects. Furthermore, we find that the model performance is relatively stable within a reasonable range around the optimal values, indicating that FedCASKD is not overly sensitive to precise hyperparameter tuning, which enhances its practicality in real-world deployment.
To deeply explore the contribution of feature-level distillation to model representation learning in the FedCASKD framework, this section systematically analyzes the impact of the hyperparameter on the generalization performance of the global model.
The distillation weights are dynamically adjusted based on client selection feedback, further improving robustness under heterogeneous and adversarial conditions.
4.7.2. Physical Meaning of
In the optimization objective of FedCASKD, the feature distillation weight plays a key role as a Semantic Manifold Regularization Coefficient. It controls the intensity of the constraint imposed by global consensus on the local model when the local model learns the distribution of private data:
- When is small: The model tends to perform, focusing on fitting the unique distribution of local heterogeneous data but easily ignoring the universal inter-class structure.
- When is large: The model tends to achieve Global Alignment, forcing the local feature mapping to approach the global average representation but potentially destroying the intrinsic manifold structure of local data.
Therefore, finding the optimal is essentially solving the Plasticity–Stability Dilemma in federated learning.
4.7.3. In-Depth Analysis of Experimental Results
The experimental results are shown in the Figure 6 with the detailed analysis as follows:
Figure 6.
Effect of Feature Distillation Weight () on Model Accuracy.
- Representation Drift Phenomenon (): When , the test accuracy reaches 83.57%. In this case, the system only relies on logits distillation at the output layer. Experiments show that soft labels alone are insufficient to constrain the feature transformation of intermediate layers. Different clients may generate similar logits outputs through completely different feature extraction paths, leading to severe Semantic Representation Drift and limiting the generalization ability of the global model on unseen test data.
- Optimal Solution for Synergistic Gain (): When increases to 0.25, the performance peaks at 84.60%. Under this configuration, provides a moderate inductive bias. Acting as a soft constraint, it guides the local model to align its feature space with the globally consistent semantic direction while retaining the discriminative ability for heterogeneous local data. This mechanism of “seeking common ground while reserving differences” maximizes the efficiency of knowledge transfer.
- Negative Effect of Over-regularization (): As further increases to 0.5, the test accuracy drops sharply back to 83.57%. This inflection point reveals the risk of over-regularization. Excessively strong feature constraints force the local model to rigidly mimic the feature maps of the global teacher, and such mandatory alignment often conflicts with the objectives of local classification tasks (i.e., inconsistent gradient directions). This causes the local model to lose the flexibility to capture domain-specific details, thereby impairing the final performance.
- Establishment of Auxiliary Task Positioning (): Under the high-intensity constraints of and , the performance recovers to 84.01–84.15% but never exceeds the optimal value. This further proves in terms of the mechanism that in the bidirectional distillation architecture of FedCASKD, feature-level alignment should be positioned as an auxiliary task. It is used to stabilize the training trajectory, while the signal that dominates the model’s decision boundary should still come from the class probability distribution of the logits layer.
Based on the above analysis, FedCASKD exhibits a certain degree of robustness to , but the performance gain follows a specific nonlinear law. is identified as the optimal balance point that takes both feature consistency and local specificity into account. This provides an important practical basis for optimizing model performance by adjusting the regularization intensity in resource-constrained edge environments.
4.8. Ablation Experiment: Analysis of the – Synergistic Distillation Mechanism
To systematically deconstruct the action mechanism of each component module of bidirectional distillation in the FedCASKD framework, this paper conducts a synergistic ablation experiment on the Logits distillation weight and feature distillation weight on the AGNews dataset. The experiment sets the number of clients to 20, adopts the Dirichlet distribution (Dirichlet Parameter = 0.5) to construct Non-IID data partitioning, and quantitatively evaluates the interaction effect of decision-layer knowledge and representation-layer knowledge by adjusting the combination of and .
4.8.1. Brief Description of the Role of Core Parameters
In the bidirectional flow of FedCASKD, the core functions of the two weights are as follows:
- Logits distillation weight (): It is mainly responsible for the calibration of decision boundaries. By aligning prediction distributions, it transfers the category judgment logic (dark knowledge) of the global model to local models, alleviating prediction biases caused by label distribution skewness.
- eature distillation weight (): It is mainly responsible for the manifold constraint of semantic space. By forcing the alignment of intermediate-layer representations, it suppresses “representation drift” in heterogeneous environments and ensures that different clients can map data to a consistent semantic space.
4.8.2. In-Depth Analysis of Synergistic Ablation Results
According to the distribution law of the heatmap data, three key analyses can be drawn as follows. The experimental results are shown in Figure 7, with the detailed analysis as follows:
Figure 7.
Effect Ablation Study of – Synergistic.
- Limitation of single-dimensional constraint: Experimental results show that when only a single-dimensional distillation constraint is introduced (e.g., or ), the improvement of model performance is limited, and the accuracy remains in the range of 87.66–88.60% overall. This indicates that isolated knowledge transfer cannot fully characterize the complex semantic differences among heterogeneous clients. Especially in the extreme case of , the accuracy is only 87.66%, which shows that pure feature alignment without decision-layer guidance will lead to blind compression of the semantic space.
- Synergistic gain effect of bidirectional flow: When and , the model performance reaches the optimal value of 89.26%. This significant peak effect verifies the complementarity of the bidirectional distillation mechanism. Logits distillation provides “top-down” decision guidance, while feature distillation provides “bottom-up” structural regularization. The deep coupling of the two achieves hierarchical alignment, which greatly enhances global consistency while maintaining local discriminability.
- Suppression phenomenon of over-regularization: When the distillation weights are further increased (e.g., or ), the performance declines (e.g., it drops to 88.44% at ). This phenomenon reflects “gradient conflict”: excessively strong global constraints constitute a harsh prior, inhibiting the local model from learning private discriminative features. Mandatory “over-alignment” will lead to the homogenization of the feature space, impairing the model’s flexibility in processing complex texts.
This ablation experiment shows that the performance advantage of FedCASKD does not stem from the simple superposition of different loss terms, but from the closed-loop of knowledge evolution achieved through the balanced adjustment of . The optimal parameter combination (0.5, 0.5) achieves the best generalization balance in heterogeneous data environments, providing clear experimental evidence for hyperparameter configuration in practical deployment.
4.9. Ablation Study of Core Components
To further investigate the contribution of each core component in the proposed FedCASKD framework, we conduct a systematic ablation study by selectively removing or disabling specific modules. The experiments are performed on the AGNews dataset under a Dirichlet setting of with 20 clients.
4.9.1. Ablation Settings
To rigorously evaluate the contribution of each component in FedCASKD, we design a removal-based ablation study under a fixed Dirichlet non-IID setting with and 20 clients. All experiments are conducted using identical training hyperparameters, including local epochs, learning rate, batch size, and communication rounds, ensuring that performance differences are solely attributed to the removal of specific modules.
Starting from the full FedCASKD framework, we construct four controlled variants to isolate the effect of each core component, as summarized in Table 3:
Table 3.
All results are reported under with 20 clients using a removal-based ablation setting.
- Full FedCASKD: The complete framework integrating Client-Aware Selection (CAS), bidirectional knowledge distillation (BiKD), feature-level distillation controlled by , and selection-aware client weighting .
- w/o CAS (uniform aggregation): We remove the Client-Aware Selection mechanism and replace the adaptive aggregation strategy with uniform averaging over all participating clients, thereby eliminating client reliability modeling.
- w/o BiKD (no distillation): We disable the bidirectional knowledge distillation process between server and clients, effectively removing both server-to-client and client-to-server knowledge exchange while retaining standard local training.
- w/o Feature Distillation (): We set the feature distillation weight to zero, thereby eliminating intermediate representation alignment while preserving logit-level distillation and other components.
- w/o Selection-aware weighting (): We remove the dynamic selection-aware weighting strategy, treating all selected clients equally during aggregation regardless of their contribution quality or informativeness.
For all variants, the evaluation is performed using identical test protocols on the AGNews dataset, and the reported accuracy is averaged over multiple runs to reduce randomness. The corresponding performance drop is computed relative to the full FedCASKD model.
4.9.2. Quantitative Results
The ablation results in Table 3 demonstrate that all designed components contribute positively to the overall performance under the Dirichlet non-IID setting with . Removing any individual module leads to a consistent performance degradation compared to the full FedCASKD model.
Among all components, the bidirectional knowledge distillation (BiKD) contributes the most, as its removal leads to a significant accuracy drop from 80.16% to 76.31% (↓3.85%). This indicates that bidirectional feature-logit exchange between the server and clients is the primary mechanism driving performance improvement in FedCASKD, enabling effective global–local mutual knowledge refinement.
Removing the Client-Aware Selection (CAS) mechanism also results in a notable decrease to 77.48% (↓2.68%), demonstrating that uniform aggregation is insufficient under heterogeneous data distributions. CAS improves model performance by adaptively selecting and weighting clients based on their contribution quality.
To further isolate the contribution of efficiency- and stability-oriented designs, we extend the ablation study by additionally removing the SVD-based compression module and the stability mechanism.
The removal of SVD results in a performance drop of 1.14%, indicating that although SVD is primarily designed for communication and memory efficiency, it also contributes to improved representation compactness and noise suppression.
Moreover, disabling the stability mechanism leads to a decrease of 1.40% in accuracy, accompanied by increased training fluctuation and higher risk of memory overflow, as discussed in Table 4. This demonstrates that stability-aware design plays a crucial role in ensuring reliable model convergence under resource-constrained environments.
Table 4.
Memory usage evaluation (Used Memory) under varying sequence lengths (L) on the SogouNews dataset. “OOM” indicates out-of-memory failure.
Similarly, disabling the selection-aware weighting strategy leads to a performance drop of 2.19%, highlighting the importance of dynamically suppressing less informative client updates during aggregation in non-IID environments.
Finally, removing feature-level distillation () causes a relatively smaller degradation to 79.13% (↓1.03%), suggesting that feature alignment serves as a complementary supervision signal that refines representation learning but is less critical than bidirectional distillation and adaptive aggregation mechanisms.
Overall, these results confirm that FedCASKD achieves its performance gains through a synergistic integration of bidirectional knowledge distillation, client-aware selection, and selection-aware weighting, which together enhance robustness and improve knowledge transfer under heterogeneous federated settings.
4.10. Memory Controllability Analysis from the Perspective of Endogenous Stability
In real edge computing environments, the deployability of a model not only depends on its final accuracy but is also strongly constrained by its resource occupancy behavior under the worst-case scenario. Unlike idealized simulated training, the input distribution often exhibits uncontrollable long-tail characteristics at runtime. Especially in text tasks, the emergence of abnormally long sequences can significantly amplify the memory demand for intermediate activations and gradient caching of the model, thereby leading to system-level failures. Table 4 presents a comparative analysis of the memory behavior of different federated learning methods from this worst-case perspective.
To provide a more comprehensive comparison, we additionally include several representative federated distillation methods (e.g., FedProto and FedGen) based on reported results in the literature.
Due to differences in implementation details and computational environments, these results are presented as reference comparisons rather than direct reproductions.
As shown in Table 3, existing methods generally suffer from severe memory limitations under long-sequence settings, while the proposed FedCASKD demonstrates significantly improved memory scalability and avoids OOM failures even at .
Experimental results show that the memory failures of FedAvg and FedKD are not accidental implementation issues but structural consequences of their algorithmic paradigms. These two types of methods implicitly assume that the input scale is statistically stationary and feed all client samples into the complete forward and backward propagation process without distinction. When the sequence length exceeds a certain implicit threshold, the spatial complexity of intermediate feature tensors increases approximately linearly or even superlinearly, making the memory occupancy unbounded. This ultimately and inevitably triggers an Out-of-Memory (OOM) error when or . This phenomenon is particularly prominent in distillation-based methods, as the additional teacher-student alignment process further amplifies the storage demand for intermediate representations.
In contrast, FedCASKD exhibits a significantly different growth pattern in terms of memory behavior. Even with extremely long sequence inputs, its memory occupancy remains within a predictable and continuously growing range, with no sudden resource collapse. This difference does not stem from the reduction of model scale but is directly attributed to its Endogenous Stability Design: by explicitly defining a safe input space at the system level, the dynamic sequence truncation mechanism decouples the activation scale and memory occupancy under the worst-case scenario from the original input distribution, thus introducing a deterministic resource upper bound for the training process.
From a system perspective, this design changes the failure mode of federated learning in edge environments. Traditional methods may cause the entire training process to be forced to interrupt once encountering abnormal inputs, while FedCASKD enables the training process to maintain continuous execution under resource pressure by replacing system collapse with controllable degradation. This characteristic is particularly crucial for long-cycle, multi-round federated training, because any single runtime failure will be amplified into global training instability.
To sum up, this experiment verifies from a system-level perspective that the dynamic input truncation introduced by FedCASKD is not a mere engineering optimization but constitutes an essential component of its algorithmic robustness. It enables the model to maintain stable operation when facing unpredictable inputs and heterogeneous hardware constraints, providing key support for federated learning methods to evolve from “runnable prototypes” to “deployable systems”.
5. Conclusions
This paper investigated the robustness and efficiency challenges of federated distillation in heterogeneous and adversarial environments, and proposed FedCASKD, a credibility-aware and selection-guided knowledge distillation framework. By jointly integrating soft client selection, adaptive distillation weighting, and collaborative temperature regulation, FedCASKD effectively balances global consistency and local adaptability under Non-IID data distributions. Extensive experiments on multiple benchmark datasets demonstrate that FedCASKD consistently outperforms representative federated learning and federated distillation baselines in terms of accuracy, robustness against data poisoning, and training stability. In particular, the proposed soft-selection mechanism and selection-aware distillation strategy significantly mitigate the negative impact of low-quality or malicious clients without relying on hard thresholds.
5.1. Practical Applicability and Deployment Considerations
Beyond theoretical performance, the proposed FedCASKD framework is designed with practical deployment in mind.
First, the score-based soft aggregation mechanism introduces minimal computational overhead compared to standard FedAvg, making it suitable for large-scale systems. Second, the bidirectional distillation process is performed locally without requiring additional public datasets or centralized supervision, preserving privacy and reducing communication complexity.
Moreover, the incorporation of dynamic input truncation and numerical safety constraints ensures deterministic memory usage and prevents runtime failures such as Out-of-Memory (OOM), which are critical issues in real-world edge environments.
These properties make FedCASKD well-suited for deployment in practical applications such as intrusion detection systems, mobile intelligence, and IoT-based collaborative learning scenarios, where robustness, efficiency, and system stability are essential.
5.2. Limitation and Future Work
Despite the promising performance of FedCASKD, several limitations remain in the current design, which also open up meaningful directions for future research.
First, the current framework primarily focuses on label-flipping poisoning attacks. It does not explicitly consider more sophisticated adversarial threats such as backdoor attacks, adaptive poisoning strategies, or combined attack scenarios. Extending the proposed method to these settings would further strengthen its robustness in real-world deployments.
Second, although the proposed bidirectional knowledge distillation mechanism improves knowledge transfer under Non-IID settings, its scalability to large-scale models and cross-domain federated learning tasks has not been fully validated. The computational and communication overhead under such scenarios may require further optimization.
Third, the current client-aware and selection-aware weighting strategies rely on relatively lightweight statistical signals. While effective, they may not fully capture richer client dynamics such as gradient consistency, representation similarity, or temporal behavior shifts. Incorporating these signals could further improve aggregation reliability.
Finally, the experiments are primarily conducted on benchmark datasets and simulated federated environments. Evaluating the proposed method on more diverse real-world edge devices and heterogeneous hardware platforms remains an important future direction to validate its practical applicability and scalability.
Overall, these limitations highlight several promising directions for future work. FedCASKD provides a unified and practical framework for secure and communication-efficient federated distillation, offering new insights into credibility-aware knowledge transfer in decentralized learning systems.
Author Contributions
F.S. conceived the study and provided resources; L.F. co-conceived the study, acquired funding, and reviewed and edited the manuscript; Y.M. curated the data and performed investigation and formal analysis; Y.L. supervised the project; Z.C. produced visualizations and participated in investigation. All authors have read and agreed to the published version of the manuscript.
Funding
This paper is supported by the National Natural Science Foundation of China (Grant No. 62302540) at https://www.nsfc.gov.cn/ (accessed on 20 May 2026). the Key Research and Development Program of Henan Province (Grant No. 251111212000), author F.F.S. at http://xm.hnkjt.gov.cn/ (accessed on 20 May 2026); the Industry-University-Research Innovation Fund of Chinese Universities (Special Project on AI+ Cybersecurity Governance Technology, Grant No. 2025SE052) at https://www.cutech.edu.cn/ (accessed on 20 May 2026), and the 2026 Postgraduate Research Innovation Program of Zhongyuan University of Technology (Grant No. YKY2026ZK26) at https://yjsc.zut.edu.cn/info/1151/7670.htm (accessed on 20 May 2026).
Data Availability Statement
We only use publicly available datasets. The MNIST dataset can be found at http://yann.lecun.com/exdb/mnist (accessed on 20 May 2026). The AGNews dataset can be found at http://groups.di.unipi.it/~gulli/AG_corpus_of_news_articles.html (accessed on 20 May 2026). The SogouNews dataset can be found at https://www.sogou.com/labs/resource/cs.php (accessed on 20 May 2026).
Acknowledgments
The authors would like to thank the anonymous referees for their valuable comments and helpful suggestions.
Conflicts of Interest
The authors declare that they have no conflicts of interest to report regarding the present study.
Correction Statement
This article has been republished with a minor correction to the Funding statement. This change does not affect the scientific content of the article.
References
- Li, Z.; He, Y.; Yu, H.; Kang, J.; Li, X.; Xu, Z.; Niyato, D. Data heterogeneity-robust federated learning via group client selection in industrial IoT. IEEE Internet Things J. 2022, 9, 17844–17857. [Google Scholar] [CrossRef] [Scilit]
- Konečný, J.; McMahan, H.B.; Yu, F.X.; Richtárik, P.; Suresh, A.T.; Bacon, D. Federated learning: Strategies for improving communication efficiency. arXiv 2016, arXiv:1610.05492. [Google Scholar]
- Tran Dinh, Q.; Pham, N.H.; Phan, D.; Nguyen, L. FedDR–randomized Douglas-Rachford splitting algorithms for nonconvex federated composite optimization. Adv. Neural Inf. Process. Syst. 2021, 34, 30326–30338. [Google Scholar]
- Böcekçi, S.C.; Yıldız, K. Adversarial attack detection in resource-constrained environments: A stable and sequential federated learning architecture with TinyLlama-1.1 B. arXiv 2026, arXiv:2602.12037. [Google Scholar]
- Buyuktanir, B.; Altinkaya, Ş.; Karatas Baydogmus, G.; Yildiz, K. Federated learning in intrusion detection: Advancements, applications, and future directions. Clust. Comput. 2025, 28, 473. [Google Scholar] [CrossRef] [Scilit]
- Lin, T.; Kong, L.; Stich, S.U.; Jaggi, M. Ensemble distillation for robust model fusion in federated learning. Adv. Neural Inf. Process. Syst. 2020, 33, 2351–2363. [Google Scholar]
- Jeong, E.; Oh, S.; Kim, H.; Park, J.; Bennis, M.; Kim, S.L. Communication-efficient on-device machine learning: Federated distillation and augmentation under non-iid private data. arXiv 2018, arXiv:1811.11479. [Google Scholar]
- Bagdasaryan, E.; Veit, A.; Hua, Y.; Estrin, D.; Shmatikov, V. How to backdoor federated learning. In Proceedings of the International Conference on Artificial Intelligence and Statistics, Online, 26–28 August 2020; PMLR: Cambridge, MA, USA, 2020; pp. 2938–2948. [Google Scholar]
- Guerraoui, R.; Rouault, S. The hidden vulnerability of distributed learning in byzantium. In Proceedings of the International Conference on Machine Learning, Stockholm, Sweden, 10–15 July 2018; PMLR: Cambridge, MA, USA, 2018; pp. 3521–3530. [Google Scholar]
- Li, L.; Xu, W.; Chen, T.; Giannakis, G.B.; Ling, Q. RSA: Byzantine-robust stochastic aggregation methods for distributed learning from heterogeneous datasets. In Proceedings of the AAAI Conference on Artificial Intelligence, Honolulu, HI, USA, 27 January–1 February 2019; Volume 33, pp. 1544–1551. [Google Scholar]
- Buyuktanir, B.; Baydogmus, G.K.; Ülku, E.E.; Yildiz, K. Enhancing Employee Retention Prediction Through Federated Learning and Associative Classification using FedCBA: A Case Study on IBM HR Analytics. Arab. J. Sci. Eng. 2026, 1–28. [Google Scholar] [CrossRef] [Scilit]
- Shan, F.; Fan, L.; Liu, Y.; Mao, Y.; Chen, Z.; Li, S. Federated distillation in heterogeneous systems: A direction-oriented survey on communication-efficient knowledge transfer. J. Syst. Archit. 2025, 171, 103648. [Google Scholar] [CrossRef] [Scilit]
- McMahan, B.; Moore, E.; Ramage, D.; Hampson, S.; y Arcas, B.A. Communication-efficient learning of deep networks from decentralized data. In Proceedings of the International Conference on Artificial Intelligence and Statistics, Fort Lauderdale, FL, USA, 20–22 April 2017; PMLR: Cambridge, MA, USA, 2017; pp. 1273–1282. [Google Scholar]
- Kairouz, P.; McMahan, H.B. Advances and open problems in federated learning. Found. Trends Mach. Learn. 2021, 14, 1–210. [Google Scholar] [CrossRef] [Scilit]
- Bonawitz, K.; Eichner, H.; Grieskamp, W.; Huba, D.; Ingerman, A.; Ivanov, V.; Kiddon, C.; Konečný, J.; Mazzocchi, S.; McMahan, B.; et al. Towards federated learning at scale: System design. Proc. Mach. Learn. Syst. 2019, 1, 374–388. [Google Scholar]
- Li, T.; Sahu, A.K.; Talwalkar, A.; Smith, V. Federated learning: Challenges, methods, and future directions. IEEE Signal Process. Mag. 2020, 37, 50–60. [Google Scholar] [CrossRef] [Scilit]
- Zhao, Y.; Li, M.; Lai, L.; Suda, N.; Civin, D.; Chandra, V. Federated learning with non-iid data. arXiv 2018, arXiv:1806.00582. [Google Scholar] [CrossRef] [Scilit]
- Wang, J.; Liu, Q.; Liang, H.; Joshi, G.; Poor, H.V. Tackling the objective inconsistency problem in heterogeneous federated optimization. Adv. Neural Inf. Process. Syst. 2020, 33, 7611–7623. [Google Scholar]
- Li, T.; Sahu, A.K.; Zaheer, M.; Sanjabi, M.; Talwalkar, A.; Smith, V. Federated optimization in heterogeneous networks. Proc. Mach. Learn. Syst. 2020, 2, 429–450. [Google Scholar]
- Karimireddy, S.P.; Kale, S.; Mohri, M.; Reddi, S.; Stich, S.; Suresh, A.T. Scaffold: Stochastic controlled averaging for federated learning. In Proceedings of the International Conference on Machine Learning, Virtual, 13–18 July 2020; PMLR: Cambridge, MA, USA, 2020; pp. 5132–5143. [Google Scholar]
- Fallah, A.; Mokhtari, A.; Ozdaglar, A. Personalized federated learning with theoretical guarantees: A model-agnostic meta-learning approach. Adv. Neural Inf. Process. Syst. 2020, 33, 3557–3568. [Google Scholar]
- Pillutla, K.; Malik, K.; Mohamed, A.R.; Rabbat, M.; Sanjabi, M.; Xiao, L. Federated learning with partial model personalization. In Proceedings of the International Conference on Machine Learning, Baltimore, MD, USA, 17–23 July 2022; PMLR: Cambridge, MA, USA, 2022; pp. 17716–17758. [Google Scholar]
- Li, T.; Hu, S.; Beirami, A.; Smith, V. Ditto: Fair and robust federated learning through personalization. In Proceedings of the International Conference on Machine Learning, Shenzhen, China, 26 February–1 March 2021; PMLR: Cambridge, MA, USA, 2021; pp. 6357–6368. [Google Scholar]
- Li, T.; Sanjabi, M.; Beirami, A.; Smith, V. Fair resource allocation in federated learning. arXiv 2019, arXiv:1905.10497. [Google Scholar]
- Dinh, C.T.; Tran, N.; Nguyen, J. Personalized federated learning with moreau envelopes. Adv. Neural Inf. Process. Syst. 2020, 33, 21394–21405. [Google Scholar]
- Li, D.; Wang, J. Fedmd: Heterogenous federated learning via model distillation. arXiv 2019, arXiv:1910.03581. [Google Scholar] [CrossRef] [Scilit]
- Zhu, Z.; Hong, J.; Zhou, J. Data-free knowledge distillation for heterogeneous federated learning. In Proceedings of the International Conference on Machine Learning, Shenzhen, China, 26 February–1 March 2021; PMLR: Cambridge, MA, USA, 2021; pp. 12878–12889. [Google Scholar]
- Tan, Y.; Long, G.; Liu, L.; Zhou, T.; Lu, Q.; Jiang, J.; Zhang, C. Fedproto: Federated prototype learning across heterogeneous clients. In Proceedings of the AAAI Conference on Artificial Intelligence, Online, 22 February–1 March 2022; Volume 36, pp. 8432–8440. [Google Scholar]
- Tolpegin, V.; Truex, S.; Gursoy, M.E.; Liu, L. Data poisoning attacks against federated learning systems. In European Symposium on Research in Computer Security; Springer: Berlin/Heidelberg, Germany, 2020; pp. 480–501. [Google Scholar]
- Fang, M.; Cao, X.; Jia, J.; Gong, N. Local model poisoning attacks to Byzantine-Robust federated learning. In Proceedings of the 29th USENIX Security Symposium, Virtual, 12–14 August 2020; pp. 1605–1622. [Google Scholar]
- Rahman, A.; Hasan, A.; Arifin, S.; Bappy, F.H.; Hossain, T.; Islam, T.; Kamal, A.R.M.; Hossain, M.A. AntiFLipper: A Secure and Efficient Defense Against Label-Flipping Attacks in Federated Learning. arXiv 2025, arXiv:2509.22873. [Google Scholar]
- Li, Y.; Chen, H.; Bao, W.; Xu, Z.; Yuan, D. Honest score client selection scheme: Preventing federated learning label flipping attacks in non-iid scenarios. arXiv 2023, arXiv:2311.05826. [Google Scholar] [CrossRef] [Scilit]
- Blanchard, P.; El Mhamdi, E.M.; Guerraoui, R.; Stainer, J. Machine learning with adversaries: Byzantine tolerant gradient descent. Adv. Neural Inf. Process. Syst. 2017, 30, 118–128. [Google Scholar]
- Yin, D.; Chen, Y.; Kannan, R.; Bartlett, P. Byzantine-robust distributed learning: Towards optimal statistical rates. In Proceedings of the International Conference on Machine Learning, Stockholm, Sweden, 10–15 July 2018; PMLR: Cambridge, MA, USA, 2018; pp. 5650–5659. [Google Scholar]
- Cao, X.; Fang, M.; Liu, J.; Gong, N.Z. Fltrust: Byzantine-robust federated learning via trust bootstrapping. arXiv 2020, arXiv:2012.13995. [Google Scholar]
- Shi, W.; Cao, J.; Zhang, Q.; Li, Y.; Xu, L. Edge computing: Vision and challenges. IEEE Internet Things J. 2016, 3, 637–646. [Google Scholar] [CrossRef] [Scilit]
- Wang, S.; Tuor, T.; Salonidis, T.; Leung, K.K.; Makaya, C.; He, T.; Chan, K. Adaptive federated learning in resource constrained edge computing systems. IEEE J. Sel. Areas Commun. 2019, 37, 1205–1221. [Google Scholar] [CrossRef] [Scilit]
- Hyeon-Woo, N.; Ye-Bin, M.; Oh, T.H. Fedpara: Low-rank hadamard product for communication-efficient federated learning. arXiv 2021, arXiv:2108.06098. [Google Scholar]
- Wang, K.; Cao, J.; Zhou, Z.; Li, Z. Swapnet: Efficient swapping for dnn inference on edge ai devices beyond the memory budget. IEEE Trans. Mob. Comput. 2024, 23, 8935–8950. [Google Scholar] [CrossRef] [Scilit]
- LeCun, Y.; Bottou, L.; Bengio, Y.; Haffner, P. Gradient-based learning applied to document recognition. Proc. IEEE 1998, 86, 2278–2324. [Google Scholar] [CrossRef] [Scilit]
- Zhang, X.; Zhao, J.; LeCun, Y. Character-level convolutional networks for text classification. Adv. Neural Inf. Process. Syst. 2015, 28, 649–657. [Google Scholar]
- Hsu, T.M.H.; Qi, H.; Brown, M. Measuring the effects of non-identical data distribution for federated visual classification. arXiv 2019, arXiv:1909.06335. [Google Scholar] [CrossRef] [Scilit]
- Wu, C.; Wu, F.; Lyu, L.; Huang, Y.; Xie, X. Communication-efficient federated learning via knowledge distillation. Nat. Commun. 2022, 13, 2032. [Google Scholar] [CrossRef] [Scilit]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.







