mlsanityData to 14 Oct 2026

Differential Gated Self-Attention

arXiv 2505.24054 ↗First posted 29 May 2025cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

Transformers excel across a large variety of tasks but remain susceptible to corrupted inputs, since standard self-attention treats all query-key interactions uniformly. Inspired by lateral inhibition in biological neural circuits and building on the recent use by the Differential Transformer's use of two parallel softmax subtraction for noise cancellation, we propose Multihead Differential Gated Self-Attention (M-DGSA) that learns per-head input-dependent gating to dynamically suppress attention noise. Each head splits into excitatory and inhibitory branches whose dual softmax maps are fused by a sigmoid gate predicted from the token embedding, yielding a context-aware contrast enhancement. M-DGSA integrates seamlessly into existing Transformer stacks with minimal computational overhead. We evaluate on both vision and language benchmarks, demonstrating consistent robustness gains over vanilla Transformer, Vision Transformer, and Differential Transformer baselines. Our contributions are (i) a novel input-dependent gating mechanism for self-attention grounded in lateral inhibition, (ii) a principled synthesis of biological contrast-enhancement and self-attention theory, and (iii) comprehensive experiments demonstrating noise resilience and cross-domain applicability.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 17 of its 29 references that are in the map. First posted on arXiv 29 May 2025.

Builds on

17 of 29 references.

References · 17

  1. 2017Attention Is All You Needcited by 60,361
  2. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  3. 2017Fashion-MNIST: a Novel Image Dataset for Benchmarking Machine Learning Algorithmscited by 4,349
  4. 2016Gaussian Error Linear Units (GELUs)cited by 3,502
  5. 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,682
  6. 2020GLU Variants Improve Transformercited by 1,804
  7. 2020Big Bird: Transformers for Longer Sequencescited by 1,684
  8. 2020Rethinking Attention with Performerscited by 1,601
  9. 2018Group Normalizationcited by 1,524
  10. 2019Root Mean Square Layer Normalizationcited by 1,480
  11. 2020Linformer: Self-Attention with Linear Complexitycited by 1,474
  12. 2020Quantifying Attention Flow in Transformerscited by 775
5 more
  1. 2021ConViT: Improving Vision Transformers with Soft Convolutional Inductive Biasescited by 484
  2. 2019Selective Kernel Networkscited by 403
  3. 2018DropBlock: A regularization method for convolutional networkscited by 262
  4. 2025Multi-Token Attentioncited by 10
  5. 2022Gradient Mask: Lateral Inhibition Mechanism Improves Performance in Artificial Neural Networkscited by 1

Built on by

Not cited yet.