[Paper Review] Batch Label Inference and Replacement Attacks in Black-Boxed Vertical Federated Learning
This paper reveals that batch-level label inference and replacement attacks are feasible in black-boxed vertical federated learning (VFL) even with Homomorphic Encryption (HE), by exploiting batch-averaged gradients through gradient inversion. It proposes Confusional Autoencoder (CoAE), a defense using autoencoders with entropy regularization that blocks these attacks while preserving main task accuracy better than differential privacy or gradient sparsification.
In a vertical federated learning (VFL) scenario where features and model are split into different parties, communications of sample-specific updates are required for correct gradient calculations but can be used to deduce important sample-level label information. An immediate defense strategy is to protect sample-level messages communicated with Homomorphic Encryption (HE), and in this way only the batch-averaged local gradients are exposed to each party (termed black-boxed VFL). In this paper, we first explore the possibility of recovering labels in the vertical federated learning setting with HE-protected communication, and show that private labels can be reconstructed with high accuracy by training a gradient inversion model. Furthermore, we show that label replacement backdoor attacks can be conducted in black-boxed VFL by directly replacing encrypted communicated messages (termed gradient-replacement attack). As it is a common presumption that batch-averaged information is safe to share, batch label inference and replacement attacks are a severe challenge to VFL. To defend against batch label inference attack, we further evaluate several defense strategies, including confusional autoencoder (CoAE), a technique we proposed based on autoencoder and entropy regularization. We demonstrate that label inference and replacement attacks can be successfully blocked by this technique without hurting as much main task accuracy as compared to existing methods.
Motivation & Objective
- To investigate whether private labels can be reconstructed from batch-averaged gradients in black-boxed VFL with HE protection.
- To demonstrate that gradient-replacement backdoor attacks are possible without per-sample gradient access or auxiliary data.
- To develop a practical defense mechanism that prevents label inference and replacement attacks without degrading main task performance.
- To evaluate CoAE, a novel defense based on autoencoders and entropy regularization, against these attacks.
Proposed method
- Proposes a gradient inversion model trained on batch-averaged gradients to reconstruct private labels with high accuracy.
- Introduces the gradient-replacement attack, where an attacker manipulates encrypted gradients to inject backdoors by replacing labels in the batch-level communication.
- Designs Confusional Autoencoder (CoAE), which uses an autoencoder to map true labels into soft, confused labels with entropy regularization to reduce predictability.
- Applies random masking and decryption via a trusted third party (TTP) to preserve privacy during training, as per the black-box VFL protocol.
- Employs entropy regularization in the loss function to increase label confusion, making it harder for attackers to infer true labels from reconstructed distributions.
- Evaluates CoAE in both label inference and backdoor attack scenarios, comparing it to differential privacy and gradient sparsification.
Experimental results
Research questions
- RQ1Can private labels be accurately reconstructed from batch-averaged gradients in a black-boxed VFL system with HE protection?
- RQ2Is it possible to perform effective backdoor attacks in black-boxed VFL by replacing encrypted gradients without per-sample gradient access?
- RQ3How effective is CoAE in blocking label inference and replacement attacks while maintaining high main task accuracy?
- RQ4What is the impact of confusion level and entropy regularization on the robustness of CoAE against gradient inversion attacks?
Key findings
- Label inference attacks achieved over 90% accuracy on multiple datasets using only batch-averaged gradients, even under HE protection.
- The gradient-replacement attack successfully injected backdoors into the model by manipulating encrypted batch-level gradients, without requiring per-sample gradients or auxiliary data.
- CoAE defense reduced label recovery accuracy to near-random levels, effectively blocking inference attacks, while maintaining main task accuracy significantly higher than with differential privacy or gradient sparsification.
- With entropy regularization (λ₂ = 1), the probability distribution of restored labels became diffuse, preventing attackers from reliably mapping samples to true classes.
- The defense was effective even against distributed backdoor attacks with small triggers, outperforming baseline methods in maintaining high main task accuracy under defense.
- When confusion was removed (λ₂ = 0), CoAE failed to block attacks, confirming that entropy regularization is essential for effective confusion.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.