Safeguarding Federated Learning-based Road Condition Classification

arXiv:2507.12568 · cs.CR, cs.AI · Submitted 2025-07-16 · Read on arXiv

Listen

Radio episode about this paper

Transcript

Introduction to the show: ident: Security Radio. Generated commentary on the latest security and cryptography papers.

Nadia: We're looking at the paper: "Safeguarding Federated Learning-based Road Condition Classification".

Paper summary: Nadia: So, focusing on "Safeguarding Federated Learning-based Road Condition Classification," this paper starts by showing that federated learning for road condition classification has vulnerabilities to targeted label flipping attacks.

Elias: The core of their contribution is introducing a label distance based metric derived from neuron analysis of the output layer to quantify the safety risk posed by these flips. It's about making sure we measure the safety risk correctly, not just model performance metrics like accuracy or recall, which the authors say overlook transportation safety ramifications.

Priya: I wonder what this means for real-world data. If we know which flips are most dangerous, does it help us build better defenses?

Nadia: It does. The paper demonstrates that filtering out just some bad model parameters during global aggregation isn't enough to stop these attacks by itself, and they explore ways to actually mitigate the damage done to the already poisoned global model.

Priya: So it sounds like a layered approach—identifying the danger with that measurement, and then applying repair techniques based on what that measurement tells us about the safety risk.

Nadia: That is their plan, and the authors are planning more work to test this defense across different road condition tasks, even measuring how much time their proposed mechanism adds when you put it on actual embedded hardware.

Elias: They are also looking at what happens when adversaries start working together to attack the system at the same time, which is a big step toward thinking about more realistic threats in this area.

Conclusion: Nadia: So we've been looking at how to protect these road condition classification systems using federated learning, and this paper is "Safeguarding Federated Learning-based Road Condition Classification."

Elias: The authors are showing that targeted label flipping attacks can happen in these systems, so they introduce a new way to measure the actual safety risk of those flips.

Priya: It seems like they are moving beyond just looking at how well the model performs and focusing on what kind of danger the misclassification actually causes for someone driving.

Nadia: They use this label distance metric based on neuron analysis in the output layer to put a number on that risk, so you can tell which flips are most dangerous, like changing a severe unevenness label to smooth.

Elias: And they propose this defense called FLARE, which is designed to find the source and target classes of those attacks and keep only the good parts of the model during the training process.

Priya: It sounds like a very practical approach because it's not just throwing random filters at it; it’s using a look at how the neural network is actually processing things to determine what's dangerous.

Nadia: The experiments showed that this defense actually keeps performance competitive with other defenses, achieving some of the best results across different road condition tasks.

Elias: So, while they've built a solid defense mechanism for now, they are not done; they plan to look at how to fix models that are already been poisoned and even consider what happens when multiple attackers coordinate their efforts.

Priya: That’s a big step toward thinking about the future of these distributed systems and how we secure them against more complex, coordinated threats.

KTH Royal Institute of Technology

cs.CR, cs.AI

Submitted: 2025-07-16

Updated: 2025-07-16

Comments: Accepted by IEEE Conference on Communications and Network Security (CNS) 2025

Journal ref: 2025 IEEE Conference on Communications and Network Security (CNS)

DOI: 10.1109/CNS66487.2025.11194922

License: http://arxiv.org/licenses/nonexclusive-distrib/1.0/

Importance score: 70/100

The gist: Federated Learning (FL) has emerged as a promising solution for privacy-preserving autonomous driving, specifically camera-based Road Condition Classification (RCC) systems…

Key concepts

Targeted Label Flipping Attacks (TLFAs)
Malicious clients deliberately alter their local training data labels. For road conditions, this means changing a label from 'severe-uneven' to 'smooth.' This attack is dangerous because it causes the resulting global model to dangerously misclassify hazardous roads as safe during real-world use.
Label Distance Metric
A novel metric used to quantify the safety risk of label flips. It calculates a weighted distance between true and predicted labels, where a higher distance indicates greater danger. This helps distinguish between minor misclassifications and highly dangerous ones, like confusing severe unevenness with smoothness.
FLARE Defense Mechanism
A proposed defense that uses neuron-wise analysis of the model's output layer to detect poisoned parameters. FLARE identifies source and target classes, filters out malicious parameters connected to these neurons, and removes compromised clients from the training process to maintain model integrity.

