atlas

Research map / Architectures and efficiency / Attention and transformers

Vision Transformers Need Registers

ICLR 2024 · Architectures and efficiency › Attention and transformers · approach: Efficient and robust vision transformers · 54 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.

Identifies high-norm artifact tokens in ViT feature maps (DINOv2, DeiT-III, OpenCLIP) and removes them by appending learnable register tokens to the input sequence during training.

Problem

Large, long-trained vision transformers (DINOv2, supervised DeiT-III, OpenCLIP) develop high-norm outlier patch tokens in low-information background regions, producing noisy attention and feature maps that hurt dense prediction and object discovery.

Approach

Append a few learnable register tokens to the ViT input sequence, unused at the output, so the model stores global computation in them instead of recycling redundant patch tokens; this removes norm outliers and yields smoother features without degrading performance.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add register tokensDINOv2 ViT-L · ADE20k linear probingmIoU: 46.6 -> 47.9Helped
Add register tokensDINOv2 ViT-L · NYUd linear probingrmse: 0.378 -> 0.366Helped
Add register tokensDINOv2 ViT-L · VOC 2007 object discoverycorloc: 35.3 -> 55.4Helped
Add register tokensDINOv2 ViT-L · VOC 2012 object discoverycorloc: 40.2 -> 60.0Helped
Add register tokensDINOv2 ViT-L · COCO 20k object discoverycorloc: 26.9 -> 42.0Helped
Add register tokensDeiT-III ViT-B · VOC 2007 object discoverycorloc: 11.7 -> 27.1Helped
Add register tokensDeiT-III ViT-B · VOC 2012 object discoverycorloc: 13.1 -> 32.7Helped
Add register tokensDeiT-III ViT-B · COCO 20k object discoverycorloc: 10.7 -> 25.1Helped
Add register tokensOpenCLIP ViT-B/16 · VOC 2007 object discoverycorloc: 38.8 -> 37.1Hurt
Add register tokensOpenCLIP ViT-B/16 · COCO 20k object discoverycorloc: 31.0 -> 27.9Hurt
Add register tokensOpenCLIP ViT-B/16 · ImageNet zero-shot classificationTop-1: 59.9 -> 60.1No clear effect
Vary the number of register tokens (0, 1, 2, 4, 8 or 16) (ablation)DINOv2 ViT-L/14 · ImageNet, ADE-20k and NYUd downstream evaluationperformanceMixed

Surprising findings

Limitations

Experimental setup

Datasets: ImageNet-22k ImageNet-1k Shutterstock licensed image-text corpus PASCAL VOC 2007 PASCAL VOC 2012 COCO 20k ADE20k NYUd Aircraft CIFAR-10 CIFAR-100 CUB

Benchmarks: ImageNet ADE20k NYUd PASCAL VOC 2007 PASCAL VOC 2012 COCO 20k ImageNet zero-shot

Metrics: top-1 accuracy mIoU rmse corloc norm distribution linear probe accuracy

Baselines: DINOv2 DeiT-III OpenCLIP DINO LOST

Builds on: DINOv2 DINO LOST Memory Transformer DeiT-III

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