Source

Darcet, Oquab, Mairal and Bojanowski (2023), LIT-662.

What to do

Append a small number of learned tokens to the input sequence that do not come from the image, carry them through the transformer with everything else, and discard them at the output. One is enough to remove the artifacts; a few more help dense tasks slightly.

That is the whole change. No loss term, no schedule, no architectural surgery beyond a longer sequence.

Why

Without them, a large trained ViT takes patches whose content is redundant with their neighbours and overwrites them with global state — THEORY-101. Those patches come out as high-norm outlier tokens, 2.37% of them in DINOv2 ViT-g, holding little information about their own position or pixels and a lot about the image as a whole. Anything downstream that reads the feature map or the attention map as a spatial signal reads them as noise.

Both the diagnosis and the remedy are LIT-662’s. It finds the high-norm tokens only in ViT-Large and above, after about a third of training, on patches that are redundant with their neighbours, and shows that a linear probe recovers their position and pixels worse than normal tokens’ and the image class better. It then proposes registers and reports that the artifacts disappear, with one register bringing most of the benefit.

Registers give the model somewhere to put that state which nobody downstream is going to interpret as a patch.

What it costs

Nothing measurable, which is unusual enough to state with the table. Linear probing on frozen features, each model trained from scratch both ways:

ImageNet top-1ADE20k mIoUNYUd rmse ↓
DeiT-III84.738.90.511
DeiT-III + reg84.739.10.512
OpenCLIP78.226.60.702
OpenCLIP + reg78.126.70.661
DINOv284.346.60.378
DINOv2 + reg84.847.90.366

The sequence is a handful of tokens longer, which is the only cost.

Where the benefit actually is

Not classification. Anything that treats the feature map as spatial. LOST object discovery, corloc:

VOC 2007VOC 2012COCO 20k
DeiT-III11.713.110.7
DeiT-III + reg27.132.725.1
DINOv235.3
DINOv2 + reg55.4

+20.1 corloc for DINOv2 on VOC 2007, and DeiT-III more than doubles.

Conditions

It has to be done at training time. This is not a post-hoc fix; each comparison above is a model trained from scratch with registers. For a checkpoint that already has artifacts, the options are to use a register variant if one exists or to detect and mask the high-norm tokens.

It matters at ViT-Large and above. Tiny, Small and Base do not show the artifacts, so below that threshold this buys nothing — the paper’s sweep over model size is what says so.

One evaluation goes the other way. OpenCLIP object discovery is slightly worse with registers, and neither the paper nor THEORY-101 explains it. If the deployment is image-text pretraining for a spatial task, check rather than assume.

It does not recover everything the artifacts cost. DINOv2 with registers reaches 55.4 corloc on VOC 2007 where the original DINO reaches 61.9. Registers narrow that generational regression; something else about DINOv2 also costs object discovery and nobody has named it.

Known implementations

  • DINOv2, whose released line includes register variants — the source group’s own, so adoption rather than independent replication.