Terminology

Summary

Federated Learning (FL) has emerged as a promising solution for privacy-preserving autonomous driving, specifically camera-based Road Condition Classification (RCC) systems, harnessing distributed sensing, computing, and communication resources on board vehicles without sharing sensitive image data. p. 0 The collaborative nature of FL-RCC frameworks introduces new vulnerabilities: Targeted Label Flipping Attacks (TLFAs), in which malicious clients deliberately alter their training data labels to compromise the learned model inference performance. p. 0 Such attacks can, e. p. 0g., cause a vehicle to mis-classify slippery, dangerous road conditions as pristine and exceed recommended speed. p. 0 However, TLFAs for FL-based RCC systems are largely missing. p. 0

Vulnerability Disclosure and Metric Development

The paper discloses the vulnerability of existing FL-RCC systems to TLFAs. The authors introduce a novel labeldistance-based metric to precisely quantify the safety risks posed by TLFAs. p. 0 This metric is based on a specific neuron-wise analysis of the output layer. p. 1 The vulnerability involves malicious clients flipping local data labels regarding road unevenness level from severe-uneven to smooth during the FL training Traditional metrics overlook transportation safety ramifications, as misclassifying the road unevenness level from severe-uneven to smooth (label distance = 2) is more dangerous than predicting labels from slight-uneven to smooth (label distance = 1). p. 1

Proposed Defense Mechanism FLARE

The authors propose FLARE, a defensive mechanism leveraging neuron-wise analysis of the output layer to mitigate TLFA effects FLARE has three objectives: 1) identify source and target classes, 2) recognize and filter out poisoned model parameters maintaining benign ones for global aggregation, and 3) remove promptly malicious clients from V during the FL procedure. The intuition behind FLARE is that benign and poisoned model parameters have distinct differences for those parameters directly connected to source and target neurons. p. 4 The design details involve calculating the changes in model parameters connected to the output layer neurons as ∆t i,S = ω t i,l − ω t ll ∈ S. p. 4

Experimental Evaluation and Results

Extensive experiments across three RCC tasks, four evaluation metrics, six baselines, and three deep learning models demonstrate both the severity of TLFAs on FL-RCC systems and the effectiveness of FLARE in mitigating the attack impact. The results show that TLFAs primarily influence ASR and SRec, as the goal of TLFAs is to misguide prediction involving source and target classes FLARE outperforms six state-of-the-art general countermeasures, achieving the best or second-best performance in most cases. p. 6 Specifically, the best ASR values of FLARE are 6. p. 776% for Friction, 30. p. 005% for Material, and 28. p. 042% for Unevenness. p. 0

Conclusion and Future Work

The paper concludes that current FL-RCC systems are vulnerable to TLFAs. The findings indicate that filtering out potentially malicious model parameters in aggregation is not enough, and mitigating the deterioration of already poisoned global model could also be beneficial Ongoing work will investigate TLFA influence across multiple FL-RCC tasks and assess FLARE effectiveness, also measuring latency with embedded hardware. p. 8 Furthermore, the authors plan to explore machine unlearning and knowledge distillation for poisoned model correction. p. 8 Finally, they will consider adaptive colluding adversaries. p. 8

References

[1] T. Zhao, J. He, J. Lv, D. Min, and Y. p. 8 Wei,. “A comprehensive implementation of road surface classification for vehicle driving assistance: Dataset, models, and deployment,” IEEE Transactions on Intelligent Transportation Systems. p. 8

[2] M. Otoofi, L. Laine, L. Henderson, W. p. 8 J. B. Midgley, L. p. 8 Justham, and J. p. 8 Fleming, “FrictionSegNet: Simultaneous semantic segmentation and friction estimation using hierarchical latent variable models,” IEEE Transactions on Intelligent Transportation Systems. p. 8

[3] Y. Yuan, Y. Yuan, T. Baker, L. M. Kolbe, and D. p. 8 Hogrefe, “FedRD: Privacy-preserving adaptive federated learning framework for intelligent hazardous road damage detection and warning,” Future Generation Computer Systems. p. 8

[4] B. McMahan, E. p. 8 Moore, D. Ramage, S. Hampson, and B. p. 8 A. y Arcas, “Communication-efficient learning of deep networks from decentralized data,” in AISTATS. p. 8

