# Self-Damaging Contrastive Learning

Source: [Self-Damaging Contrastive Learning](<https://www.sota2.com/research/paper/68fa6a221e209131cea263d6>)

Collection index: [llms.txt](<https://www.sota2.com/research/llms.txt>)

Data updated: 2025-10-28T13:56:48.233Z

Authors: Ziyu Jiang, Tianlong Chen, Bobak Mortazavi, Zhangyang Wang

Published: 2021-06-06T00:04:49.000Z

## Abstract

The recent breakthrough achieved by contrastive learning accelerates the pace for deploying unsupervised training on real-world data applications. However, unlabeled data in reality is commonly imbalanced and shows a long-tail distribution, and it is unclear how robustly the latest contrastive learning methods could perform in the practical scenario. This paper proposes to explicitly tackle this challenge, via a principled framework called Self-Damaging Contrastive Learning (SDCLR), to automatically balance the representation learning without knowing the classes. Our main inspiration is drawn from the recent finding that deep models have difficult-to-memorize samples, and those may be exposed through network pruning. It is further natural to hypothesize that long-tail samples are also tougher for the model to learn well due to insufficient examples. Hence, the key innovation in SDCLR is to create a dynamic self-competitor model to contrast with the target model, which is a pruned version of the latter. During training, contrasting the two models will lead to adaptive online mining of the most easily forgotten samples for the current target model, and implicitly emphasize them more in the contrastive loss. Extensive experiments across multiple datasets and imbalance settings show that SDCLR significantly improves not only overall accuracies but also balancedness, in terms of linear evaluation on the full-shot and few-shot settings. Our code is available at: https://github.com/VITA-Group/SDCLR.

## Recorded benchmark results

A research result applies to its stated dataset, split, metric and evaluation configuration. Compare like-for-like settings, preserve the metric's unit and direction, and distinguish paper-reported results from independent reproduction. The best result recorded here is not a claim of exhaustive, current global coverage.

- [Image Classification on Cifar100-LT exponential](<https://www.sota2.com/research/sota/image-classification-on-cifar100-lt-exponential.md>): Image Classification; Cifar100-LT exponential; Accuracy: 54.94.

- [Image Classification on Cifar10-LT exponential](<https://www.sota2.com/research/sota/image-classification-on-cifar10-lt-exponential.md>): Image Classification; Cifar10-LT exponential; Accuracy: 80.49.

- [Image Classification on ImageNet LT (Sampling Factor Evaluation)](<https://www.sota2.com/research/sota/image-classification-on-imagenet-lt-sampling-factor-evaluation.md>): Image Classification; ImageNet LT; Top-1 Accuracy (s=1.0): 46.62.

## Original sources and implementation

[Original paper](<https://arxiv.org/abs/2106.02990>)

[PDF](<https://arxiv.org/pdf/2106.02990.pdf>)
