Differential Gated Self-Attention

作者
Elpiniki Maria Lygizou,Mónika Farsang,Radu Grosu
出处
期刊:Cornell University - arXiv
标识
DOI:10.48550/arxiv.2505.24054
摘要

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.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
优美紫槐发布了新的文献求助10
1秒前
qks完成签到 ,获得积分10
2秒前
jia完成签到 ,获得积分10
2秒前
2秒前
2秒前
3秒前
战国完成签到,获得积分10
3秒前
微笑小天鹅完成签到,获得积分10
3秒前
3秒前
byy发布了新的文献求助10
4秒前
5秒前
5秒前
5秒前
小药丸完成签到 ,获得积分10
5秒前
5秒前
彭于晏应助xiaomage采纳,获得10
6秒前
emnjkl完成签到,获得积分10
6秒前
studentbo完成签到,获得积分10
7秒前
李健的小迷弟应助lzh采纳,获得10
7秒前
7秒前
7秒前
充电宝应助QST采纳,获得10
7秒前
优美紫槐发布了新的文献求助10
7秒前
7秒前
Str0n完成签到,获得积分10
8秒前
丘比特应助小骄傲采纳,获得10
9秒前
9秒前
野生菜狗发布了新的文献求助10
9秒前
9秒前
10秒前
Yapi发布了新的文献求助10
10秒前
11秒前
量子星尘发布了新的文献求助10
11秒前
Str0n发布了新的文献求助10
11秒前
ww发布了新的文献求助10
11秒前
wanci应助Mexsol采纳,获得10
12秒前
浑冷之完成签到,获得积分20
12秒前
Jasper应助edge采纳,获得10
12秒前
13秒前
优美紫槐发布了新的文献求助10
13秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
The Cambridge History of China: Volume 4, Sui and T'ang China, 589–906 AD, Part Two 1000
The Composition and Relative Chronology of Dynasties 16 and 17 in Egypt 1000
Russian Foreign Policy: Change and Continuity 800
Real World Research, 5th Edition 800
Qualitative Data Analysis with NVivo By Jenine Beekhuyzen, Pat Bazeley · 2024 800
Superabsorbent Polymers 700
热门求助领域 (近24小时)
化学 材料科学 生物 医学 工程类 计算机科学 有机化学 物理 生物化学 纳米技术 复合材料 内科学 化学工程 人工智能 催化作用 遗传学 数学 基因 量子力学 物理化学
热门帖子
关注 科研通微信公众号,转发送积分 5712055
求助须知:如何正确求助?哪些是违规求助? 5207844
关于积分的说明 15266257
捐赠科研通 4864139
什么是DOI,文献DOI怎么找? 2611214
邀请新用户注册赠送积分活动 1561465
关于科研通互助平台的介绍 1518815