Manuscript Offprint
arXiv:2608.12108Beyond Parameter Space: NTK-Guided Personalized Aggregation for Robust Federated Learning
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
Federated learning (FL) enables collaborative model training across distributed clients while preserving data privacy by keeping data local. A central challenge in FL is determining which client updates are beneficial for aggregation with respect to each client’s target domain. Existing methods typically address this problem in parameter space by comparing model parameters or gradients. However, parameter-space similarity is often a poor proxy for predictive behavior, particularly in heterogeneous settings where client data is not independent and identically distributed. As a result, updates that are misaligned with a client’s target domain, including those arising from heterogeneous data distributions or malfunctioning clients, may be incorporated into aggregation and degrade local model performance. In this work, we propose Local Inference Guided Aggregation for Heterogeneous Training Environments to Yield Enhancement Through Agreement and Regularization (LIGHTYEAR), a federated learning framework that performs update selection in the function space. Central to our method is an NTK-based agreement score that characterizes predictive behavior and is used to determine the optimal aggregation set for each client. By relating model parameters to local predictive responses, the Neural Tangent Kernel (NTK) enables a function-space characterization of model updates and provides a more expressive criterion for update selection than parameter-space similarity alone. Since access to function-space information before aggregation is not available in conventional centralized FL, LIGHTYEAR leverages a peer-to-peer (P2P) topology, where clients exchange updates directly and can locally evaluate incoming models on private validation data. This enables each client to construct a personalized aggregation set consisting only of updates that are beneficial with respect to its own target domain. The selected updates are then aggregated using a regularized aggregation rule that further stabilizes training under heterogeneity. Our empirical evaluation across five datasets and nine baseline methods demonstrates that LIGHTYEAR consistently outperforms both centralized FL baselines and existing P2P approaches. The code is available at: https://github.com/MECLabTUDA/LIGHTYEAR
1 Introduction
In recent years, federated learning (FL) has emerged as a powerful approach for collaboratively training machine learning models across a network of distributed clients, without requiring the exchange of raw data [31]. This paradigm has gained increasing attention due to its natural fit for privacy-sensitive applications such as healthcare, mobile personalization, and finance [37, 2, 25]. FL was originally introduced in a centralized star-shaped topology, where a central server coordinates communication and aggregates updates received from participating clients [31]. While this formulation is conceptually simple and effective in homogeneous settings, it faces substantial limitations under real-world conditions characterized by heterogeneous data distributions and unreliable clients [49].
A central objective in FL is to learn models that generalize well to the target domain of each participating client. In practice, however, performance on a client’s target domain can degrade due to two major factors. First, clients frequently operate on non-independent and identically distributed (non-IID) data. Differences in acquisition protocols, sensing conditions, hardware configurations, or user behavior result in client-specific data distributions, violating exchangeability of data samples across the federation [50, 20]. Consequently, updates learned by one client are not equally beneficial for all others. Second, client reliability is inherently variable, and malfunctioning clients may contribute corrupted updates due to faulty sensors, broken data pipelines, or malicious attacks such as model poisoning [24]. Both heterogeneity and malfunctioning updates can negatively affect model performance on the target domain of individual clients. As a result, not every client benefits equally from aggregating updates from the full federation. Instead, each client benefits most from a personalized subset of client updates that best aligns with its own target domain and learning objective [11]. This motivates the need for a personalized client-specific solution, where each client selectively incorporates only the most beneficial updates while excluding irrelevant or harmful ones.

Figure 1: Illustration of the discrepancy between parameter space and function space. While client updates may appear similarly close in parameter space, their effect on model predictions can differ substantially in function space. This illustrates that parameter distance alone is an unreliable proxy for model behavior under heterogeneous settings.
Traditional FL methods attempt to identify beneficial updates through operations in parameter space, typically by comparing model parameters or gradients [7, 36, 41, 35, 33]. This is primarily a consequence of centralized FL itself, where the server has access only to model updates, but not to the underlying client data distributions. Without access to data distribution or training behavior, the server cannot directly assess how an incoming update behaves on a client’s target domain and therefore must rely on parameter-space proxies. However, parameter space is often insufficient for this task. Prior work has shown that distances in parameter space do not consistently correlate with similarity in predictive behavior [6]. Models with small parameter differences may lead to substantially different behavior, which is illustrated in Figure 1. Therefore, parameter space can be a poor proxy for actual model behavior. In contrast, evaluating models in function space provides a more expressive representation of how a model behaves on a given data distribution [6]. Function-space information captures predictive behavior directly and therefore provides a more meaningful basis for determining whether an update is beneficial for aggregation with respect to a client’s target domain. The challenge, however, is that this information is inaccessible in centralized FL before aggregation, since the central server has no access to local data [29] and cannot evaluate incoming models on client-specific validation distributions.
To address this limitation, we leverage a decentralized peer-to-peer (P2P) training topology [16, 40]. By moving away from the centralized star topology, clients exchange updates directly without relying on a central server. This communication structure provides each client with access to neighboring updates before aggregation and enables local evaluation on private validation data. As a result, every client can determine the predictive behavior of incoming models with respect to its own local target distribution and construct a personalized aggregation set based on function-space behavior rather than parameter similarity. Based on this idea, we introduce the Local Inference Guided Aggregation for Heterogeneous Training Environments to Yield Enhancement Through Agreement and Regularization (LIGHTYEAR). LIGHTYEAR is a P2P FL framework designed to select a personalized aggregation set for each client by measuring alignment in function space. To estimate model behavior, LIGHTYEAR leverages the Neural Tangent Kernel (NTK) [21], which relates parameter changes to predictive behavior and captures how a model responds locally on a given dataset. Using the NTK, we compute an agreement score that measures the similarity of predictive behavior between client models on a local validation set. This enables each client to identify which incoming updates are most beneficial with respect to its own target domain and selectively incorporate only those into aggregation. Finally, we aggregate the selected updates using a regularization term to mitigate client drift in heterogeneous environments. As a result, LIGHTYEAR enables client-specific model aggregation with fine-grained control over update selection in the function space. This improves robustness against malfunctioning or irrelevant updates, reduces performance drops on the target domain, and enhances personalization in heterogeneous federated learning environments. Our main contributions are as follows:
We propose LIGHTYEAR, a framework that combines a function-space agreement score for update selection with a regularized aggregation rule, enabled through P2P FL to support robust and personalized model training.
We introduce the agreement score, a metric based on the NTK that captures semantic alignment between client updates and the local model in function space by relating parameter changes to predictive behavior on the target domain. This score is used to select the personalized set of updates for aggregation.
We propose a regularized aggregation rule, which includes a round-dependent regularization term that controls the influence of updates over time, mitigating the effects of client drift in heterogeneous environments.
Robust Federated Learning: Malfunctioning clients pose a significant threat to FL by submitting harmful updates, whether due to adversarial intent or technical faults, that degrade the performance of the aggregated model when incorporated into the global update [48, 24]. To mitigate the impact of such corrupted contributions, a variety of robust aggregation methods have been proposed. Originally introduced for centralized FL, these methods are typically performed at the server level, where no access to client-side data or reference performance metrics is available [46]. As a result, these approaches rely solely on distance-based measures computed over model parameters or gradients to assess the similarity between updates. Clients whose updates deviate significantly from the majority are either down-weighted during aggregation [35, 9, 32] or excluded entirely [7, 36, 44]. Alternative approaches, such as FedTrans [43], improve robustness through utility-based client selection using a shared server-side dataset. With the growing interest in decentralized FL, robust aggregation methods have been adapted accordingly. In this setting, robustness must be ensured at the client level, and distance-based mechanisms are employed locally to evaluate incoming updates [15, 18].
Personalized Federated Learning: To address the limitations of the naive FedAvg approach in heterogeneous settings, where clients operate on non-IID data, personalized federated learning (pFL) was introduced to better adapt the global models to local client requirements. Rather than relying solely on a single shared model, pFL methods aim to tailor the learned representations to each client’s domain. Ditto [27] extends this concept by maintaining two separate models per client: one global model for participation in communication rounds, and one personalized model for local inference, with training guided by a regularization term that encourages consistency between the two. FedALA [47] introduces an additional local aggregation step, where each client combines the global model and its locally trained model using a weighted average, thereby adapting the global knowledge more flexibly to the local context.
3 Problem Statement
We consider a decentralized FL setting in which a set of clients collaborate to learn a model. The network is structured as a P2P topology, where each client communicates directly with all other clients. Formally, for each client , let denote the set of neighboring clients from whom it receives model updates , where denotes the parameters of the local model of client j. The client then aggregates these models with its own to update its parameters. A central challenge in this setting is that client has no information about the training data, optimization procedure, or reliability of its neighbors’ model updates . Consequently, it cannot determine a priori which of the updates will be beneficial or detrimental to its local objective. The naive aggregation of all received models,
may introduce harmful biases. In particular, blindly aggregating all updates can degrade model performance in the following ways:
Malicious clients may submit adversarial updates with the intent of corrupting the learning process.
Unreliable clients may unintentionally produce corrupted updates , e.g., due to defective data pipelines, incorrect labels, or faulty image acquisition.
Non-exchangeability across clients: Even in benign scenarios, updates from clients trained on data distributions significantly different from the client’s own distribution may lead to performance degradation when aggregated [49].

