The Close Relationship Between Contrastive Learning and Meta-Learning
Renkun Ni, Manli Shu, Hossein Souri, Micah Goldblum, Tom Goldstein
Abstract
Contrastive learning has recently taken off as a paradigm for learning from unlabeled data. In this paper, we discuss the close relationship between contrastive learning and meta-learning under a certain task distribution. We complement this observation by showing that established meta-learning methods, such as Prototypical Networks, achieve comparable performance to SimCLR when paired with this task distribution. This relationship can be leveraged by taking established techniques from meta-learning, such as task-based data augmentation, and showing that they benefit contrastive learning as well. These tricks also benefit state-of-the-art self-supervised learners without using negative pairs such as BYOL, which achieves 94.6% accuracy on CIFAR-10 using a self-supervised ResNet-18 feature extractor trained with our meta-learning tricks. We conclude that existing advances designed for contrastive learning or metalearning can be exploited to benefit the other, and it is better for contrastive learning researchers to take lessons from the meta-learning literature (and viceversa) than to reinvent the wheel. Our Pytorch implementation can be found on: https://github.com/RenkunNi/MetaContrastive
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 7b2cdd32-87b9-4ea0-a94b-d1e43bd1783eCited by top-tier papers5
- Graph Contrastive Learning Meets Graph Meta Learning: A Unified Method for Few-shot Node TasksHao Liu, Jiarui Feng, Lecheng Kong, Dacheng Tao et al.WWW 2024 · 14 citations
- Learning to Learn with Contrastive Meta-ObjectiveShiguang Wu, Yaqing Wang, Yatao Bian, Quanming YaoNeurIPS 2025 · 4 citations
- Low-Rank Few-Shot Node Classification by Node-Level Graph DiffusionYancheng Wang, Chengshuai Zhao, Dongfang Sun, huan liu et al.ICLR 2026
- On the Out-of-Distribution Generalization of Self-Supervised LearningWenwen Qiang, Jingyao Wang, Zeen Song, Jiangmeng Li et al.ICML 2025
- Exploring Transferability of Self-Supervised Learning by Task Conflict CalibrationHuijie Guo, Jingyao Wang, Peizheng Guo, Xingchen Shen et al.AAAI 2026
Builds on15
- A Simple Framework for Contrastive Learning of Visual RepresentationsTing Chen, Simon Kornblith, Mohammad Norouzi, Geoffrey E. HintonICML 2020 · 24,064 citations
- 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
- Emerging Properties in Self-Supervised Vision TransformersMathilde Caron, Hugo Touvron, Ishan Misra, Hervé Jégou et al.ICCV 2021 · 8,921 citations
- Unsupervised Learning of Visual Features by Contrasting Cluster AssignmentsMathilde Caron, Ishan Misra, Julien Mairal, Priya Goyal et al.NeurIPS 2020 · 5,249 citations
- Barlow Twins: Self-Supervised Learning via Redundancy ReductionJure Zbontar, Li Jing, Ishan Misra, Yann LeCun et al.ICML 2021 · 2,942 citations
Related papers
- Self-Supervised Set Representation Learning for Unsupervised Meta-LearningDong Bok Lee, Seanie Lee, Kenji Kawaguchi, Yunji Kim et al.ICLR 2023
- Crafting Better Contrastive Views for Siamese Representation LearningXiangyu Peng, Kai Wang, Zheng Zhu, Mang Wang et al.CVPR 2022 · 107 citations
- Unsupervised Meta-learning via Few-shot Pseudo-supervised Contrastive LearningHuiwon Jang, Hankook Lee, Jinwoo ShinICLR 2023 · 5 citations
- MAML is a Noisy Contrastive Learner in ClassificationChia-Hsiang Kao, Wei-Chen Chiu, Pin-Yu ChenICLR 2022 · 19 citations
- Modality-Agnostic Self-Supervised Learning with Meta-Learned Masked Auto-EncoderHuiwon Jang, Jihoon Tack, Daewon Choi, Jongheon Jeong et al.NeurIPS 2023 · 9 citations
