atlas

Research map / Architectures and efficiency / Attention and transformers

Linearly Decomposing and Recomposing Vision Transformers for Diverse-Scale Models

NeurIPS 2024 · Architectures and efficiency › Attention and transformers · approach: Hybrid and interpretable ViT designs · 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.

Decomposes a pretrained-scale ViT (DeiT-Base) into reusable linear "learngenes" weighted by Chebyshev polynomial coefficients, then recomposes them into diverse-depth ViTs that initialize or train for downstream classification without retraining from scratch.

Problem

Standard ViTs have fixed architectures, but deployment devices have varying compute and memory budgets. Producing many differently sized models via compression or distillation requires a separate training run per size.

Approach

Inspired by polynomial decomposition in calculus, each ViT layer's parameters are expressed as a linear combination of shared learngenes with layer-dependent, pre-defined first-kind Chebyshev coefficients. Learngenes are trained incrementally (one group at a time, earlier ones frozen), and any number of layers and learngenes can then be recomposed without extra training.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use 12 learngenes to recompose and fine-tune ViTsLearngene decomposition-recomposition · CIFAR-10accuracy: 98.92 -> 98.97Helped
Use 12 learngenes to recompose and fine-tune ViTsLearngene decomposition-recomposition · CIFAR-100accuracy: 90.29 -> 91.05Helped
Use 12 learngenes to recompose and fine-tune ViTsLearngene decomposition-recomposition · Tiny-ImageNetaccuracy: 87.5 -> 89.16Helped
Use 12 learngenes to recompose and fine-tune ViTsLearngene decomposition-recomposition · INAT-2019accuracy: 77.43 -> 77.89Helped
Use 12 learngenes to recompose and fine-tune ViTsLearngene decomposition-recomposition · Food-101accuracy: 91.44 -> 92.02Helped
Use 12 learngenes to recompose and fine-tune ViTsLearngene decomposition-recomposition · Stanford Carsaccuracy: 91.97 -> 92.68Helped
Use 12 learngenes and train with constraintsLearngene decomposition-recomposition · Oxford Flowers-102accuracy: 92.54 -> 95.8Helped
Use 12 learngenes and train with constraintsLearngene decomposition-recomposition · Oxford-IIIT Petsaccuracy: 93.71 -> 95.59Helped
Use 12 learngenes to recompose and fine-tune ViTsLearngene decomposition-recomposition · DTDaccuracy: 72.87 -> 74.73Helped
Use first-kind Chebyshev coefficients instead of Taylor coefficients (ablation)Decomposition coefficient selection · ImageNet-1Kaccuracy: 74.80% -> 77.73%Helped
Use first-kind Chebyshev coefficients instead of Fourier coefficients (ablation)Decomposition coefficient selection · ImageNet-1Kaccuracy: 77.09% -> 77.73%Helped
Train learngenes incrementally rather than simultaneously (ablation)DeiT-Base decomposition · ImageNet-1Kaccuracy: 81.85 -> 83.70Helped

Surprising findings

Limitations

Experimental setup

Datasets: ImageNet-1K CIFAR-10 CIFAR-100 Tiny-ImageNet iNaturalist-2019 Food-101 Oxford Flowers-102 Stanford Cars Oxford-IIIT Pets DTD

Benchmarks: ImageNet-1K CIFAR-10 CIFAR-100 Tiny-ImageNet iNaturalist-2019 Food-101 Oxford Flowers-102 Stanford Cars Oxford-IIIT Pets DTD

Metrics: top-1 accuracy parameter count memory size

Baselines: DeiT-Tiny DeiT-Small DeiT-Base (pre-train and fine-tune) Mini-DeiT-B (MiniViT) Efficient-ViT SN-Net

Builds on: Learngene DeiT MiniViT SN-Net

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