[Paper Review] Is Vertical Logistic Regression Privacy-Preserving? A Comprehensive Privacy Analysis and Beyond
This paper reveals that vertical logistic regression (VLR) in federated learning frameworks relying solely on homomorphic encryption (HE) is vulnerable to label recovery attacks, even under small batch sizes. The authors propose an active attack using auxiliary ciphertext compression to weaken batch size constraints and introduce a differential privacy (DP)-based defense that ensures both privacy and model utility, empirically validated on MNIST and credit datasets.
We consider vertical logistic regression (VLR) trained with mini-batch gradient descent -- a setting which has attracted growing interest among industries and proven to be useful in a wide range of applications including finance and medical research. We provide a comprehensive and rigorous privacy analysis of VLR in a class of open-source Federated Learning frameworks, where the protocols might differ between one another, yet a procedure of obtaining local gradients is implicitly shared. We first consider the honest-but-curious threat model, in which the detailed implementation of protocol is neglected and only the shared procedure is assumed, which we abstract as an oracle. We find that even under this general setting, single-dimension feature and label can still be recovered from the other party under suitable constraints of batch size, thus demonstrating the potential vulnerability of all frameworks following the same philosophy. Then we look into a popular instantiation of the protocol based on Homomorphic Encryption (HE). We propose an active attack that significantly weaken the constraints on batch size in the previous analysis via generating and compressing auxiliary ciphertext. To address the privacy leakage within the HE-based protocol, we develop a simple-yet-effective countermeasure based on Differential Privacy (DP), and provide both utility and privacy guarantees for the updated algorithm. Finally, we empirically verify the effectiveness of our attack and defense on benchmark datasets. Altogether, our findings suggest that all vertical federated learning frameworks that solely depend on HE might contain severe privacy risks, and DP, which has already demonstrated its power in horizontal federated learning, can also play a crucial role in the vertical setting, especially when coupled with HE or secure multi-party computation (MPC) techniques.
Motivation & Objective
- To analyze the privacy risks of vertical logistic regression (VLR) in federated learning frameworks that use homomorphic encryption (HE) for secure computation.
- To investigate whether sensitive information—particularly labels—can be recovered from gradients in VLR under the honest-but-curious threat model.
- To develop a practical active attack that bypasses existing constraints on batch size in label recovery attacks by generating and compressing auxiliary ciphertext.
- To design a lightweight yet effective defense mechanism based on differential privacy (DP) to mitigate privacy leakage in HE-based VLR protocols.
- To empirically validate the effectiveness of both the attack and defense on benchmark datasets, demonstrating the vulnerability of current HE-only VFL systems.
Proposed method
- Abstract the gradient computation phase in VLR as an oracle in the honest-but-curious threat model, focusing on shared protocol behavior rather than implementation details.
- Propose an active attack that generates and compresses auxiliary ciphertexts to reduce the required batch size for successful label recovery, weakening prior assumptions.
- Introduce a DP-based defense by injecting noise into sensitive gradients before communication, ensuring privacy guarantees under differential privacy.
- Formulate the privacy-utility trade-off using DP parameters (ε), showing that even small ε values (e.g., ε = 0.2) preserve model accuracy above 90% on MNIST.
- Use bounded gradient norms (‖θ‖ ≤ 2) to ensure stability and compatibility with DP, with G = 1 as a safety threshold.
- Compare initialization schemes (zero, Xavier, Kaiming) to show that small initialization scales increase vulnerability to label recovery, justifying the need for DP defense.
Experimental results
Research questions
- RQ1Can labels be recovered from gradients in vertical logistic regression when only the gradient oracle is exposed, even under small batch sizes?
- RQ2To what extent can the batch size constraint in label recovery attacks be relaxed using active manipulation of encrypted gradients?
- RQ3Does adding differential privacy to HE-based VLR protocols effectively prevent label recovery while preserving model utility?
- RQ4How do different weight initialization schemes affect the feasibility and success rate of label recovery attacks in VLR?
- RQ5Can a hybrid protocol combining HE and DP achieve stronger privacy guarantees than HE alone in vertical federated learning?
Key findings
- Label recovery attacks achieve 100% success rate on MNIST and credit datasets under zero initialization when using HE-based VLR without defense, even with small batch sizes.
- The proposed active attack via auxiliary ciphertext compression reduces the required batch size for label recovery, making attacks feasible under previously considered infeasible conditions.
- With differential privacy (ε = 0.2), the label recovery success rate drops to approximately 50%, equivalent to random guessing, while test accuracy remains above 90% on MNIST.
- Xavier initialization leads to slower convergence and lower label recovery success rates compared to zero initialization, especially in low-dimensional settings like the credit dataset.
- The norm of model parameters (‖θ‖) remains bounded by 2 throughout training, validating the use of G = 1 in the DP mechanism and ensuring stability.
- Empirical results confirm that HE-only VLR frameworks are vulnerable to inference attacks, and that DP-based defenses are effective in mitigating these risks without sacrificing model utility.
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.