Figure 2: Illustration of the decomposition of the prediction error. The boxplot displays the error across the instances, with color indicating the magnitude of the error (green: low error, red: high error).
In general, model updates from such clients often exhibit structural divergence from the models trained on locally aligned data. The training data can be described as , where is the distribution with input data and is the labeling function , where is the number of classes. Let denote the prediction error of model with parameters on client ’s distribution , such that
The goal is to identify the aggregation set of client updates such that:
where .
The fundamental problem is: Given a set of client updates and no access to their underlying data distributions or training errors, determine an optimal aggregation subset that maximizes local performance on . This requires a reliable indicator for distributional similarity or alignment between updates and the local data of client , which is the core methodological focus of our work.
4 Methodology
In the following, we begin by describing the prediction error a model incurs on a target distribution. This formulation accounts for both the violation of exchangeability between the source and target data distributions and the potential corruption of the model’s parameters due to malfunctions. We then highlight that P2P topologies offer a unique opportunity to approximate this error in a decentralized manner, in contrast to traditional star-shaped topologies. Finally, we introduce a novel agreement-based method that enables each client to select a custom aggregation set, thereby improving robustness and enhancing performance on the target distribution.
4.1 Exchangeability in Federated Learning
To consider the second case of disadvantageous clients, we must examine the concept of exchangeability, which plays a crucial role in the effectiveness of model aggregation. In statistical learning theory, a dataset is said to be exchangeable if its joint distribution is invariant under permutations. Formally, a sequence is exchangeable if for any permutation of , the joint distribution satisfies:
This condition generalizes the IID assumption and underpins the validity of many theoretical guarantees in machine learning, such as those provided by conformal prediction and generalization bounds. In the context of FL, however, the assumption of data exchangeability across clients is often violated. Each client may possess data drawn from a distinct underlying distribution , reflecting variability in user behavior, local environments, or sensing conditions. That is, while traditional learning assumes all data points , FL encounters the more general scenario where:
As such, the global dataset is no longer exchangeable, and assumptions relying on this property break down.
Empirical and theoretical studies have shown that when clients violate exchangeability, such as by training on non-overlapping label distributions or domain-shifted data, the aggregated global model can suffer significant degradation in performance, particularly on the target distribution of interest [30]. This issue is exacerbated by the fact that clients’ local data distributions are not observable, either due to privacy constraints or system limitations. Consequently, we lack the information necessary to directly assess how well each client’s model update aligns with the target task.
4.2 Malfunctioning Clients
While violations of exchangeability across client updates arise from training on heterogeneous data distributions, leading to prediction errors as discussed above, malfunctioning clients represent a more extreme case of misalignment. In contrast to clients optimized for a specific data distribution, malfunctioning clients are generally misaligned with all data distributions. In our work, we consider three distinct types of client malfunctions. Two of these represent untargeted model poisoning attacks, namely, the Additive-Noise Attack (ANA) and the Sign-Flipping Attack (SFA), which are widely studied attacks in the FL literature [24, 26, 1].
In the ANA setting, a client perturbs its model parameters by adding Gaussian noise before broadcasting, i.e., the transmitted update becomes: where is the locally trained model and is the noise vector.
In the SFA setting, the client multiplies the entire update by a negative constant, effectively reversing the optimization direction: . In addition to adversarial behaviors, we simulate a malfunction indicative of technical failures, such as broken data pipelines or failed local training. In this scenario, the client submits a model update consisting of randomly initialized weights, entirely bypassing the optimization process.
4.3 Error Decomposition
As previously described, prediction errors may arise due to either malfunctions or the violation of exchangeability between the source and target distributions. In other words, if during training and during testing with , then the exchangeability assumption is violated. The latter can be understood as natural shifts inherent to distributional differences, while malfunctions represent unnatural shifts introduced through adversarial or unexpected faulty behavior. Therefore, the overall prediction error of a corrupted model on a target distribution can be expressed as the combination of these two sources of error:
where is the error on the target domain as described in Eq. 2 and is defined as
the error of model due to corrupted parameters . This concept is visualized in Figure 2. To quantify the impact of this shift, the domain adaptation framework developed by Ben-David et al.[4] provides a theoretical upper bound on the expected target domain error of a model , trained on a source distribution , and evaluated on a target distribution . The bound is given as:
where , are the expected errors of with parameters on the source distribution and target distribution as described in Eq. 2, is the classifier induced-divergence between the source and target distributions [23, 5], and is the combined error of the ideal model on both domains, defined as:
This bound demonstrates that the error on the target domain is influenced not only by the model’s performance on the source domain but also by the divergence between the source and target distributions. Thus, the overall error of the corrupted model can be described as:
To assess the sensitivity to corruption of the models used in this work, we added an ablation study to the supplementary material that investigates how the prediction error changes with the level of corruption.
4.4 Communication and Computation Tradeoffs
In centralized FL, a server aggregates client updates without access to local data distributions, ideally selecting only those updates that align well with a target distribution. Since this target may differ across clients, the optimal aggregation set is inherently client-specific. Switching from a star-shaped to a P2P topology allows clients to exchange updates directly, giving each client access to all updates and enabling them to estimate prediction error on their own data to form personalized aggregation sets. This decentralization increases communication costs, as updates must be shared with all clients, but offers improved robustness and personalization. To determine the aggregation set for each client individually, LIGHTYEAR analyzes the model’s prediction behavior. While this requires additional forward passes and Jacobian matrix computations and is therefore computationally more demanding, it enables more fine-grained control in assessing whether client updates are beneficial for aggregation. In domains such as medical imaging, where client numbers are limited and reliability is critical, these tradeoffs are favorable. We added an extended analysis of the scalability and communication costs in the supplementary material.
4.5 Approximation by Agreement
What is available to client are: (1) its own locally trained model , used as reference and representative of the local distribution, trained on data from , and (2) a local validation dataset drawn from a distribution . Therefore, we need to reconsider the problem from another point of view. We assumed that a malfunctioning model will exhibit a higher prediction error on the target distribution compared to a model that was specifically optimized for it. This increased error manifests as a behavioral divergence between the two models when making predictions on the target domain. In particular, the corrupted model will tend to disagree with the optimal model , which was trained to minimize error on that specific distribution. This disagreement indicates the presence of a prediction error apart from the irreducible error inherent to the task, such that:
From this perspective, our goal is to identify a personalized aggregation set for each client, consisting only of client updates that exhibit strong agreement with the client’s local reference model. Let and denote the models of client and client , respectively, where and are their respective parameter vectors. Since we evaluate models that have not yet converged during training, assessing performance alone may not provide meaningful insights. Instead, we aim to capture the tendencies of the models and therefore introduce our agreement score.
To identify neighboring clients whose predictive behavior is consistent with the local model, we compute an agreement score based on the NTK induced by the final layer of the networks. We restrict the NTK computation to the final layer in order to significantly reduce the computational and memory complexity while still capturing the task-specific predictive behavior of the models. The NTK has already been shown to be an effective tool for model optimization in heterogeneous FL settings [45]. Intuitively, the NTK describes how the predictions of a neural network change around the data points when the model parameters are slightly modified. It quantifies how strongly and in which direction the model predictions change under small parameter perturbations and therefore captures the local behavior of the model rather than its raw parameter values. Consequently, models with similar NTK structure exhibit similar behavior in the function space, even if their parameter values differ. For each model, we compute the Jacobian of the network outputs with respect to the final-layer parameters ,
The empirical final-layer NTK matrix is then defined as
where denotes the output dimension of the model and . To remove scale dependencies and improve robustness, the kernel matrix is centered and Frobenius-normalized,
Given a local reference model and a neighboring model , we define the NTK-based agreement score via normalized kernel alignment,
Intuitively, this procedure favors models that exhibit similar local predictive sensitivities on the reference dataset and suppresses aggregation with models that rely on substantially different predictive mechanisms. Since both kernel matrices are centered and Frobenius-normalized, the agreement score admits the following closed-form expression:
4.6 Update Selection
Based on the agreement score defined in the previous section, we leverage a filtering mechanism that enables each client to selectively aggregate only those updates whose predictions are sufficiently aligned with its own reference model. We introduce a selection threshold and define the aggregation set for client as:
This contains only those neighbour models that are considered sufficiently similar to the local model in terms of predictive behavior on the validation data.
4.7 Aggregation
After selecting the aggregation set, the chosen updates are aggregated to obtain the new model. Since each client aggregates their own model during training, there is a risk of client drift. To enhance robustness, we introduce a regularization parameter into the aggregation process, as shown in Eq. 17.
This parameter is dependent on the training round and can be interpreted as a decay of change, reflecting our observation of a gradual performance decline after a certain number of training rounds. By incorporating this decay, the aggregation becomes more stable and resilient to fluctuations. We have conducted a corresponding ablation study to support our findings. Notably, setting the regulation parameter to 1 reduces the method to the standard FedAvg over the updates from the selected aggregation set.
5 Datasets
To evaluate the effectiveness of LIGHTYEAR, we conducted experiments on five diverse datasets. Each client holds an individual training, validation and test set, created through a random split of their local data.
FEMNIST [8] contains grayscale handwritten digits and characters across 62 classes. Data is partitioned by writer identity, giving each client a distinct distribution that naturally induces heterogeneity. We use 8 clients and train a two-layer CNN for this task.
Camelyon17-WILDS [3] contains tissue-slide patches for binary tumor classification, collected from five hospitals by different scanners. We assign one hospital per client, yielding five clients in total, each training a local DenseNet121 model [19].
Isic19 [39, 12, 13] contains dermoscopic images for multi-class skin cancer classification. Images are preprocessed to 224 224 resolution and originate from six medical centers, yielding six clients. Each client trains an EfficientNet model [38] following the common baseline setup [34].
Fetal Abdominal Structures (Ultrasound) [14] is a binary segmentation task, with each patient assigned to a distinct set of patients across five clients. The images were resized to 64 64 and training was performed using TransUNet [10].
ChestXRay [22] is a XRay segmentation task. For this paper, we used a subset of 200 samples distributed across five clients. As in the other segmentation task, the images are resized to 64 64 and TransUNet was used for training. The detailed training setup and dataset composition are provided in the supplementary material.
6 Experiments
In the following experiments, we consider three different types of malfunctions: ANAs, SFAs and clients who submit random updates. For each experiment, we incrementally increase the number of malfunctioning clients, meaning that the number of malfunctioning clients grows per run. We compare LIGHTYEAR against FedAvg [31] and eight baseline methods for robust aggregation: AFA [33], ASMR [24], CFL [36], Ditto [27], Krum [7], FedProx [28], BALANCE [15], and SCCLIP [42]. While BALANCE and SCCLIP are also P2P methods, the others represent baselines from centralized FL. The performance of each method is evaluated based on the average accuracy for the classification tasks and the average Dice score for the segmentation tasks, evaluated on the client’s test data. The experiments focus on three key scenarios: (1) evaluating the resilience of each method against the three types of malfunctions individually, (2) assessing the resilience based on topology as the number of malfunctioning clients increases, and (3) testing the resilience in a dynamic and highly unpredictable environment, where malfunctioning clients randomly select one of the three malfunctions each round. This dynamic scenario aims to simulate conditions that are more representative of real-world situations. For LIGHTYEAR, we set the hyperparameter to 0.95 in all cases. The decision threshold was set to 0.6 for all experiments. The choice of these hyperparameters is discussed in the ablation study.
7 Results
The results demonstrate that LIGHTYEAR consistently outperforms all baseline approaches. We provide detailed tables containing the concrete numbers of our results in the supplementary material. As shown in Figure 3, only LIGHTYEAR is able to deliver stable performance across all datasets under the evaluated training conditions.
Figure 3: Average performance under three client malfunction types, aggregated over all cases with an increasing number of malfunctioning clients from 1 to . Results report mean accuracy across clients and runs. Segmentation performance is reported as Dice score, while the classification performance is reported as accuracy.
Especially for the segmentation tasks, it is evident that the models trained by the baseline methods diverge and deliver almost zero Dice scores, highlighting their inability to defend against any type of malfunctioning client. While certain cases, such as BALANCE on FEMNIST, occasionally achieve stable results, they remain exceptions rather than the norm. Figure 4 further illustrates the impact of an increasing number of clients, showing that all baseline methods encounter severe problems when the proportion of malfunctioning clients exceeds 50%. Only in one case do the centralized FL methods deliver comparable performance.
Figure 4: Performance under increasing numbers of malfunctioning clients for centralized FL, P2P FL, and LIGHTYEAR. Segmentation performance is reported as Dice score, while the classification performance is reported as accuracy.
In contrast, LIGHTYEAR leverages access to the local data distribution to effectively identify and reject malfunctioning clients, maintaining stability even when they constitute the majority. Therefore, only LIGHTYEAR unlocks the full potential of the P2P topology. Finally, Figure 5 highlights that LIGHTYEAR remains robust under dynamically changing malfunctioning clients, reflecting a more realistic, real-world scenario.
Figure 5: Illustrates the resilience of each method to dynamically changing client malfunctions. In this setting, each malfunctioning client randomly selects one of the three malfunction types in every round. The y-axis shows the average score (accuracy/Dice) across all clients, along with the standard deviation. Segmentation performance is reported as Dice score, while the classification performance is reported as accuracy.
Methods that perform relatively well on classification tasks often fail to maintain consistent performance on segmentation tasks. As a result, the other baseline approaches do not offer a reliable alternative for diverse medical imaging applications, highlighting the need for a method like LIGHTYEAR that remains robust across both task types. For all experiments, we provide detailed information with exact numbers in the supplementary. Beyond average performance, we observe that LIGHTYEAR exhibits substantially reduced variance across clients compared to both centralized and existing P2P baselines. This effect is particularly pronounced under high malfunction rates, where baseline methods either diverge or collapse to near-random performance. The agreement-based selection mechanism consistently filters out updates that induce unstable training dynamics, resulting in smoother convergence and more uniform client-level outcomes. These findings suggest that the primary advantage of LIGHTYEAR lies not only in higher mean performance, but also in improved reliability across heterogeneous clients.
8 Ablation Study on and
Figure 6: Effect of the regularization factor measured by the average validation accuracy for classification and Dice for segmentation across all clients over training rounds.
Figure 7: Distribution of the agreement score across all evaluated scenarios and clients, measured on the local validation datasets. The dashed line indicates the threshold used for update selection.
To study the effect of the regularization parameter , we isolated the regularized aggregation component and evaluated it independently of the personalized aggregation set selection. The corresponding results are shown in Figure 6. Camelyon17 and FEMNIST represent the most distinct heterogeneity settings in our benchmark, with FEMNIST showing the lowest and Camelyon17 the highest degree of client heterogeneity. The results show that lower values of stabilize training in highly heterogeneous settings, particularly on Camelyon17, while FEMNIST remains largely unaffected by changes in . A similar trend is observed for the segmentation datasets, where the ultrasound dataset benefits from a lower regularization factor of , whereas the XRay dataset remains stable across all evaluated values. Based on these findings, we use for all experiments, as datasets either benefit from this choice or show little sensitivity to variations of .
Figure 7 shows the distribution of the agreement score across all evaluated scenarios. The dashed line indicates the threshold used for update selection. A clear separation between malfunctioning and benign updates can be observed. The figure additionally reflects the degree of dataset heterogeneity, with Camelyon17 exhibiting the lowest agreement scores and therefore the strongest client heterogeneity. Since benign updates in highly heterogeneous settings can still yield lower agreement scores while remaining beneficial for the target domain, was chosen conservatively in the presented experiments.
9 Conclusion
In this work, we addressed the challenge of personalized update selection in FL under heterogeneous and unreliable client populations. A key observation of our work is that parameter-space similarity is often an insufficient proxy for model behavior, particularly in heterogeneous federated settings where small parameter changes can lead to substantially different predictions on local data distributions. This limits the reliability of conventional update selection strategies that operate solely in parameter space. To overcome this limitation, we proposed LIGHTYEAR, a function-space-based framework for personalized and robust federated aggregation. At the core of LIGHTYEAR is a client-specific and NTK-based agreement score that estimates the predictive behavior of incoming updates on the local target domain. By evaluating semantic alignment in function space rather than parameter similarity, each client can identify the subset of updates that is most beneficial for its own data distribution. This enables a more expressive and behavior-aware update selection mechanism for FL. The P2P topology plays a central role in enabling this perspective. Unlike centralized FL, where the server has access only to transmitted parameters, the decentralized setting allows each client to directly evaluate incoming updates on its own local validation data before aggregation. This provides access to the function space and enables personalized aggregation decisions based on model behavior rather than parameter heuristics. LIGHTYEAR further combines this update selection with a regularized aggregation strategy to stabilize training, improve robustness, and mitigate client drift. Our experiments across multiple datasets and challenging heterogeneous and malfunctioning scenarios demonstrate that LIGHTYEAR consistently improves performance compared to both centralized FL methods and state-of-the-art P2P baselines. These findings highlight the value of function-space-based reasoning for federated optimization and suggest that future FL methods may benefit from moving beyond parameter-space metrics toward behavior-aware aggregation strategies.
References
[1] Z. Alebouyeh and A. J. Bidgoly (2024) Benchmarking robustness and privacy-preserving methods in federated learning. Future Generation Computer Systems 155, pp. 18–38. Cited by: §4.2.
[2] M. Ali, F. Naeem, M. Tariq, and G. Kaddoum (2022) Federated learning for privacy preservation in smart healthcare systems: a comprehensive survey. IEEE journal of biomedical and health informatics 27 (2), pp. 778–789. Cited by: §1.
[3] P. Bandi, O. Geessink, Q. Manson, M. Van Dijk, M. Balkenhol, M. Hermsen, B. E. Bejnordi, B. Lee, K. Paeng, A. Zhong, et al. (2018) From detection of individual metastases to classification of lymph node status at the patient level: the camelyon17 challenge. IEEE transactions on medical imaging 38 (2), pp. 550–560. Cited by: Appendix A, §5.
[4] S. Ben-David, J. Blitzer, K. Crammer, A. Kulesza, F. Pereira, and J. W. Vaughan (2010) A theory of learning from different domains. Machine learning 79, pp. 151–175. Cited by: §4.3.
[5] S. Ben-David, J. Blitzer, K. Crammer, and F. Pereira (2006) Analysis of representations for domain adaptation. Advances in neural information processing systems 19. Cited by: §4.3.
[6] A. S. Benjamin, D. Rolnick, and K. Kording (2018) Measuring and regularizing networks in function space. arXiv preprint arXiv:1805.08289. Cited by: §1.
[7] P. Blanchard, E. M. El Mhamdi, R. Guerraoui, and J. Stainer (2017) Machine learning with adversaries: byzantine tolerant gradient descent. Advances in neural information processing systems 30. Cited by: §1, §2, §6.
[8] S. Caldas, S. M. K. Duddu, P. Wu, T. Li, J. Konečnỳ, H. B. McMahan, V. Smith, and A. Talwalkar (2018) Leaf: a benchmark for federated settings. arXiv preprint arXiv:1812.01097. Cited by: §5.
[9] X. Cao, M. Fang, J. Liu, and N. Z. Gong (2020) Fltrust: byzantine-robust federated learning via trust bootstrapping. arXiv preprint arXiv:2012.13995. Cited by: §2.
[10] J. Chen, J. Mei, X. Li, Y. Lu, Q. Yu, Q. Wei, X. Luo, Y. Xie, E. Adeli, Y. Wang, et al. (2024) TransUNet: rethinking the u-net architecture design for medical image segmentation through the lens of transformers. Medical Image Analysis, pp. 103280. Cited by: §5.
[11] Z. Chen, J. Li, and C. Shen (2024) Personalized federated learning with attention-based client selection. In ICASSP 2024-2024 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pp. 6930–6934. Cited by: §1.
[12] N. C. Codella, D. Gutman, M. E. Celebi, B. Helba, M. A. Marchetti, S. W. Dusza, A. Kalloo, K. Liopyris, N. Mishra, H. Kittler, et al. (2018) Skin lesion analysis toward melanoma detection: a challenge at the 2017 international symposium on biomedical imaging (isbi), hosted by the international skin imaging collaboration (isic). In 2018 IEEE 15th international symposium on biomedical imaging (ISBI 2018), pp. 168–172. Cited by: §5.
[13] M. Combalia, N. C. Codella, V. Rotemberg, B. Helba, V. Vilaplana, O. Reiter, C. Carrera, A. Barreiro, A. C. Halpern, S. Puig, et al. (2019) Bcn20000: dermoscopic lesions in the wild. arXiv preprint arXiv:1908.02288. Cited by: §5.
[14] C. Da et al. (2023) Fetal abdominal structures segmentation dataset using ultrasonic images. Mendeley Data. Cited by: Appendix A, §5.
[15] M. Fang, Z. Zhang, Hairi, P. Khanduri, J. Liu, S. Lu, Y. Liu, and N. Gong (2024) Byzantine-robust decentralized federated learning. In Proceedings of the 2024 on ACM SIGSAC Conference on Computer and Communications Security, pp. 2874–2888. Cited by: §2, §6.
[16] E. Gabrielli, G. Pica, and G. Tolomei (2023) A survey on decentralized federated learning. arXiv preprint arXiv:2308.04604. Cited by: §1.
[17] N. Gaggion, C. Mosquera, L. Mansilla, J. M. Saidman, M. Aineseder, D. H. Milone, and E. Ferrante (2024) CheXmask: a large-scale dataset of anatomical segmentation masks for multi-center chest x-ray images. Scientific Data 11 (1), pp. 511. Cited by: Appendix A.
[18] L. He, S. P. Karimireddy, and M. Jaggi (2022) Byzantine-robust decentralized learning via clippedgossip. arXiv preprint arXiv:2202.01545. Cited by: §2.
[19] G. Huang, Z. Liu, L. Van Der Maaten, and K. Q. Weinberger (2017) Densely connected convolutional networks. In Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 4700–4708. Cited by: §5.
[20] M. S. Islam, S. Javaherian, F. Xu, X. Yuan, L. Chen, and N. Tzeng (2024) FedClust: optimizing federated learning on non-iid data through weight-driven client clustering. In 2024 IEEE International Parallel and Distributed Processing Symposium Workshops (IPDPSW), pp. 1184–1186. Cited by: §1.
[21] A. Jacot, F. Gabriel, and C. Hongler (2018) Neural tangent kernel: convergence and generalization in neural networks. Advances in neural information processing systems 31. Cited by: §1.
[22] A. E. Johnson, T. J. Pollard, S. J. Berkowitz, N. R. Greenbaum, M. P. Lungren, C. Deng, R. G. Mark, and S. Horng (2019) MIMIC-cxr, a de-identified publicly available database of chest radiographs with free-text reports. Scientific data 6 (1), pp. 317. Cited by: Appendix A, §5.
[23] D. Kifer, S. Ben-David, and J. Gehrke (2004) Detecting change in data streams. In VLDB, Vol. 4, pp. 180–191. Cited by: §4.3.
[24] M. Konstantin, M. Fuchs, and A. Mukhopadhyay (2024) ASMR: angular support for malfunctioning client resilience in federated learning. In Medical Imaging with Deep Learning, pp. 754–767. Cited by: §1, §2, §4.2, §6.
[25] N. Lemke, M. Konstantin, H. J. Krumb, J. Kalkhof, J. Stieber, and A. Mukhopadhyay (2025) Equitable federated learning with nca. In International Conference on Medical Image Computing and Computer-Assisted Intervention, pp. 168–177. Cited by: §1.
[26] S. Li, Y. Cheng, W. Wang, Y. Liu, and T. Chen (2020) Learning to detect malicious clients for robust federated learning. arXiv preprint arXiv:2002.00211. Cited by: §4.2.
[27] T. Li, S. Hu, A. Beirami, and V. Smith (2021) Ditto: fair and robust federated learning through personalization. In International conference on machine learning, pp. 6357–6368. Cited by: §2, §6.
[28] T. Li, A. K. Sahu, M. Zaheer, M. Sanjabi, A. Talwalkar, and V. Smith (2020) Federated optimization in heterogeneous networks. Proceedings of Machine learning and systems 2, pp. 429–450. Cited by: §6.
[29] P. Liu, X. Xu, and W. Wang (2022) Threats, attacks and defenses to federated learning: issues, taxonomy and perspectives. Cybersecurity 5 (1), pp. 4. Cited by: §1.
[30] C. Lu, Y. Yu, S. P. Karimireddy, M. Jordan, and R. Raskar (2023) Federated conformal predictors for distributed uncertainty quantification. In International Conference on Machine Learning, pp. 22942–22964. Cited by: §4.1.
[31] B. McMahan, E. Moore, D. Ramage, S. Hampson, and B. A. y Arcas (2017) Communication-efficient learning of deep networks from decentralized data. In Artificial intelligence and statistics, pp. 1273–1282. Cited by: §1, §6.
[32] E. M. E. Mhamdi, R. Guerraoui, and S. Rouault (2018) The hidden vulnerability of distributed learning in byzantium. arXiv preprint arXiv:1802.07927. Cited by: §2.
[33] L. Muñoz-González, K. T. Co, and E. C. Lupu (2019) Byzantine-robust federated machine learning through adaptive model averaging. arXiv preprint arXiv:1909.05125. Cited by: §1, §6.
[34] J. Ogier du Terrail, S. Ayed, E. Cyffers, F. Grimberg, C. He, R. Loeb, P. Mangold, T. Marchand, O. Marfoq, E. Mushtaq, B. Muzellec, C. Philippenko, S. Silva, M. Teleńczuk, S. Albarqouni, S. Avestimehr, A. Bellet, A. Dieuleveut, M. Jaggi, S. P. Karimireddy, M. Lorenzi, G. Neglia, M. Tommasi, and M. Andreux (2022) FLamby: datasets and benchmarks for cross-silo federated learning in realistic healthcare settings. In Advances in Neural Information Processing Systems, S. Koyejo, S. Mohamed, A. Agarwal, D. Belgrave, K. Cho, and A. Oh (Eds.), Vol. 35, pp. 5315–5334. External Links: Link Cited by: §5.
[35] K. Pillutla, S. M. Kakade, and Z. Harchaoui (2022) Robust aggregation for federated learning. IEEE Transactions on Signal Processing 70, pp. 1142–1154. Cited by: §1, §2.
[36] F. Sattler, K. Müller, T. Wiegand, and W. Samek (2020) On the byzantine robustness of clustered federated learning. In ICASSP 2020-2020 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pp. 8861–8865. Cited by: §1, §2, §6.
[37] R. Taiello, S. Cansiz, M. Vesin, F. Cremonesi, L. Innocenti, M. Önen, and M. Lorenzi (2024) Enhancing privacy in federated learning: secure aggregation for real-world healthcare applications. In International Conference on Medical Image Computing and Computer-Assisted Intervention, pp. 204–214. Cited by: §1.
[38] M. Tan and Q. Le (2019) Efficientnet: rethinking model scaling for convolutional neural networks. In International conference on machine learning, pp. 6105–6114. Cited by: §5.
[39] P. Tschandl, C. Rosendahl, and H. Kittler (2018) The ham10000 dataset, a large collection of multi-source dermatoscopic images of common pigmented skin lesions. Scientific data 5 (1), pp. 1–9. Cited by: §5.
[40] S. Warnat-Herresthal, H. Schultze, K. L. Shastry, S. Manamohan, S. Mukherjee, V. Garg, R. Sarveswara, K. Händler, P. Pickkers, N. A. Aziz, et al. (2021) Swarm learning for decentralized and confidential clinical machine learning. Nature 594 (7862), pp. 265–270. Cited by: §1.
[41] J. Xu, S. Huang, L. Song, and T. Lan (2022) Byzantine-robust federated learning through collaborative malicious gradient filtering. In 2022 IEEE 42nd International Conference on Distributed Computing Systems (ICDCS), pp. 1223–1235. Cited by: §1.
[42] C. Yang and J. Ghaderi (2024) Byzantine-robust decentralized learning via remove-then-clip aggregation. In Proceedings of the AAAI Conference on Artificial Intelligence, Vol. 38, pp. 21735–21743. Cited by: §6.
[43] M. Yang, R. Zhu, Q. Wang, and J. Yang (2024) Fedtrans: client-transparent utility estimation for robust federated learning. In International Conference on Learning Representations, Vol. 2024, pp. 42668–42692. Cited by: §2.
[44] D. Yin, Y. Chen, R. Kannan, and P. Bartlett (2018) Byzantine-robust distributed learning: towards optimal statistical rates. In International conference on machine learning, pp. 5650–5659. Cited by: §2.
[45] K. Yue, R. Jin, R. Pilgrim, C. Wong, D. Baron, and H. Dai (2022) Neural tangent kernel empowered federated learning. In International Conference on Machine Learning, pp. 25783–25803. Cited by: §4.5.
[46] C. Zhang, S. Yang, L. Mao, and H. Ning (2024) Anomaly detection and defense techniques in federated learning: a comprehensive review. Artificial Intelligence Review 57 (6), pp. 150. Cited by: §2.
[47] J. Zhang, Y. Hua, H. Wang, T. Song, Z. Xue, R. Ma, and H. Guan (2023) Fedala: adaptive local aggregation for personalized federated learning. In Proceedings of the AAAI conference on artificial intelligence, Vol. 37, pp. 11237–11244. Cited by: §2.
[48] Z. Zhang, X. Cao, J. Jia, and N. Z. Gong (2022) Fldetector: defending federated learning against model poisoning attacks via detecting malicious clients. In Proceedings of the 28th ACM SIGKDD conference on knowledge discovery and data mining, pp. 2545–2555. Cited by: §2.
[49] Y. Zhao, M. Li, L. Lai, N. Suda, D. Civin, and V. Chandra (2018) Federated learning with non-iid data. arXiv preprint arXiv:1806.00582. Cited by: §1, §3.
[50] H. Zhu, J. Xu, S. Liu, and Y. Jin (2021) Federated learning on non-iid data: a survey. Neurocomputing 465, pp. 371–390. Cited by: §1.
Appendix A Dataset Construction
For each dataset we provide a csv-file containing the concrete splits. As mentioned in the main text, each client holds a unique training, validation, and test set.
We perform experiments on datasets of five different modalities, including three classification and two segmentation tasks. We used the Camelyon17-WILDS [3] dataset as a representative of histopathology , which consists of 9696 H&E-stained tissue slide patches of lymph nodes for a binary tumor classification task. The dataset contains images from patients across five hospitals, which naturally form three domains due to differences in image acquisition protocols namely, DHistech P250 (0.24 pixel size), Philips IntelliSite Ultra Fast Scanner (0.25 ), and Hamamatsu XR C12000 whole-slide scanner (0.23 ). Each client holds the data of one medical center. The distribution shift across the clients is visualized in Figure 8.

