mlsanityData to 7 Oct 2026

On the Trade-off of Intra-/Inter-class Diversity for Supervised Pre-training

arXiv 2305.12224 ↗First posted 20 May 2023cs.LG stat.MLcited by 14

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

  1. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  2. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
  3. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  4. 2014ImageNet Large Scale Visual Recognition Challengecited by 8,441
  5. 2022Flamingo: a Visual Language Model for Few-Shot Learningcited by 4,337
  6. 2013Fine-Grained Visual Classification of Aircraftcited by 1,701
  7. 2018Moment Matching for Multi-Source Domain Adaptationcited by 1,327
  8. 2017Spectrally-normalized margin bounds for neural networkscited by 681
  9. 2023DataComp: In search of the next generation of multimodal datasetscited by 635
  10. 2018Exploring the Limits of Weakly Supervised Pretrainingcited by 604
  11. 2021Scaling Laws for Transfercited by 265
  12. 2020Few-Shot Learning via Learning the Representation, Provablycited by 213
6 more
  1. 2016What makes ImageNet good for transfer learning?cited by 192
  2. 2022A Data-Based Perspective on Transfer Learningcited by 32
  3. 2021Weighted Training for Cross-Task Learningcited by 22
  4. 2023The Role of Pre-training Data in Transfer Learningcited by 17
  5. 2022Blessing of Class Diversity in Pre-trainingcited by 4
  6. 2023Towards Understanding the Effect of Pretraining Label Granularitycited by 3

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 2; 2024: 7; 2025: 3; 2026: 2.

14 papers.

Sort:

By area: