Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Huang, Xingyue, Ding, Xueying, Ju, Mingxuan, Liu, Yozen, Shah, Neil, Zhao, Tong
Format: Preprint
Veröffentlicht: 2026
Schlagworte:
Online-Zugang:https://arxiv.org/abs/2601.12145
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866915940054073344
author Huang, Xingyue
Ding, Xueying
Ju, Mingxuan
Liu, Yozen
Shah, Neil
Zhao, Tong
author_facet Huang, Xingyue
Ding, Xueying
Ju, Mingxuan
Liu, Yozen
Shah, Neil
Zhao, Tong
contents Softmax attention struggles with long contexts due to structural limitations: the strict sum-to-one constraint forces attention sinks on irrelevant tokens, and probability mass disperses as sequence lengths increase. We tackle these problems with Threshold Differential Attention (TDA), a sink-free attention mechanism that achieves ultra-sparsity and improved robustness at longer sequence lengths without the computational overhead of projection methods or the performance degradation caused by noise accumulation of standard rectified attention. TDA applies row-wise extreme-value thresholding with a length-dependent gate, retaining only exceedances. Inspired by the differential transformer, TDA also subtracts an inhibitory view to enhance expressivity. Theoretically, we prove that TDA controls the expected number of spurious survivors per row to $O(1)$ and that consensus spurious matches across independent views vanish as context grows. Empirically, TDA produces $>99\%$ exact zeros and eliminates attention sinks while maintaining competitive performance on standard and long-context benchmarks.
format Preprint
id arxiv_https___arxiv_org_abs_2601_12145
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Threshold Differential Attention for Sink-Free, Ultra-Sparse, and Non-Dispersive Language Modeling
Huang, Xingyue
Ding, Xueying
Ju, Mingxuan
Liu, Yozen
Shah, Neil
Zhao, Tong
Machine Learning
Softmax attention struggles with long contexts due to structural limitations: the strict sum-to-one constraint forces attention sinks on irrelevant tokens, and probability mass disperses as sequence lengths increase. We tackle these problems with Threshold Differential Attention (TDA), a sink-free attention mechanism that achieves ultra-sparsity and improved robustness at longer sequence lengths without the computational overhead of projection methods or the performance degradation caused by noise accumulation of standard rectified attention. TDA applies row-wise extreme-value thresholding with a length-dependent gate, retaining only exceedances. Inspired by the differential transformer, TDA also subtracts an inhibitory view to enhance expressivity. Theoretically, we prove that TDA controls the expected number of spurious survivors per row to $O(1)$ and that consensus spurious matches across independent views vanish as context grows. Empirically, TDA produces $>99\%$ exact zeros and eliminates attention sinks while maintaining competitive performance on standard and long-context benchmarks.
title Threshold Differential Attention for Sink-Free, Ultra-Sparse, and Non-Dispersive Language Modeling
topic Machine Learning
url https://arxiv.org/abs/2601.12145