Efficient Availability Attacks against Supervised and Contrastive Learning Simultaneously

Availability attacks can prevent the unauthorized use of private data and commercial datasets by generating imperceptible noise and making unlearnable examples before release. Ideally, the obtained unlearnability prevents algorithms from training usable models. When supervised learning (SL) algorithms have failed, a malicious data collector possibly resorts to contrastive learning (CL) algorithms to bypass the protection. Through evaluation, we have found that most of the existing methods are unable to achieve both supervised and contrastive unlearnability, which poses risks to data protection. Different from recent methods based on contrastive error minimization, we employ contrastive-like data augmentations in supervised error minimization or maximization frameworks to obtain attacks effective for both SL and CL. Our proposed AUE and AAP attacks achieve state-of-the-art worst-case unlearnability across SL and CL algorithms with less computation consumption, showcasing prospects in real-world applications.

Paper

References (62)

Scroll for more · 38 remaining

Similar papers

Peer review

Reviewer vjzY6/10 · confidence 4/52024-07-08

Summary

This paper studies the transferability of unlearnable examples (UEs) across different learning paradigms, i.e., supervised learning and self-supervised contrastive learning. Different from existing works including both supervised UE generation methods and hybrid methods, this paper argues that strong data augmentations with supervised learning are sufficient for unsupervised unlearnability. It then proposes two strong data augmentations equipped UE generation methods AUE (with standard training) and AAP (with adversarial training). The two proposed methods demonstrate certain superiority over the existing methods on low- and high-resolution datasets.

Strengths

1. The proposed methods are extremely efficient than contrastive learning involving UE generation methods. It leverages supervised learning with strong data augmentation to achieve unsupervised unlearnability against contrastive learning. 2. The proposed method is simple but effective. The revealed finding that strong data augmentation is important for contrastive learning is interesting. 3. Extensive experiments confirmed the capability and efficiency of the proposed attacks.

Weaknesses

1. The alignment and uniformity metrics are all from existing works, which lowers the novelty of the finding in Table 1: "contrastive unlearnability is highly related to huge alignment and uniformity gaps". And the two proposed methods have little to do with the two gaps? 2. While the finding that "supervised learning with strong data augmentation can achieve unsupervised unlearnability" is interesting, the two proposed methods have limited technical novelty. In other words, they do not explore the power of data augmentation more systematically. The current mechanism is very ad-hoc. 3. The performance difference (AUE vs AAP) between low- vs high-resolution datasets is intriguing. AAP targets adversarial training exploitation, so why it should perform better or worse than AUE against contrastive learning? Does contrastive learning have anything to do with adversarial training?

Questions

1. Should the worst-case unlearnability contain other learning paradigms rather than just supervised learning and contrastive learning? For example, MAE or autoregressive pretraining. We cannot enumerate all training paradigms. 2. Why data augmentation is so important for obtaining unsupervised unlearnability, what if there are non-data-augmention-based unsupervised learning methods? -------- Post rebuttal: I have increased my rating according to the authors' responses.

Rating

6

Confidence

4

Soundness

2

Presentation

3

Contribution

3

Limitations

The technical novelty of this work is somewhat limited.

Reviewer J4Hn6/10 · confidence 3/52024-07-12

Summary

This paper explores efficient availability attacks that target both supervised and contrastive learning algorithms simultaneously. The authors propose two attack methods, named AUE (Augmented Unlearnable Examples) and AAP (Augmented Adversarial Poisoning), which utilize enhanced data augmentations to craft effective poisoning attacks. These methods achieve state-of-the-art unlearnability with reduced computational demands, showing promise for practical applications. The paper evaluates the effectiveness of these attacks across multiple datasets and demonstrates their superiority over existing methods in achieving worst-case unlearnability while handling high-resolution datasets efficiently.

Strengths

