Abstract
Since the introduction of the Vision Transformer, many transformer-based networks have been proposed. Nakashima et al. showed that ViT and gMLP can be pre-trained in FractalDB and achieve the same level of accuracy as ImageNet-1k. We hypothesize that other Transformer networks may also benefit from pre-training in FractalDB. If this hypothesis is proven, it can be expected that improving FDSL-based datasets such as FractalDB will improve the accuracy of existing networks and those to be proposed in the future. Therefore, in this paper, we perform exhaustive experiments on pre-training results of representative Transformer networks on FractalDB.
Introduction
Training state-of-the-art computer vision models typically requires millions of labeled images, such as those in ImageNet or JFT-300M. However, these massive datasets come with significant challenges, including privacy concerns, copyright issues, and inherent human labeling biases. Formula-Driven Supervised Learning (FDSL) aims to solve this by using synthetic images generated from mathematical formulas—specifically fractals—as pre-training data.
While previous research demonstrated that basic Vision Transformers (ViTs) could learn from these synthetic patterns, it remained unclear if more advanced, hierarchical, or hybrid architectures could also benefit. This paper fills that gap by conducting an exhaustive evaluation of various Transformer-based architectures pre-trained on FractalDB.
Methodology
We pre-trained several representative neural network architectures on FractalDB-1k and then fine-tuned them on various downstream natural image tasks. The architectures were categorized by their core primitives:
- Self-Attention-based: ViT, Swin Transformer.
- MLP-based: gMLP, MLP-Mixer.
- Hybrid: ConViT (convolution + self-attention), PoolFormer.
- Convolution-based: ResNet-50 (baseline).
Evaluation was performed across multiple datasets, including CIFAR-10/100, Stanford Cars, Oxford Flowers, PASCAL VOC 2012, and ImageNet-100.
Impact of Data Richness and Complexity
A primary focus of this study was investigating how the "richness" of synthetic data—controlled by the number of categories, instances, and fractal complexity—affects performance across different architectures.
As shown in the top row of the figure above, increasing the number of synthetic categories is generally more effective for improving downstream accuracy than simply adding more instances of the same category. Furthermore, the bottom row highlights a critical architectural sensitivity: sophisticated models like the Swin Transformer and ConViT require a minimum level of fractal complexity (determined by the number of points) to trigger their learning mechanisms. If a fractal is too sparse, these models fail to learn meaningful representations, whereas simpler models like gMLP are more robust to low-complexity inputs.
Key Results
Our experiments demonstrate that FDSL is universally effective for modern Transformer architectures:
- Top Performance: The Swin Transformer and ConViT achieved the highest average accuracies across all tasks (88.2% and 88.1%, respectively), outperforming the standard ViT (87.3%) and the ResNet-50 baseline (86.0%).
- Significant Boost over Scratch: Pre-training on FractalDB provided a substantial jump in accuracy. For example, on CIFAR-100, the Swin Transformer improved from 78.0% (trained from scratch) to 82.0% (FDB-pre-trained).
- Fine-grained Success: FractalDB pre-training was particularly effective for fine-grained tasks, with ConViT reaching 97.6% accuracy on the Oxford Flowers dataset.
Conclusion
This research confirms that FractalDB pre-training is a highly effective, privacy-preserving alternative to natural image pre-training for a wide range of Vision Transformer architectures. The sensitivity of certain models to fractal complexity suggests that synthetic data generation can be further optimized to match specific architectural inductive biases. Future work will explore larger synthetic datasets (e.g., FractalDB-10k) to further push the boundaries of FDSL.
Summary updated