When Better Features Mean Greater Risks: The Performance-Privacy Trade-Off in Contrastive Learning
On the map: LLM safety and security → Membership inference attacks
Abstract (arXiv)
With the rapid advancement of deep learning technology, pre-trained encoder models have demonstrated exceptional feature extraction capabilities, playing a pivotal role in the research and application of deep learning. However, their widespread use has raised significant concerns about the risk of training data privacy leakage. This paper systematically investigates the privacy threats posed by membership inference attacks (MIAs) targeting encoder models, focusing on contrastive learning frameworks. Through experimental analysis, we reveal the significant impact of model architecture complexity on membership privacy leakage: As more advanced encoder frameworks improve feature-extraction performance, they simultaneously exacerbate privacy-leakage risks. Furthermore, this paper proposes a novel membership inference attack method based on the p-norm of feature vectors, termed the Embedding Lp-Norm Likelihood Attack (LpLA). This method infers membership status, by leveraging the statistical distribution characteristics of the p-norm of feature vectors. Experimental results across multiple datasets and model architectures demonstrate that LpLA outperforms existing methods in attack performance and robustness, particularly under limited attack knowledge and query volumes. This study not only uncovers the potential risks of privacy leakage in contrastive learning frameworks, but also provides a practical basis for privacy protection research in encoder models. We hope that this work will draw greater attention to the privacy risks associated with self-supervised learning models and shed light on the importance of a balance between model utility and training data privacy. Our code is publicly available at: https://github.com/SeroneySun/LpLA_code.
Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Placed in Membership inference attacks, one of 12 directions in LLM safety and security. Builds on 35 of its 47 references that are in the map. First posted on arXiv 6 Jun 2025.
Builds on
35 of 47 references.
Closest ancestors · 8
Same direction, newest first
- 2024Membership Inference Attack Against Masked Image Modeling13 Aug
- 2024A Unified Membership Inference Method for Visual Self-supervised Encoder via Part-aware Capability3 Apr
- 2022Similarity Distribution based Membership Inference Attack on Person Re-identification29 Nov
- 2022Evaluating Membership Inference Through Adversarial Robustness14 May
- 2022l-Leaks: Membership Inference Attacks with Logits13 May
- 2021Membership Inference Attacks From First Principles7 Dec
- 2021EncoderMI: Membership Inference against Pre-trained Encoders in Contrastive Learning25 Aug
- 2021Membership Inference Attacks on Machine Learning: A Survey14 Mar
Other references · 27
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 12,049
- 2019Momentum Contrast for Unsupervised Visual Representation Learningcited by 7,513
- 2020Bootstrap your own latent: A new approach to self-supervised Learningcited by 4,750
- 2020Exploring Simple Siamese Representation Learningcited by 2,866
- 2020Unsupervised Learning of Visual Features by Contrasting Cluster Assignmentscited by 2,857
- 2021BEiT: BERT Pre-Training of Image Transformerscited by 2,375
- 2020Improved Baselines with Momentum Contrastive Learningcited by 2,287
- 2018Unsupervised Feature Learning via Non-Parametric Instance-level Discriminationcited by 1,845
- 2021An Empirical Study of Training Self-Supervised Vision Transformerscited by 1,616
- 2018Unsupervised Representation Learning by Predicting Image Rotationscited by 1,591
- 2019Deep Leakage from Gradientscited by 1,021
15 more
- 2021iBOT: Image BERT Pre-Training with Online Tokenizercited by 903
- 2018Exploiting Unintended Feature Leakage in Collaborative Learningcited by 520
- 2018ML-Leaks: Model and Data Independent Membership Inference Attacks and Defenses on Machine Learning Modelscited by 498
- 2020Systematic Evaluation of Privacy Risks of Machine Learning Modelscited by 292
- 2020Information Leakage in Embedding Modelscited by 203
- 2019Scaling and Benchmarking Self-Supervised Visual Representation Learningcited by 201
- 2017Colorization as a Proxy Task for Visual Understandingcited by 175
- 2020Membership Leakage in Label-Only Exposurescited by 168
- 2022Truth Serum: Poisoning Machine Learning Models to Reveal Their Secretscited by 101
- 2020An Overview of Privacy in Machine Learningcited by 39
- 2017Improvements to context based self-supervised learningcited by 32
- 2022SNAP: Efficient Extraction of Private Properties with Poisoningcited by 31
- 2021Membership Inference Attacks on Deep Regression Models for Neuroimagingcited by 22
- 2021Self-Supervised Adversarial Example Detection by Disentangled Representationcited by 7
- 2023Masked Language Model Based Textual Adversarial Example Detectioncited by 5
Built on by
Citing papers per year: 2025: 1; 2026: 2.
3 papers.
Similar, not cited
Close in wording, no citation either way
- 2025Evaluating the Dynamics of Membership Privacy in Deep Learning
- 2025Membership Inference Attacks on Large-Scale Models: A Survey
- 2025Empirical Comparison of Membership Inference Attacks in Deep Transfer Learning
- 2022On the Privacy Effect of Data Enhancement via the Lens of Memorization
- 2022Membership Inference Attacks via Adversarial Examples
- 2026A Critical Review on the Effectiveness and Privacy Threats of Membership Inference Attacks
- 2025Membership Inference Attacks as Privacy Tools: Reliability, Disparity and Ensemble
- 2022Leveraging Adversarial Examples to Quantify Membership Information Leakage