LGAIOCApr 9

Sinkhorn doubly stochastic attention rank decay analysis

arXiv:2604.0792513.31 citations
AI Analysis

This addresses signal degradation in Transformers for NLP and vision applications, but is incremental as it builds on prior work on rank collapse and doubly stochastic attention.

The paper tackles the problem of rank collapse in Transformer self-attention by analyzing Sinkhorn doubly stochastic attention, showing it preserves rank more effectively than standard Softmax attention, with empirical validation on sentiment analysis and image classification tasks.

The self-attention mechanism is central to the success of Transformer architectures. However, standard row-stochastic attention has been shown to suffer from significant signal degradation across layers. In particular, it can induce rank collapse, resulting in increasingly uniform token representations, as well as entropy collapse, characterized by highly concentrated attention distributions. Recent work has highlighted the benefits of doubly stochastic attention as a form of entropy regularization, promoting a more balanced attention distribution and leading to improved empirical performance. In this paper, we study rank collapse across network depth and show that doubly stochastic attention matrices normalized with Sinkhorn algorithm preserve rank more effectively than standard Softmax row-stochastic ones. As previously shown for Softmax, skip connections are crucial to mitigate rank collapse. We empirically validate this phenomenon on both sentiment analysis and image classification tasks. Moreover, we derive a theoretical bound for the pure self-attention rank decay when using Sinkhorn normalization and find that rank decays to one doubly exponentially with depth, a phenomenon that has already been shown for Softmax.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes