Skip to main content
QUICK REVIEW

[Paper Review] Delving Deeper into Data Scaling in Masked Image Modeling

Cheng-Ze Lu, Xiaojie Jin|arXiv (Cornell University)|May 24, 2023
Generative Adversarial Networks and Image SynthesisComputer Science4 citations
TL;DR

This paper investigates data scaling in masked image modeling (MIM) using the web-collected Coyo-700M dataset, training ViT models on sub-datasets of 0.5M to 100M images. It finds that MIM performance saturates beyond 10M images, with limited gains on most downstream tasks despite stronger target encoders or longer pre-training, except on long-tailed LVIS where performance continues improving with data.

ABSTRACT

Understanding whether self-supervised learning methods can scale with unlimited data is crucial for training large-scale models. In this work, we conduct an empirical study on the scaling capability of masked image modeling (MIM) methods (e.g., MAE) for visual recognition. Unlike most previous works that depend on the widely-used ImageNet dataset, which is manually curated and object-centric, we take a step further and propose to investigate this problem in a more practical setting. Specifically, we utilize the web-collected Coyo-700M dataset. We randomly sample varying numbers of training images from the Coyo dataset and construct a series of sub-datasets, containing 0.5M, 1M, 5M, 10M, and 100M images, for pre-training. Our goal is to investigate how the performance changes on downstream tasks when scaling with different sizes of data and models. The study reveals that: 1) MIM can be viewed as an effective method to improve the model capacity when the scale of the training data is relatively small; 2) Strong reconstruction targets can endow the models with increased capacities on downstream tasks; 3) MIM pre-training is data-agnostic under most scenarios, which means that the strategy of sampling pre-training data is non-critical. We hope these observations could provide valuable insights for future research on MIM.

Motivation & Objective

  • To study the scalability of masked image modeling (MIM) methods when pre-training on increasingly large, web-collected datasets, moving beyond curated datasets like ImageNet.
  • To evaluate whether MIM pre-training can effectively leverage unlimited data, especially in terms of downstream task performance.
  • To investigate the impact of reconstruction target quality and sampling strategies on data scalability in MIM.
  • To determine whether performance gains from larger datasets persist across diverse downstream tasks, including long-tailed benchmarks.

Proposed method

  • Constructed a series of sub-datasets from the Coyo-700M web-crawled dataset, containing 0.5M, 1M, 5M, 10M, and 100M images, for systematic pre-training.
  • Used the MAE framework with a standard ViT encoder and varied reconstruction targets via different target encoders (e.g., CLIP-B/16, CLIP-L/14, EVA-G/14).
  • Pre-trained models on these sub-datasets using fixed training hyperparameters and evaluated on standard downstream tasks: iNaturalist2018, ImageNet-5k, ImageNet-1k, and LVIS.
  • Compared performance across different target encoder sizes and pre-training durations to assess the impact of reconstruction quality and training length.
  • Evaluated generalization across long-tailed distributions using the LVIS benchmark to test data scalability under class imbalance.
  • Conducted ablation studies on sampling strategies, showing that data agnosticism holds across diverse web-scale data subsets.

Experimental results

Research questions

  • RQ1Does masked image modeling (MIM) continue to improve downstream performance when pre-training data is scaled beyond 10M images?
  • RQ2How does the quality of the reconstruction target (via larger target encoders) affect data scalability in MIM pre-training?
  • RQ3Is the performance of MIM pre-training sensitive to data sampling strategies when using web-scale datasets?
  • RQ4Does data scaling in MIM yield measurable gains on long-tailed downstream benchmarks like LVIS?
  • RQ5Can longer pre-training schedules break performance saturation observed with larger datasets?

Key findings

  • MIM pre-training performance saturates beyond approximately 10M training images on standard benchmarks like ImageNet-1k and iNaturalist2018, with no significant gains on larger datasets.
  • Using a stronger target encoder (e.g., EVA-G/14 with ~1B parameters) improved Top-1 accuracy by 0.3% over CLIP-L/14, but did not overcome the performance saturation at scale.
  • Pre-training with 100M images for 15 epochs yielded 86.94% Top-1 accuracy on ImageNet-1k, and extending training to 10 epochs did not improve performance, indicating convergence.
  • On the long-tailed LVIS benchmark, performance continued to improve with more data: AP<sup>box</sup> rose from 28.00 (0.5M) to 47.30 (100M), showing data scalability in rare category detection.
  • MIM pre-training is largely data-agnostic—different sampling strategies on web-scale data did not significantly affect downstream performance.
  • Despite extensive experimentation, no methodological change (stronger targets, longer training, better sampling) broke the performance saturation observed beyond 10M images.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.