Augmentation-aware Self-supervised Learning with Conditioned Projector

Marcin Przewięźlikowski, Mateusz Pyla, Bartosz Zieliński, Bartłomiej Twardowski, Jacek Tabor +1 more
5/31/2023
7 citations
cs.CVcs.LG
contrastive-ssl

Official code: gmum/CASSLE (7 stars, Python, PyTorch, last commit 2025-09-30).

Abstract

Self-supervised learning (SSL) is a powerful technique for learning from unlabeled data. By learning to remain invariant to applied data augmentations, methods such as SimCLR and MoCo can reach quality on par with supervised approaches.

Show full abstract

However, this invariance may be detrimental for solving downstream tasks that depend on traits affected by augmentations used during pretraining, such as color. In this paper, we propose to foster sensitivity to such characteristics in the representation space by modifying the projector network, a common component of self-supervised architectures. Specifically, we supplement the projector with information about augmentations applied to images. For the projector to take advantage of this auxiliary conditioning when solving the SSL task, the feature extractor learns to preserve the augmentation information in its representations. Our approach, coined Conditional Augmentation-aware Self-supervised Learning (CASSLE), is directly applicable to typical joint-embedding SSL methods regardless of their objective functions. Moreover, it does not require major changes in the network architecture or prior knowledge of downstream tasks. In addition to an analysis of sensitivity towards different data augmentations, we conduct a series of experiments, which show that CASSLE improves over various SSL methods, reaching state-of-the-art performance in multiple downstream tasks.

View on arXivView PDF

Code Implementations(1)

gmum/CASSLEOfficial100%
PyTorch

Official implementation of "Augmentation-aware Self-supervised Learning with Conditioned Projector"

70PythonMay 31, 20231 years ago
barlow-twinsbarlowtwinscomputer-visionmachine-learningmoco-v2+6 more

Similar Papers

Cite this paper

@article{przewilikowski2023augmentationaware,
  title  = {Augmentation-aware Self-supervised Learning with Conditioned Projector},
  author = {Marcin Przewięźlikowski and Mateusz Pyla and Bartosz Zieliński and Bartłomiej Twardowski and Jacek Tabor and Marek Śmieja},
  year   = {2023},
  eprint = {2306.06082},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2306.06082v4}
}

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/2306.06082.svg)](https://codeofpaper.com/paper/2306.06082)

Discussion