paper-with-me

Papers

Vision Transformers Don't Need Trained Registers

2025-06-09 · Nick Jiang, Amil Dravid, Alexei Efros, Yossi Gandelsman

We investigate the mechanism underlying a previously identified phenomenon in Vision Transformers -- the emergence of high-norm tokens that lead to noisy attention maps. We observe that in multiple models (e.g., CLIP, DINOv2), a sparse set of neurons is responsible for concentrating high-norm activations on outlier tokens, leading to irregular attention patterns and degrading downstream visual processing. While the existing solution for removing these outliers involves retraining models from scratch with additional learned register tokens, we use our findings to create a training-free approach to mitigate these artifacts. By shifting the high-norm activations from our discovered register neurons into an additional untrained token, we can mimic the effect of register tokens on a model already trained without registers. We demonstrate that our method produces cleaner attention and feature maps, enhances performance over base models across multiple downstream visual tasks, and achieves results comparable to models explicitly trained with register tokens. We then extend test-time registers to off-the-shelf vision-language models to improve their interpretability. Our results suggest that test-time registers effectively take on the role of register tokens at test-time, offering a training-free solution for any pre-trained model released without them.

📄 PDF Abstract BibTeX arXiv:2506.08010

Code (1)

nickjiang2378/test-time-registers 공식 구현 pytorch

Methods 이 논문이 사용한 방법론

Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Attention 설명 없음
CLIP Contrastive Language-Image Pre-training (CLIP), consisting of a simplified version of ConVIRT trained from scratch, is an efficient method of image representation learning…
BASE 설명 없음
SET Dynamic Sparse Training method where weight mask is updated randomly periodically

Similar Papers 제목 키워드 기반

Taming Outlier Tokens in Diffusion Transformers

2026-05-06 · Xiaoyu Wu, Yifei Wang, Tsu-Jui Fu, Liang-Chieh Chen 외 arxiv

We study outlier tokens in Diffusion Transformers (DiTs) for image generation. Prior work has shown that Vision Transformers (ViTs) can produce a small number of high-norm tokens that attract disproportionate attention w…

Text-to-Image Generation

Do All Vision Transformers Need Registers? A Cross-Architectural Reassessment

2026-03-26 · Spiros Baxevanakis, Platon Karageorgis, Ioannis Dravilas, Konrad Szewczyk arxiv

Training Vision Transformers (ViTs) presents significant challenges, one of which is the emergence of artifacts in attention maps, hindering their interpretability. Darcet et al. (2024) investigated this phenomenon and a…

ViT Registers and Fractal ViT

2026-01-21 · Jason Chuan-Chih Chou, Abhinav Kumar, Shivank Garg arxiv

Drawing inspiration from recent findings including surprisingly decent performance of transformers without positional encoding (NoPE) in the domain of language models and how registers (additional throwaway tokens not ti…

Vision Transformers Need More Than Registers

2026-02-25 · Cheng Shi, Yizhou Yu, Sibei Yang arxiv

Vision Transformers (ViTs), when pre-trained on large-scale data, provide general-purpose representations for diverse downstream tasks. However, artifacts in ViTs are widely observed across different supervision paradigm…

Leveraging Registers in Vision Transformers for Robust Adaptation

2025-01-08 · Srikar Yellapragada, Kowshik Thopalli, Vivek Narayanaswamy, Wesam Sakla 외

Vision Transformers (ViTs) have shown success across a variety of tasks due to their ability to capture global image representations. Recent studies have identified the existence of high-norm tokens in ViTs, which can in…

Anomaly DetectionObject Discovery