- The motivation behind the study is sound, as it addresses an important gap in existing methods, which are unable to achieve unlearnability for both supervised and contrastive learning. This realization underscores the need to explore techniques that can simultaneously achieve supervised and contrastive unlearnability. - The two proposed attack methods, AAP (Augmented Adversarial Poisoning) and AUE (Augmented Unlearnable Examples), are presented as simple yet effective. - The experiments conducted are comprehensive and robust.

Weaknesses

- While the motivation is justified, the technical contributions could be considered direct. Integrating data augmentation into the generation of poisons is a straightforward approach, which may not reflect a non-trivial technical contribution. - The methods lack theoretical analysis, which raises questions about the guaranteed effectiveness of data augmentation in all scenarios. Additionally, there is no explanation of why data augmentation works effectively or if it completely addresses the issue at hand through augmentation alone.

Questions

What is the biggest challenge in this work?

Rating

6

Confidence

3

Soundness

3

Presentation

3

Contribution

2

Limitations

None

Reviewer J4Hn2024-08-14

I appreciate the authors' response. My concerns regarding the theoretical analysis and technical contributions have been mostly addressed. I would like to raise my score accordingly.

Reviewer 5WZD6/10 · confidence 4/52024-07-12

Summary

This paper claims to introduce a threat scenario where the adversary may use contrastive learning to bypass the unlearnable examples that are crafted only for supervised learning. In this threat model, the authors showcase that previous works on unlearnable examples crafted only for supervised learning may fall short of contrastive learning. Based on this observation, the authors propose a new approach that considers both supervised and contrastive learning when generating unlearnable examples. The proposed approach is also efficient due to the augmentation adopted augmentation strategies. Extensive experiments show that the proposed method is effective in this new threat scenario.

Strengths

The paper is clearly presented. The proposed approach is efficient thanks to the augmentation strategies that imitate the CL. As a consequence, AUE and AAP are also easily scalable to practical datasets, like ImageNet subsets. The authors provided a very complete analysis to evaluate the proposed methods, including discussions on limitations and performance under different defenses. It provides a relatively complete understanding of the proposed approaches in different threat scenarios.

Weaknesses

The introduced topic is interesting but also limited. The authors point out that there is a lack of unlearnable approaches that are effective against both supervised learning (SL) and contrastive learning (CL). This observation is not fully novel, since CP, TP, and TUE have similar observations and are effective in most cases against both types of learning. For example, CP is an approach that is designed for contrastive learning but is also effective against supervised learning. I would suggest that the author could tone down the claims that hint at this observation as a novel finding. The main contribution of this work is to employ both SL and CL losses in the generation of unlearnable examples, including augmentations that imitate the CL in the SL scenario. The proposed approaches show better average and worst-case performance, but the improvement is incremental, according to Table 3 and Table 4. I would suggest that the authors could provide a deeper and more detailed analysis of the difference between SL and CL unlearnable examples by conducting more ablation studies on the augmentation strategies. The working mechanism behind the augmentation strategies is of interest to the research community.

Questions

Please motivate the threat scenario where the proposed unlearnable examples are necessary. Further analysis of the augmentation strategies could be clarified.

Rating

6

Confidence

4

Soundness

3

Presentation

3

Contribution

2

Limitations

The authors have discussed most limitations adequately.

Reviewer 61jU5/10 · confidence 3/52024-07-13

Summary

This paper aims to address the issue of effectively conducting availability attacks on both supervised learning (SL) and contrastive learning (CL) algorithms. Specifically, the paper highlights that existing methods fail to simultaneously achieve "unlearnability" for both SL and CL, posing risks to data protection. To tackle this challenge, the paper proposes a novel approach that employs contrastive-like data augmentation within the supervised learning framework to execute effective attacks on both SL and CL.

Strengths

1. The proposed methods achieve better efficiency and Pareto improvement for both the SL and CL tasks. 2. the first work that demonstrates adding contrastive augmentation resilience with an SL-based surrogate can fool CL-based models.

Weaknesses

