Abstract
Modern computer vision models, particularly Vision Transformers (ViTs), typically require pre-training on massive, human-labeled datasets such as ImageNet-21k. This dependency introduces significant ethical, legal, and financial burdens. This paper investigates Formula-Driven Supervised Learning (FDSL) as a viable alternative, demonstrating that synthetic images generated from mathematical equations can effectively replace real-world data for pre-training. Specifically, we show that models pre-trained on auto-generated contours can surpass the performance of those trained on ImageNet-21k.
Introduction
The current paradigm of computer vision relies on massive datasets like ImageNet-21k or JFT-300M. However, these "real-world" datasets carry significant baggage, including privacy concerns, copyright issues, and inherent societal biases. Furthermore, the cost of human labeling is high and prone to error. This research explores whether Formula-Driven Supervised Learning (FDSL)—where images are generated by mathematical equations and labeled automatically by their parameters—can serve as a drop-in replacement for real-image pre-training.
Methodology: The Contour Hypothesis
The core approach focuses on generating synthetic images that emphasize object contours. The authors test two primary hypotheses:
- Contours are the key: Object boundaries are the most critical features for a model to learn during pre-training.
- Complexity is necessary: Increasing the mathematical complexity of the generated shapes leads to better downstream performance.
To evaluate these, the researchers utilized the Radial Contour DataBase (RCDB), which creates shapes by superimposing polygons and perturbing edges with Perlin noise, and Extended FractalDB (ExFractalDB), which utilizes 3D fractal projections to increase shape complexity. In FDSL, labels are "free" as they are derived directly from the generation parameters, allowing for the creation of over 50,000 distinct classes without human intervention.
Experimental Results
The study compared pre-training on synthetic datasets against the gold standard, ImageNet-21k. Evaluation was performed via fine-tuning on ImageNet-1k and other transfer learning benchmarks.
As shown in Figure 1, a ViT-Base model pre-trained on ExFractalDB-21k achieved 82.7% top-1 accuracy on ImageNet-1k, outperforming the 81.8% achieved by ImageNet-21k. RCDB-21k also surpassed the baseline with 82.4% accuracy. Visualizing attention maps confirms that ViTs naturally focus on the edges of these synthetic objects, validating the contour hypothesis.
The Role of Complexity
A critical insight from the study is that visual realism is less important than mathematical complexity. By varying the number of vertices in the radial contours, the researchers found a direct correlation between shape complexity and model performance.
Figure 6 demonstrates that as the number of vertices increases (up to a point), the pre-trained features become more robust for downstream tasks such as CIFAR-10 and Stanford Cars. This suggests that "difficult" mathematical tasks force the network to learn more sophisticated spatial representations.
Conclusion
This research proves that "math-only" datasets can effectively replace human-labeled real-world images for pre-training Vision Transformers. By leveraging FDSL, the AI community can move toward more ethical, scalable, and bias-free model development. While future work is needed to see if these methods scale to the billions of images used in industry-leading models, the current results provide a strong foundation for contour-based synthetic pre-training.
Summary updated