The Trade-off between Universality and Label Efficiency of Representations from Contrastive Learning
Zhenmei Shi, Jiefeng Chen, Kunyang Li, Jayaram Raghuram, Xi Wu, Yingyu Liang, Somesh Jha
Abstract
Pre-training representations (a.k.a. foundation models) has recently become a prevalent learning paradigm, where one first pre-trains a representation using large-scale unlabeled data, and then learns simple predictors on top of the representation using small labeled data from the downstream tasks. There are two key desiderata for the representation: label efficiency (the ability to learn an accurate classifier on top of the representation with a small amount of labeled data) and universality (usefulness across a wide range of downstream tasks). In this paper, we focus on one of the most popular instantiations of this paradigm: contrastive learning with linear probing, i.e., learning a linear predictor on the representation pre-trained by contrastive learning. We show that there exists a trade-off between the two desiderata so that one may not be able to achieve both simultaneously. Specifically, we provide analysis using a theoretical data model and show that, while more diverse pre-training data result in more diverse features for different tasks (improving universality), it puts less emphasis on task-specific features, giving rise to larger sample complexity for down-stream supervised tasks, and thus worse prediction performance. Guided by this analysis, we propose a contrastive regularization method to improve the trade-off. We validate our analysis and method empirically with systematic experiments using real-world datasets and foundation models.
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.
16 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- LoRA: Low-Rank Adaptation of Large Language Models cites Language Models are Few-Shot Learners
- Towards Few-Shot Adaptation of Foundation Models via Multitask Finetuning cites LoRA: Low-Rank Adaptation of Large Language Models
- Towards Few-Shot Adaptation of Foundation Models via Multitask Finetuning cites A Simple Framework for Contrastive Learning of Visual Representations
- Towards Few-Shot Adaptation of Foundation Models via Multitask Finetuning cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Towards Few-Shot Adaptation of Foundation Models via Multitask Finetuning cites A Graph-Theoretic Framework for Understanding Open-World Semi-Supervised Learning
- Towards Few-Shot Adaptation of Foundation Models via Multitask Finetuning cites Language Models are Few-Shot Learners
- Towards Few-Shot Adaptation of Foundation Models via Multitask Finetuning cites Learning Transferable Visual Models From Natural Language Supervision
- Towards Few-Shot Adaptation of Foundation Models via Multitask Finetuning cites Why Larger Language Models Do In-context Learning Differently?
- Why Larger Language Models Do In-context Learning Differently? cites Towards Few-Shot Adaptation of Foundation Models via Multitask Finetuning
- An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale cites A Simple Framework for Contrastive Learning of Visual Representations
- An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale cites Language Models are Few-Shot Learners
- Is A Picture Worth A Thousand Words? Delving Into Spatial Reasoning for Vision Language Models cites Towards Few-Shot Adaptation of Foundation Models via Multitask Finetuning
- Is A Picture Worth A Thousand Words? Delving Into Spatial Reasoning for Vision Language Models cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Is A Picture Worth A Thousand Words? Delving Into Spatial Reasoning for Vision Language Models cites Language Models are Few-Shot Learners
- Is A Picture Worth A Thousand Words? Delving Into Spatial Reasoning for Vision Language Models cites Learning Transferable Visual Models From Natural Language Supervision
- Is A Picture Worth A Thousand Words? Delving Into Spatial Reasoning for Vision Language Models cites Why Larger Language Models Do In-context Learning Differently?
- A Graph-Theoretic Framework for Understanding Open-World Semi-Supervised Learning cites A Simple Framework for Contrastive Learning of Visual Representations
- Tensor Product Attention Is All You Need cites LoRA: Low-Rank Adaptation of Large Language Models
- Tensor Product Attention Is All You Need cites Language Models are Few-Shot Learners
- Learning Transferable Visual Models From Natural Language Supervision cites A Simple Framework for Contrastive Learning of Visual Representations
- Learning Transferable Visual Models From Natural Language Supervision cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Learning Transferable Visual Models From Natural Language Supervision cites Language Models are Few-Shot Learners
- Why Larger Language Models Do In-context Learning Differently? cites Language Models are Few-Shot Learners
Cited by top-tier papers16
- Is A Picture Worth A Thousand Words? Delving Into Spatial Reasoning for Vision Language ModelsJiayu Wang, Yifei Ming, Zhenmei Shi, Vibhav Vineet et al.NeurIPS 2024 · 166 citations
- Why Larger Language Models Do In-context Learning Differently?Zhenmei Shi, Junyi Wei, Zhuoyan Xu, Yingyu LiangICML 2024 · 54 citations
- Tensor Product Attention Is All You NeedYifan Zhang, Yifeng Liu, Huizhuo Yuan, Zhen Qin et al.NeurIPS 2025 · 48 citations
- Towards Few-Shot Adaptation of Foundation Models via Multitask FinetuningZhuoyan Xu, Zhenmei Shi, Junyi Wei, Fangzhou Mu et al.ICLR 2024 · 39 citations
- A Graph-Theoretic Framework for Understanding Open-World Semi-Supervised LearningYiyou Sun, Zhenmei Shi, Yixuan LiNeurIPS 2023 · 38 citations
Builds on35
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
- Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh et al.ICML 2021 · 47,906 citations
- A Simple Framework for Contrastive Learning of Visual RepresentationsTing Chen, Simon Kornblith, Mohammad Norouzi, Geoffrey E. HintonICML 2020 · 24,064 citations
- An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn et al.ICLR 2021 · 21,477 citations
- LoRA: Low-Rank Adaptation of Large Language ModelsEdward J. Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu et al.ICLR 2022 · 18,833 citations
Related papers
- A Generalization Theory for Zero-Shot PredictionRonak Mehta, Zaïd HarchaouiICML 2025
- On the Provable Advantage of Unsupervised PretrainingJiawei Ge, Shange Tang, Jianqing Fan, Chi JinICLR 2024 · 23 citations
- What Would Gauss Say About Representations? Probing Pretrained Image Models using Synthetic Gaussian BenchmarksChing-Yun Ko, Pin-Yu Chen, Payel Das, Jeet Mohapatra et al.ICML 2024
- Task-Robust Pre-Training for Worst-Case Downstream AdaptationJianghui Wang, Yang Chen, Xingyu Xie, Cong Fang et al.NeurIPS 2023 · 3 citations
- Rethinking Minimal Sufficient Representation in Contrastive LearningHaoqing Wang, Xun Guo, Zhi-Hong Deng, Yan LuCVPR 2022 · 70 citations
