atlas

Research map / Architectures and efficiency / Attention and transformers

Cluster-Learngene: Inheriting Adaptive Clusters for Vision Transformers

NeurIPS 2024 · Architectures and efficiency › Attention and transformers · approach: Token merging and masked pretraining · 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.

Proposes Cluster-Learngene, which density-clusters attention heads and FFNs of a pre-trained DeiT ancestry model into learngene centroids and inherits them, with priority weight-sharing and learnable FFN transforms, to initialize elastic-scale ViT descendants.

Problem

Pre-trained ViTs are one-size-fits-all and ill-suited to task-specific resource constraints; existing Learngene methods extract whole layers and stack them, retaining redundant weights and lacking elastic scaling.

Approach

Adaptively cluster attention heads per layer using mean attention distance as a density metric (DBSCAN-style, no preset cluster count), keep the closest-to-centroid head as the learngene, merge FFNs across adjacent layers with similar head centroids, and expand centroids to any head count via priority weight-sharing and learnable FFN transformations.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
initialize the DeiT-Small descendant with Cluster-Learngene instead of Pretraining-FinetuningDeiT-Small · iNat-2019Top-1 accuracy (%): 68.48 -> 71.09Helped
initialize the DeiT-Small descendant with Cluster-Learngene instead of Pretraining-FinetuningDeiT-Small · Food-101Top-1 accuracy (%): 87.8 -> 89.53Helped
initialize the DeiT-Small descendant with Cluster-Learngene instead of Pretraining-FinetuningDeiT-Small · FlowersTop-1 accuracy (%): 91.13 -> 92.31Helped
initialize the DeiT-Small descendant with Cluster-Learngene instead of Pretraining-FinetuningDeiT-Small · CarsTop-1 accuracy (%): 86.81 -> 89.87Helped
initialize the DeiT-Small descendant with Cluster-Learngene instead of Pretraining-FinetuningDeiT-Small · CIFAR-10Top-1 accuracy (%): 97.59 -> 97.79Helped
initialize the DeiT-Small descendant with Cluster-Learngene instead of Pretraining-FinetuningDeiT-Small · CIFAR-100Top-1 accuracy (%): 84.43 -> 85.38Helped
initialize the DeiT-Small descendant with Cluster-Learngene instead of Pretraining-FinetuningDeiT-Small · CUB-200Top-1 accuracy (%): 78.13 -> 75.98Hurt
use adaptive clustering rather than k-means clustering (ablation)Cluster-Learngene · CIFAR-100accuracy (%): 80.12 -> 85.38; 81.02 -> 85.38; 81.41 -> 85.38Helped
use priority weight-sharing instead of sharing heads in the original sequence (ablation)Cluster-Learngene · CIFAR-100accuracy (%): 83.98 -> 85.38Helped
use priority weight-sharing instead of sharing heads in increasing order of ˜d (ablation)Cluster-Learngene · CIFAR-100accuracy (%): 84.24 -> 85.38Helped
use priority weight-sharing instead of sharing heads in decreasing order of ˜d (ablation)Cluster-Learngene · CIFAR-100accuracy (%): 84.63 -> 85.38Helped
select cluster-nearest head and FFN modules instead of averaging parameters (ablation)Cluster-Learngene · CIFAR-100accuracy (%): 85.12 -> 85.38Helped

Surprising findings

Limitations

Experimental setup

Datasets: ImageNet-1K iNaturalist-2019 Food-101 Oxford Flowers Stanford Cars CIFAR-10 CIFAR-100 CUB-200-2011

Benchmarks: ImageNet-1K iNaturalist-2019 Food-101 Oxford Flowers Stanford Cars CIFAR-10 CIFAR-100 CUB-200-2011

Metrics: Top-1 accuracy FLOPs parameters training speedup

Baselines: Pretraining-Finetuning From-Scratch Heuristic-Learngene Weight-Transformation Auto-Learngene k-means clustering

Builds on: Learngene DeiT DBSCAN Auto-Learngene Heuristic-Learngene

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