Manuscript Offprint
arXiv:2610.32626Privacy-Preserving Federated Loss Exploration for Vision-Based Perception under Non-IID Data
1 Nergiz Yuca
University of Passau, Germany
2 Christian Internò
Bielefeld University, Germany
christian.interno@uni-bielefeld.de
3 Nikolay Matyunin
Honda Research Institute Europe GmbH, Germany
4 Markus Olhofer
Honda Research Institute Europe GmbH, Germany
5 Barbara Hammer
Bielefeld University, Germany
bhammer@techfak.uni-bielefeld.de
6 Stefan Katzenbeisser
University of Passau, Germany
stefan.katzenbeisser@uni-passau.de
Abstract—Vision-based image classification models benefit from Federated Learning (FL) across vehicles, however learning accurate models from distributed vehicular cameras is challenging due to data heterogeneity and privacy concerns. To improve performance on non-IID data, advanced FL optimization approaches have emerged that share auxiliary insights, such as client gradient behaviors. While these gradient-guided optimized FL methods improve the model accuracy, their reliance on sharing additional gradient information introduces a previously unexplored privacy vulnerability. In our empirical privacy-leakage experiment, we show that a malicious server can infer clients' label sets from shared guidance matrices under heterogeneous client label distributions (simulated via Dirichlet-based label partitions), between 50% and 84% accuracy. To address this privacy leakage, we propose PPFLex that replaces the central server with three Secure Multi-Party Computation (MPC) servers to securely compute the global guidance matrix and perform federated averaging under semi-honest and malicious MPC server assumptions. We evaluate PPFLex on widely used traffic-sign classification datasets (e.g., GTSRB and BTSC) as representative autonomous vehicle perception benchmarks, comparing against baselines. Our results show that PPFLex achieves accuracy comparable to the plain-text FedLEx pipeline while preventing privacy leakage, incurring acceptable MPC overhead.
I. INTRODUCTION
Connected and Automated Vehicles (CAVs) increasingly rely on machine learning to enable vision-based perception in intelligent transportation systems. In real-world deployments, perception models are broadly employed to support training of image-based tasks within diverse automotive scenarios. These models are typically trained on large datasets, allowing them to predict class labels for provided images [1]. Applications such as cooperative perception, driver monitoring, object detection and tracking, and traffic sign recognition contribute to Advanced Driver Assistance Systems (ADAS), and depend on large-scale visual data collected from distributed vehicular sensors operating in heterogeneous environments [2], [3].
In our work, we focus on one representative image-based perception task, Traffic Sign Classification (TSC), to demonstrate the applicability of our framework, while emphasizing that the proposed approach can be compatible with other vision-based automotive perception tasks. TSC enhances driving safety by categorizing road signs and is broadly integrated into ADAS and autonomous driving systems [4], [5]. It requires reliable classification under varying lighting conditions, weather changes, and viewing angles. As traffic signs serve as key map features for navigation, accurate sign classification also supports localization and motion planning [6]. However, the scale of vehicular data raises communication overhead and data protection challenges. Traffic sign distributions might reveal the vehicle's driving profile, exposing recurring routes or location-based behavior patterns. Several works [7]–[9] propose Federated Learning (FL) to address these concerns by enabling collaborative training without sharing raw data and supporting data protection regulations such as the GDPR [10].
Despite its promise, FL is affected by challenges associated with data heterogeneity, as clients' data are often Non-Independent and Identically Distributed (Non-IID) due to imbalances and perturbations [11]. In TSC, non-IID effects arise since vehicles operate across diverse regions and experience different sign distributions and environmental conditions. For example, some cars travel on highways, trucks often drive through mountains or rural areas, and buses usually operate on city roads [12]. Traditional server-side aggregation, FedAvg [13], can be ineffective under heterogeneity, since multiple local updates can diverge from the global objective and reduce generalization across clients [14]. To tackle the limitations of standard averaging in these non-IID settings, researchers have adopted knowledge transfer techniques [15] to harmonize learning across diverse client distributions.
Federated Loss Exploration (FedLEx) [16] is one such method that integrates guided transfer learning into FL by analyzing gradient behavior to guide the learning process. Unlike conventional FL approaches, FedLEx does not rely on weight-sharing alone. Instead, it focuses on aggregating the
© 2026 IEEE. Personal use of this material is permitted. All other uses, including republication, redistribution, resale, promotional use, or incorporation into other works, require permission from IEEE.
gradient information from the different loss surfaces of each client. This approach is designed to address the challenges of non-IID data, where class distribution differences between clients can create biases that hinder learning performance.
A further concern is privacy: although FL provides a layer of protection, it remains vulnerable to inference attacks, where adversaries reconstruct private training data from intermediate model updates [17]–[19]. Such attacks, including gradient and model inversion, can expose sensitive client information, undermining FL's privacy guarantees [20]. To address these concerns, several privacy-preserving technologies have been proposed. Homomorphic Encryption (HE) [21] allows computations on encrypted data; however, it introduces high computational overhead. Differential Privacy (DP) [22] adds noise to protect privacy, though this may degrade model performance. Secure Multi-Party Computation (MPC) [23] allows a group of untrusted parties to process their data jointly without revealing individual information and is emerging as a promising solution for multi-party settings. However, existing MPC-based secure aggregation protocols are mainly focused on traditional FL averaging and do not focus on providing privacy for sharing additional knowledge that can be used to optimize performance in non-IID settings. On the other hand, while FedLEx enhances traditional FL training by leveraging gradient analysis, it lacks privacy guarantees, as gradient deviations can still reveal sensitive information such as local label distributions, similar to traditional FL vulnerabilities.
This paper addresses the resulting gap between (i) non-IID optimization methods that rely on additional shared gradient information (e.g., FedLEx) and (ii) secure aggregation techniques primarily designed for standard averaging. We propose PPFLex, a privacy-preserving FL framework for traffic sign classification that leverages MPC to enable the private computation of FedLEx's guidance information. In traffic-sign classification, local label distributions reflect the road environments where vehicle data is collected. For instance, warning signs such as animal crossings or school crossings denote specific surroundings. Moreover, traffic-sign systems are not fully standardised across countries, and datasets are often country-specific [24]. For this scenario, we conduct privacy leakage and FedLEx accuracy evaluations on two datasets, GTSRB [25] and BTSC [26], under non-IID client partitions. Note that, in this paper, we study traffic sign classification as a representative use case within an automotive perception pipeline. The traffic sign detection problem (small-object detection at distance under motion glare, blur, and adverse weather) is out of scope for this work.
Our contributions. The main contributions of our work are:
- We demonstrate that the additional gradient information shared in FedLEx introduces a privacy vulnerability that can leak clients' privacy-sensitive data and quantify its severity in a realistic setting. Our evaluation is performed within the traffic sign classification domain by using the GTSRB and BTSC datasets.
• We develop PPFLex, an end-to-end privacy-preserving implementation of FedLEx via MPC. Unlike existing methods that separately address either non-IID optimization or generic secure aggregation, PPFLex combines both, preserving model accuracy across multiple vehicles, under non-IID data in a privacy-preserving way.
• We study the trade-offs among model accuracy, privacy, and communication/computational overhead across different MPC protocols and adapt to different security assumptions, including semi-honest and malicious servers.
A. Secure Aggregation in FL
Various MPC-based secure aggregation protocols enable FL clients to share their locally trained models with a group of servers in a privacy-preserving manner. For example, SAFE-Learn [27] framework employs fully homomorphic encryption and MPC for global model privacy. SafeFL [28] evaluates the performance of various FL techniques against privacy inference and poisoning attacks. ELSA [29] is a secure aggregation protocol for FL that assumes malicious security in a two-server setting. WW-FL [30] introduces a unified MPC-based framework for large-scale FL, enabling global model privacy and robustness against poisoning attacks. SPEFL [31] implements FL for the Internet of Things (IoT), providing device privacy and robustness on resource-limited devices. Finally, ScionFL [32] proposes secure quantized aggregation method that reduces server-client communication in FL. Although these works ensure secure aggregation in FL, they do not address optimization challenges caused by non-IID data distributions, which our work targets.
B. Optimizing FL on Non-IID Data
Recent FL optimization studies address non-IID challenges through transfer learning and knowledge distillation. In this context, transferring information from a global server or other peers to local clients can enhance client performance on unseen data [33], [34]. Furthermore, researchers apply hierarchical clustering to categorize clients based on weight update dynamics for more effective grouping and tailored optimization [35], [36]. Parallel efforts identify data distributions that more accurately reflect client diversity [37]. Finally, relevant to FedLEx [16], advances in adaptive gradient methods such as AdamW [38] and second-order optimizers are gradually replacing traditional stochastic gradient descent in FL. Techniques like group normalization further accelerate convergence [39], [40]. Note that no existing work has yet leveraged loss function geometry transfer to guide client gradients integrated with MPC, a gap our research aims to fill.
C. FL in Traffic Sign Classification
Several works study distributed and federated training approaches for traffic sign classification and detection. Stergiou et al. [41] design a LeNet-5-based distributed training framework and analyze how client count and communication rounds affect accuracy and edge-device resource usage in an autonomous driving setting, showing that decentralized CNN training can achieve accurate recognition. Argos et al. [7] propose a decentralized FL framework for traffic sign detection in CAVs, where vehicles train lightweight local detectors on partitioned traffic-sign classes and aggregate model parameters using FedAvg and FedProx [42]. Lian et al. [12] study communication-efficient training, where each client sends only its most important model update components (Top-k selection) to reduce communication costs and uses Adam-based [43] local training to improve convergence. Liang et al. [8] propose a heterogeneity-aware approach based on data-free knowledge distillation, where clients share only class-level aggregated intermediate representations and predictions. Padaria et al. [9] present a combined split and federated learning framework for traffic sign classification on GTSRB under a 5G-enabled setting. In contrast to prior TSC-FL work that primarily targets accuracy, efficiency, or architecture design, PPFLex specifically targets privacy risks introduced by non-IID optimization values and addresses them through MPC.
III. BACKGROUND: FEDERATED LOSS EXPLORATION
In a traditional federated learning setting, clients train models on their local device, decoupling training from direct access to raw training data. Each client ( ) holds data distributed according to with , where represents a -dimensional feature vector and corresponds to a class label from categories. The global objective function represents the optimization goal, and is defined to minimize the aggregate loss across all clients:
where denotes the global loss function for a data point with denoting the expected loss over client's local distribution . A well-known FL aggregation scheme, Federated-Averaging (FedAvg) [13] optimizes this objective through iterative training rounds. First, the server distributes the initial global model to clients. Then, clients perform local training on their data and send their updated model parameters back to the server. The server averages the updates to compute the global model.
FedLEx [16] extends this process to handle the challenge of non-IID data in FL. In such settings, client data distributions differ, causing slow global model convergence. To overcome this, FedLEx introduces a “loss exploration phase” that identifies which model parameters are most sensitive to the statistical differences in each client’s data, thereby providing a consistent global model. We now briefly describe the main phases in FedLEx; for full details, we refer to the original paper [16].
Federated Loss Exploration. In this phase, each client explores its loss landscape, identifying critical parameter directions via gradient deviations [44]. At its core, clients train the initial model on their local data and measure the magnitude of change for each model parameter, estimating its sensitivity to the client's data distribution. Using Adam [43] optimizer during exploration, the update rule for the m-th model parameter for client i at exploration step e is:
where is the learning rate and is the gradient of the local loss function for client for its local dataset . The update over a set number of exploration steps, , is:
where and are the parameter values at the beginning and end of the exploration phase, and indexes the training steps. Subsequently, the gradient variability of the loss landscape for each parameter is computed as the squared deviation: . Finally, each client compiles these squared deviations into a local guidance matrix, , where the -th element is defined as .
Global Guidance Matrix Construction. After the exploration phase, the server aggregates the local guidance matrices from all clients and normalizes them to construct the global guidance matrix, . Each entry in this matrix indicates the average gradient deviation for a specific model parameter across the clients.
To construct , we first compute , the average of local matrices across all parameters. Each entry indicates the average deviation of the gradient for the m-th parameter across clients. Then we apply min-max normalization to compute the global guidance per parameter across all clients:
Here and denote the minimum and maximum values across all entries of . Finally, the guidance matrix is sent back to the clients in order to guide their model updates in each round of FL.
Federated Learning. Subsequently, the local training process begins with selected clients computing their gradient updates for each parameter m of client i's model. Instead of sending this update directly, FedLEx incorporates the global guidance matrix to modulate it:
where is the update for the m-th parameter. Finally, clients send these updates to the server, which then applies federated averaging to update the global model.
Overall, FedLEx [16] improves model convergence in non-IID settings through the additional gradient exploration and exchange of local matrices. In the next section, we describe how this FL procedure can be implemented more securely, to prevent a malicious server from inferring sensitive data from gradient and model updates.
Federated Loss Exploration
Privacy-Preserving Training in FL

