paper-with-me

홈 › Papers

Quantifying and Mitigating Privacy Risks of Contrastive Learning

2021-02-08 · Xinlei He, Yang Zhang

Data is the key factor to drive the development of machine learning (ML) during the past decade. However, high-quality data, in particular labeled data, is often hard and expensive to collect. To leverage large-scale unlabeled data, self-supervised learning, represented by contrastive learning, is introduced. The objective of contrastive learning is to map different views derived from a training sample (e.g., through data augmentation) closer in their representation space, while different views derived from different samples more distant. In this way, a contrastive model learns to generate informative representations for data samples, which are then used to perform downstream ML tasks. Recent research has shown that machine learning models are vulnerable to various privacy attacks. However, most of the current efforts concentrate on models trained with supervised learning. Meanwhile, data samples' informative representations learned with contrastive learning may cause severe privacy risks as well. In this paper, we perform the first privacy analysis of contrastive learning through the lens of membership inference and attribute inference. Our experimental results show that contrastive models trained on image datasets are less vulnerable to membership inference attacks but more vulnerable to attribute inference attacks compared to supervised models. The former is due to the fact that contrastive models are less prone to overfitting, while the latter is caused by contrastive models' capability of representing data samples expressively. To remedy this situation, we propose the first privacy-preserving contrastive learning mechanism, Talos, relying on adversarial training. Empirical results show that Talos can successfully mitigate attribute inference risks for contrastive models while maintaining their membership privacy and model utility.

📄 PDF Abstract BibTeX arXiv:2102.04140

Code (1)

xinleihe/contrastiveleaks 공식 구현 pytorch

Tasks

AttributeBIG-bench Machine LearningContrastive LearningData AugmentationPrivacy PreservingSelf-Supervised Learning

Methods 이 논문이 사용한 방법론

Contrastive Learning 설명 없음

Similar Papers 제목 키워드 기반

Quantifying and Mitigating Privacy Risks for Tabular Generative Models

2024-03-12 · Chaoyi Zhu, Jiayi Tang, Hans Brouwer, Juan F. Pérez 외

Synthetic data from generative models emerges as the privacy-preserving data-sharing solution. Such a synthetic data set shall resemble the original data without revealing identifiable private information. The backbone t…

Privacy Preserving

On the Fairness of Privacy Protection: Measuring and Mitigating the Disparity of Group Privacy Risks for Differentially Private Machine Learning

2025-10-10 · Zhi Yang, Changwu Huang, Ke Tang, Xin Yao arxiv

While significant progress has been made in conventional fairness-aware machine learning (ML) and differentially private ML (DPML), the fairness of privacy protection across groups remains underexplored. Existing studies…

Privy: Envisioning and Mitigating Privacy Risks for Consumer-facing AI Product Concepts

2025-09-27 · Hao-Ping Lee, Yu-Ju Yang, Matthew Bilik, Isadora Krsek 외 arxiv

AI creates and exacerbates privacy risks, yet practitioners lack effective resources to identify and mitigate these risks. We present Privy, a tool that guides practitioners without privacy expertise through structured p…

When Better Features Mean Greater Risks: The Performance-Privacy Trade-Off in Contrastive Learning

2025-06-06 · Ruining Sun, Hongsheng Hu, Wei Luo, Zhaoxi Zhang 외

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. H…

Contrastive LearningInference AttackMembership Inference AttackSelf-Supervised Learning

SoK: Privacy Risks and Mitigations in Retrieval-Augmented Generation Systems

2026-01-07 · Andreea-Elena Bodea, Stephen Meisenbacher, Alexandra Klymenko, Florian Matthes arxiv

The continued promise of Large Language Models (LLMs), particularly in their natural language understanding and generation capabilities, has driven a rapidly increasing interest in identifying and developing LLM use case…

Natural Language Understanding