Abstract
In Federated Learning (FL), distributed clients collaboratively train a global model without sharing raw data. While this architecture preserves privacy, it is susceptible to backdoor attacks where malicious clients poison the model to misclassify specific inputs. A significant limitation of existing attacks is their lack of durability; backdoors typically vanish shortly after the attacker stops poisoning the model. This paper introduces Chameleon, a novel attack strategy that leverages the relationship between poisoned images and "peer images" (benign images with the same original or target labels) to enhance backdoor longevity. By utilizing supervised contrastive learning to reshape the model's latent representation, Chameleon extends the backdoor lifespan by $1.2\times$ to $4\times$ across various datasets and architectures.
Introduction
Federated Learning allows multiple participants to aggregate their local model updates into a global model. However, the decentralized nature of FL makes it difficult to verify the integrity of local updates. Malicious actors can exploit this by injecting backdoors—hidden triggers that cause the model to output a target label for specific inputs while maintaining normal performance on clean data.
Despite the success of initial injections, these backdoors are often fragile. Once the malicious client stops participating, the global model's continuous learning from benign clients tends to "overwrite" the backdoor. This phenomenon is driven by two primary factors: Update Conflicts, where benign data similar to the poisoned samples corrects the model's weights, and Catastrophic Forgetting, where the model naturally loses specialized knowledge of the niche backdoor task over time.
The Chameleon Methodology
Chameleon addresses the durability problem by strategically manipulating the model's embedding space. The core innovation lies in identifying and utilizing Peer Images:
- Interferers: Benign images that share the same original label as the poisoned images (e.g., a standard car vs. a car with a backdoor trigger).
- Facilitators: Benign images that share the same target label as the backdoor (e.g., birds, if the goal is to misclassify cars as birds).
Two-Stage Attack Strategy
Chameleon replaces standard training with a two-stage process designed to make the backdoor features more distinct and resilient:
- Stage 1: Adaptation: The attacker employs Supervised Contrastive Learning (SupCon) to adjust the model's encoder. The goal is to push poisoned images far away from "interferers" and pull them closer to "facilitators" within the embedding space. By aligning the poisoned samples with the target class's natural distribution, the attack essentially "hitches a ride" on the benign updates of the target class.
- Stage 2: Projection: After the encoder is adapted, the attacker freezes it and trains a simple classifier head (the projection layer). This maps the newly engineered embeddings to the target label, ensuring the backdoor is deeply integrated into the model's logic.
Experimental Evaluation
Datasets and Setup
The researchers evaluated Chameleon using three standard computer vision benchmarks: CIFAR-10, CIFAR-100, and EMNIST. These datasets were used to test various backdoor types, including fixed pixel patterns, dynamic patterns (variable trigger locations), and semantic backdoors (e.g., identifying cars with specific features as a different class).
Performance and Durability
Chameleon consistently outperformed state-of-the-art baselines such as Neurotoxin and Anticipate. Key results include:
- Lifespan Extension: The "50%-lifespan" (the number of rounds the backdoor accuracy remains above 50%) was extended by 1.2x to 4x compared to existing attacks.
- Stealth and Accuracy: The attack maintained high accuracy on the primary benign task. For instance, on CIFAR-10, the benign accuracy remained at approximately 92%, making the attack difficult to detect through performance monitoring.
- Robustness to Defenses: Chameleon proved resilient against common FL defenses, including norm-clipping, Weakly Differential Privacy, and robust aggregation rules like Krum and FLAME.
Key Insights
- Latent Space Engineering: Rather than merely competing for weight space, Chameleon re-engineers the geometry of the embedding space. This makes the poisoned samples "look" more like the target class to the encoder, mitigating the impact of update conflicts from benign clients.
- The Capacity Paradox: Interestingly, more sophisticated models (e.g., ResNet34) were found to be more vulnerable to durable backdoors. Their higher capacity allows them to create more distinct, specialized embeddings for poisoned data, which are harder for subsequent benign updates to erase.
Conclusion and Future Work
Chameleon demonstrates that the durability of a backdoor is intrinsically linked to how the trigger relates to the broader data distribution. By adapting to peer images, attackers can plant backdoors that survive long after their active participation ends. While Chameleon requires access to peer images—potentially necessitating auxiliary datasets—it represents a significant shift in how backdoor durability is understood in distributed systems. Future research may focus on combining Chameleon’s durability with advanced evasion techniques to bypass sophisticated anomaly detectors in non-IID environments.
Summary updated