Fig. 1. PPFLex: MPC-based privacy-preserving federated learning in traffic sign classification. In the exploration phase (Step 1), each client computes a local guidance matrix from parameter deviations and secret shares it among three MPC servers, which jointly compute the aggregated . In the training phase (Step 2), is distributed to clients to guide local updates, which are again secret-shared for secure federated averaging.
IV. PROPOSED PPFLEX FRAMEWORK
Our PPFLex framework uses MPC to provide privacy guarantees in FedLEx. As an application domain, we target FL for traffic sign classification, where vehicles' label distributions are naturally non-IID, and model deviations can reveal sensitive information about local driving environments. To address privacy vulnerabilities associated with single-server FL aggregation, we replace the centralized server in FedLEx with three MPC servers to securely compute (Eq. (1)) and perform federated averaging in a privacy-preserving manner. Generally, the proposed architecture supports two or more servers. The three-server default setting is selected to evaluate various underlying MPC protocols, including honest-majority protocols designed for three parties (Replicated2k, PSReplicated2k), while also supporting dishonest-majority protocols (SPDZ2k, Semi2k). Our approach ensures that the model updates and additional gradient information are shared with MPC servers without revealing client data. The proposed enhancements to FedLEx are illustrated in Figure 1.
In our work, we employ secret sharing-based MPC protocols. Their core underlying primitive is secret sharing, which enables splitting a secret s among n parties such that any subset of size can reconstruct the secret, while any t or fewer parties learn no information. Linear operations, such as addition and scalar multiplication, can be performed locally on the shares, whereas multiplications of shares rely on preprocessing and interaction among the servers. In our setting, each vehicle decomposes its input into three shares, sending one share to each server. The servers jointly compute and perform federated averaging on secret-shared values, without reconstructing any raw client inputs.
As an application scenario, we consider a fleet-learning deployment in which vehicles periodically contribute to a traffic sign classification using local camera data. Vehicles act as FL clients, while FL training is coordinated and managed by the model owner (e.g., an Original Equipment Manufacturer (OEM) or mobility provider). In this use case, class distributions correlate with geographic and behavioral factors, as traffic sign types and frequencies differ across countries, regions, and road infrastructures. A malicious server observing exploration updates may therefore infer location information, which PPFLex is specifically designed to prevent via MPC.
PPFLex involves two main MPC computations corresponding to the two privacy-sensitive server-side phases in FedLEx:
-
Global guidance matrix. At the beginning of the learning round, randomly selected participating clients send their gradient deviations (computed locally in the exploration phase) to the three MPC servers, in a secret-shared format. As the first MPC computation in PPFLex framework, the MPC servers aggregate them to compute for involved clients using Eq. (1) (see ① in Figure 1).
-
Federated Learning. After a local training phase, selected participating clients send their model updates to the three MPC servers in a secret-shared format. As the second MPC computation in PPFLex framework, the servers perform secure aggregation of updated model parameters of contributing clients to construct a global model (see in Figure 1).
Threat Model. The primary privacy objective is to prevent the server from learning client-specific properties (e.g., which traffic-sign classes appear in a vehicle's local data), apart from what can be inferred from the global model outputs. For both MPC computations, we consider two security settings. In the semi-honest setting, servers follow the protocol but attempt to infer additional information about an individual's input. In the malicious setting, servers may arbitrarily deviate from the protocol. Note that while PPFLex prevents server-side leakage through secure MPC computation, it does not defend against malicious clients (assumed to be honest in this work). Integrating aggregation algorithms robust to malicious clients can be addressed in future work. We evaluate PPFLex under both semi-honest and malicious settings in Section VI.
Let denote the number of MPC servers and the maximum number of servers that may be corrupted and collude. For honest-majority replicated protocols, we assume . In our default deployment with , this corresponds to at most one corrupted server. For dishonest-majority SPDZ2k, security holds as long as at least one computation party remains honest. We assume three non-colluding MPC servers operated by independent entities (e.g., OEM backend, a Tier-1 mobility provider, and an independent service provider). Clients (vehicles) are assumed semi-honest and do not collude with servers. The MPC servers receive only secret-shared data, without access to raw per-client gradient deviations or model updates. The global guidance matrix and global model are revealed as required to continue the learning process. Our implementation includes four protocols that operate over the arithmetic ring domain of integers modulo a power of two (Mod ), where denotes the bit length of the integers. In our work, we evaluate MPC protocols offering semi-honest (Semi2k, Replicated2k) or malicious (SPDZ2k, PSReplicated2k) security, depending on the assumed majority setting [45].
Communication Optimization. Exploration-derived local guidance values are reused across multiple training rounds. Therefore, clients can upload them once, and the servers can store the corresponding secret shares. Subsequent secure guidance computations can then reuse the stored shares, avoiding repeated client uploads. This optimization does not require reconstructing any client's local guidance in plain-text.
V. IMPLEMENTATION
We implement the MPC-based outsourced secure FL aggregation pipeline, PPFLex, using the MP-SPDZ [45] framework, which executes MPC programs written in Python-like code and supports over 40 protocols. It allows us to evaluate the solution under different security assumptions and settings.
To address the privacy leakages that we identified in FedLEx, we implement MPC programs for both the federated averaging and the guidance matrix computation. Our implementation incorporates two optimizations. First, to minimize MPC communication overhead, the final normalization step for the guidance matrix is performed locally by each client, avoiding costly non-linear min/max operations under MPC. Second, we use a unified secure aggregation program that handles both the gradient updates and matrices and stores the results in the filesystem. The source code is publicly available at https://github.com/nergiz-ue/PPFlex.
To integrate FL pipeline with implemented MPC programs, we make targeted adjustments to the FedLEx source. First, we dump MPC inputs (model updates and local matrices) to files and convert them into fixed-point integers. Then, we replace plain-text executions with external calls to run MPC clients and computing parties. This approach allows us to seamlessly replace plain-text functionality with MPC in the existing FL pipelines and evaluate MPC impact on the FL performance.
TABLE I EXPERIMENT HYPERPARAMETERS.
| Parameter | PPFLex |
|---|---|
| Dataset, Model | GTSRB / BTSC, 2CNN |
| Layers, hidden layers | 2, 200 |
| Num. of epochs in Exploration | 150 |
| Batch size, Learning rate | 32, 0.0003 |
| Optimizer | Adam |
| Loss function | CrossEntropyLoss |
| Num. clients, total | 20 |
| Num. clients, participating | 2 |
| Num. numerical params (2CNN): | 1.68M |
| Num. of MPC servers | 3 |
| MPC protocols | Semi2k, Replicated2kSPDZ2k, PsReplicated2k |
| Ring size (all protocols) | 64 bits (mod ) |
| Fixed-point precision | 24 fractional bits |
| Mixed-domain conversions | daBits |

Fig. 2. The example traffic sign images from the GTSRB dataset appear in different environmental settings.
VI. EVALUATION
In this section, we evaluate the PPFLex framework along four dimensions: (i) model performance under non-IID TSC data, (ii) privacy leakage from FedLEx guidance information, (iii) the impact of MPC on model accuracy, and (iv) MPC overhead. We use the German Traffic Sign Recognition Benchmark (GTSRB), containing 26,640 images across 43 traffic sign classes (with examples shown in Figure 2). In addition, we use the Belgium Traffic Sign Classification dataset (BTSC), which contains 4,591 training images and 2,534 test images across 62 subclasses. We include BTSC to evaluate cross-dataset generalization under distribution shifts.
We employ the TwoCNN architecture with two convolutional layers followed by two fully connected layers, totaling 1,681,899 trainable parameters. Input images are resized to . Unless stated otherwise, we use the Adam optimizer for both exploration and local training. For FL experiments, local training runs for 5 epochs with batch size 32 with learning rate 0.0003. We use different numbers of clients across experiments: with for FL accuracy to assess convergence behavior, with 2 participating clients per round for MPC overhead, and 120 simulated clients for the privacy leakage experiment to provide sufficient statistical reliability for the inference evaluation. To model heterogeneous client data, class distributions are generated using a Dirichlet distribution with parameter . For MPC performance measurements, we run three MPC

Fig. 3. Test accuracy convergence of FedLEx vs FedAvg across Dirichlet levels on (a) GTSRB and (b) BTSC datasets. FedLEx outperforms FedAvg in all settings.
servers on e2-highmem-2 virtual machines (2 vCPUs, 16GB RAM each) on Google Cloud infrastructure in a 10GB LAN setting. The hyperparameter configuration follows the original FedLEx setup [16] and is summarized in Table I.
A. FedLEx Performance under Non-IID Traffic Sign Data
First, we compare FedLEx and FedAvg under heterogeneous data distributions. Data heterogeneity is controlled using a Dirichlet distribution with , where a smaller indicates more skewed local class distributions. In all experiments, we use clients, a participation rate of , local epochs, batch size , and the Adam optimizer with learning rate 0.0003 and decay factor 0.99. Each configuration is repeated over 5 independent runs, and we report the mean accuracy along with standard deviation.
As shown in Fig. 3, FedLEx consistently outperforms FedAvg across both datasets and all heterogeneity levels. Notably, the performance gap widens as data heterogeneity increases. At , FedLEx outperforms FedAvg by an absolute margin of 18.66% on GTSRB and 28.75% on BTSC. Furthermore, FedLEx shows lower variance across runs, indicating more stable training under non-IID conditions.
B. An Analysis of Privacy Leakage in FedLEx
To empirically demonstrate the privacy vulnerabilities in FedLEx's pipeline, we conduct an experiment to evaluate whether a malicious server can infer clients' dominant traffic sign class from their transmitted guidance matrices. We simulate 120 clients, each holding data from a random subset of 1 to 4 classes. Within each client's class set, the relative proportions are drawn from a Dirichlet distribution. Each client's local dataset contains 300 samples from the respective dataset. Each client starts from a shared baseline 2CNN model and creates a local copy. The deviation is trained for 5 epochs with a learning rate of 0.01, and a batch size of 32. After training, we compute the guidance vector as element-wise squared difference between the updated and the original parameters.
We then train a Random Forest classifier (100 trees, maximum depth 20) to predict each client's dominant class from this feature vector, using an 80/20 train/test split for evaluation. Prediction accuracy is measured using 5-fold cross-validation. We compare against a random guessing baseline, which yields approximately 2% accuracy given the large number of possible classes in the GTSRB and BTSC datasets. As shown in

Fig. 4. Attack accuracy for predicting a client's dominant traffic sign class from gradient deviations, grouped by the number of classes per client and data heterogeneity on GTSRB (left, 43 classes) and BTSC (right, 62 classes).

Fig. 5. Performance of PPFLex, in comparison to the plain-text FedLEx.
Fig. 4, the attack achieves between 50% and 84% accuracy depending on the configuration. Accuracy is highest when clients hold fewer classes, since the dominant class is more clearly reflected in the model update. Among the heterogeneity levels, moderate concentration ( ) yields the highest attack accuracy, while and produce comparable but lower results. The results also indicate that the privacy risk is not specific to a particular dataset. We note that the presented attack cannot be launched under PPFLex, since no single server has access to raw client's inputs.
C. MPC Impact on Model Accuracy
To verify that MPC extensions do not affect the FL performance (as MPC is done on quantized integer values), we run both the original (unsecured) and MPC-enhanced FL pipeline and compare the global model convergence after 100 training rounds. The results are averaged across 5 runs in both settings and presented in Figure 5. The convergence curves of FedLEx and PPFLex closely align, with small discrepancies observed between the two, attributed to the quantization of floating-point operations under MPC. Overall, we confirm that MPC additions do not affect the overall FL performance and implement the desired functionality correctly.
D. MPC Overhead
Table II shows the overhead of our MPC solution for performing secure federated computations. We follow the setup of the previous experiments on GTSRB. We combine the analysis for both FL averaging and guidance matrix computation as their core secure operation is identical: a federated average across client parameters. The final normalization step required for the guidance matrix is handled locally by each client to minimize MPC overhead. We report offline and online phases separately and compare six protocol configurations.
TABLE II
AVERAGE MPC OVERHEAD FOR SECURE FEDERATED COMPUTATIONS (FL AVERAGING AND GUIDANCE MATRIX) USING THE 2CNN MODEL ON GTSRB. ALL PROTOCOLS USE 3 PARTIES OVER . SHARES GENERATION DENOTES THE APPROACH OF GENERATING SECRET SHARES AND THEIR TYPE. OFFLINE INCLUDES PREPROCESSING AND INPUT SUPPLY; ONLINE INCLUDES COMPUTATION AND OUTPUT REVEAL.
| MPC Protocol | # Parties | Domain | Security | Shares Generation | Offline | Online | Total Time (s) | ||
|---|---|---|---|---|---|---|---|---|---|
| Time (s) | Comm (MB) | Time (s) | Comm (MB) | ||||||
| Replicated2k | 3 | HM/SH | Client (replicated) | ≈0 | ≈0 | 20.4 | 26.9 | 20.5 | |
| Semi2k | 3 | DM/SH | Client (additive) | ≈0 | ≈0 | 25.4 | 53.8 | 25.5 | |
| Replicated2k | 3 | HM/SH | Server (replicated) | 313.1 | 53.9 | 835.6 | 53.8 | 1148.8 | |
| Semi2k | 3 | DM/SH | Server (additive) | 528.0 | 31060.2 | 841.4 | 161.5 | 1369.5 | |
| PSReplicated2k | 3 | HM/Mal | Server (replicated) | 324.2 | 266.3 | 1197.1 | 132.9 | 1521.5 | |
| SPDZ2k | 3 | DM/Mal | Server (additive) | 3165.9 | 285821.0 | 3067.3 | 242.2 | 6233.8 | |
A significant factor in MPC overhead for a large model such as 2CNN (1.7M parameters) is input supply, i.e., generation and distribution of secret-shared inputs from clients to parties. In MP-SPDZ's outsourced client protocol [46], servers generate a shared random mask , reveal it to the client, who returns the masked input , from which servers compute . For malicious protocols, each input value additionally consumes a multiplication triple to authenticate the mask [47]. To address this, we extended the MP-SPDZ ExternalIO interface with client-side share generation for semi-honest protocols: clients directly compute and distribute secret shares eliminating server-side preprocessing. As shown in Table II, this reduces total time from 1148.8s to 20.5s for Replicated2k. We note that even when server-side masking is required (e.g., for malicious protocols), the preprocessing is offline and input-independent. For example, an OEM can pre-distribute the randomness to vehicles in advance.
The choice of MPC protocol also significantly impacts overhead. With server-side input masking, total execution time ranges from 1148.8s (Replicated2k) to 6233.8s (SPDZ2k). SPDZ2k incurs the highest cost due to malicious security under a dishonest majority, requiring MAC-authenticated preprocessing that generates over 285 GB in the offline phase. PSReplicated2k [48] provides malicious security under an honest majority at moderate cost. Semi2k and Replicated2k assume semi-honest behavior and are most efficient, finishing within 30s with client-side share generation. Finally, Table III shows scaling with the number of clients: Replicated2k setting, which requires no preprocessing, scales more efficiently, while PSReplicated2k setting with server-side masking shows noticeable overhead per each additional client.
For fleet-learning deployments, carefully designed MPC protocols can keep overhead practical: semi-honest execution with client-side share generation completes under 30s with negligible preprocessing, while the higher offline cost under malicious security can be scheduled during vehicle downtime.
VII. CONCLUSION
We investigated the privacy risks that arise when non-IID FL optimization approaches share additional gradient information, focusing on FedLEx in the traffic sign classification domain. Our analysis shows that sharing gradient deviations enables a
TABLE III
SCALING OF MPC OVERHEAD WITH THE NUMBER OF FL CLIENTS.
| Protocol | # Clients | Offline (s) | Online (s) | Total (s) |
|---|---|---|---|---|
| Replicated2k | 2 | ≈0 | 20.4 | 20.5 |
| Replicated2k | 4 | ≈0 | 37.9 | 37.9 |
| Replicated2k | 10 | ≈0 | 75.6 | 75.7 |
| PSReplicated2k | 2 | 324.2 | 1197.1 | 1521.5 |
| PSReplicated2k | 4 | 1006.2 | 1544.8 | 2551.2 |
| PSReplicated2k | 10 | 3179.4 | 2624.1 | 5803.8 |
malicious server to infer client-specific label distributions with 50%–84% accuracy on real traffic-sign datasets. To address this concern, we proposed PPFlex that replaces single-server aggregation with a three-server MPC architecture that securely computes global guidance and model aggregation. We evaluated multiple ring-based protocols and quantified runtime and communication trade-offs under different security assumptions. These findings emphasize the need for optimized protocols and tailored MPC implementations to improve efficiency, extending scalability to larger models and more clients.
REFERENCES
[1] W.-B. Kou, Q. Lin, M. Tang, S. Xu, R. Ye, Y. Leng, S. Wang, G. Li, Z. Chen, G. Zhu et al., “pfedlvm: A large vision model (lvm)-driven and latent feature-based personalized federated learning framework in autonomous driving,” IEEE Transactions on Intelligent Transportation Systems, 2025.
[2] V. P. Chellapandi, L. Yuan, C. G. Brinton, S. H. Žak, and Z. Wang, "Federated learning for connected and automated vehicles: A survey of existing approaches and challenges," IEEE Transactions on Intelligent Vehicles, vol. 9, no. 1, pp. 119–137, 2023.
[3] N. Yuca, N. Matyunin, E. Arzoglou, N. A. Anagnostopoulos, and S. Katzenbeisser, “A survey on privacy-preserving computing in the automotive domain,” ACM Computing Surveys, vol. 58, no. 5, pp. 1–36, 2025.
[4] J. Nidamanuri, C. Nibhanupudi, R. Assfalg, and H. Venkataraman, “A progressive review: Emerging technologies for adas driven solutions,” IEEE Transactions on Intelligent Vehicles, vol. 7, no. 2, pp. 326–341, 2021.
[5] H. Kesbhat, N. Jetty, M. Murmu, L. Vignesh, and K. Himabindu, “Traffic sign detection, classification, and violation logging system for intelligent driver assistance,” International Journal on Science and Technology, 2025.
[6] C. Ertler, J. Mislej, T. Ollmann, L. Porzi, G. Neuhold, and Y. Kuang, "The mapillary traffic sign dataset for detection and classification on a global scale," in European conference on computer vision. Springer, 2020, pp. 68–84.
[7] S. M. H. S. Hossein, A. Hosseini, S. H. Manesh, and A. Shahriary, "Argos: A decentralized federated system for detection of traffic signs in cavs," arXiv preprint arXiv:2508.12712, 2025.
[8] J. Liang, J. Li, J. Zhang, and T. Zang, “Federated learning with data-free distillation for heterogeneity-aware autonomous driving,” in 2024 International Joint Conference on Neural Networks (IJCNN). IEEE, 2024, pp. 1–7.
[9] A. A. Padaria, A. A. Mehta, N. K. Jadav, S. Tanwar, D. Garg, A. Singh, G. Pau, and G. Sharma, “Traffic sign classification for autonomous vehicles using split and federated learning underlying 5g,” IEEE Open Journal of Vehicular Technology, vol. 4, pp. 877–892, 2023.
[10] N. Truong, K. Sun, S. Wang, F. Guitton, and Y. Guo, “Privacy preservation in federated learning: An insightful survey from the gdpr perspective,” Computers & Security, vol. 110, p. 102402, 2021.
[11] H. Zhu, J. Xu, S. Liu, and Y. Jin, “Federated learning on non-iid data: A survey,” Neurocomputing, vol. 465, pp. 371–390, 2021.
[12] Z. Lian, Q. Zeng, W. Wang, D. Xu, W. Meng, and C. Su, “Traffic sign recognition using optimized federated learning in internet of vehicles,” IEEE internet of things journal, vol. 11, no. 4, pp. 6722–6729, 2023.
[13] B. McMahan, E. Moore, D. Ramage, S. Hampson, and B. A. y Arcas, “Communication-efficient learning of deep networks from decentralized data,” in Artificial intelligence and statistics. Pmlr, 2017, pp. 1273–1282.
[14] L. Collins, H. Hassani, A. Mokhtari, and S. Shakkottai, “Fedavg with fine tuning: Local updates lead to representation learning,” Advances in Neural Information Processing Systems, vol. 35, pp. 10572–10586, 2022.
[15] J. Shao, Z. Li, W. Sun, T. Zhou, Y. Sun, L. Liu, Z. Lin, Y. Mao, and J. Zhang, “A survey of what to share in federated learning: Perspectives on model utility, privacy leakage, and communication efficiency,” arXiv preprint arXiv:2307.10655, 2023.
[16] C. Internò, M. Olhofer, Y. Jin, and B. Hammer, “Federated loss exploration for improved convergence on non-iid data,” in 2024 International Joint Conference on Neural Networks (IJCNN). IEEE, 2024, pp. 1–8.
[17] D. Chai, L. Wang, L. Yang, J. Zhang, K. Chen, and Q. Yang, “A survey for federated learning evaluations: Goals and measures,” IEEE transactions on knowledge and data engineering, vol. 36, no. 10, pp. 5007–5024, 2024.
[18] L. Lyu, H. Yu, X. Ma, C. Chen, L. Sun, J. Zhao, Q. Yang, and P. S. Yu, "Privacy and robustness in federated learning: Attacks and defenses," IEEE transactions on neural networks and learning systems, vol. 35, no. 7, pp. 8726–8746, 2022.
[19] V. Mothukuri, R. M. Parizi, S. Pouriyeh, Y. Huang, A. Dehghantanha, and G. Srivastava, “A survey on security and privacy of federated learning,” Future Generation Computer Systems, vol. 115, pp. 619–640, 2021.
[20] L. Zhu, Z. Liu, and S. Han, “Deep leakage from gradients,” Advances in neural information processing systems, vol. 32, 2019.
[21] T. V. T. Doan, M.-L. Messai, G. Gavin, and J. Darmont, “A survey on implementations of homomorphic encryption schemes: Dt van thao et al.” The Journal of Supercomputing, vol. 79, no. 13, pp. 15098–15139, 2023.
[22] Z. Ji, Z. C. Lipton, and C. Elkan, “Differential privacy and machine learning: a survey and review,” arXiv preprint arXiv:1412.7584, 2014.
[23] Y. Lindell, “Secure multiparty computation,” Communications of the ACM, vol. 64, no. 1, pp. 86–96, 2020.
[24] C. G. Serna and Y. Ruichek, “Classification of traffic signs: The european dataset,” IEEe Access, vol. 6, pp. 78 136–78 148, 2018.
[25] J. Stallkamp, M. Schlipsing, J. Salmen, and C. Igel, “The german traffic sign recognition benchmark: a multi-class classification competition,” in The 2011 international joint conference on neural networks. IEEE, 2011, pp. 1453–1460.
[26] R. Timofte, K. Zimmermann, and L. Van Gool, “Multi-view traffic sign detection, recognition, and 3d localisation,” Machine vision and applications, vol. 25, no. 3, pp. 633–647, 2014.
[27] H. Fereidooni, S. Marchal, M. Miettinen, A. Mirhoseini, H. Möllering, T. D. Nguyen, P. Rieger, A.-R. Sadeghi, T. Schneider, H. Yalame et al., "Safelearn: Secure aggregation for private federated learning," in 2021 IEEE security and privacy workshops (SPW). IEEE, 2021, pp. 56–62.
[28] T. Gehlhar, F. Marx, T. Schneider, A. Suresh, T. Wehrle, and H. Yalame, "Safefl: Mpc-friendly framework for private and robust federated learning," in 2023 IEEE security and privacy workshops (SPW). IEEE, 2023, pp. 69–76.
[29] M. Rathee, C. Shen, S. Wagh, and R. A. Popa, “Elsa: Secure aggregation for federated learning with malicious actors,” in 2023 IEEE Symposium on Security and Privacy (SP). IEEE, 2023, pp. 1961–1979.
[30] F. Marx, T. Schneider, A. Suresh, T. Wehrle, C. Weinert, and H. Yalame, "Ww-fl: Secure and private large-scale federated learning," arXiv preprint arXiv:2302.09904, 2023.
[31] L. Shen, Z. Ke, J. Shi, X. Zhang, Y. Sun, J. Zhao, X. Wang, and X. Zhao, “Spefl: Efficient security and privacy-enhanced federated learning against poisoning attacks,” IEEE Internet of Things Journal, vol. 11, no. 8, pp. 13437–13451, 2023.
[32] Y. Ben-Itzhak, H. Möllering, B. Pinkas, T. Schneider, A. Suresh, O. Tkachenko, S. Vargaftik, C. Weinert, H. Yalame, and A. Yanai, "Scionfl: Efficient and robust secure quantized aggregation," in 2024 IEEE Conference on Secure and Trustworthy Machine Learning (SaTML). IEEE, 2024, pp. 490–511.
[33] Y. Tan, G. Long, J. Ma, L. Liu, T. Zhou, and J. Jiang, “Federated learning from pre-trained models: A contrastive learning approach,” Advances in neural information processing systems, vol. 35, pp. 19332–19344, 2022.
[34] J. Nguyen, J. Wang, K. Malik, M. Sanjabi, and M. Rabbat, “Where to begin? on the impact of pre-training and initialization in federated learning,” arXiv preprint arXiv:2206.15387, 2022.
[35] C. Briggs, Z. Fan, and P. Andras, “Federated learning with hierarchical clustering of local updates to improve training on non-iid data,” in 2020 international joint conference on neural networks (IJCNN). IEEE, 2020, pp. 1–9.
[36] M. S. Islam, S. Javaherian, F. Xu, X. Yuan, L. Chen, and N.-F. Tzeng, "Fedclust: Tackling data heterogeneity in federated learning through weight-driven client clustering," in Proceedings of the 53rd International Conference on Parallel Processing, 2024, pp. 474–483.
[37] G. D. Németh, E. Fani, Y. J. Ng, B. Caputo, M. Á. Lozano, N. Oliver, and N. Quadrianto, “Feddiverse: tackling data heterogeneity in federated learning with diversity-driven client selection,” in 2025 3rd International Conference on Federated Learning Technologies and Applications (FLTA). IEEE, 2025, pp. 432–440.
[38] I. Loshchilov and F. Hutter, “Decoupled weight decay regularization,” arXiv preprint arXiv:1711.05101, 2017.
[39] Y. Wu and K. He, “Group normalization,” in Proceedings of the European conference on computer vision (ECCV), 2018, pp. 3–19.
[40] J. Zhong, H.-Y. Chen, and W.-L. Chao, “Making batch normalization great in federated deep learning,” arXiv preprint arXiv:2303.06530, 2023.
[41] K. D. Stergiou, K. E. Psannis, V. Vitsas, and Y. Ishibashi, “A federated learning approach for enhancing autonomous vehicles image recognition,” in 2022 4th International Conference on Computer Communication and the Internet (ICCCI). IEEE, 2022, pp. 87–90.
[42] T. Li, A. K. Sahu, A. Talwalkar, and V. Smith, “Federated learning: Challenges, methods, and future directions,” IEEE signal processing magazine, vol. 37, no. 3, pp. 50–60, 2020.
[43] D. P. Kingma and J. Ba, “Adam: A method for stochastic optimization,” arXiv preprint arXiv:1412.6980, 2014.
[44] D. Nikolić, D. Andrić, and V. Nikolić, “Guided transfer learning,” arXiv preprint arXiv:2303.16154, 2023.
[45] M. Keller, “MP-SPDZ: A versatile framework for multi-party computation,” in Proceedings of the 2020 ACM SIGSAC Conference on Computer and Communications Security, 2020.
[46] MP-SPDZ, “ExternalIO - MP-SPDZ,” 2025, accessed: 14-Feb-2025. [Online]. Available: https://github.com/data61/MP-SPDZ/tree/master/ExternalIO
[47] I. Damgård, K. Damgård, K. Nielsen, P. S. Nordholt, and T. Toft, “Confidential benchmarking based on multiparty computation,” in International Conference on Financial Cryptography and Data Security. Springer, 2016, pp. 169–187.
[48] H. Eerikson, M. Keller, C. Orlandi, P. Pullonen, J. Puura, and M. Simkin, "Use your brain! arithmetic 3pc for any modulus with active security," Cryptology ePrint Archive, 2019.