1. The proposed AUE and AAP are all brittle under diffusion-based purification, which limits the practical usage of unlearnable examples in the real world. 2. Lack of discussion and comparison with recent work [1] that leverages CLIP latent as guidance for crafting transferable and label-agnostic perturbation, which could potentially achieve efficient perturbation crafting for both SL and CL tasks. 3. The results in Table 3 show that the proposed methods did not consistently outperform other methods under different SL and CL settings, which makes the stability of improvement questionable. 4. This work essentially works by crafting perturbation that resilience to augmentations for both supervised learning and contrastive learning, which is a conceptually simple extension of the transformation augmentation technique in REM [2]. One of the fundamental limitations of such a direction is that unauthorized trainer might leverage stronger transformations like super-resolution or diffusion-based augmentation [3] in their training pipeline. Typos: Line 20: Change "particular, Huang et al. [20] reduces" to "particular, Huang et al. [20] reduced." Ref. [1]. One for All: A Universal Generator for Concept Unlearnability via Multi-Modal Alignment, ICML'24 [2]. Robust Unlearnable Examples: Protecting Data Against Adversarial Learning, ICLR'22' [3]. DiffAug: Enhance Unsupervised Contrastive Learning with Domain-Knowledge-Free Diffusion-based Data Augmentation, ICML'24

Questions

Nowadays, one of the most popular ways to build classifiers is to leverage CLIP as a feature encoder with or without additional head to do classification. Is the perturbation crafted from AUE and AAP transferable to this setting?

Rating

5

Confidence

3

Soundness

3

Presentation

3

Contribution

3

Limitations

Yes

Reviewer 61jU2024-08-07

Thank you for your detailed response

Thank you for your detailed response. Your response addresses most of my concerns. I will raise my score. But I am still looking forward to seeing the perturbation against DiffAug experiments, since, as you mention, it's a fundamental challenge in this field.

Authorsrebuttal2024-08-13

Discussion about DiffAug

Thank you for acknowledging our work. We will address your concern about DiffAug through additional experimental results. Since DiffAug's public repository only contains code for biology datasets, we sent emails to the authors requesting official implementations for vision tasks. Unfortunately, we have not received a response so far. Consequently, based on the paper and the existing code, we did our best to reproduce DiffAug on CIFAR-10. We used a ResNet-18 as the encoder backbone and a UNet as the diffusion backbone. We train the DiffAug on clean/poisoned training data and then perform linear probing upon the encoder. The following table shows the test accuracy. **Our attacks successfully transfer to DiffAug**. Specifically, compared to the non-attack case, AUE and AAP attacks reduce the test accuracy by 46.44% and 50.48% respectively. | Clean | AUE | AAP | |-------|-----|-----| | 81.88 |35.44|31.40| In summary, although DiffAug incorporates diffusion-based data augmentation in contrastive learning, our proposed attacks are still effective against it.

Reviewer 61jU2024-08-13

Thank you for your detailed response and the effort in testing against DiffAug. Did you test the attack performance against more typical diffusion purification approaches like those SDEdit-based or super-resolution-based [1,2,3]? [1]. Diffusion Models for Adversarial Purification, ICML'22 [2]. Black-box Backdoor Defense via Zero-shot Image Purification, NeurIPS'23 [3]. Pixel is a Barrier: Diffusion Models Are More Adversarially Robust Than We Think

Authorsrebuttal2024-08-13

Thank you for sharing the recent papers. We have not tested them. In the future version, we will discuss them in more detail in the relevant sections.

Reviewer vjzY2024-08-08

Thanks for the clarification

Thanks. Most of my concerns have been addressed, thus I increase my rating to 6.

Reviewer 5WZD2024-08-09

