Quantifying and Mitigating Privacy Risks of Contrastive Learning

被引:16
作者
He, Xinlei [1 ]
Zhang, Yang [1 ]
机构
[1] CISPA Helmholtz Ctr Informat Secur, Saarbrucken, Germany
来源
CCS '21: PROCEEDINGS OF THE 2021 ACM SIGSAC CONFERENCE ON COMPUTER AND COMMUNICATIONS SECURITY | 2021年
关键词
contrastive learning; membership inference attacks; attribute inference attacks; privacy-preserving machine learning;
D O I
10.1145/3460120.3484571
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
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.(1)
引用
收藏
页码:845 / 863
页数:19
相关论文
共 67 条
  • [1] Biggio Battista, 2013, Machine Learning and Knowledge Discovery in Databases. European Conference, ECML PKDD 2013. Proceedings: LNCS 8190, P387, DOI 10.1007/978-3-642-40994-3_25
  • [2] Towards Evaluating the Robustness of Neural Networks
    Carlini, Nicholas
    Wagner, David
    [J]. 2017 IEEE SYMPOSIUM ON SECURITY AND PRIVACY (SP), 2017, : 39 - 57
  • [3] Carlini Nicholas, 2020, ABS201207805 CORR
  • [4] GAN-Leaks: A Taxonomy of Membership Inference Attacks against Generative Models
    Chen, Dingfan
    Yu, Ning
    Zhang, Yang
    Fritz, Mario
    [J]. CCS '20: PROCEEDINGS OF THE 2020 ACM SIGSAC CONFERENCE ON COMPUTER AND COMMUNICATIONS SECURITY, 2020, : 343 - 362
  • [5] Chen Min, 2005, ABS202002205 CORR
  • [6] Chen T, 2020, PR MACH LEARN RES, V119
  • [7] Choo Christopher A. Choquette, 2020, ABS200714321 CORR
  • [8] Coates A., 2011, P 14 INT C ART INT S, P215
  • [9] Coavoux M, 2018, 2018 CONFERENCE ON EMPIRICAL METHODS IN NATURAL LANGUAGE PROCESSING (EMNLP 2018), P1
  • [10] Edwards Harrison, INT C LEARN REPR ICL