atlas

Research map / Architectures and efficiency / Neural architecture search

Vision Transformer Neural Architecture Search for Out-of-Distribution Generalization: Benchmark and Insights

NeurIPS 2024 · Architectures and efficiency › Neural architecture search · approach: Bi-level differentiable NAS · 1 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Builds OoD-ViT-NAS, a benchmark of 3,000 ViT subnets from Autoformer supernets evaluated on 8 OoD datasets, and uses it to study how ViT architecture, ID accuracy, training-free NAS proxies, and embedding dimension relate to OoD generalization.

Problem

Vision Transformer architecture design has been optimized for in-distribution accuracy, while its effect on out-of-distribution generalization, and whether NAS proxies can predict OoD accuracy, remain largely unexplored.

Approach

Create a large OoD evaluation benchmark by sampling 1,000 subnets from each of three Autoformer supernets (Tiny/Small/Base), reusing inherited supernet weights instead of training each candidate, and then analyze ID-OoD correlation, training-free NAS proxies, and architectural attributes.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
increase ViT-B-32 embedding dimension to 840ViT-B-32 · ImageNet-ROoD accuracy: 41.58 -> 48.28Helped
increase Swin-T embedding dimension to 128Swin-T · ImageNet-ROoD accuracy: 46.22 -> 48.28Helped
increase embedding dimension to 840ViT-B-32 · ImageNet-R (IN-100 trained)OoD accuracy: 41.58 -> 48.28Helped
increase number of heads to 128 (ablation)ViT-B-32 · ImageNet-R (IN-100 trained)OoD accuracy: 41.58 -> 43.47Helped
increase depth to 16 (ablation)ViT-B-32 · ImageNet-R (IN-100 trained)OoD accuracy: 41.58 -> 37.80Hurt
increase MLP ratio to 3840 (ablation)ViT-B-32 · ImageNet-R (IN-100 trained)OoD accuracy: 41.58 -> 42.61Helped
use simple #Param or #Flops proxies instead of complex training-free NAS proxiesTraining-free NAS proxy ranking of ViT architectures · OoD accuracy across 8 datasets and 3 search spacesKendall τ correlation: #Param: 0.3600 $\pm$ 0.2321; #Flops: 0.3537 $\pm$ 0.2327; AutoProx-A: 0.3303 $\pm$ 0.2384Helped
increase embedding dimensionViT architectures · OoD generalization across benchmark shiftsOoD accuracyHelped
increase network depthViT architectures · OoD generalizationOoD accuracy: 0.19Mixed
increase MLP ratioViT architectures · OoD generalizationOoD accuracy: 0.09No clear effect
increase number of headsViT architectures · OoD generalizationOoD accuracy: 0.07No clear effect
select architectures using ID accuracy Pareto rankingViT architectures · OoD shiftsOoD accuracyHurt

Surprising findings

Limitations

Experimental setup

Datasets: ImageNet-1K ImageNet-C ImageNet-P ImageNet-A ImageNet-O ImageNet-R ImageNet-Sketch Stylized ImageNet ImageNet-D IN-100

Benchmarks: ImageNet-C ImageNet-P ImageNet-A ImageNet-O ImageNet-R ImageNet-Sketch Stylized ImageNet ImageNet-D

Metrics: ID accuracy OoD accuracy AUPR Kendall tau correlation

Baselines: Grasp SNIP MeCo CroZe Jacobian DSS AutoProx-A ViT-L-32 Swin-S

Builds on: Autoformer Lottery Ticket Hypothesis Grasp SNIP AutoProx

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy