Manuscript Offprint

arXiv:2608.25133

Rethinking the Transferable Adversarial Attacks and Robust Defense in Federated Learning

Zuobin Xiong, Deval Mukherjee, Homook Cho, Wei Li

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Zuobin Xiong*, Deval Mukherjee*, Homook Cho† and Wei Li‡

*Department of Computer Science, University of Nevada Las Vegas, Las Vegas, USA

†Cyber Security Research Center at KAIST, Daejeon, South Korea

‡Department of Computer Science, Georgia State University, Atlanta, Georgia, USA

‡ wli28@gsu.edu

Abstract—The development of federated learning (FL) techniques has helped improve the privacy preservation of users' data and extended the applications of machine learning models. However, the involvement of a large number of users in FL also creates open opportunities for different adversaries, such as poisoning attacks, byzantine attacks, and adversarial examples attacks. Yet, recent research has disclosed that existing poisoning attacks and byzantine attacks can not achieve satisfactory penetration in realistic FL scenarios caused by strong assumptions, e.g., client selection rate, and the ratio of malicious attackers. In this paper, the transferability of adversarial examples among different client models is analyzed to understand the relation between adversarial examples and clients' data distribution. Moreover, to mitigate the attacks of transferable adversarial examples, we design a defense mechanism stemming from the transferability of model robustness by adversarial training. As a result, through theoretical analysis of transferability, we gain insights into adversarial examples and the vulnerability of federated learning systems. Our proposed adversarial attack and defense methods are evaluated via real-life datasets in various settings to show their performance over the existing state-of-the-art methods.

Index Terms—Federated Learning, Adversarial Examples, Model Robustness, Security and Privacy

I. INTRODUCTION

Federated Learning (FL) [1] has emerged as an attractive distributed machine learning framework, where multiple private data owners (e.g., clients) collaboratively train a machine learning model on the central organizer (i.e., the service provider) without sharing their private data. In particular, each participating client performs a local update privately and sends the updated parameter to the service provider for aggregation in an iterative manner. Benefited from these features, FL has been adopted by a suite of prevalent applications at scale in the real world, such as the next word prediction model from Google G-board [2], the Siri voice recognition model from Apple [3], and the credit information analysis model from different financial institutions [4]. To handle the diverse real-world applications, despite the existence of many variants of FL models, the original version, known as Federated Averaging (FedAvg)-based [1] methods, remains the most widely adopted paradigm due to its concise system design and outstanding scalability. However, “FedAvg” does not fully understand the underlying challenges of system heterogeneity and statistical heterogeneity in diverse environments, where the clients possess different computational power and highly skewed non-identically distributed data in practice. An advanced personalized solution “FedProx” [5], extended from FedAvg, is designed to hold the merits of FedAvg but also address the challenges of systems and data heterogeneity. In both algorithms, the primary focus is to improve the model performance in FL at scale, but they overlook the security issues behind the scenes.

Many potential attacks may harm the system security in FL since the collaborating participants are mutually untrusted clients, e.g., Android/iPhone users, and different organizations. Therefore, any client can perform malicious operations or act as an honest-but-curious client even if they follow common system requirements. As a result, the adversarial attacks 1^{1} in FL can be categorized into three branches: (i) Poisoning attacks (including backdoor attacks) [6]–[8] that aim at causing degraded model performance on poisoned models or poisoned data; (ii) Byzantine attacks [9], [10] that allure the FL training converges to ‘sub-optimal to utterly ineffective models’; and (iii) Evasion attacks [11]–[13] where the adversary tries to invade the model’s integrity with an adversarially crafted input example. Existing literature has intensively studied various methods in (i) and (ii) regarding these attacks and their corresponding defenses, while they make some unrealistic assumptions that are hard to meet in real-world FL applications. For instance, in the related works on poisoning attacks [6], [7], [14] and defense [15]–[17], authors assume that the adversarial party has the ability to compromise at most 10% to 25% of all FL clients, which means the attacker may need to control over 10 million users in a real-world App like Google G-board with billions of user base [18]. On the other hand, for Byzantine attacks and defenses, different assumptions such as i.i.d. data in FL system [19], [20], a clean dataset on server [21], [22], and the total number of FL clients [23], [24] are required to launch an attack or defense, which is hardly achievable in real applications. Besides, in the recent paper by Shejwalkar et al. [25], where authors conduct a comprehensive review of existing attacks on FL through analysis and evaluation, the conclusion is that most

1^{1}In this paper, we mainly investigate the adversarial attacks. We acknowledge that privacy inference is another important issue in FL, but it is beyond the scope of this work.

poisoning attacks and Byzantine attacks fail to achieve the claimed attack performance in FL at scale settings even in the absence of any robust defense mechanisms.

These unrealistic assumptions and experimental findings therefore motivate us to explore a more operable attack – evasion attacks, with minimal attacker knowledge and a practical threat model. In this paper, we revisit evasion attacks in the realistic FL setting, providing findings on theoretical attack performance and robust defense against the attack. Specifically, considering both applicability and feasibility in real-world applications, “FedProx” paradigm is selected as the representative base case for analysis. Built on which, exploring and rethinking the relationship between adversarial examples and their transferability in the “FedProx” FL system is our main target. Our theoretical result is promising, where we find that the transferability of adversarial examples in the FL system can be harnessed by the local private data distribution of the malicious client. In addition to that, an efficient and robust defense mechanism is proposed to defend against adversarial examples in the FL system.

In summary, this work makes the following contributions:

• We study the evasion attacks in FL at a realistic scenario, which is the first work to analyze the transferability of adversarial examples in FL through a theoretical manner, to the best of our knowledge.

• We design a robust defense framework in federated learning against adversarial example attacks, which has both efficiency and superior performance.

• Extensive experiments are conducted on popular FL datasets, reflecting our theoretical analysis on the transferability of adversarial examples and justifying the defense performance of our robust defense method.

The remainder of this paper is organized as follows. The related works in adversarial attacks and defenses are introduced in Section II. Then, the system settings and threat model are formulated in Section III, followed by the analysis of attack transferability in Section IV. Next, the robust defense mechanism is proposed in Section V, and extensive evaluations are conducted in attack and defense scenarios in Section VI. Finally, the paper is concluded in Section VII.

References (44)