TL;DR
Vision Transformers (ViTs) are state-of-the-art at image classification, but do they see the world the way we do? By evaluating over 50,000 ViT configurations, this study reveals a striking trade-off: training choices that maximize classification accuracy—such as larger models, more training epochs, stronger data augmentation, and regularization—consistently degrade the model's alignment with human visual perception.
What Problem Does This Paper Address?
While Vision Transformers (ViTs) have revolutionized computer vision, their inner workings remain less intuitive than traditional convolutional neural networks (CNNs) due to their global self-attention mechanisms. Although ViTs excel at standard benchmarks, it remains unclear whether their internal representations align with human perceptual judgments.
Understanding this alignment is crucial for deploying models in fields that require human-like visual interpretation, such as explainable AI, image quality assessment, and medical imaging. While prior work has explored this problem in CNNs, this paper addresses the lack of a large-scale, systematic study isolating how specific architectural choices and training hyperparameters impact the perceptual alignment of ViTs.
Methods
The authors take advantage of a massive public collection of over 50,000 pretrained ViTs trained under diverse hyperparameter configurations. To quantify how "human-like" a model's vision is, they use a straightforward evaluation pipeline:
- Feature Extraction: Pairs of original and distorted images are passed through a ViT encoder to extract their latent representations.
- Dissimilarity Calculation: The Euclidean distance between the encoder outputs of the original and distorted images is calculated, representing the model's perceived dissimilarity.
- Correlation Analysis: The authors compute the Spearman rank correlation between these model distances and human-provided perceptual ratings. A higher correlation indicates stronger alignment with human vision.
By evaluating models across this pipeline, the authors systematically isolate the impact of model size, dataset size, exposure frequency (epochs), data augmentation strength, and regularization techniques (dropout and stochastic depth).
Datasets
- Training Datasets: The analyzed models were pretrained on standard image classification benchmarks: ImageNet-1k (1.3 million unique images) and ImageNet-21k (13 million unique images).
- Evaluation Dataset: Perceptual alignment was measured using the TID2013 dataset. This benchmark contains 25 reference images subjected to 24 different types of distortions across 5 intensity levels. Each distorted pair is accompanied by a human Mean Opinion Score (MOS) reflecting its perceived visual quality.
Key Insights and Ideas
- The Performance-Perception Paradox: There is a clear inverse relationship between task performance and human alignment. Optimizing ViTs purely for classification accuracy pushes their internal representations away from human visual processing.
- Perceptual Overfitting: Exposing models to the same images over more training cycles (epochs) reduces alignment. Even if a model doesn't overfit in terms of classification accuracy, prolonged training causes its features to diverge from human intuition.
- The Generalization Backfire: Data augmentation and regularization (like dropout and stochastic depth) are standard tools used to improve a model's ability to generalize. However, this study reveals that these exact techniques inadvertently push ViTs further away from human-like representations.
Key Results
- Model Size: Smaller architectures consistently achieve higher human alignment than larger ones. For instance, Tiny-16 models achieve a Spearman correlation of ~0.85, whereas Large-16 models drop closer to 0.80 or below under identical training conditions.
- Dataset Diversity: Increasing dataset diversity from 1.3M to 13M unique images has a minimal impact on alignment if the total number of images seen during training remains constant.
- Augmentation & Regularization: Stronger data augmentations steadily decrease alignment across all model sizes. Similarly, adding regularization techniques like dropout and stochastic depth reduces alignment, a penalty that becomes even more pronounced in models trained over longer durations (300 epochs vs. 30 epochs).
- Overall Trend: The authors demonstrate a clear downward trend in human alignment as ImageNet-1k classification accuracy increases, highlighting the fundamental trade-off between task optimization and perceptual fidelity.
Limitations and Future Work
The study is bounded by the specific hyperparameter configurations available in the pretrained model collection and the scope of distortions captured in the TID2013 dataset.
As a path forward, the authors emphasize the need for new optimization objectives and training paradigms. Future research must explore how to balance high task performance with human-like visual processing, a critical step toward developing more intuitive, reliable, and explainable machine vision systems.
Summary updated