[5] S. Liu, L. You, R. Zhu, B. Liu, R. Liu, H. Yu, and C. Yuen, “AFM3D: An asynchronous federated meta-learning framework for driver distraction detection,” IEEE Transactions on Intelligent Transportation Systems. p. 8

[6] L. You, S. Liu, B. Zuo, C. Yuen, D. Niyato, and H. p. 8 V. Poor, “Federated and asynchronized learning for autonomous and intelligent things,” IEEE Network. p. 8

[7] I. V. Vondikakis, I. p. 8 p. 8 E. Panagiotopoulos, and G. p. 8 p. 8 J. Dimitrakopoulos, “FedRSC: A federated learning analysis for multi-label road surface classifications,” IEEE Open Journal of Intelligent Transportation Systems. p. 8

[8] K. Sameera, P. p. 8 Vinod, R. R. KA, and M. Conti, “LFGurad: A defense against label flipping attack in federated learning for vehicular network,” Computer Networks. p. 8

[9] C. Fung, C. J. Yoon, and I. p. 8 Beschastnikh,. p. 8 “The limitations of federated learning in sybil settings,” in RAID. p. 8

[10] P. Blanchard, E. p. 8 M. El Mhamdi, R. p. 8 Guerraoui, and J. p. 8 Stainer, “Machine learning with adversaries: Byzantine tolerant gradient descent,” in NeurIPS. p. 8

[11] H. Fereidooni, A. p. 8 Pegoraro, P. p. 8 Rieger, A. Dmitrienko, and A. p. 8-R. Sadeghi, “FreqFed: A frequency analysis-based approach for mitigating poisoning attacks in federated learning,” in NDSS. p. 8

[12] N. Wang, Y. Xiao, Y. Chen, Y. Hu, W. Lou, and Y. p. 8 T. Hou, “FLARE: Defending federated learning against model poisoning attacks via latent space representations,” in ASIACCS. p. 8

[13] K. He, X. Zhang, S. Ren, and J. p. 8 Sun, “Deep residual learning for image recognition,” in CVPR. p. 8

[14] M. Tan and Q. Le, “Efficientnet: Rethinking model scaling for convolutional neural networks,” in ICML. p. 8

[15] H. Touvron, M. p. 8 Cord, M. Douze, F. Massa, A. Sablayrolles, and H. p. 8 Jegou, “Training data-efficient image transformers & distillation ´ through attention,” in ICML. p. 8

[16] D. Yin, Y. Chen, R. Kannan, and P. p. 8 Bartlett, “Byzantine-robust distributed learning: Towards optimal statistical rates,” in ICML. p. 8

[17] T. D. Nguyen, P. Rieger, R. De Viti, H. p. 8 Chen, B. B. Brandenburg, H. p. 8 Yalame, H. Mollering, H. p. 8 Fereidooni, S. p. 8 Marchal, M. p. 8-et al., “FLAME: Taming backdoors in federated learning,” in USENIX Sec. p. 8

[18] F. Malin, I. Norros, and S. p. 8 Innamaa, “Accident risk of road and weather conditions on different road types,” Accident Analysis & Prevention. p. 8

[19] I. V. Vondikakis, I. E. Panagiotopoulos, and G. J. Dimitrakopoulos,. p. 8 “An adaptive federated learning framework for intelligent road surface classification,” in ITSC. p. 8

[20] X. Zhang, Q. Liu, Z. Ba, Y. Hong, T. Zheng, F. Lin, L. Lu, and K. Ren, “FLTracer: Accurate poisoning attack provenance in federated learning,” IEEE Transactions on Information Forensics and Security. p. 8

[21] V. Shejwalkar and A. p. 8 Houmansadr, “Manipulating the byzantine: Optimizing model poisoning attacks and defenses for federated learning,” in NDSS. p. 8

[22] V. Tolpegin, S. p. 8 Truex, M. E. Gursoy, and L. p. 8 Liu, “Data poisoning attacks against federated learning systems,” in ESORICS. p. 8

[23] N. M. Jebreel, J. p. 8 Domingo-Ferrer, D. p. 8 Sanchez, and A. p. 8 Blanco-Justicia, ´ “LFighter: Defending against the label-flipping attack in federated learning,” Neural Networks. p. 8

