Self-attention in vision transformers using ridge regression and the kernel method

View at publisher
Authors: Yudai Gondo, Yoshimitsu Kuroki
Cited by: 0
References: 2

Abstract

The Vision Transformer (ViT) effectively applies the Transformer architecture to computer vision, treating each small image patch as a token and learning their relationships with self-attention. However, the standard dot-product attention can yield numerically unstable and difficult-to-interpret weights. This research introduces Ridge Attention, which recasts the weight-estimation step as a ridge-regression problem by adding a small amount of L2 regularization when computing token similarity. This modification leaves the ViT’s core architecture untouched while producing more stable and statistically meaningful attention weights. Experimental results on CIFAR-10 and CIFAR-100 show that replacing pure similarity scores with regularized regression improves performance without requiring additional parameters.

Fields of Study & Subjects

Advanced Neural Network Applications Visual Attention and Saliency Detection Domain Adaptation and Few-Shot Learning

Publication details

Journal / source
International Workshop on Advanced Imaging Technology (IWAIT)
Pages
170–170
Publication date
27 February 2026
Language
EN