[Paper Review] Scaling MLPs: A Tale of Inductive Bias
The paper investigates how scaling an MLP-based vision model affects performance, showing that lack of inductive bias can be compensated by data and compute, with MLPs behaving similarly to modern architectures under scale but with different augmentation and SGD-bias effects.
In this work we revisit the most fundamental building block in deep learning, the multi-layer perceptron (MLP), and study the limits of its performance on vision tasks. Empirical insights into MLPs are important for multiple reasons. (1) Given the recent narrative "less inductive bias is better", popularized due to transformers eclipsing convolutional models, it is natural to explore the limits of this hypothesis. To that end, MLPs offer an ideal test bed, as they lack any vision-specific inductive bias. (2) MLPs have almost exclusively been the main protagonist in the deep learning theory literature due to their mathematical simplicity, serving as a proxy to explain empirical phenomena observed for more complex architectures. Surprisingly, experimental datapoints for MLPs are very difficult to find in the literature, especially when coupled with large pre-training protocols. This discrepancy between practice and theory is worrying: Do MLPs reflect the empirical advances exhibited by practical models? Or do theorists need to rethink the role of MLPs as a proxy? We provide insights into both these aspects. We show that the performance of MLPs drastically improves with scale (95% on CIFAR10, 82% on CIFAR100, 58% on ImageNet ReaL), highlighting that lack of inductive bias can indeed be compensated. We observe that MLPs mimic the behaviour of their modern counterparts faithfully, with some components in the learning setting however exhibiting stronger or unexpected behaviours. Due to their inherent computational efficiency, large pre-training experiments become more accessible for academic researchers. All of our experiments were run on a single GPU.
Motivation & Objective
- Assess how MLPs perform on vision tasks when scaled up without vision-specific inductive biases.
- Compare MLPs to CNNs/transformers in large-scale pre-training and transfer learning.
- Quantify how data augmentation and SGD implicit bias affect MLP performance.
- Characterize scaling laws for MLPs and optimal compute allocation between parameters and data.
Proposed method
- Study vanilla and inverted bottleneck MLP variants with residual/bottleneck configurations.
- Train from scratch on CIFAR-10/100, TinyImageNet, STL10, and ImageNet variants using data augmentation and LION optimizer.
- Pre-train inverted bottleneck MLPs on ImageNet21k and evaluate transfer to CIFAR100, CIFAR10, and ImageNet-ReaL with fine-tuning and test-time augmentations.
- Analyze scaling laws by varying compute, dataset size, and parameter count, fitting power-law relationships to downstream performance.
- Evaluate the role of batch size on pre-training and downstream tasks across scales.
Experimental results
Research questions
- RQ1Can MLPs reach competitive vision performance when scaled without conventional inductive biases?
- RQ2How do data augmentation, SGD bias, and batch size influence MLP training and generalization at scale?
- RQ3Do MLPs exhibit similar performance scaling laws to CNNs/Transformers, and where do they diverge?
- RQ4What is the optimal allocation of compute between model size and dataset size for MLPs?
- RQ5How transferable are features learned by large-scale MLPs to downstream vision tasks?
Key findings
- MLPs improve with scale, achieving notable downstream accuracy (e.g., ~95% on CIFAR-10, ~82% on CIFAR-100, ~58% on ImageNet-ReaL) under large compute and data.
- Regularization via data augmentation is crucial for MLPs and can dramatically boost performance, especially at large scales.
- Larger SGD batch sizes unexpectedly improve generalization for MLPs, contrasting with CNNs/Transformers.
- MLPs mirror the scaling behavior of modern models with power-law relations between compute and error, though optimal compute allocation favors more data (N) than parameters (P).
- Pre-training on ImageNet21k followed by transfer learning shows strong transferable features for MLPs, with test-time augmentations and ReaL labels enhancing performance (notably on CIFAR datasets).
- Optimal compute allocation for MLPs scales as P* ∝ C^0.35 and N* ∝ C^0.65, indicating a heavier emphasis on data than parameters at fixed compute.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.