[24] H. Zhou, Y. Zheng, H. Huang, J. Shu, and X. p. 8 Jia, “Toward robust hierarchical federated learning in internet of vehicles,” IEEE Transactions on Intelligent Transportation Systems. p. 8

[25] W. Yamany, N. Moustafa, and B. p. 8 Turnbull, “OQFL: An optimized quantum-based federated learning framework for defending against adversarial attacks in intelligent transportation systems,” IEEE Transactions on Intelligent Transportation Systems. p. 8

[26] S. Wang, Q. Li, Z. Cui, J. Hou, and C. p. 8 Huang, “Bandit-based data poisoning attack against federated learning for autonomous driving models,” Expert Systems with Applications. p. 8

[27] T. ETSI, “ETSI TS 102 941 v1. p. 8 1.1-Intelligent Transport Systems (ITS); security; trust and privacy management, standard, TC C-ITS,” 2021. p. 8

[28] “IEEE standard for wireless access in vehicular environments–security services for application and management messages,” IEEE Std 1609. p. 82-2022 (Revision of IEEE Std 1609. p. 82-2016), pp. p. 8 1–349, 2023. p. 8

[29] M. Khodaei, H. p. 8 p. 8 Jin, and P. p. 8 Papadimitratos, “SECMACE: Scalable and robust identity and credential management infrastructure in vehicular communication systems,” IEEE Transactions on Intelligent Transportation Systems. p. 8

[30] M. Khodaei, H. Noroozi, and P. p. 8 Papadimitratos, “SECMACE+: Upscaling pseudonymous authentication for large mobile systems,” IEEE Transactions on Cloud Computing. p. 8

[31] M. Khodaei and P. p. 8 p. 8 Papadimitratos, “Scalable & resilient vehicle-centric certificate revocation list distribution in vehicular communication systems,” IEEE Transactions on Mobile Computing. p. 8

[32] E. Rescorla,. “The transport layer security (TLS) protocol version 1. p. 83,” Tech. p. 8 Rep., 2018.

[33] P. Papadimitratos, “Mix-Zones in Wireless Mobile Networks,” in Encyclopedia of Cryptography, Security and Privacy, S. p. 8 Jajodia, P. p. 8 Samarati, and M. p. 8 Yung, Eds. Springer Nature Switzerland

[34] M. Khodaei and P. Papadimitratos, “Cooperative location privacy in vehicular networks: Why simple mix-zones are not enough,” IEEE Internet Of Things Journal. p. 8

[35] Y. Zhou, L. Cai, X. Cheng, Q. Zhang, X. Xue, W. Ding, and J. p. 8 Pu, “OpenAnnotate2: Multi-modal auto-annotating for autonomous driving,” IEEE Transactions on Intelligent Vehicles. p. 8

[36] P. Papadimitratos, V. p. 0 Gligor, and J. p. 8-P. Hubaux, “Securing vehicular communications-assumptions, requirements, and principles,” in ESCAR. p. 8

[37] P. Papadimitratos, L. p. 0 Buttyan, T. p. 8 Holczer, E. p. 8 Schoch, J. Freudiger, M. p. 8 Raya, Z. Ma, F. Kargl,. A Kung, and J. p. 8-P. Hubaux, “Secure vehicular communication systems: design and architecture,” IEEE Communications Magazine. p. 8

[38] H. Jin, Z. Zhou, and P. p. 8 Papadimitratos, “Future-proofing secure V2V communication against clogging dos attacks,” in ARES. p. 8

[39] L. McInnes, J. p. 8 Healy, and S. p. 8 Astels, “hdbscan: Hierarchical density based clustering,” Journal of Open Source Software. p. 8

--- Page 1 ---

Safeguarding Federated Learning-based Road Condition Classification

Sheng Liu

Networked Systems Security Group

KTH Royal Institute of Technology

Stockholm, Sweden

shengliu@kth.se

Panos Papadimitratos

Networked Systems Security Group

KTH Royal Institute of Technology

--- Page 2 ---

