中文
相关论文

相关论文: Attention Sinks Induce Gradient Sinks: Massive Act…

200 篇论文

The dynamic behavior of RMSprop and Adam algorithms is studied through a combination of careful numerical experiments and theoretical explanations. Three types of qualitative features are observed in the training loss curve: fast initial…

机器学习 · 计算机科学 2021-10-01 Chao Ma , Lei Wu , Weinan E

We investigate grokking in transformers through the lens of inductive bias: dispositions arising from architecture or optimization that let the network prefer one solution over another. We first show that architectural choices such as the…

机器学习 · 计算机科学 2026-02-09 Jaisidh Singh , Diganta Misra , Antonio Orvieto

Masked diffusion models (MDMs), which leverage bidirectional attention and a denoising process, are narrowing the performance gap with autoregressive models (ARMs). However, their internal attention mechanisms remain under-explored. This…

机器学习 · 计算机科学 2026-01-14 Xin Dai , Pengcheng Huang , Zhenghao Liu , Shuo Wang , Yukun Yan , Chaojun Xiao , Yu Gu , Ge Yu , Maosong Sun

Modern Large Language Models, such as the LLaMA, Qwen and DeepSeek series, predominantly adopt the Pre-LayerNorm (Pre-LN) Transformer architecture. While being stable during pretraining and scalable to large model sizes, Pre-LN suffers from…

Softmax is widely used in neural networks for multiclass classification, gate structure and attention mechanisms. The statistical assumption that the input is normal distributed supports the gradient stability of Softmax. However, when used…

计算机视觉与模式识别 · 计算机科学 2021-08-17 Shulun Wang , Bin Liu , Feng Liu

The self-attention mechanism is the key to the success of transformers in recent Large Language Models (LLMs). However, the quadratic computational cost $O(n^2)$ in the input sequence length $n$ is a notorious obstacle for further…

机器学习 · 计算机科学 2024-10-17 Yingyu Liang , Heshan Liu , Zhenmei Shi , Zhao Song , Zhuoyan Xu , Junze Yin

Explaining the predictions of neural black-box models is an important problem, especially when such models are used in applications where user trust is crucial. Estimating the influence of training examples on a learned neural model's…

机器学习 · 计算机科学 2020-12-16 Carolin Lawrence , Timo Sztyler , Mathias Niepert

Deep ConvNets suffer from gradient signal degradation as network depth increases, limiting effective feature learning in complex architectures. ResNet addressed this through residual connections, but these fixed short-circuits cannot adapt…

计算机视觉与模式识别 · 计算机科学 2026-03-31 Soudeep Ghoshal , Himanshu Buckchash

Loss spikes often occur during pre-training of large language models. The spikes degrade the performance of large language models and sometimes ruin the pre-training. Since the pre-training needs a vast computational budget, we should avoid…

计算与语言 · 计算机科学 2025-07-28 Sho Takase , Shun Kiyono , Sosuke Kobayashi , Jun Suzuki

Gradient descent prevails in artificial neural network training, but seems inept for spiking neural networks as small parameter changes can cause sudden, disruptive (dis-)appearances of spikes. Here, we demonstrate exact gradient descent…

神经元与认知 · 定量生物学 2025-01-29 Christian Klos , Raoul-Martin Memmesheimer

In artificial neural networks trained with gradient descent, the weights used for processing stimuli are also used during backward passes to calculate gradients. For the real brain to approximate gradients, gradient information would have…

神经元与认知 · 定量生物学 2020-02-04 Jordan Guerguiev , Konrad P. Kording , Blake A. Richards

This paper presents a novel neural network training approach for faster convergence and better generalization abilities in deep reinforcement learning. Particularly, we focus on the enhancement of training and evaluation performance in…

机器学习 · 计算机科学 2020-05-26 Mohammed Sharafath Abdul Hameed , Gavneet Singh Chadha , Andreas Schwung , Steven X. Ding

Graph transformers achieve strong results on molecular and long-range reasoning tasks, yet remain hampered by over-smoothing (the progressive collapse of node representations with depth) and attention entropy degeneration. We observe that…

机器学习 · 计算机科学 2026-04-21 Dongxin Guo , Jikun Wu , Siu Ming Yiu

Understanding the fundamental mechanism behind the success of transformer networks is still an open problem in the deep learning literature. Although their remarkable performance has been mostly attributed to the self-attention mechanism,…

机器学习 · 计算机科学 2022-11-23 Tolga Ergen , Behnam Neyshabur , Harsh Mehta

Transformer-based deep learning models have achieved state-of-the-art performance across numerous language and vision tasks. While the self-attention mechanism, a core component of transformers, has proven capable of handling complex data…

机器学习 · 计算机科学 2025-08-05 Laziz Abdullaev , Tan M. Nguyen

Recent research has demonstrated that transformers, particularly linear attention models, implicitly execute gradient-descent-like algorithms on data provided in-context during their forward inference step. However, their capability in…

机器学习 · 计算机科学 2024-10-31 Max Vladymyrov , Johannes von Oswald , Mark Sandler , Rong Ge

At present, the mechanisms of in-context learning in Transformers are not well understood and remain mostly an intuition. In this paper, we suggest that training Transformers on auto-regressive objectives is closely related to…

Improving the resistance of deep neural networks against adversarial attacks is important for deploying models to realistic applications. However, most defense methods are designed to defend against intensity perturbations and ignore…

机器学习 · 计算机科学 2020-10-07 Pengfei Xia , Bin Li

In this paper, we propose a simple and effective technique to allow for efficient self-supervised learning with bi-directional Transformers. Our approach is motivated by recent studies demonstrating that self-attention patterns in trained…

计算与语言 · 计算机科学 2020-10-07 Ameet Deshpande , Karthik Narasimhan

Large models based on the Transformer architecture are susceptible to extreme-token phenomena, such as attention sinks and value-state drains. These issues, which degrade model performance, quantization fidelity, and interpretability, arise…

机器学习 · 计算机科学 2026-01-27 Rui Bu , Haofeng Zhong , Wenzheng Chen , Yangyan Li