Thank the authors for your detailed clarifications and additional analysis. I appreciate all of your efforts. I still have one concern regarding the "enhanced augmentations". In Figure 1 (b) of the rebuttal, does it suggest that both annealing and tempering are not critical for the unlearnable CL? Could you please further motivate your choices? To make it more specific, in line209 of the draft: "In other words, supervised error-minimizing noises with enhanced data augmentations can partially replace the functionality of contrastive error-minimizing noises to deceive contrastive learning." Could you further clarify the enhanced augmentation and motivate it?

Authorsrebuttal2024-08-10

Further clarification

Thanks for your response to our rebuttal! We will further clarify our method and the motivation of it in detail. **[1] Motivation of augmentation enhancement** To make clear our motivation, we first revisit the mechanism of error-minimization and then clarify the motivation and the statement in Line 209. - **Mechanism of error-minimization** In Equations (2,4) of our paper, error-minimization refers to a min-min optimization of an objective (SL or CL) loss with respect to weights and perturbations. It aims to generate perturbed data that can be extremely easily optimized by the cross-entropy loss for SL or by InfoNCE loss for CL. As a result, this characteristic of poisoned data, which makes the loss function converge easily, leads to a model that only learns the fraudulent synthetic patterns from perturbations and fails to learn the true ground-truth data distribution during training. For example, in Figure 7 of our paper, we closely examine the training process on poisoned data and find it converging rapidly. - **Motivation of our method and the statement in Line 209** To obtain unlearnability for CL, the existing path is contrastive error-minimization (CP, TUE, TP) based on the CL training process. In this paper, we aim to provide a solution based on the SL training process which is more efficient. Recall that Equation (2) differs from Equation (4) with the loss function choice, say, SL loss vs. CL loss. Our **key insight** is, that using contrastive augmentation in SL loss and optimizing it can implicitly reduce the CL loss to some extent, as shown in Figure 4. (More empirical observations and theoretical analysis about this have been discussed in Section 4.1 and Appendix E.) Thus, for our proposed AUE attack, while it appears to be performing supervised error minimization, it is also carrying out contrastive error minimization. That is, as stated in **Line 209**, the enhanced data augmentation allows supervised error-minimization to partially serve the role of contrastive error-minimization. We verify this claim in Figure 5(a) of our paper, in which the InfoNCE loss during training on AUE poisoned data is largely reduced, achieving a similar effect of contrastive error-minimization. **[2] Implementation schemes of augmentation in our attacks** - **Augmentations in SL and CL** CL typically uses more and stronger data augmentations compared to SL. Specifically, SL generally relies on simpler augmentations like cropping and flipping, whereas contrastive learning incorporates more advanced techniques such as color jittering, grayscale, and others. SL-based attacks typically leverage the mild data augmentation used in supervised learning. - **Default constant strength scheme** To enhance the contrastive unlearnability of SL-based attacks, we replace the data augmentation with contrastive augmentation and adjust the intensity of augmentation through a strength parameter, as shown in Appendix C.2, Code Listing 1. By default, we fix the augmentation strength as a constant value in the generation of AUE and AAP attacks, as discussed in Appendix D.4. Comprehensive experiments show that our attacks are both effective and efficient against SL and CL simultaneously. - **Annealing and tempering schemes** In the previous rebuttal, besides the constant augmentation scheme, we also try annealing and tempering schemes. These two dynamic choices are inspired by [1], which proposes that annealing down augmentation strength is beneficial for adversarial contrastive learning. We want to see if dynamic schemes also benefit our problem. As shown in Figure 1 of our rebuttal, on CIFAR-10, the improvement of a particularly selected alternative scheme is marginal compared to the default one. Therefore, we believe that the **decisive factor** in our method is the contrastive augmentation itself, rather than the choice between constant and dynamic schemes for the augmentation. [1] Luo R, Wang Y, Wang Y. Rethinking the effect of data augmentation in adversarial contrastive learning. ICLR 2023. We hope our reply makes things more clear. Feel free to let us know if you still have concerns.

Program Chairsdecision2024-09-25

Decision

Accept (poster)

© 2026 NYSGPT2525 LLC