TL;DR
Batman is a novel federated backdoor attack that achieves both high effectiveness and exceptional stealthiness by aligning benign knowledge within the malicious null space of a model's parameters. By decoupling the malicious backdoor updates from the benign ones along orthogonal mathematical directions, it evades state-of-the-art defenses without degrading the attack's strength.
What Problem Does This Paper Address?
Federated Learning (FL) allows multiple decentralized devices to collaboratively train a shared global model without sharing their raw data. While privacy-preserving, this decentralized nature makes FL highly vulnerable to backdoor attacks, where a malicious client injects a hidden trigger (like a specific sticker on a stop sign) to force misclassification while maintaining normal behavior on clean inputs.
To catch these bad actors, modern FL defenses analyze client updates to see if any stand out as anomalous. To evade detection, attackers try to make their malicious updates look like normal, benign updates—a process called benign knowledge alignment. However, existing attacks face a frustrating dilemma:
- Trigger-Surface Attacks: These modify input-level attributes (like trigger shape or location) but fail to sufficiently align the model's internal parameters, making them easy to detect.
- Representation-Guided Attacks: These force the model to learn benign representations alongside malicious ones. However, because they optimize both within the same shared parameter space, they over-align, which inadvertently suppresses the trigger and undermines the attack's success.
The authors of this paper introduce Batman to break this trade-off by finding a way to hide the backdoor without weakening it.
Methods
Batman solves the shared-parameter dilemma through a two-step framework: Malicious Space Construction (MaSC) and Benign Knowledge Alignment (BeKA).
1. Malicious Space Construction (MaSC)
To prevent benign alignment from interfering with the backdoor, Batman isolates the core malicious knowledge. The authors apply Singular Value Decomposition (SVD) to the local parameter matrix of the poisoned model. The top-$r$ singular components capture the dominant directions of variation—which represent the malicious backdoor functionality.
By calculating the orthogonal complement of this dominant subspace, Batman constructs a malicious null space. Any parameter modifications made strictly within this null space will have zero effect on the backdoor's performance.
2. Benign Knowledge Alignment (BeKA)
Next, Batman alters the update so it mimics a benign client. Instead of aligning toward a single static target, it creates a hybrid "benign knowledge set" using two sources:
- The attacker's clean local model (trained on clean data before poisoning), which captures local training dynamics.
- The current global model, which provides the overall optimization direction of the entire federated network.
Batman formulates a constrained optimization problem to find an alignment perturbation ($\Delta$) that minimizes the distance to this benign target. Crucially, it projects this perturbation directly into the malicious null space ($\Delta = \Delta P$). The final update looks perfectly normal to the central server but secretly harbors the intact backdoor.
Datasets
The authors evaluated Batman across four widely adopted benchmark image classification datasets:
- CIFAR-10
- CIFAR-100
- Fashion-MNIST
- CINIC
To simulate a realistic, challenging FL environment, they used a Dirichlet distribution ($\alpha = 0.5$) to establish a non-IID (non-independent and identically distributed) data split among 100 total clients.
Key Insights and Ideas
- The Low-Rank Backdoor Property: Through empirical analysis of Neuron Trigger Activation Change (TAC), the authors discovered that high-rank singular components are highly sensitive to backdoor triggers, whereas low-rank components show minimal response. This justifies using SVD to separate the two.
- Orthogonality is the Key to Stealth: Traditional attacks fail because they treat parameter space as a zero-sum game. By leveraging the mathematical properties of a null space, Batman proves that an update can be 100% malicious and look 100% benign simultaneously, provided those traits occupy orthogonal directions.
Key Results
Batman was tested against five state-of-the-art FL defense mechanisms (including DnC, FLTrust, TrimmedMean, FLGuardian, and AlignIns) and a standard no-defense FedAvg baseline.
- High Success and Accuracy: On CIFAR-10 under the robust FLTrust defense, Batman achieved an Attack Success Rate (ASR) of 85.52% and a Clean Accuracy (ACC) of 60.54%, vastly outperforming baseline attacks like Neurotoxin (which dropped to an ASR of 11.42%).
- Superior Persistence: When attacks were stopped after a few epochs, standard backdoors quickly faded as the global model updated. Batman's updates remained durable and persistent over subsequent rounds due to their alignment with the global training trajectory.
Limitations and Future Work
Despite its strengths, Batman introduces two primary limitations:
- Computational Overhead: Performing SVD on large neural network weight matrices is computationally expensive. The authors mitigate this by only applying SVD in the final local training round and targeting specific backdoor-critical layers, but it still demands more resources than standard training.
- Extra Local Training: Extracting the benign knowledge requires the attacker to train an additional clean local model alongside the poisoned one, doubling the local training effort.
Future work will focus on finding more computationally efficient ways to approximate the malicious null space without full SVD tracking.
Summary updated