Linear Differential Vision Transformer: Learning Visual Contrasts via Pairwise Differentials
Not on the map. Why?
Abstract (arXiv)
Vision Transformers (ViTs) have become a universal backbone for both image recognition and image generation. Yet their Multi-Head Self-Attention (MHSA) layer still performs a quadratic query-key interaction for every token pair, spending the bulk of computation on visually weak or redundant correlations. We introduce Visual-Contrast Attention (VCA), a drop-in replacement for MHSA that injects an explicit notion of discrimination while reducing the theoretical complexity from O(N N C) to O(N n C) with n << N. VCA first distils each head's dense query field into a handful of spatially pooled visual-contrast tokens, then splits them into a learnable positive and negative stream whose differential interaction highlights what truly separates one region from another. The module adds fewer than 0.3M parameters to a DeiT-Tiny backbone, requires no extra FLOPs, and is wholly architecture-agnostic. Empirically, VCA lifts DeiT-Tiny top-1 accuracy on ImageNet-1K from 72.2% to 75.6% (+3.4) and improves three strong hierarchical ViTs by up to 3.1%, while in class-conditional ImageNet generation it lowers FID-50K by 2.1 to 5.2 points across both diffusion (DiT) and flow (SiT) models. Extensive ablations confirm that (i) spatial pooling supplies low-variance global cues, (ii) dual positional embeddings are indispensable for contrastive reasoning, and (iii) combining the two in both stages yields the strongest synergy. VCA therefore offers a simple path towards faster and sharper Vision Transformers. The source code is available at https://github.com/LeapLabTHU/LinearDiff.
Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Builds on 81 of its 94 references that are in the map. First posted on arXiv 2 Nov 2025.
Builds on
81 of 94 references.
References · 81
- 2017Attention Is All You Needcited by 60,361
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2020Denoising Diffusion Probabilistic Modelscited by 21,076
- 2015U-Net: Convolutional Networks for Biomedical Image Segmentationcited by 19,713
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
- 2021Diffusion Models Beat GANs on Image Synthesiscited by 8,255
- 2020End-to-End Object Detection with Transformerscited by 7,414
- 2022Hierarchical Text-Conditional Image Generation with CLIP Latentscited by 6,585
- 2022Scalable Diffusion Models with Transformerscited by 6,054
- 2017mixup: Beyond Empirical Risk Minimizationcited by 5,183
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,586
- 2019CutMix: Regularization Strategy to Train Strong Classifiers with Localizable Featurescited by 2,884
38 more
- 2019RandAugment: Practical automated data augmentation with a reduced search spacecited by 2,269
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 2,022
- 2021Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutionscited by 1,962
- 2020Rethinking Attention with Performerscited by 1,601
- 2020Linformer: Self-Attention with Linear Complexitycited by 1,474
- 2017Random Erasing Data Augmentationcited by 1,239
- 2025Does Reinforcement Learning Really Incentivize Reasoning Capacity in LLMs Beyond the Base Model?cited by 982
- 2024SiT: Exploring Flow and Diffusion-based Generative Models with Scalable Interpolant Transformerscited by 737
- 2025Beyond the 80/20 Rule: High-Entropy Minority Tokens Drive Effective Reinforcement Learning for LLM Reasoningcited by 559
- 2021CSWin Transformer: A General Vision Transformer Backbone with Cross-Shaped Windowscited by 527
- 2022All are Worth Words: A ViT Backbone for Diffusion Modelscited by 502
- 2021Nystr"omformer: A Nystr"om-Based Algorithm for Approximating Self-Attentioncited by 471
- 2021Dynamic Neural Networks: A Surveycited by 408
- 2018Efficient Attention: Attention with Linear Complexitiescited by 368
- 2025Absolute Zero: Reinforced Self-play Reasoning with Zero Datacited by 344
- 2022Vision Transformer with Deformable Attentioncited by 295
- 2023MDTv2: Masked Diffusion Transformer is a Strong Image Synthesizercited by 262
- 2022Neighborhood Attention Transformercited by 239
- 2024How Far is Video Generation from World Model: A Physical Law Perspectivecited by 212
- 2023Fast Training of Diffusion Models with Masked Transformerscited by 176
- 2023FLatten Transformer: Vision Transformer using Focused Linear Attentioncited by 171
- 2023GSVA: Generalized Segmentation via Multimodal Large Language Modelscited by 154
- 2023BiFormer: Vision Transformer with Bi-Level Routing Attentioncited by 151
- 2023Efficient and Explicit Modelling of Image Hierarchies for Image Restorationcited by 145
- 2021Not All Images are Worth 16x16 Words: Dynamic Transformers for Efficient Image Recognitioncited by 144
- 2021SOFT: Softmax-free Transformer with Linear Complexitycited by 128
- 2024Scalable High-Resolution Pixel-Space Image Synthesis with Hourglass Diffusion Transformerscited by 118
- 2024DeeR-VLA: Dynamic Inference of Multimodal Large Language Models for Efficient Robot Executioncited by 117
- 2024Demystify Mamba in Vision: A Linear Attention Perspectivecited by 102
- 2023Agent Attention: On the Integration of Softmax and Linear Attentioncited by 90
- 2024Glyph-ByT5: A Customized Text Encoder for Accurate Visual Text Renderingcited by 81
- 2021Adaptive Focus for Efficient Video Recognitioncited by 77
- 2022Dilated Neighborhood Attention Transformercited by 64
- 2023Segment3D: Learning Fine-Grained Class-Agnostic 3D Segmentation without Manual Labelscited by 64
- 2024Dynamic Diffusion Transformercited by 62
- 2022Your ViT is Secretly a Hybrid Discriminative-Generative Diffusion Modelcited by 58
- 2023Adaptive Rotated Convolution for Rotated Object Detectioncited by 51
- 2023Rank-DETR for High Quality Object Detectioncited by 50
50 most cited of 81 All 81 (JSON)
Built on by
Citing papers per year: 2026: 4.
4 papers.
- 2026LINA: Linear Autoregressive Image Generative Models with Continuous Tokenscited by 0
- 2026Do Vision Transformers Need All-to-All Attention? Global Communication Through Elastic Learned Corescited by 0
- 2026SinkRec: Mitigating Semantic State Sink in Long Sequence Recommendation with Memory-Conditioned Gated Delta Networkscited by 0
- 2026Contrastive Attention Mitigates Spectral Bias in Spiking Transformerscited by 0
- 2026Contrastive Attention Mitigates Spectral Bias in Spiking Transformers1 Oct 2026
- 2026SinkRec: Mitigating Semantic State Sink in Long Sequence Recommendation with Memory-Conditioned Gated Delta Networks3 Jun 2026
- 2026Do Vision Transformers Need All-to-All Attention? Global Communication Through Elastic Learned Cores12 May 2026
- 2026LINA: Linear Autoregressive Image Generative Models with Continuous Tokens30 Jan 2026