Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Visual Atoms: Pre-training Vision Transformers with Sinusoidal Waves

About

Formula-driven supervised learning (FDSL) has been shown to be an effective method for pre-training vision transformers, where ExFractalDB-21k was shown to exceed the pre-training effect of ImageNet-21k. These studies also indicate that contours mattered more than textures when pre-training vision transformers. However, the lack of a systematic investigation as to why these contour-oriented synthetic datasets can achieve the same accuracy as real datasets leaves much room for skepticism. In the present work, we develop a novel methodology based on circular harmonics for systematically investigating the design space of contour-oriented synthetic datasets. This allows us to efficiently search the optimal range of FDSL parameters and maximize the variety of synthetic images in the dataset, which we found to be a critical factor. When the resulting new dataset VisualAtom-21k is used for pre-training ViT-Base, the top-1 accuracy reached 83.7% when fine-tuning on ImageNet-1k. This is close to the top-1 accuracy (84.2%) achieved by JFT-300M pre-training, while the number of images is 1/14. Unlike JFT-300M which is a static dataset, the quality of synthetic datasets will continue to improve, and the current work is a testament to this possibility. FDSL is also free of the common issues associated with real images, e.g. privacy/copyright issues, labeling costs/errors, and ethical biases.

Sora Takashima, Ryo Hayamizu, Nakamasa Inoue, Hirokatsu Kataoka, Rio Yokota• 2023

Related benchmarks

TaskDatasetResultRank
Image ClassificationCIFAR-100--
622
Image ClassificationStanford Cars
Accuracy89.2
477
Image ClassificationOxford Flowers 102
Accuracy99
172
ClassificationImageNet 1k (test val)
Top-1 Accuracy83.7
138
Image ClassificationCIFAR-10
Accuracy97.7
101
Image ClassificationImageNet-100
Accuracy91.3
84
Image ClassificationPlaces30
Accuracy81.6
10
Image ClassificationPASCAL VOC 2012
Accuracy82.4
10
Showing 8 of 8 rows

Other info

Code

Follow for update