arXiv Machine Learning

Vision Transformer Finetuning Benefits from Non-Smooth Components

arXiv:2602. 06883v3 Announce Type: replace Abstract: The smoothness of the transformer architecture has been extensively studied in the context of generalization, training stability, and adversarial robustness.

arXiv AI
Jun 9

A Mechanistic Analysis of Adversarial Fine-tuning of Vision Transformers

arXiv:2606. 07593v1 Announce Type: cross Abstract: The widespread use of image classification models in high-risk, real-world situations necessitates making these models robust to slight disturbances or perturbations, such as blurring or sharpening, in the input images.

By Hannah Gao (Massachusetts Institute of Technology), Isha Agarwal (Massachusetts Institute of Technology), Dylan Hadfield-Menell (Massachusetts Institute of Technology), Rachel Ma (Massachusetts Institute of Technology)
arXiv Machine Learning
Nov 6

Beyond Quadratic Attention: Separable Gaussian Operators for ODE Vision Transformers

The paper introduces SSoG, a separable sum‑of‑Gaussians spatial operator that replaces dense self‑attention in Vision Transformers, reducing per‑layer cost from ≠N² to subquadratic in token count. SSoG’s fixed Gaussian kernels make it globally Lipschitz continuous, guaranteeing a unique solution for continuous‑depth models, unlike standard dot‑product attention. Experiments on CIFAR‑100 and high‑resolution inputs show that SSoG improves Top‑1 accuracy by up to 8.1 points while using 8.8–16.6% fewer parameters and achieving significantly higher throughput and lower memory usage compared to dense attention.

By Carlos Boned Riera, David Romero Sanchez, Oriol Ramos Terrades
arXiv Machine Learning
Jul 14

AutoNorm: Understanding Adaptive Normalization in Transformers through Differentiable Gating

arXiv:2607. 10593v1 Announce Type: new Abstract: Normalization is a critical component for stabilizing Transformer training, yet the choice between static strategies such as Layer Normalization (LN) and adaptive alternatives remains largely task-dependent.

By Piyush Kaushik Bhattacharyya, Divyanshu Rai, Swastik Singh, Kumar Aakash, Ayush Ranjan, Krutika Verma
arXiv Machine Learning
Oct 16

ABNAT: Attention-Based Noise-Aware Training for Robust Transformers on Analog Compute-in-Memory Systems

ABNAT introduces an attention-based noise-aware training framework for Transformer models on analog compute-in-memory systems. It focuses on preserving clean teacher attention routes during noisy training, addressing the increased divergence in deeper layers and overconfidence issues of conventional NAT. Experiments across vision, language, and multimodal Transformers show up to 11.28% accuracy improvement and 85.77% reduction in attention deviation.

By Wenshuai Yao, Wenyong Zhou, Hanyong Shao, Zhiyuan Ning, Yizhe Chen, Yuannuo Feng, Kechao Tang, Ru Huang
arXiv AI
Aug 19

Gradient Heterogeneity Complements Hessian Heterogeneity in Transformer Optimization

The paper investigates why adaptive optimizers like Adam outperform SGD when fine‑tuning Transformers. It introduces gradient heterogeneity—the variation in gradient norms across parameter blocks—and shows, both theoretically and experimentally, that this heterogeneity, together with Hessian heterogeneity, hampers SGD convergence while sign‑based methods such as SignSGD are less affected. The study links the source of gradient heterogeneity to layer‑normalization placement, finding that Post‑LN architectures exhibit the strongest effect, and uses SignSGD as a tractable proxy to analyze Adam‑like behavior and learning‑rate scaling.

By Akiyoshi Tomihari, Issei Sato
arXiv Computer Vision
Oct 23

Interpreting vision transformers via residual replacement model

The paper investigates how vision transformers (ViTs) represent and process visual information by conducting a systematic analysis of 6.6K features across all layers using sparse autoencoders. It introduces the residual replacement model, which substitutes ViT computations with interpretable features in the residual stream, revealing a progression from low-level patterns to high-level semantics and specialized encoding of curves and spatial positions. This model provides a scalable, faithful, and parsimonious circuit that simplifies ViT computations, enabling intuitive understanding of ViT mechanisms and demonstrating its usefulness for debiasing spurious correlations.

By Jinyeong Kim, Junhyeok Kim, Yumin Shim, Joohyeok Kim, Sunyoung Jung, Seong Jae Hwang