1 provides an example of TLFAs, in which the adversary flips local data labels regarding road unevenness level from severeuneven (the source class, i.e., the true class) to smooth (the target class, i. p. 1e., the falsified class) during the FL training. p. 1 The resultant model may erroneously classify in the inference phase actual severe-uneven conditions as smooth; an underestimation of hazardous conditions, jeopardizing transportation safety and increasing the chance of an accident. p. 1

--- Page 3 ---

One type of targeted DPAs, TLFAs [22], change local data labels from source class to target class, while data features remain unchanged. Such attacks are simple yet effective to be mounted by compromised vehicles: 1) they only involve a flipping operation, done before model training, requiring little prior knowledge from participants; and 2) have a great negative impact on source class identification while the changes in other classes are insignificant. p. 2

--- Page 4 ---

Consider the deployed model misclassifying lsr1 or lsr2 to lst because of TLFAs, where sr1 > sr2 > st; the traditional metrics on model performance, such as accuracy and recall, treat the two situations as equivalent. This implies the need to design a new metric based on ”label distance” in Fig. p. 3 2.

--- Page 5 ---

To do so, first, we calculate a weighted distance, d i,j between the true label, l i, and the predicted label, l j, according to an exponential function defined by Equation 3. This way, higher label distance suggests higher danger level due to mis-classification; the distance is 1 for correct predictions (i. p. 3e., i = j)

--- Page 6 ---

The complexity Analysis: Assume the dimensionalities of the whole DNN model, the output layer of DNN, and one neuron in the output layer are dw, do, and de, respectively. The computation overhead of FLARE in each round includes the following parts: 1) O (P do) to calculate the output layer changes of P clients; 2) O (P Lde) to compute the neuron-wise magnitudes of L output neurons and P clients; 3) O (L log L) to identify the source and target neurons; 4) O (P de) to cluster parameters using HDBSCAN. p. 5 Such that, the overall complexity of FLARE is O (P do)

--- Page 7 ---

By comparing the results with and without TLFAs, we can analyze the influence of the attack on FL-RCC. The performance of Krum is worse than FedAvg in most cases, which may be caused by the fact that Krum simply chooses one local model as the newest global model. p. 7 In most cases (88. p. 789%), FLARE can achieve the best or second-best performance compared to the baseline schemes. p. 7 The stability and performance of current countermeasures can be further enhanced. p. 8

--- Page 9 ---

In conclusion, current FL-RCC systems are vulnerable to TLFAs, and we should pay more attention to such powerful attacks. The stability and performance of current countermeasures can be further enhanced Ongoing work will investigate TLFA influence across multiple FL-RCC tasks and assess FLARE effectiveness, also measuring latency with embedded hardware. p. 8 Second, we will further improve FLARE performance, exploring machine unlearning and knowledge distillation for poisoned model correction. p. 8 Finally, we will consider adaptive colluding adversaries. p. 8

--- Page 1 ---

Safeguarding Federated Learning-based Road Condition Classification

Sheng Liu

Networked Systems Security Group

KTH Royal Institute of Technology

Stockholm, Sweden

shengliu@kth.

Green — the paper says it, and the page is printed. Red — no passage carries it, so treat that sentence as unverified. The same check runs on your own text: check a summary against its source, $5.

Improvements for AI systems

  1. The system can detect Targeted Label-Flipping Attacks (TLFAs) by calculating a new metric based on label distance, which precisely quantify[ies] the safety risks posed by TLFAs. This allows for a more meaningful assessment of attack severity than traditional metrics like accuracy and recall alone.

  2. A defensive mechanism named FLARE can be proposed to mitigate TLFA effects by leveraging neuron-wise analysis of the output layer to mitigate TLFA effects. This involves identifying source and target neurons (output neurons that predict source/target classes) and filtering out poisoned model parameters during global aggregation.

  3. The improved AI system, utilizing FLARE, can maintain a client blacklist based on the number of times it was recognized as malicious, which is added to the client selection process in each round. This ensures that identified adversaries are promptly removed from participating in future FL rounds.

  4. The system can utilize HDBSCAN to recognize outliers based on parameters connected to the two identified source and target classes, allowing it to filter out poisoned model parameters based on parameter changes of the two recognized source and target neurons.

  5. The system can achieve improved performance against TLFAs by focusing on critical parameters rather than coarsely analyzing the entire model or output layer, as this leads to better detection accuracy and better computation efficiency.

Related papers