Figure 8: Sample images from each client, illustrating distinct differences in their data distributions. These variations highlight the heterogeneity across clients, which contributes to prediction errors on target domains as described in Eq 5 of the main paper, and underline the challenges of training in federated settings.
For the second dataset, FEMNIST, we used the dataset structure provided by the LEAF (https://github.com/TalwalkarLab/leaf) repository. In this setting, each client receives a distinct subset of data corresponding to a unique set of writers. Similar to the Camelyon17 setup, a random train/validation/test split is performed on each client’s data. Our preprocessing scripts for generating these subsets and splits are also included in the datasets directory of our codebase.
The Isic19 dataset is a large-scale dermoscopic image collection designed for skin-lesion classification. It includes images labeled across eight diagnostic categories, ranging from benign lesions to malignant skin cancers. These classes form the basis of the multi-class classification task explored in this work. Representative examples of all eight classes are visualized in Figure 9. Since the images have different dimensions across the different centers, we performed a random crop in out data loader. Further, we applied RandomScale, Rotate, RandomBrightnessContrast, AffineProjection, and Normalization augmentation to the images in the training loop.

Figure 9: Sample images from each client, illustrating distinct differences in their data distributions. These variations highlight the heterogeneity across clients, which contributes to prediction errors on target domains as described in the main paper, and underline the challenges of training in federated settings.
We employ ultrasound scans from the Fetal Abdominal Structures Segmentation dataset [14], which contains 1,588 fetal abdomen circumference images. These scans were acquired following a standardized protocol using Siemens Acuson, Voluson 730 (GE Healthcare Ultrasound), or Philips EPIQ Elite (Philips Healthcare Ultrasound) devices. In our experiments, we focus on segmenting the fetal liver. All images and corresponding segmentation masks are resized to . Each client receives a distinct subset of patients, forming its local dataset. Figure 10 shows some examples.

Figure 10: Sample images with the corresponding segmentation masks from the ultrasound dataset
Lastly, we use chest X-ray images from patients in tertiary care obtained from the MIMIC-XCR dataset [22]. Lung segmentation masks are sourced from the CheXmask database [17]. Because these masks were automatically generated, we retain only samples with a mean Dice Reverse Classification Accuracy of at least 70%. For our experiments, we randomly select 200 images, resulting in 40 samples per client across five client datasets. All images and segmentation masks are resized to . Figure 11 shows some images with their corresponding segmentation masks.

Figure 11: Sample images with the corresponding segmentation masks from the xray dataset
Appendix B Scalability Analysis
As illustrated in Figure 12, the communication complexity of centralized FL and P2P FL differs substantially with increasing federation size. In centralized FL, each client communicates exclusively with the central server by transmitting its local model update and receiving the aggregated global model. Consequently, the communication cost per client remains constant across rounds, so , whereas the server-side communication cost increases linearly with the number of participating clients. Summed over the entire federation, this results in an overall communication complexity of . In contrast, for the fully connected P2P topology considered in this work, P2P FL eliminates the central server and instead requires clients to exchange updates directly with one another. Under this topology, the communication cost per client increases linearly with the number of participating clients, meaning , since each additional client introduces an additional communication partner. As a result, the total communication cost over the whole federation grows quadratically, so . Figure 12 visualizes this difference for federations of varying size and highlights that, although P2P FL enables decentralized and client-specific decision making, this flexibility comes at the cost of substantially higher communication overhead compared to centralized FL.

Figure 12: Comparison of communication costs between centralized and P2P topology as a function of the number of participating clients. While the total communication cost in centralized FL grows linearly with the federation size, , the cost in P2P FL grows quadratically, . The markers indicate the client counts used in our experiments for the respective datasets.
Appendix C Experimental Results
In this section, we provide a detailed breakdown of the results presented in the main paper. For each dataset and malfunction, a dedicated table is included. These tables report the average accuracy or dice score across all clients, along with the corresponding standard deviation. All values are expressed as percentages for consistency and clarity.
Table 1: This table reports the results for ANAs on FEMNIST. Average accuracy (%) std of each method under increasing number of malfunctioning clients.
FEMNIST – ANA Number of Malfunctioning Clients Method 1 2 3 4 5 6 7 FedAvg 86.0 8.3 84.7 7.3 75.0 5.8 59.4 5.5 68.1 8.0 25.0 1.2 31.2 4.9 AFA 87.2 6.7 87.3 6.5 87.0 5.1 54.3 3.9 52.7 4.0 16.0 3.9 25.0 3.0 ASMR 86.1 4.8 85.5 2.5 85.3 2.1 81.5 2.0 78.2 5.3 73.6 8.0 70.6 8.5 CFL 86.7 5.8 86.0 4.0 85.5 2.6 13.5 1.2 66.2 3.6 36.2 3.2 21.2 1.6 Ditto 84.1 8.6 76.0 4.7 80.3 7.7 68.4 1.9 32.5 2.0 31.2 2.3 36.7 4.1 FedProx 85.5 7.2 76.2 6.0 74.7 2.7 77.6 5.0 34.3 4.4 25.3 1.6 19.7 4.1 Krum 68.6 9.4 68.5 9.2 70.0 9.1 69.2 9.2 70.5 8.7 70.5 9.2 70.1 9.1 BALANCE 80.2 2.8 81.3 2.3 81.3 1.6 81.9 2.6 82.1 2.2 79.0 2.8 80.2 3.4 SCCLIP 86.0 3.6 85.1 3.7 85.9 3.7 84.0 3.4 80.4 4.8 80.5 3.1 80.5 3.3 LIGHTYEAR 90.7 2.0 89.9 2.4 87.5 3.0 85.7 6.7 88.0 1.2 84.7 1.5 81.4 10.0
Table 2: This table reports the results for SFAs on FEMNIST. Average accuracy (%) std of each method under increasing number of malfunctioning clients.
FEMNIST – SFA Number of Malfunctioning Clients Method 1 2 3 4 5 6 7 FedAvg 83.6 5.4 76.6 2.4 21.4 5.7 1.5 0.3 1.3 0.3 3.6 0.4 4.5 1.5 AFA 86.9 7.1 87.0 6.1 86.0 4.2 2.6 0.3 6.4 0.9 2.9 0.3 1.6 0.3 ASMR 87.2 4.6 86.8 3.4 84.9 1.7 73.0 6.3 58.8 4.6 42.5 10.5 36.6 2.9 CFL 86.9 4.8 85.9 3.4 85.2 3.2 25.6 4.4 51.3 12.5 55.3 1.1 43.4 10.0 Ditto 84.3 4.2 77.6 1.9 7.7 1.0 5.1 0.5 1.4 0.3 0.8 0.2 0.9 0.1 FedProx 82.3 4.0 74.3 2.1 4.1 1.6 0.4 0.2 6.8 1.0 2.4 5.3 50.8 10.0 Krum 71.4 8.8 71.5 8.2 70.9 9.0 71.4 8.2 71.0 8.7 3.5 0.5 15.5 3.2 BALANCE 81.0 2.5 80.0 2.3 81.3 2.4 81.1 2.0 81.4 2.3 80.9 3.1 81.2 3.0 SCCLIP 83.8 2.6 78.9 3.3 67.6 8.2 42.1 16.1 16.7 5.2 6.6 5.0 2.4 1.0 LIGHTYEAR 90.6 2.2 90.7 2.0 90.2 1.7 90.1 1.5 88.7 1.0 83.7 2.7 86.9 0.7
Table 3: This table reports the results for the Random malfunction on FEMNIST. Average accuracy (%) std of each method under increasing number of malfunctioning clients.
FEMNIST – Random Number of Malfunctioning Clients Method 1 2 3 4 5 6 7 FedAvg 85.6 6.5 77.2 3.0 79.6 5.4 57.2 3.8 10.0 0.9 2.4 0.4 4.2 1.2 AFA 87.0 7.1 86.7 6.3 86.0 4.2 60.0 3.8 5.0 1.5 4.1 1.6 0.4 0.3 ASMR 86.8 3.9 86.0 3.5 85.2 1.8 82.5 2.3 77.5 5.4 72.4 8.6 1.6 0.7 CFL 86.7 4.9 85.8 2.7 85.2 2.2 3.9 1.1 0.4 0.2 0.6 0.2 3.0 0.1 Ditto 83.1 5.0 81.3 5.7 71.8 2.9 53.1 2.6 2.3 0.6 1.7 0.7 1.6 0.7 FedProx 84.0 5.2 82.7 6.0 78.0 1.8 63.2 2.0 44.4 13.6 4.1 1.6 4.5 1.6 Krum 70.5 8.8 70.8 8.7 70.1 8.9 69.5 9.6 70.7 9.0 66.2 9.4 35.4 13.3 BALANCE 81.7 2.8 80.4 2.7 81.3 2.3 81.4 2.5 80.8 2.5 81.2 3.3 82.0 1.6 SCCLIP 84.6 2.6 83.6 3.5 77.8 4.2 74.9 3.3 65.5 6.0 31.7 13.9 4.8 2.2 LIGHTYEAR 90.6 2.2 90.2 2.1 89.9 1.6 87.9 1.3 85.5 1.4 82.0 0.1 80.3 0.4
Table 4: This table reports the results for the dynamically changing malfunction on FEMNIST. Average accuracy (%) std of each method under increasing number of malfunctioning clients.
FEMNIST – Dynamic Malfunctions Number of Malfunctioning Clients Method 1 2 3 4 5 6 7 FedAvg 84.9 5.8 81.6 2.6 43.7 9.0 29.4 3.1 5.9 1.8 0.7 0.3 0.3 0.2 AFA 87.3 7.2 86.7 5.8 86.0 5.0 80.6 2.7 54.4 2.7 65.7 4.5 0.4 0.2 ASMR 86.8 4.9 85.8 3.4 83.0 2.3 82.7 4.4 0.5 0.1 2.0 0.6 1.1 0.4 CFL 87.1 5.1 85.8 2.4 76.7 2.0 78.2 1.6 1.5 0.2 13.0 5.7 10.7 1.0 Ditto 85.6 5.2 80.1 2.0 82.3 6.3 64.2 3.0 38.3 3.2 4.7 1.8 0.4 0.2 FedProx 85.4 5.0 81.1 4.3 66.6 2.5 27.1 4.8 20.4 1.0 5.0 1.5 0.4 0.2 Krum 71.0 9.0 72.8 8.5 71.2 8.7 70.6 8.4 70.5 8.9 52.8 12.5 0.4 0.2 BALANCE 80.7 2.6 81.5 3.0 80.8 2.6 81.8 1.6 80.9 2.9 81.5 2.2 81.6 2.3 SCCLIP 85.6 4.8 83.8 4.8 73.7 7.9 83.0 3.2 38.5 2.5 51.4 9.9 7.3 3.6 LIGHTYEAR 90.6 2.2 90.5 1.8 89.9 1.9 89.4 1.3 87.7 1.0 82.8 3.1 84.2 4.9
Table 5: This table reports the results for ANAs on Camelyon17. Average accuracy (%) std of each method under increasing number of malfunctioning clients.
| Camelyon17 – ANA | ||||
|---|---|---|---|---|
| Number of Malfunctioning Clients | ||||
| Method | 1 | 2 | 3 | 4 |
| FedAvg | 58.8 14.2 | 61.6 18.2 | 59.5 17.6 | 58.3 18.5 |
| AFA | 59.8 19.0 | 58.5 17.5 | 59.0 15.1 | 56.6 19.1 |
| ASMR | 54.3 10.3 | 61.5 17.3 | 61.3 14.9 | 60.6 20.0 |
| CFL | 58.3 16.8 | 58.1 18.2 | 69.4 16.9 | 73.8 18.8 |
| Ditto | 64.1 15.4 | 64.7 16.1 | 59.3 17.0 | 51.4 0.5 |
| Krum | 80.2 0.4 | 77.5 0.5 | 74.0 0.6 | 70.1 0.7 |
| FedProx | 63.1 16.3 | 63.6 17.0 | 59.0 13.9 | 60.0 19.5 |
| BALANCE | 50.2 0.4 | 51.5 2.0 | 57.5 15.9 | 62.3 15.9 |
| SCCLIP | 58.8 11.3 | 50.0 0.4 | 50.8 1.6 | 52.7 5.5 |
| LIGHTYEAR | 89.5 8.8 | 90.6 8.4 | 85.9 15.1 | 77.7 11.7 |
Table 6: This table reports the results for SFAs on Camelyon17. Average accuracy (%) std of each method under increasing number of malfunctioning clients.
| Camelyon17 – SFA | ||||
|---|---|---|---|---|
| Number of Malfunctioning Clients | ||||
| Method | 1 | 2 | 3 | 4 |
| FedAvg | 50.1 0.4 | 50.1 0.4 | 50.1 0.4 | 50.4 0.4 |
| AFA | 56.6 19.1 | 58.6 17.7 | 50.1 0.4 | 50.1 0.4 |
| ASMR | 56.1 17.9 | 60.6 17.8 | 50.0 0.4 | 50.1 0.4 |
| CFL | 56.3 14.4 | 59.5 17.4 | 50.1 0.4 | 50.1 0.4 |
| Ditto | 58.3 10.8 | 50.1 0.4 | 50.1 0.4 | 50.1 0.4 |
| FedProx | 49.6 3.3 | 50.1 0.4 | 49.9 0.4 | 49.9 0.4 |
| Krum | 80.2 0.4 | 77.5 0.5 | 74.0 0.6 | 70.1 0.7 |
| BALANCE | 55.3 7.4 | 53.0 6.2 | 57.5 14.3 | 50.0 0.4 |
| SCCLIP | 50.1 0.4 | 50.1 0.4 | 50.1 0.4 | 50.1 0.4 |
| LIGHTYEAR | 95.8 1.9 | 92.3 6.2 | 96.0 2.9 | 95.4 2.8 |
Table 7: This table reports the results for Random malfunction on Camelyon17. Average accuracy (%) std of each method under increasing number of malfunctioning clients.
| Camelyon17 – Random | ||||
|---|---|---|---|---|
| Number of Malfunctioning Clients | ||||
| Method | 1 | 2 | 3 | 4 |
| FedAvg | 50.4 0.4 | 50.4 0.4 | 50.4 0.4 | 50.4 0.4 |
| AFA | 57.5 18.3 | 56.5 20.0 | 50.0 0.4 | 50.0 0.4 |
| ASMR | 55.3 11.8 | 57.1 17.5 | 50.0 0.4 | 50.1 0.4 |
| CFL | 60.0 16.6 | 60.5 14.6 | 50.0 0.4 | 50.0 0.4 |
| Ditto | 50.0 0.4 | 50.0 0.4 | 50.4 0.4 | 50.4 0.4 |
| FedProx | 49.9 0.4 | 49.9 0.4 | 49.9 0.4 | 49.9 0.4 |
| Krum | 80.2 0.4 | 77.5 0.5 | 74.0 0.6 | 70.1 0.7 |
| BALANCE | 53.5 6.6 | 62.4 16.8 | 62.0 14.9 | 50.2 0.4 |
| SCCLIP | 50.0 0.4 | 50.0 0.4 | 50.0 0.4 | 50.0 0.4 |
| LIGHTYEAR | 96.3 2.2 | 87.4 6.9 | 90.9 7.0 | 94.1 4.3 |
Table 8: This table reports the results for the dynamically changing malfunction on Camelyon17. Average accuracy (%) std of each method under an increasing number of malfunctioning clients.
| Camelyon17 – Dynamic Malfunctions | ||||
|---|---|---|---|---|
| Number of Malfunctioning Clients | ||||
| Method | 1 | 2 | 3 | 4 |
| FedAvg | 61.5 15.9 | 68.2 9.5 | 53.6 4.5 | 50.1 0.4 |
| AFA | 58.5 16.8 | 56.6 11.5 | 58.0 9.8 | 50.0 0.4 |
| ASMR | 61.2 16.1 | 61.7 17.0 | 50.0 0.6 | 61.3 13.6 |
| CFL | 58.5 18.2 | 50.0 0.4 | 50.0 0.4 | 50.0 0.4 |
| Ditto | 55.0 11.0 | 50.0 0.4 | 50.0 0.4 | 50.0 0.4 |
| FedProx | 55.5 8.9 | 49.9 0.4 | 49.9 0.4 | 49.9 0.4 |
| Krum | 61.7 18.7 | 63.6 19.2 | 61.8 21.0 | 50.1 0.4 |
| BALANCE | 50.1 0.4 | 50.1 0.4 | 50.0 0.4 | 50.0 0.4 |
| SCCLIP | 50.0 0.4 | 50.1 0.4 | 50.0 0.4 | 50.0 0.4 |
| LIGHTYEAR | 93.1 6.9 | 92.2 6.0 | 90.9 8.6 | 88.1 8.5 |
Table 9: This table reports the results for the dynamically changing malfunction on Isic19. Average accuracy (%) std of each method under an increasing number of malfunctioning clients.
Isic19 – ANA Number of Malfunctioning Clients Method 1 2 3 4 5 FedAvg 65.4 15.8 41.8 12.2 16.3 9.6 16.3 9.6 16.3 16.3 AFA 62.3 12.1 61.9 12.3 16.3 9.6 16.3 9.6 16.3 16.3 ASMR 71.1 15.7 71.9 15.0 67.5 12.0 63.8 16.3 22.1 13.2 CFL 70.8 16.5 16.3 9.6 16.3 9.6 16.3 9.6 16.3 9.6 Ditto 63.7 18.5 40.6 9.2 16.3 9.6 16.3 9.6 16.3 9.6 FedProx 30.6 10.0 16.3 9.6 16.3 9.6 16.3 9.6 16.3 9.6 Krum 61.2 20.3 25.8 9.4 59.6 22.2 57.4 22.4 16.3 9.6 BALANCE 20.1 27.8 38.2 35.3 38.2 35.3 38.2 35.3 38.2 35.3 SCCLIP 57.9 21.9 57.9 21.9 16.3 9.6 16.3 9.6 16.3 9.6 LIGHTYEAR 78.0 9.3 78.0 9.6 76.7 11.1 76.6 11.8 68.3 9.2
Table 10: This table reports the results for the dynamically changing malfunction on Isic19. Average accuracy (%) std of each method under an increasing number of malfunctioning clients.
Isic19 – SFA Number of Malfunctioning Clients Method 1 2 3 4 5 FedAvg 13.1 6.9 2.9 2.7 7.3 8.5 0.7 0.9 0.7 0.4 AFA 63.6 15.7 63.8 12.6 2.0 2.7 57.9 21.9 57.9 21.9 ASMR 66.5 15.0 60.4 17.7 64.9 16.7 66.1 17.4 16.3 9.6 CFL 68.7 16.4 70.2 14.4 68.2 15.2 0.7 0.9 16.3 9.6 Ditto 57.9 21.9 7.3 8.5 7.3 8.5 7.3 8.5 7.3 8.5 FedProx 57.9 21.9 7.3 8.5 7.3 8.5 7.3 8.5 7.3 8.5 Krum 52.9 12.0 60.4 19.5 48.2 15.9 16.3 9.6 16.3 9.6 BALANCE 22.9 27.1 35.5 37.5 38.2 35.3 38.2 35.3 38.2 35.3 SCCLIP 0.7 0.9 21.7 30.8 21.7 33.3 28.7 32.8 21.1 33.3 LIGHTYEAR 77.5 11.5 78.3 10.0 77.1 12.3 75.7 12.3 75.4 11.7
Table 11: This table reports the results for the dynamically changing malfunction on Isic19. Average accuracy (%) std of each method under an increasing number of malfunctioning clients.
Isic19 – Random Number of Malfunctioning Clients Method 1 2 3 4 5 FedAvg 66.3 14.5 58.0 13.5 41.6 8.9 32.7 15.2 35.1 16.0 AFA 62.9 14.1 62.0 14.5 37.6 10.5 10.8 1.4 3.5 2.6 ASMR 70.8 15.3 54.3 19.5 41.9 12.7 48.3 19.6 14.9 2.6 CFL 70.7 14.3 44.7 14.3 45.9 15.6 7.3 2.6 8.3 3.9 Ditto 68.6 17.8 65.5 16.1 59.1 17.1 49.0 12.3 53.2 13.3 FedProx 67.1 13.2 52.1 10.8 44.6 10.7 34.0 16.8 40.1 14.0 Krum 61.5 22.1 7.9 1.9 30.8 11.1 16.2 2.9 9.7 6.5 BALANCE 22.9 27.1 38.2 35.3 38.2 35.3 38.2 35.3 38.2 35.3 SCCLIP 57.9 21.9 57.9 21.9 57.9 21.9 57.9 21.9 46.6 32.4 LIGHTYEAR 72.6 15.6 75.1 12.1 71.5 12.7 69.2 14.8 72.1 13.6
Table 12: This table reports the results for the dynamically changing malfunction on Isic19. Average accuracy (%) std of each method under an increasing number of malfunctioning clients.
Isic19 – Dyanmic Malfunctions Number of Malfunctioning Clients Method 1 2 3 4 5 FedAvg 1.8 1.4 57.9 21.9 7.3 8.5 7.3 8.5 7.3 8.5 AFA 62.7 13.6 62.3 13.3 25.2 10.6 1.6 1.4 1.6 9.6 ASMR 70.4 15.5 59.0 16.0 16.3 9.6 16.3 9.6 16.3 9.6 CFL 68.9 15.8 16.3 9.6 48.3 13.7 16.3 9.6 16.3 9.6 Ditto 67.1 14.0 60.3 21.1 57.9 21.9 57.9 21.9 16.3 9.6 FedProx 60.7 18.6 12.3 7.6 12.3 7.6 2.0 2.7 2.0 2.7 Krum 58.3 22.6 5.5 2.2 38.2 16.5 16.3 9.6 17.9 4.4 BALANCE 22.9 27.1 38.2 35.3 38.2 35.3 38.2 35.3 38.2 35.3 SCCLIP 9.2 16.3 14.8 7.6 25.7 32.1 31.8 28.4 6.9 8.6 LIGHTYEAR 77.6 12.3 77.6 10.6 76.1 11.5 74.1 12.5 73.6 9.9
Table 13: This table reports the results for the dynamically changing malfunction on the Ultrasound dataset. Average dice (%) std of each method under an increasing number of malfunctioning clients.
| Ultrasound – ANA | ||||
|---|---|---|---|---|
| Number of Malfunctioning Clients | ||||
| Method | 1 | 2 | 3 | 4 |
| FedAvg | 82.9 5.4 | 52.3 5.9 | 3.1 0.6 | 3.1 0.6 |
| AFA | 86.1 3.4 | 84.6 3.2 | 65.5 5.0 | 0.3 0.6 |
| ASMR | 84.3 5.3 | 0.3 0.6 | 0.3 0.6 | 0.3 0.6 |
| CFL | 86.0 3.3 | 76.5 5.3 | 0.3 0.6 | 0.3 0.6 |
| Ditto | 0.1 0.1 | 1.0 1.0 | 0.3 0.6 | 0.3 0.6 |
| FedProx | 58.6 6.7 | 35.1 9.0 | 0.3 0.6 | 0.3 0.6 |
| Krum | 79.4 3.2 | 82.7 1.9 | 81.1 6.7 | 77.9 2.0 |
| BALANCE | 0.3 0.6 | 0.3 0.6 | 0.3 0.6 | 0.3 0.6 |
| SCCLIP | 0.3 0.6 | 0.3 0.6 | 0.3 0.6 | 0.3 0.6 |
| LIGHTYEAR | 83.1 3.5 | 84.0 3.5 | 84.2 3.5 | 84.9 3.5 |
Table 14: This table reports the results for the dynamically changing malfunction on the Ultrasound dataset. Average dice (%) std of each method under an increasing number of malfunctioning clients.
| Ultrasound – SFA | ||||
|---|---|---|---|---|
| Number of Malfunctioning Clients | ||||
| Method | 1 | 2 | 3 | 4 |
| FedAvg | 0.3 0.6 | 0.3 0.6 | 0.3 0.6 | 9.0 1.2 |
| AFA | 85.4 2.6 | 85.2 2.5 | 0.3 0.6 | 0.3 0.6 |
| ASMR | 85.8 2.7 | 84.7 3.9 | 0.3 0.6 | 0.3 0.6 |
| CFL | 86.6 3.5 | 83.8 5.5 | 0.3 0.6 | 0.3 0.6 |
| Ditto | 0.3 0.6 | 0.3 0.6 | 0.3 0.6 | 0.3 0.6 |
| FedProx | 0.3 0.6 | 0.3 0.6 | 0.3 0.6 | 9.0 1.2 |
| Krum | 81.4 3.9 | 0.3 0.6 | 0.3 0.6 | 0.3 0.6 |
| BALANCE | 0.3 0.6 | 0.3 0.6 | 0.3 0.6 | 0.3 0.6 |
| SCCLIP | 0.3 0.6 | 0.3 0.6 | 3.1 3.8 | 5.2 4.4 |
| LIGHTYEAR | 83.6 4.4 | 81.8 5.1 | 82.8 4.0 | 81.3 4.3 |
Table 15: This table reports the results for the dynamically changing malfunction on the Ultrasound dataset. Average dice (%) std of each method under an increasing number of malfunctioning clients.
| Ultrasound – Random | ||||
|---|---|---|---|---|
| Number of Malfunctioning Clients | ||||
| Method | 1 | 2 | 3 | 4 |
| FedAvg | 0.4 0.6 | 0.3 0.6 | 0.3 0.6 | 0.3 0.6 |
| AFA | 85.7 3.1 | 0.3 0.6 | 0.3 0.6 | 0.3 0.6 |
| ASMR | 85.9 2.8 | 84.4 4.6 | 9.0 1.2 | 9.0 1.2 |
| CFL | 85.0 4.4 | 85.9 2.9 | 0.3 0.6 | 0.3 0.6 |
| Ditto | 0.0 0.0 | 9.1 1.2 | 9.0 1.2 | 0.0 0.0 |
| FedProx | 0.3 0.6 | 0.3 0.6 | 0.3 0.6 | 0.0 0.0 |
| Krum | 82.1 4.9 | 0.3 0.6 | 0.3 0.6 | 0.3 0.6 |
| BALANCE | 0.3 0.6 | 0.3 0.6 | 0.3 0.6 | 0.3 0.6 |
| SCCLIP | 0.3 0.6 | 0.3 0.6 | 0.3 0.6 | 0.3 0.6 |
| LIGHTYEAR | 78.8 9.8 | 81.0 4.2 | 81.5 4.3 | 79.1 7.3 |
Table 16: This table reports the results for the dynamically changing malfunction on the Ultrasound dataset. Average dice (%) std of each method under an increasing number of malfunctioning clients.
| Ultrasound – Dynamic Malfunctions | ||||
|---|---|---|---|---|
| Number of Malfunctioning Clients | ||||
| Method | 1 | 2 | 3 | 4 |
| FedAvg | 0.3 0.6 | 0.3 0.6 | 0.3 0.6 | 0.3 0.6 |
| AFA | 85.2 2.6 | 85.3 3.9 | 0.3 0.6 | 0.0 0.0 |
| ASMR | 84.9 4.7 | 0.3 0.6 | 0.3 0.6 | 0.3 0.6 |
| CFL | 84.5 3.0 | 80.7 6.5 | 0.3 0.6 | 0.3 0.6 |
| Ditto | 7.4 1.7 | 9.0 1.2 | 0.3 0.6 | 9.0 1.2 |
| FedProx | 0.3 0.6 | 0.3 0.6 | 0.3 0.6 | 0.3 0.6 |
| Krum | 77.7 7.1 | 0.3 0.6 | 9.0 1.2 | 70.9 1.2 |
| BALANCE | 0.3 0.6 | 0.3 0.6 | 0.3 0.6 | 0.3 0.6 |
| SCCLIP | 0.3 0.6 | 0.3 0.6 | 0.3 0.6 | 5.6 4.7 |
| LIGHTYEAR | 82.1 4.0 | 81.9 6.3 | 77.7 7.5 | 78.6 5.8 |
Table 17: This table reports the results for the dynamically changing malfunction on the XRay dataset. Average dice (%) std of each method under an increasing number of malfunctioning clients.
| XRay – ANA | ||||
|---|---|---|---|---|
| Number of Malfunctioning Clients | ||||
| Method | 1 | 2 | 3 | 4 |
| FedAvg | 79.3 3.4 | 39.7 4.0 | 38.8 2.5 | 0.0 0.0 |
| AFA | 86.8 1.9 | 85.3 2.3 | 0.0 0.0 | 0.0 0.0 |
| ASMR | 87.1 1.3 | 80.3 3.5 | 0.0 0.0 | 0.0 0.0 |
| CFL | 85.8 3.0 | 58.2 5.9 | 0.0 0.0 | 0.0 0.0 |
| Ditto | 6.6 1.9 | 0.2 0.2 | 0.0 0. | 0.0 0.0 |
| FedProx | 80.1 3.7 | 0.0 0.0 | 0.0 0.0 | 0.0 0.0 |
| Krum | 82.8 3.5 | 85.5 3.1 | 84.4 3.0 | 79.2 3.6 |
| BALANCE | 39.1 15.5 | 78.7 3.6 | 0.0 0.0 | 67.0 5.1 |
| SCCLIP | 0.0 0. | 0.0 0.0 | 0.0 0.0 | 0.0 0.0 |
| LIGHTYEAR | 84.4 1.4 | 83.8 2.5 | 83.3 1.9 | 83.4 2.0 |
Table 18: This table reports the results for the dynamically changing malfunction on the XRay dataset. Average dice (%) std of each method under an increasing number of malfunctioning clients.
| XRay – SFA | ||||
|---|---|---|---|---|
| Number of Malfunctioning Clients | ||||
| Method | 1 | 2 | 3 | 4 |
| FedAvg | 0.0 0.0 | 0.0 0.0 | 34.0 2.5 | 34.0 2.5 |
| AFA | 86.5 2.0 | 86.2 2.6 | 0.0 0.0 | 0.0 0.0 |
| ASMR | 86.8 1.8 | 85.2 3.1 | 0.0 0.0 | 0.0 0.0 |
| CFL | 87.0 1.3 | 85.2 2.9 | 0.0 0.0 | 0.0 0.0 |
| Ditto | 0.0 0.0 | 0.0 0.0 | 0.0 0.0 | 0.0 0.0 |
| FedProx | 0.0 0.0 | 0.0 0.0 | 34.0 2.5 | 34.0 2.5 |
| Krum | 85.0 1.8 | 80.3 2.3 | 0.0 0.0 | 0.0 0.0 |
| BALANCE | 19.0 11.8 | 0.0 0.0 | 0.0 0.0 | 0.0 0.0 |
| SCCLIP | 0.0 0.0 | 0.0 0.0 | 14.2 17.4 | 34.0 25.3 |
| LIGHTYEAR | 83.7 1.3 | 82.9 1.3 | 82.9 1.1 | 81.4 1.9 |
Table 19: This table reports the results for the dynamically changing malfunction on the XRay dataset. Average dice (%) std of each method under an increasing number of malfunctioning clients.
| XRay – Random | ||||
|---|---|---|---|---|
| Number of Malfunctioning Clients | ||||
| Method | 1 | 2 | 3 | 4 |
| FedAvg | 0.0 0.0 | 0.0 0.0 | 0.0 0.0 | 0.0 0.0 |
| AFA | 85.7 1.2 | 85.9 2.1 | 0.0 0.0 | 0.0 0.0 |
| ASMR | 86.6 1.7 | 86.2 2.7 | 34.0 2.5 | 34.0 2.5 |
| CFL | 86.4 1.7 | 84.9 2.9 | 0.0 0.0 | 0.0 0.0 |
| Ditto | 0.0 0.0 | 0.0 0.0 | 0.0 0.0 | 0.0 0.0 |
| FedProx | 0.0 0.0 | 0.0 0.0 | 0.0 0.0 | 0.0 0.0 |
| Krum | 82.6 3.9 | 85.2 2.6 | 84.1 3.6 | 0.0 0.0 |
| BALANCE | 6.4 11.3 | 0.0 0.0 | 0.0 0.0 | 0.0 0.0 |
| SCCLIP | 0.0 0.0 | 0.0 0.0 | 5.9 11.8 | 34.0 15.3 |
| LIGHTYEAR | 83.2 2.0 | 82.1 2.2 | 80.0 3.2 | 80.3 3.7 |
Table 20: This table reports the results for the dynamically changing malfunction on the XRay dataset. Average dice (%) std of each method under an increasing number of malfunctioning clients.
| XRay – Dynamic Malfunctions | ||||
|---|---|---|---|---|
| Number of Malfunctioning Clients | ||||
| Method | 1 | 2 | 3 | 4 |
| FedAvg | 80.9 3.5 | 0.0 0.0 | 0.0 0.0 | 34.0 2.5 |
| AFA | 87.4 1.0 | 85.3 2.4 | 0.0 0.0 | 0.0 0.0 |
| ASMR | 86.6 1.5 | 81.9 3.0 | 0.0 0.0 | 0.0 0.0 |
| CFL | 86.4 2.4 | 82.5 2.8 | 0.0 0.0 | 0.0 0.0 |
| Ditto | 0.0 0.0 | 0.0 0.0 | 34.0 2.5 | 34.0 2.5 |
| FedProx | 0.0 0.0 | 0.0 0.0 | 0.0 0.0 | 0.0 0.0 |
| Krum | 84.5 2.8 | 84.7 2.5 | 80.2 3.0 | 0.0 0.0 |
| BALANCE | 27.9 15.7 | 0.7 1.3 | 0.0 0.0 | 0.0 0.0 |
| SCCLIP | 0.0 0.0 | 0.0 0.0 | 0.0 0.0 | 34.0 2.5 |
| LIGHTYEAR | 82.7 1.5 | 82.8 1.7 | 82.6 3.1 | 81.9 2.2 |
Appendix D Technical Details
In this section, we provide an overview of the hardware and software requirements needed to reproduce our experiments. We detail the dataset construction process for each client in our FL setup, ensuring reproducibility of the data splits and assignments. Additionally, we outline the model architectures used in our experiments, including all relevant hyperparameters.
D.1 Hard- and Software Requirements
Our implementation is based on NVIDIA FLARE, as described in the main paper. The required software configuration includes Python 3.10.17, CUDA 12.2, and PyTorch 2.7.0+cu126. We also used a nightly build of FLARE 2.6.1. All remaining dependencies are listed in the requirements.txt file provided in our codebase. Experiments were conducted on an SLURM-managed cluster using NVIDIA A100 GPUs with 40GB memory. We used up to three GPUs per training run. Each experiment can be executed with a single GPU, though.
D.2 Training Details
To complement the description of our training routines provided in the main paper, we present the detailed hyperparameters for our experimental setup in Table 21. Additionally, our codebase includes the full implementation of these training routines, ensuring that all experiments are fully reproducible.
Table 21: This table lists the hyperparameters used for the experiments in the main paper to reproduce the results.
Training Details Datasets Method FEMNIST Camelyon17 Isic19 Ultrasound XRay Loss Function Cross Entropy Cross Entropy Weighted Focal Loss Cross Entropy Cross Entropy Optimizer Adam SGD Adam Adam Adam Learning Rate 1e-3 1e-3 5e-4 1e-3 1e-3 Weight Decay 1e-4 5e-4 0 0 0 Momentum - 0.9 - - - Batchsize 32 32 32 8 4 Rounds 12 12 20 60 60 Local Epochs 1 1 1 1 1
Appendix E Model Sensitivity
To investigate the sensitivity of the models used in our study to corrupted updates, we conducted an ablation study using the ANA. In the main paper, we employed two model architectures: a DenseNet121 for the Camelyon17 dataset, chosen due to its prevalence on the official leaderboard, and a lightweight CNN with two convolutional layers for the FEMNIST dataset, which has shown strong performance on this task. To evaluate how these models react to corrupted updates, we applied ANA as defined in the main paper. In our implementation, noise is injected into the updates using a scaling factor , as described in Equation 18, allowing us to vary the corruption severity from very light to heavy flexibly. This tunable corruption is an advantage over SFA, which inherently applies only strong corruption. For our ablation, we applied different scaling factors and varied the number of malfunctioning clients, ranging from 1 to 3 for FEMNIST, and from 1 to 2 for Camelyon17. We monitored how the corruption affected the learning dynamics by evaluating each client’s local validation accuracy at every training round. The mean validation accuracy across all clients per round is reported in Figure 13 for FEMNIST and Figure 14 for Camelyon17.

Figure 13: Training performance on FEMNIST under varying levels of corruption. Each plot corresponds to a different number of malfunctioning clients, indicated in parentheses in the y-axis label. Results show the average validation accuracy across all clients at each training round.

Figure 14: Training performance on Camelyon17 under varying levels of corruption. Each plot corresponds to a different number of malfunctioning clients, indicated in parentheses in the y-axis label. Results show the average validation accuracy across all clients at each training round.
Our ablation study reveals that the model trained on the FEMNIST dataset exhibits strong robustness to noise and is therefore less sensitive to corruption. We evaluated this sensitivity using four different noise scaling factors, as detailed in Figure 1. The results indicate that even scaling factors around 50 do not destabilize the training process. However, when scaling reaches around 120, the training begins to show instability, even with only a single malfunctioning client. At a scaling factor of approximately 150, we observe significant performance degradation, particularly when three clients are malfunctioning. In contrast, the model trained on the Camelyon17 dataset is much more sensitive to noise. As a result, we evaluated this setting using substantially smaller scaling factors. Even at a scaling of 1.5, the training becomes noticeably destabilized. It is worth noting that training on Camelyon17 is inherently less stable and more challenging due to the high degree of client heterogeneity. This instability is also reflected in the main paper’s ablation study and motivated our introduction of the regularized aggregation approach. In our final experiments, we used a scaling factor of 120.5 for FEMNIST and 1.5 for Camelyon17. While these settings do not lead to the most extreme performance drops, they effectively destabilize training and negatively impact performance, striking a balance between subtle corruption and the more aggressive, rapidly diverging effect of SFAs.