On the Trade-off of Intra-/Inter-class Diversity for Supervised Pre-training
Not on the map. Why?
Abstract (arXiv)
Pre-training datasets are critical for building state-of-the-art machine learning models, motivating rigorous study on their impact on downstream tasks. In this work, we study the impact of the trade-off between the intra-class diversity (the number of samples per class) and the inter-class diversity (the number of classes) of a supervised pre-training dataset. Empirically, we found that with the size of the pre-training dataset fixed, the best downstream performance comes with a balance on the intra-/inter-class diversity. To understand the underlying mechanism, we show theoretically that the downstream performance depends monotonically on both types of diversity. Notably, our theory reveals that the optimal class-to-sample ratio (#classes / #samples per class) is invariant to the size of the pre-training dataset, which motivates an application of predicting the optimal number of pre-training classes. We demonstrate the effectiveness of this application by an improvement of around 2 points on the downstream tasks when using ImageNet as the pre-training dataset.
Key facts. Cited by 14 papers in the map (data through 7 Oct 2026). Builds on 18 of its 27 references that are in the map. First posted on arXiv 20 May 2023.
Builds on
18 of 27 references.
References · 18
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2014ImageNet Large Scale Visual Recognition Challengecited by 8,441
- 2022Flamingo: a Visual Language Model for Few-Shot Learningcited by 4,337
- 2013Fine-Grained Visual Classification of Aircraftcited by 1,701
- 2018Moment Matching for Multi-Source Domain Adaptationcited by 1,327
- 2017Spectrally-normalized margin bounds for neural networkscited by 681
- 2023DataComp: In search of the next generation of multimodal datasetscited by 635
- 2018Exploring the Limits of Weakly Supervised Pretrainingcited by 604
- 2021Scaling Laws for Transfercited by 265
- 2020Few-Shot Learning via Learning the Representation, Provablycited by 213
6 more
- 2016What makes ImageNet good for transfer learning?cited by 192
- 2022A Data-Based Perspective on Transfer Learningcited by 32
- 2021Weighted Training for Cross-Task Learningcited by 22
- 2023The Role of Pre-training Data in Transfer Learningcited by 17
- 2022Blessing of Class Diversity in Pre-trainingcited by 4
- 2023Towards Understanding the Effect of Pretraining Label Granularitycited by 3
Built on by
Citing papers per year: 2023: 2; 2024: 7; 2025: 3; 2026: 2.
14 papers.
Sort:
By area:
- 2023Large Language Model as Attributed Training Data Generator: A Tale of Diversity and Biascited by 230
- 2024FlipAttack: Jailbreak LLMs via Flippingcited by 73
- 2025The Hallucination Tax of Reinforcement Finetuningcited by 35
- 2023Understanding and Mitigating the Label Noise in Pre-training on Downstream Taskscited by 27
- 2024On Catastrophic Inheritance of Large Foundation Modelscited by 15
- 2024The New Agronomists: Language Models are Experts in Crop Managementcited by 12
- 2024InsectMamba: Insect Pest Classification with State Space Modelcited by 11
- 2024Impact of Noisy Supervision in Foundation Model Learningcited by 8
- 2024On the Generalization Ability of Unsupervised Pretrainingcited by 8
- 2024Online Transfer Learning for RSV Case Detectioncited by 1
- 2025Conversational Explanations: Discussing Explainable AI with Non-AI Expertscited by 1
- 2025The Advantage of Fine-Grained Trainingcited by 1
- 2026When the Strongest Teacher Is Not the Best Teacher: Student-Centric Answer Selection26 May 2026
- 2026Extremely coarse learning objectives induce human-aligned representations in AI vision models7 May 2026
- 2025The Advantage of Fine-Grained Training5 Sep 2025
- 2025The Hallucination Tax of Reinforcement Finetuning20 May 2025
- 2025Conversational Explanations: Discussing Explainable AI with Non-AI Experts16 Feb 2025
- 2024FlipAttack: Jailbreak LLMs via Flipping2 Oct 2024
- 2024InsectMamba: Insect Pest Classification with State Space Model4 Apr 2024
- 2024The New Agronomists: Language Models are Experts in Crop Management28 Mar 2024
- 2024On the Generalization Ability of Unsupervised Pretraining11 Mar 2024
- 2024Impact of Noisy Supervision in Foundation Model Learning11 Mar 2024
- 2024Online Transfer Learning for RSV Case Detection3 Feb 2024
- 2024On Catastrophic Inheritance of Large Foundation Models2 Feb 2024
- 2024FlipAttack: Jailbreak LLMs via Flippingcited by 73
- 2024FlipAttack: Jailbreak LLMs via Flipping2 Oct 2024
- 2023Large Language Model as Attributed Training Data Generator: A Tale of Diversity and Biascited by 230
- 2023Understanding and Mitigating the Label Noise in Pre-training on Downstream Taskscited by 27
- 2024On Catastrophic Inheritance of Large Foundation Modelscited by 15
- 2024The New Agronomists: Language Models are Experts in Crop Managementcited by 12
- 2024InsectMamba: Insect Pest Classification with State Space Modelcited by 11
- 2024Impact of Noisy Supervision in Foundation Model Learningcited by 8
- 2024On the Generalization Ability of Unsupervised Pretrainingcited by 8
- 2024Online Transfer Learning for RSV Case Detectioncited by 1
- 2025Conversational Explanations: Discussing Explainable AI with Non-AI Expertscited by 1
- 2025The Advantage of Fine-Grained Trainingcited by 1
- 2026Extremely coarse learning objectives induce human-aligned representations in AI vision modelscited by 1
- 2026Extremely coarse learning objectives induce human-aligned representations in AI vision models7 May 2026
- 2025The Advantage of Fine-Grained Training5 Sep 2025
- 2025Conversational Explanations: Discussing Explainable AI with Non-AI Experts16 Feb 2025
- 2024InsectMamba: Insect Pest Classification with State Space Model4 Apr 2024
- 2024The New Agronomists: Language Models are Experts in Crop Management28 Mar 2024
- 2024On the Generalization Ability of Unsupervised Pretraining11 Mar 2024
- 2024Impact of Noisy Supervision in Foundation Model Learning11 Mar 2024
- 2024Online Transfer Learning for RSV Case Detection3 Feb 2024
- 2024On Catastrophic Inheritance of Large Foundation Models2 Feb 2024
- 2023Understanding and Mitigating the Label Noise in Pre-training on Downstream Tasks29 Sep 2023
- 2023Large Language Model as Attributed Training Data Generator: A Tale of Diversity and Bias28 Jun 2023