Lune

ICLR2023Top-tier venue

Temperature Schedules for self-supervised contrastive methods on long-tail data

Anna Kukleva, Moritz Böhle, Bernt Schiele, Hilde Kuehne, Christian Rupprecht

Abstract

Most approaches for self-supervised learning (SSL) are optimised on curated balanced datasets, e.g. ImageNet, despite the fact that natural data usually exhibits long-tail distributions. In this paper, we analyse the behaviour of one of the most popular variants of SSL, i.e. contrastive methods, on long-tail data. In particular, we investigate the role of the temperature parameter ττ in the contrastive loss, by analysing the loss through the lens of average distance maximisation, and find that a large ττ emphasises group-wise discrimination, whereas a small ττ leads to a higher degree of instance discrimination. While ττ has thus far been treated exclusively as a constant hyperparameter, in this work, we propose to employ a dynamic ττ and show that a simple cosine schedule can yield significant improvements in the learnt representations. Such a schedule results in a constant `task switching' between an emphasis on instance discrimination and group-wise discrimination and thereby ensures that the model learns both group-wise features, as well as instance-specific details. Since frequent classes benefit from the former, while infrequent classes require the latter, we find this method to consistently improve separation between the classes in long-tail data without any additional computational cost.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

15 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Unsupervised Learning of Visual Features by Contrasting Cluster Assignments cites A Simple Framework for Contrastive Learning of Visual Representations
  • Big Self-Supervised Models are Strong Semi-Supervised Learners cites A Simple Framework for Contrastive Learning of Visual Representations
  • Big Self-Supervised Models are Strong Semi-Supervised Learners cites Bootstrap Your Own Latent - A New Approach to Self-Supervised Learning
  • Bootstrap Your Own Latent - A New Approach to Self-Supervised Learning cites Big Self-Supervised Models are Strong Semi-Supervised Learners
  • Bootstrap Your Own Latent - A New Approach to Self-Supervised Learning cites A Simple Framework for Contrastive Learning of Visual Representations
  • Combating Representation Learning Disparity with Geometric Harmonization cites Unsupervised Learning of Visual Features by Contrasting Cluster Assignments
  • Combating Representation Learning Disparity with Geometric Harmonization cites A Simple Framework for Contrastive Learning of Visual Representations
  • Combating Representation Learning Disparity with Geometric Harmonization cites Barlow Twins: Self-Supervised Learning via Redundancy Reduction
  • Model-Aware Contrastive Learning: Towards Escaping the Dilemmas cites Unsupervised Learning of Visual Features by Contrasting Cluster Assignments
  • Model-Aware Contrastive Learning: Towards Escaping the Dilemmas cites A Simple Framework for Contrastive Learning of Visual Representations
  • Model-Aware Contrastive Learning: Towards Escaping the Dilemmas cites Big Self-Supervised Models are Strong Semi-Supervised Learners
  • Model-Aware Contrastive Learning: Towards Escaping the Dilemmas cites Bootstrap Your Own Latent - A New Approach to Self-Supervised Learning
  • Model-Aware Contrastive Learning: Towards Escaping the Dilemmas cites Barlow Twins: Self-Supervised Learning via Redundancy Reduction
  • β-DPO: Direct Preference Optimization with Dynamic β cites Model-Aware Contrastive Learning: Towards Escaping the Dilemmas
  • Barlow Twins: Self-Supervised Learning via Redundancy Reduction cites Unsupervised Learning of Visual Features by Contrasting Cluster Assignments
  • Barlow Twins: Self-Supervised Learning via Redundancy Reduction cites A Simple Framework for Contrastive Learning of Visual Representations
  • Barlow Twins: Self-Supervised Learning via Redundancy Reduction cites Bootstrap Your Own Latent - A New Approach to Self-Supervised Learning
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers15

  1. β-DPO: Direct Preference Optimization with Dynamic βJunkang Wu, Yuexiang Xie, Zhengyi Yang, Jiancan Wu et al.NeurIPS 2024 · 114 citations
  2. DomainAdaptor: A Novel Approach to Test-time AdaptationJian Zhang, Lei Qi, Yinghuan Shi, Yang GaoICCV 2023 · 31 citations
  3. Combating Representation Learning Disparity with Geometric HarmonizationZhihan Zhou, Jiangchao Yao, Feng Hong, Ya Zhang et al.NeurIPS 2023 · 20 citations
  4. Model-Aware Contrastive Learning: Towards Escaping the DilemmasZizheng Huang, Haoxing Chen, Ziqi Wen, Chao Zhang et al.ICML 2023 · 15 citations
  5. BSL: Understanding and Improving Softmax Loss for RecommendationJunkang Wu, Jiawei Chen, Jiancan Wu, Wentao Shi et al.ICDE 2024 · 11 citations

Builds on37

  1. A Simple Framework for Contrastive Learning of Visual RepresentationsTing Chen, Simon Kornblith, Mohammad Norouzi, Geoffrey E. HintonICML 2020 · 24,064 citations
  2. Bootstrap Your Own Latent - A New Approach to Self-Supervised LearningJean-Bastien Grill, Florian Strub, Florent Altché, Corentin Tallec et al.NeurIPS 2020 · 9,171 citations
  3. Unsupervised Learning of Visual Features by Contrasting Cluster AssignmentsMathilde Caron, Ishan Misra, Julien Mairal, Priya Goyal et al.NeurIPS 2020 · 5,249 citations
  4. Barlow Twins: Self-Supervised Learning via Redundancy ReductionJure Zbontar, Li Jing, Ishan Misra, Yann LeCun et al.ICML 2021 · 2,942 citations
  5. Big Self-Supervised Models are Strong Semi-Supervised LearnersTing Chen, Simon Kornblith, Kevin Swersky, Mohammad Norouzi et al.NeurIPS 2020 · 2,611 citations

Related papers

  1. Exploring Balanced Feature Spaces for Representation LearningBingyi Kang, Yu Li, Sa Xie, Zehuan Yuan et al.ICLR 2021 · 296 citations
  2. On the Effectiveness of Out-of-Distribution Data in Self-Supervised Long-Tail LearningJianhong Bai, Zuozhu Liu, Hualiang Wang, Jin Hao et al.ICLR 2023 · 6 citations
  3. Not All Semantics are Created Equal: Contrastive Self-supervised Learning with Automatic Temperature IndividualizationZi-Hao Qiu, Quanqi Hu, Zhuoning Yuan, Denny Zhou et al.ICML 2023 · 29 citations
  4. Subclass-balancing Contrastive Learning for Long-tailed RecognitionChengkai Hou, Jieyu Zhang, Haonan Wang, Tianyi ZhouICCV 2023 · 50 citations
  5. Self-supervised Learning is More Robust to Dataset ImbalanceHong Liu, Jeff Z. HaoChen, Adrien Gaidon, Tengyu MaICLR 2022 · 190 citations
Dusk over the sea between two cliffs drawn in fine vertical lines