Taming the Randomness: Towards Label-Preserving Cropping in Contrastive Learning

Mohamed Hassan, Mohammad Wasil, Sebastian Houben
4/28/2025
cs.CV
contrastive-ssl

No confident code implementation found for this paper.

Abstract

Contrastive learning (CL) approaches have gained great recognition as a very successful subset of self-supervised learning (SSL) methods. SSL enables learning from unlabeled data, a crucial step in the advancement of deep learning, particularly in computer vision (CV), given the plethora of unlabeled image data.

Show full abstract

CL works by comparing different random augmentations (e.g., different crops) of the same image, thus achieving self-labeling. Nevertheless, randomly augmenting images and especially random cropping can result in an image that is semantically very distant from the original and therefore leads to false labeling, hence undermining the efficacy of the methods. In this research, two novel parameterized cropping methods are introduced that increase the robustness of self-labeling and consequently increase the efficacy. The results show that the use of these methods significantly improves the accuracy of the model by between 2.7\% and 12.4\% on the downstream task of classifying CIFAR-10, depending on the crop size compared to that of the non-parameterized random cropping method.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{hassan2025taming,
  title  = {Taming the Randomness: Towards Label-Preserving Cropping in Contrastive Learning},
  author = {Mohamed Hassan and Mohammad Wasil and Sebastian Houben},
  year   = {2025},
  eprint = {2504.19824},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2504.19824v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2504.19824.svg)](https://codeofpaper.com/paper/2504.19824)

Discussion