Manuscript Offprint
arXiv:2610.05558An equality condition for the Dobrushin bound on attention rollout and how often it holds in trained transformers
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
The Dobrushin coefficient of each attention-rollout factor satisfies , and multiplying these inequalities over layers bounds the coefficient of the whole rollout. We characterise exactly when the layerwise bound is tight: equality holds if and only if some token pair attaining is mutually self-dominant — each of the two attends to itself at least as strongly as the other attends to it. The condition is far from automatic: uniformly random stochastic matrices satisfy it only 24–30% of the time.
When tested on the head-averaged attention of each individual input and restricted to content tokens — image patches, words or tabular features, excluding cls, register and separator tokens — the condition holds for essentially every input at every layer of DINOv2 (three model sizes), RoBERTa and DistilBERT. In the supervised models DeiT-B and ViT-B/16 it holds for 91% and 64% of input-layer pairs respectively, with all failures occurring late in depth. In FT-Transformer trained on two standard tabular benchmarks it holds for only 11–44% of input-layer pairs. The special tokens account for almost all failures in DINOv2 and the language models: when they are included, the condition holds for only 82–97% of input-layer pairs.
1 Introduction
In a transformer, each attention layer mixes tokens. For every token it forms a weighted average of all tokens' value vectors — the weights being one row of a row-stochastic attention matrix — and adds the result to that token's representation. Information is thereby redistributed across positions and the representations are pulled toward one another. Iterating this aggregation can drive all tokens toward a common representation — rank collapse in the vision and language literature (Dong et al., 2021), oversmoothing in the graph setting (Oono and Suzuki, 2020; Wu et al., 2023). Whether, and how fast, a given trained network approaches that regime is a question about a product of many mixing operators, one per layer.
Attention rollout (Abnar and Zuidema, 2020) is the standard way to summarise such a product. It multiplies the attention matrices of successive layers into a single row-stochastic operator describing how attention-mediated influence accumulates with depth. To account for the residual (skip) connection, which passes each token's representation to the next layer unchanged, each attention matrix A is first replaced by , the identity I standing for the skip connection. Because the result is row-stochastic, the classical theory of products of inhomogeneous stochastic matrices applies to it directly.
Biccari et al. (2026) make that connection explicit. They analyse rollout with Doeblin–Dobrushin contraction theory, show that an operator with a small Dobrushin coefficient is quantitatively
*Department of Mathematics, Kraków University of Economics, e-mail: przemyslaw.rola@outlook.com
2020 Mathematics Subject Classification. 68T07, 60J10, 15B51. Key words and phrases. Attention rollout, Dobrushin coefficient, stochastic matrices, residual connections, transformers, attention sinks.
close to a rank-one matrix, and control the coefficient of the composed operator by a layerwise estimate: writing for a rollout factor, , which composes across layers into a certificate carrying a factor . They also prove an unconditional lower bound on any single factor, and observe empirically that the composed coefficient decreases with depth in trained tabular transformers.
Their treatment therefore brackets the coefficient of each factor, , from above and from below, but leaves a question unanswered: when is the upper bound an equality? The question is not cosmetic. If the estimate is loose, the depth certificate built from it may be improvable layer by layer, and the numbers it produces say more about the estimate than about the network. If it is tight, no layer's estimate can be improved; the depth certificate may still overstate the coefficient of the whole rollout, but only because the coefficient of a product of matrices can be smaller than the product of their coefficients.
This paper answers when the layerwise bound is an equality, and draws out the consequences. Throughout, the object is the row-stochastic attention matrix — the token-mixing pattern — rather than the full multi-head attention block of a layer, (Vaswani et al., 2017), which also includes the value and output projections, so none of what follows certifies the complete computation; (M1) in Section 2 states this formally.
Contributions. (i) An exact characterisation of when the layerwise bound of Biccari et al. (2026) is an equality (Proposition 2). (ii) A test of the condition on the object their bound uses, the head-averaged attention matrix of each input: on content tokens it holds for essentially every input at every layer of DINOv2 and of two language models, less consistently in two supervised vision transformers, whose failures come late in depth, and rarely in FT-Transformer on tabular data; in DINOv2 and the language models the special tokens — cls, registers, separators — account for almost all failures. (iii) The observation that testing attention averaged over inputs instead, a natural alternative, can both create and destroy exactness. (iv) Two supporting measurements: the classical entry-wise bound is far looser than itself for the numbers of tokens used in real transformers, and the Dobrushin coefficient of DINOv2's attention averaged over heads and images is often attained at a pair involving a single register token, and drops markedly when that token is left out.
Section 2 fixes notation and modelling choices, Section 3 proves the characterisation, Section 4 reports the measurements, Section 5 discusses limitations and future work, and Section 6 positions the work.
A transformer layer acts on a matrix whose rows are token representations of width . Each layer adds its output to rather than replacing it, — a residual, or skip, connection — so the representation passed from layer to layer, called the residual stream, accumulates the contributions of every layer. Self-attention with heads computes, for head , queries, keys and values , , with , , ,
In the notation of Vaswani et al. (2017), the multi-head block of a self-attention layer, which all models here use, is Concat(head , ..., head ) with head = Attention( , , ) = , where X is the input of the block and is head h's row-stochastic attention matrix. Splitting into the row blocks belonging to the heads turns the product into the sum head . Biases add the same vector to every token, since each has rows summing to one, and so do not affect the token-mixing pattern.
where is the per-head query/key dimension ( when the heads partition the width evenly, as in the models studied here), and the attention matrix
row-wise, so that and : each row is a probability distribution over tokens. The head's contribution to the residual stream is , where is head 's slice of the output projection, ; the layer sums these over heads, adds the result to through the residual connection, and follows with normalisation and an MLP. Throughout, denotes the number of tokens.
Let denote the (head-averaged, see (M2)) attention matrix of layer , and the corresponding residual factor. The depth-ordered product
is the transition matrix of a time-inhomogeneous Markov chain on the token index (the layer applied first stands rightmost, since in this model representations propagate as ); at it is attention rollout (Abnar and Zuidema, 2020), and at the pure-attention product. Rank collapse — all tokens converging to a common representation — is then the weak ergodicity of that chain: the rows of becoming identical.
Dobrushin's ergodicity coefficient (Dobrushin, 1956; Seneta, 2006) of a row-stochastic A is
with iff all rows coincide (i.e. has rank one). Two properties make it useful here: it contracts oscillation , in the sense that , and it is submultiplicative: for any row-stochastic ,
We state it for general factors because it is applied below both to the attention matrices and to the residual factors . Both are classical (Seneta, 2006). We also use that is convex in , which is immediate from (3): is a maximum of the convex functions .
Terminology. We use a few terms in their technical senses. For a row vector, ; since attention rows are probability distributions, is the total-variation distance between the distributions of tokens and , so is the total-variation distance between the two most dissimilar attention rows. A pair attains when it realises that maximum; the coefficient is decided entirely by such argmax pairs, and all other tokens are invisible to it. Concretely, the contraction property says that, for any vector with one value per token, the gap between the largest and smallest value across tokens after mixing by is at most times what it was. At the level of token mixing, the residual connection makes the operator acting on the residual stream the convex combination rather than .
We write following Biccari et al. (2026); the Markov-chain literature (Seneta, 2006; Ipsen and Selee, 2011) writes for the same quantity.
In the usual convention, ; some authors call itself the total variation.
itself, which is why every statement below is about . By a certificate we mean a bound computable from forward passes alone, without training or search. An attention sink (Xiao et al., 2024) is a token receiving disproportionate attention from many others. Finally, relates to the more familiar spectral notion by (Seneta, 1979), where is the eigenvalue of second-largest modulus (the largest is 1), so lower-bounds the spectral gap. The advantage of over the spectral gap here is that it is submultiplicative over different matrices, which is what a product of distinct layers requires.
Equation (4) is a per-layer certificate obtained from a single forward pass. Crucially it requires no time-homogeneity: it holds for arbitrary distinct , unlike results that assume the same parameters at every layer in order to reach an asymptotic limit (Geshkovski et al., 2023; Vo et al., 2025).
Modelling choices. These are choices, not theorems, and every claim below is scoped to them.
(M1) A transformer layer is not a stochastic matrix. Only the token-mixing part is; the output projection , the MLP and the normalisation lie outside the certificate.
(M2) With heads the layer is not a single chain: each head has its own row-stochastic matrix . Following Biccari et al. (2026), every statement about a layer in Sections 3 and 4 refers to the head average , which is again row-stochastic, and by convexity . Exactness, however, is not preserved by averaging: it can hold for while failing for individual heads. We therefore also test the individual heads (Section 4.1).
(M3) The residual branch is modelled as . At this is exactly a rollout factor (Abnar and Zuidema, 2020; Biccari et al., 2026); we keep general because Proposition 2 holds for every , not only for . DINOv2 uses LayerScale (a learned per-channel multiplier on each branch), so the effective residual weight is not literally .
(M4) We test the content subchain: the submatrix of on the content tokens alone — image patches, words, or tabular features — discarding the special tokens, namely the cls token of the image models and of FT-Transformer, the four registers of the DINOv2 models that have them, and the classification and separator tokens [CLS] and [SEP] of the language models (<s> and </s> in RoBERTa), with the remaining rows rescaled to sum to one. For images we also call it the patch subchain. This is a choice about which tokens enter each attention matrix, separate from how many inputs the matrix is averaged over. The subchain is a different Markov chain from the original, not a restriction of it — deleting states and renormalising changes the dynamics — so results on it do not transfer automatically to the full token set. We report every model on both, and the difference is itself informative (Section 4). Because rescaling the rows does not commute with averaging, we apply the restriction only after all averaging: over heads and, where applicable (Section 4.2), over inputs as well.
3 The residual bound and when it is attained
Lemma 1 (Residual bound; Biccari et al., 2026, eq. (A.6) at ). For row-stochastic A and , with ,
Proof. is convex on the set of row-stochastic matrices and , so . At this recovers the estimate of Biccari et al. (2026), obtained there by the triangle inequality.
At , Biccari et al. (2026) compose their case of Lemma 1 across depth into
and separately prove the unconditional floor which tends to as the number of tokens grows. We state the results below for every , which the proof allows at no extra cost; all our measurements use .
The interesting question is when the second inequality — the layerwise estimate — is tight, since that determines whether the certificate is informative or merely valid.
Proposition 2 (Exactness). Let A be row-stochastic and . Then
if and only if there exists a pair attaining that satisfies
Proof. Fix and write , so and . Then
with the -th canonical basis vector, whose coordinates are at position , at position , and elsewhere. By the triangle inequality,
The first inequality holds term by term: since , with equality if and only if , and with equality if and only if (as if and only if ). So the first inequality is an equality if and only if satisfies (8), and the second if and only if attains .
If some -attaining pair satisfies (8), equality holds throughout for it; since the chain bounds every pair, .
Conversely, if , equality holds throughout for any pair attaining , which has because this value is positive; as , that pair attains and satisfies (8).
Example 3 (The bound can fail completely). Let , the two-token swap. Its rows are disjoint, so and Lemma 1 gives only the trivial bound . But has identical rows, hence : the residual destroys the entire difference instead of preserving half of it. The condition fails at the only attaining pair, since .
In their notation, d stands for N.
Remark 1 (Interpretation). Condition (8) says that each of the two extremal tokens attends to itself at least as strongly as the other extremal token attends to it — a mutual self-dominance of a pair that realises the coefficient (the pair need not be unique; the condition asks this of some attaining pair, not of all). The residual scales every row by and adds mass to its diagonal entry; mutual self-dominance is precisely the condition under which, for that pair, the added mass reinforces the existing difference between the two rows rather than partially cancelling it. Example 3 is the opposite extreme, where it cancels the difference entirely. The condition fails at a pair when one of its two tokens receives more attention from the other than it pays itself — a pattern that an attention sink, receiving attention from many tokens, can produce when it is one of the pair.
Remark 2 (Size of a failure). The computation in the proof also bounds the size of a failure. For any pair attaining ,
and the bound on the gap is sharp: in Example 3 both sides equal 1. A failure is therefore never larger than times the total amount by which the two inequalities of (8) fail, and each of these amounts is at most one attention entry. When attention is spread over many tokens its entries are small, and so are its failures: uniformly random matrices with 256 tokens (the uniform model below) fail condition (8) about three times in four, but at by a median gap of only 0.5% of .
Corollary 1 (Factorwise tightness). Let . If the condition of Proposition 2 holds at every layer, then for all . In particular, at the second inequality in (6) is an equality:
The depth certificate (6) bounds in two steps: submultiplicativity, , and then the layerwise estimate applied to each factor. Under the condition the second step is an equality at every layer, so the certificate cannot be improved by sharpening the layerwise estimate. Whatever gap remains between the certificate and comes from the first step, which is typically strict: the coefficient of a product of matrices is usually much smaller than the product of their coefficients. A tighter certificate would have to use more information about the attention matrices than their coefficients.
Condition (8) cannot be dropped: without it the bound can fail, and Example 3 shows that it can fail by the largest possible amount. How often random matrices satisfy the condition depends on how they are generated, so we use three random models, each at , 8, 32, 128 and 256 tokens with 1000 matrices per size. Under the uniform model each row is a random probability vector, with all probability vectors equally likely: it is drawn independently from the uniform distribution on the probability simplex (the Dirichlet distribution with all parameters equal to one); under the softmax model each row is the softmax of independent standard Gaussian logits. Both satisfy the condition in only 24–30% of cases, at every size. The third model imitates two features common in trained attention: every token sends an extra share of its attention to one common sink token, and an extra share to itself. Row is , where is a random row drawn from the uniform model, and are the unit vectors of the sink token , chosen uniformly at random, and of token , and are the weights of the two extra shares. Since , each row is again a probability vector. The weights are drawn once per matrix, since a sink attracts attention from every token of a head; to include matrices with neither feature, either one, or both, and are drawn independently, each equal to zero with probability
and otherwise uniform on . The extra weight on the diagonal favours the condition, which asks each extremal token to attend to itself at least as strongly as the other attends to it, and the condition now holds in 58–63% of cases. The exact rate depends on these choices; the point is that building in self-preference makes the condition more common, but still far from certain. It is therefore not automatic, which is what makes its behaviour in trained models (Section 4) a substantive observation rather than a restatement of Lemma 1.
Two remarks delimit what the depth bound can say. It is one-sided: a small product of layer coefficients shows that the rollout is close to rank one, but a large product shows nothing, since can lie far below it. And where the condition fails the per-layer estimate is loose, so the bound understates how much such a layer mixes: a failure of the condition is a limitation of the bound, not a property of the network.
4 Empirical results
What is tested. In the bound of Biccari et al. (2026), the layerwise estimate is applied to one input at a time. For each input , the heads of layer are averaged into the input-dependent matrix , and the coefficient of that input's rollout is bounded by (6). For a dataset, the input-specific rollouts are averaged, and the coefficient of the average is bounded by the average of the right-hand sides of (6), as in their (A.7) and (A.8). Each factor in these bounds is the layerwise estimate of Lemma 1 applied to the matrix of one input at one layer. Whether their estimate is tight is therefore a question about the matrices of individual inputs, and this is our primary test: for every input and layer we evaluate the gap of Proposition 2 on that input's head-averaged matrix, and report the share of input-layer pairs at which the bound is attained, that is, at which condition (8) holds. Averaging over the inputs before testing gives a different object, , the mean of over the inputs, which behaves differently; we report it separately (Section 4.2).
Models and data. We test DINov2 (Oquab et al., 2024) in its released variant with register tokens, at three sizes (ViT-S/14, ViT-B/14 and ViT-L/14, with 12, 12 and 24 layers), and, as a control, the ViT-B/14 variant trained without them. Register tokens are extra learnable vectors appended to the input sequence that correspond to no image patch: Darcet et al. (2024) introduced them because vision transformers otherwise repurpose a few patch tokens to carry high-norm global information. We further test two ViT-B/16 models trained with supervision on ImageNet, the original ViT (Dosovitskiy et al., 2021) and DeiT-B (Touvron et al., 2021), and the bidirectional language encoders RoBERTa-base (Liu et al., 2019) and DistilBERT (Sanh et al., 2019). Image models are evaluated on 512 images drawn at random from ImageNetV2 (Recht et al., 2019), language models on 512 sequences of exactly 128 tokens with no padding, drawn at random from the training split of WikiText-103 (Merity et al., 2017), so that every attention row is a distribution over the full sequence. For every model we test attention among the content tokens, image patches, words or tabular features. The special tokens — the cls token, the registers, and the classification and separator tokens [CLS] and [SEP] (<s> and </s> in RoBERTa) — remain part of the model and influence its attention, but they are removed from the matrices we test, which is the content subchain of (M4). We also test every model on all of its tokens; the difference shows where the condition breaks. We chose bidirectional encoders rather than decoder-only models such as GPT-2 for a reason specific to the coefficient. In a decoder-only model each token may attend only to itself and earlier tokens, so the first token attends only to itself: its attention row is . That row overlaps any other row j only in , the attention token j pays to the first position, so
| model | training | per input | averaged exact layers | ||
|---|---|---|---|---|---|
| content tokens | all tokens | heads | |||
| DINOv2-S | self-supervised | 6 144/6 144 (100%) | 91.2% | 97.2% | 12/12 |
| DINOv2-B | self-supervised | 6 137/6 144 (99.9%) | 83.8% | 95.9% | 12/12 |
| DINOv2-L | self-supervised | 12 285/12 288 (99.98%) | 81.9% | 91.4% | 24/24 |
| DINOv2-B, no registers | self-supervised | 6 141/6 144 (99.95%) | 97.4% | 94.0% | 12/12 |
| DeiT-B | supervised | 5 582/6 144 (90.9%) | 90.7% | 82.3% | 11/12 |
| ViT-B/16 | supervised | 3 954/6 144 (64.4%) | 64.1% | 60.7% | 11/12 |
| RoBERTa-base | masked LM | 6 125/6 144 (99.7%) | 89.7% | 97.3% | 12/12 |
| DistilBERT | distillation | 3 072/3 072 (100%) | 96.8% | 94.2% | 6/6 |
| FT-T, California, 3 blocks | supervised | 18.7% | 16.1% | — | 2/6 |
| FT-T, California, 6 blocks | supervised | 11.3% | 9.8% | — | 3/15 |
| FT-T, Higgs, 3 blocks | supervised | 44.4% | 32.3% | — | 3/6 |
Table 1: How often condition (8) holds: per input, the object of the depth bound of Biccari et al. (2026), and for attention averaged over inputs. Content tokens: share of input-layer pairs for which the input's head-averaged attention matrix, restricted to content tokens (M4), satisfies the condition, across 512 images or sequences per pretrained model. All tokens: the same share without restricting to content tokens. Heads: share of head-input-layer triples — one head, at one layer, on one input — for which that head's attention matrix, restricted to content tokens, satisfies the condition, across the same 512 inputs; not computed for FT-T. Averaged: number of layers for which , restricted to content tokens, satisfies the condition (Section 4.2). The content tokens are the 256 patches of DINOv2, the 196 patches of DeiT-B and ViT-B/16, the 126 words of the language models, and the 8 or 28 features of FT-Transformer (FT-T, Section 4.3), which is evaluated over three seeds with 4000 test rows each.
by the second form of (3), . The next rows are constrained in the same way, more weakly: row can overlap another row only on the first positions. The coefficient is therefore governed by how much the tokens attend to the first few positions, a consequence of the mask, rather than by mixing across the sequence.
Sample size and precision. The shares in Table 1 use 512 inputs per pretrained model. Larger samples give the same picture: on all 10 000 images of ImageNetV2 for DINOv2-B, DeiT-B and ViT-B/16, and on 4096 sequences for RoBERTa, the overall share changes by at most 0.2 percentage points and the share at any single layer by at most 2.6; in particular, DINOv2-B fails at no layer beyond the first for any of the 10 000 images. We count a gap as zero when it is below ; Appendix B explains this choice and shows that the counts barely depend on it.
4.1 The condition on each input's attention
In DINOv2 the condition holds for essentially every image at every layer (Table 1): at 24 566 of the 24 576 image-layer pairs of DINOv2-S, -B and -L, the variants trained with registers, against the 24–30% at which random matrices satisfy it (Section 3). All ten failures are at layer 1 — unlike those of the other encoders below, which come late in depth — and all are small. We measure the size of a failure by its gap as a fraction of , the part of the bound that depends on the
The larger samples also reveal failures too rare for 512 inputs to detect at two further layers: in 4 of 10 000 images at layer 6 of ViT-B/16, and in 2 at layer 10 of DeiT-B.
attention: under exactness, at our , , and the constant comes from the skip connection and is the same for every matrix. By this measure, at each of the ten failures the bound overstates the attention's part by at most 3%, and their gaps, between and , are far above numerical precision (Appendix B). DINOv2-B trained without registers behaves the same way, so training with registers is not what makes the patch subchain exact. The two language models behave like DINOv2 on their content tokens: RoBERTa satisfies the condition at 6125 of its 6144 sequence-layer pairs and DistilBERT at all 3072.
The two supervised vision transformers are the exception. Even on their patch tokens the condition fails for some inputs, late in depth (Figure 1): in DeiT-B at layer 11 for 10% of images and at layer 12 for all of them, and in ViT-B/16 for most images at layers 8, 9, 10 and 12, and for 27% and 46% of them at layers 7 and 11. Most of these failures are small in the sense just defined: at the median failure the bound overstates the attention's part by 1.6% in DeiT-B and 3.7% in ViT-B/16. With so many tokens this is expected rather than informative (Remark 2): what distinguishes trained attention is how often the gap is exactly zero. We do not know why they arise late in depth, or why only in these two models.
Special tokens are where the condition breaks. Including the special tokens changes the picture for DINOv2 and the language models (Table 1, bottom row of Figure 1). On all tokens, DINOv2 with registers satisfies the condition for only 82–91% of image-layer pairs: at layer 1 nearly every image fails, and in the later layers of DINOv2-B and -L many do. RoBERTa and DistilBERT drop to 90% and 97%, failing mainly at layers 9 and 12 and at layer 6 respectively; removing the two special tokens of each sequence, which leaves only its 126 text tokens, removes 713 of the 732 failures. This is consistent with the observation of Clark et al. (2019) that over half of BERT's attention in layers 6 to 10 goes to [SEP]. Without registers, the cls token alone lowers DINOv2-B to 97%, mostly at layer 11. In the two supervised vision transformers, by contrast, including the cls token changes almost nothing (90.7% and 64.1% on all tokens, against 90.9% and 64.4% on patches): their failures lie among the patches themselves.
Individual heads, reported in the last-but-one column of Table 1, satisfy the condition for 61–97% of head–input–layer triples (one head, at one layer, on one input), far more often than random matrices, so the head average of (M2) is not what produces the result.
What the certificate attains. For a single image x, the depth bound (6) of Biccari et al. (2026) is
an upper bound on , the coefficient of that image's rollout. For a dataset they bound the coefficient of the averaged rollout , the mean of over the images, by the mean of .
Where condition (8) holds, the corresponding factor of is exact; in DINOv2 this is so for all but ten of the 24576 factors. Yet the bound remains loose. Over our 512 images the mean of is 0.44, 0.36 and 0.065 for DINOv2-S, -B and -L, while the coefficient it bounds, , is 0.093, 0.075 and 0.0022 on the same images: the bound is five to thirty times too large, although almost every factor in it is exact.
The excess comes from the two other steps in its derivation: submultiplicativity, , since the coefficient of a product of matrices is usually much smaller than the product of their coefficients; and averaging over images, which by convexity can only lower the coefficient.

image models, all tokens

language models, all tokens
relative depth

relative depth
Figure 1: Percentage of the 512 images or sequences whose head-averaged attention matrix at that layer satisfies condition (8), layer by layer, against relative depth , for the pretrained models of Table 1 (512 images or sequences each), on content tokens (top) and on all tokens (bottom). In the top-left panel the four DINOv2 curves lie on top of one another at 100%. Appendix C gives the exact number of failing inputs at every layer where there are any.
The attention analysis predicts a collapse that does not happen. If tokens were mixed by attention alone, as the rollout models them, DINOv2-L would leave every token with nearly the same representation: its rollout over 24 layers, averaged over images, has coefficient 0.0022, so by Theorem 2.3 of Biccari et al. (2026) it is close to a matrix whose rows are all equal — one that gives every token the same weighted average of the inputs. Yet DINOv2-L does not collapse. Its patch features support per-pixel tasks such as semantic segmentation and depth estimation from a single image (Oquab et al., 2024), which would be impossible if the patch tokens had become interchangeable. The resolution lies in what the rollout leaves out. It tracks only the attention matrices, so the value projections, the MLP and the normalisation lie outside it (M1), and it weights the residual branch by , whereas DINOv2 weights it by learned per-channel factors (M3). Whatever keeps the representations apart must lie in these parts of the network. This is a caution about the rollout framework itself — ours and Biccari et al. (2026)'s alike — rather than a finding about DINOv2: a near-collapsed rollout is compatible with a model that is working perfectly well.
4.2 Averaging over inputs
Averaging attention over inputs before testing is natural when one wants to describe a layer’s typical attention pattern. The last column of Table 1 reports it: for each model is formed from the same inputs and tested. On content tokens, the averaged matrices of the eight pretrained models satisfy the condition at 100 of their 102 layers; the two exceptions are the last layers of DeiT-B and ViT-B/16. This verdict is stable: on the larger samples of Section 4 — all 10 000 images for DINOv2-B, DeiT-B and ViT-B/16, and 4096 sequences for RoBERTa — it is the same at every layer, and for all three DINOv2 models also over five independent draws of 512 images.
But the averaged test answers a different question, and it can agree or disagree with the per-input test, because exactness is not preserved by averaging in either direction. In ViT-B/16 the averaged matrix is exact at layers 7 to 11, although 27% to 88% of individual images fail there: averaging creates exactness. In RoBERTa on all tokens, 509 of 512 sequences are exact at layer 8, but the averaged matrix is not (its gap is ): averaging destroys it. Averaging also lowers the coefficient. For DINOv2-B, has between 0.19 and 0.78 across layers, while the median over images of the per-image coefficient lies between 0.43 and 0.94, because an average of attention patterns is more uniform than the patterns themselves. The coefficient of an averaged matrix describes how much the typical pattern mixes, not how much the attention of any input does.
Individual heads averaged over inputs, on content tokens, are exact for 570 of the 600 DINOv2 heads, 141 of 144 in RoBERTa and 70 of 72 in DistilBERT. On all tokens the averaged matrices fail more often, as the per-input test does: at five of the twelve layers of DINOv2-B, for instance, each time with a register in the extremal pair.
Column dominance is sufficient but not the explanation. One simple sufficient condition exists. If every diagonal entry is the largest in its column — for all and , so that no token attends to more strongly than attends to itself — then both inequalities of (8) hold at every pair, and exactness follows whichever pair attains . The property is demanding: among the uniform and softmax random matrices of Section 3, none of the 1000 at each of 8, 32, 128 and 256 tokens has it. It is common among the DINOv2 heads averaged over images, : 308 of the 600 have it, and all of them satisfy condition (8), as the argument requires. But it does not explain the regularity: 262 of the 570 heads that satisfy the condition lack it, and satisfies the condition at all 48 layers of the three models, although it is column dominant at only 29 of them, and at four of them not in a single column. Which property governs the condition remains open.
4.3 A contrasting case: FT-Transformer
Condition (8) is not universal. We trained FT-Transformer (Gorishniy et al., 2021), a widely used transformer architecture for tabular data, on two standard benchmarks, California Housing (Pace and Barry, 1997) with 8 features and Higgs (Baldi et al., 2014) with 28, using its authors' own data splits, preprocessing and default configuration of three blocks, and additionally with six blocks on California Housing; its tokens are one cls token and one token per feature, 9 in all on California Housing and 29 on Higgs (details in Appendix A). The models reproduce the authors' own results: on Higgs our three seeds reach 0.725–0.728 accuracy against their 0.721–0.724, and on California Housing they come within about 0.01 of their RMSE. Yet per input, on its feature tokens, condition (8) holds for only 11–44% of input-layer pairs, and for 10–32% with the cls token included (Table 1): far below the other models, and in two of the three configurations, both on California Housing, below the rate for random matrices. Few tokens do not by themselves explain

Figure 2: Doeblin bound against the directly computed coefficient, per layer, for on the patch subchain of DINov2-S, -B and -L. The shaded gap is what the entry-wise route gives up.
this: random matrices satisfy the condition about as often with few tokens as with many (Section 3). The size of the failures depends on the dataset: at the median failure the bound overstates the attention’s part of the coefficient, , by 5% on Higgs and by 23–38% on California Housing. These larger failures are consistent with Remark 2: with only 29 or 9 tokens, single attention entries are large.
4.4 The entry-wise route does not bind at realistic numbers of tokens
Some asymptotic arguments that attention mixes tokens rest on a lower bound, uniform over all layers, for the entries of the attention matrices. Wu et al. (2023), for instance, use a constant bounding every entry of every attention matrix from below, which they show exists (their Lemma 2). Such an bounds the coefficient directly: if every entry is at least , any two rows overlap in at least , so by the second form of (3), — the classical Doeblin bound. The question is how large is in a real transformer.
It is small. We measure it on the patch subchain of DINov2, in the case most favourable to the entry-wise route: the matrix , whose smallest entry is at least the smallest entry over all individual heads and inputs, because averaging fills in near-zero entries. Even there the Doeblin bound is loose rather than informative: it exceeds the directly computed coefficient of that matrix, , at every layer (Figure 2), by a factor between 1.06 and 4.5, and on average by 24 to 41% per layer in the three models, an excess that compounds over depth. The bound that the asymptotic arguments need must hold for every head and every input at once; its can therefore be no larger than the smallest entry in this favourable case, and the bound it gives can only be looser. This is not a defect in the asymptotic results, which concern limits and are correct as such; it is a statement about what the same quantity can certify for the number of tokens of a deployed model.
4.5 When one token carries the coefficient
Because with , the coefficient decomposes over tokens. A sharper question is which tokens are load-bearing: with — the coefficient restricted to pairs avoiding token , rows unchanged, not the deleted-and-renormalised submatrix — define , the drop when token is barred from the maximum. By construction only for tokens belonging to every -attaining pair, so at most two tokens have a positive score.
We apply it to on the full DINov2 token set, registers included, and call the token with

Figure 3: Leave-one-out score of the top carrier at each layer, by token role (log scale), for of DINOv2, all tokens included. Register and cls carriers mostly sit one to two orders of magnitude above patch carriers; the exception is layer 23 of DINOv2-L.
| model | layers with reg/cls carrier | median (patch carrier) | modal carrier | ||
|---|---|---|---|---|---|
| DINOv2-S | 12 | 6 | reg#1 (4/6) | ||
| DINOv2-B | 12 | 7 | reg#4 (5/7) | ||
| DINOv2-L | 24 | 13 | reg#1 (8/13) |
Table 2: Leave-one-out token scores for of DINOv2, all tokens included. For each token , is the drop in when is excluded from the maximum, and the layer's carrier is the token with the largest . Columns: the number of layers whose carrier is a register or cls; the largest over all layers; the median at layers whose carrier is a patch; and the modal carrier, the token that is the carrier most often, with the number of register-or-cls layers it carries.
the largest the layer's carrier. The top carriers fall into two well-separated groups (Table 2, Figure 3). At roughly half the layers of each model the carrier is a register or cls token with up to 0.16; at the others it is an ordinary patch with of at most a few thousandths, meaning that no single token matters. In the sample of Table 2 and Figure 3 the two groups overlap only at layer 23 of DINOv2-L, where a register carries ; in four further independent draws of 512 images, cls carries that layer and the groups do not overlap. The carrier is also usually one specific register (Table 2, last column), and this is stable across the five draws: the modal register is the same in every draw for all three models, and the carrier token itself is identical across draws at all 12 layers of DINOv2-S and at 23 of the 24 layers of DINOv2-L. The other registers and cls carry the rest. The four register tokens (Darcet et al., 2024) are therefore not interchangeable with respect to mixing.
5 Limitations and future work
The exactness result is an empirical regularity, not a property of trained transformers in general. On content tokens it holds for essentially every input in DINOv2 and the two language models we test; the two supervised vision transformers fail it for some inputs late in depth, including the special tokens breaks it in DINOv2 and the language models, and FT-Transformer trained on tabular data largely lacks it. We do not know what governs it — why the special tokens break it, or why the supervised models fail late — and column dominance, the obvious candidate, is sufficient but does not explain it (Section 4.2). The evidence has further limits. Each pretrained model is tested on one dataset, and the tabular evidence rests on one architecture and two datasets. The residual weight follows Biccari et al. (2026) (M3), and the main results concern content tokens (M4). We have not tested decoder-only models, where causal masking changes what the coefficient measures (Section 4).
Three directions follow. The first is to explain the pattern: to find the property of trained attention that the condition tracks, why the special tokens break it, and why it fails late in depth in the supervised vision transformers but not in DINOv2. A related question is whether the columns in which column dominance fails can locate such tokens — attention sinks, or the high-norm artefact patches of models trained without registers (Darcet et al., 2024) — from attention alone. The second is to widen the evidence, to further tabular architectures such as TabPFN and to larger and decoder-only language models. The third is practical: the coefficient can be computed from the attention matrices of a single forward pass, and we plan to examine whether it can support more efficient training or the pruning of attention heads.
6 Related work
Direct antecedent. Biccari et al. (2026) apply Doeblin–Dobrushin contraction theory to attention rollout in tabular transformers, and the framing adopted here is theirs: the Dobrushin coefficient of the head-averaged attention matrix, the residual modelled as , the layerwise estimate (their (A.6), our Lemma 1) and its composition over depth, the entry-wise bound (their Proposition A.2), and the observation that the coefficient decreases with depth. Their principal result, Theorem 2.3, shows that a rollout with a small coefficient is close to a rank-one matrix. We take up a question their treatment leaves open: they bound the coefficient of each residual factor from above, (their (A.6)), but do not determine when this bound is attained. Proposition 2 answers that question, and Corollary 1 turns the answer into a statement about their depth bound.
Rank collapse and oversmoothing. That pure self-attention loses rank with depth is established: Dong et al. (2021) show doubly exponential convergence to a rank-one matrix, and identify residual connections and the MLP as what prevents it. The residual connection leaves the same mark on the Dobrushin coefficient of each rollout factor: at , at every layer (Biccari et al., 2026, Lemma A.4), so a bound built layer by layer cannot certify contraction faster than about a factor of two per layer. And Section 4 shows that what prevents collapse lies outside what the rollout models: in DINOv2-L the attention rollout is close to rank one at 24 layers, yet the representations do not collapse. In the graph setting the same phenomenon is known as oversmoothing (Oono and Suzuki, 2020).
Ergodicity of attention products. Wu et al. (2023) analyse attention-based graph neural networks as products of inhomogeneous row-stochastic matrices and prove oversmoothing at an exponential rate; transformers fall within their setting as attention on a complete graph. Their analysis concerns the limit of infinite depth; ours concerns the residual factor of each layer at finite depth.
Depth as a dynamical system. Jacobs et al. (2026) treat ViT depth as a flow and segment it into contiguous phases of reused computation. Vo et al. (2025) characterise token limit points in deep selective SSMs under an assumption of time-independent parameters, and Geshkovski et al.
(2023) study clustering in self-attention dynamics in a continuous-time limit. The coefficient used here requires neither homogeneity nor a limit, at the cost of giving a bound rather than a rate.
Ergodicity coefficients. is due to Dobrushin (1956); weak ergodicity of inhomogeneous chains to Hajnal and Bartlett (1958); Seneta (1979, 2006) develops the general theory, and Ipsen and Selee (2011) treat the family of coefficients defined by vector norms.
Appendix A FT-Transformer on tabular data
We train FT-Transformer with the authors' package (Gorishniy et al., 2021) on their own data files, which fix the split of each dataset into training, validation and test sets. Preprocessing follows their code and is the same for both datasets: missing values, where present, are replaced by training-set column means; a small noise of relative size is added to the training features before a quantile transform to a normal distribution is fitted, which breaks ties among repeated values; and the targets of California Housing, the regression task, are standardised. We use their default configuration of three blocks and, on California Housing, also six blocks. In the last block the package computes attention only for the cls token, so that block's attention is a single row rather than a token-mixing matrix, and we test the other blocks. Training stops once validation performance has not improved for 16 epochs, with no hyperparameter tuning. Attention is tested on 4000 test rows, each row being one input: per row, and averaged over rows. We run three seeds per configuration and compare with the authors' own runs for the same seeds, and with gradient boosting (scikit-learn's HistGradientBoosting, default settings) and a linear model (linear regression for California Housing, logistic regression for Higgs) fitted on the same split (Table 3).
| configuration | N | metric | FT-T | authors | boosting | linear | features | all | averaged |
|---|---|---|---|---|---|---|---|---|---|
| California, 3 blocks | 9 | RMSE | - | - | |||||
| California, 6 blocks | 9 | RMSE | - | — | |||||
| Higgs, 3 blocks | 29 | accuracy | - | - |
Table 3: FT-Transformer (FT-T), three seeds per configuration. Performance entries give the lowest and highest test value over the seeds: our runs (FT-T), the authors' own runs with the same seeds (available for their default of three blocks), gradient boosting and a linear model. is the number of tokens, including cls. Features and all: share of row-layer pairs for which the row's head-averaged attention matrix satisfies condition (8), restricted to the feature tokens and on all tokens, over the 4000 test rows and three seeds. Averaged: number of tested layers, over the three seeds, for which , restricted to the feature tokens, satisfies it.
Appendix B Numerical precision
The models compute attention in single precision, which carries about seven significant digits. Computing the coefficient and the gap in single precision as well would blur exactly the distinction we need: on random matrices of the same size that satisfy the condition, the gap computed in single precision comes out as large as , the size of the smallest genuine failures we observe, while in double precision it stays below . We therefore convert each attention matrix to double precision, with about sixteen significant digits, before computing its coefficient and gap. The conversion is exact, and a gap that is zero in exact arithmetic then appears as a number of order , far below any genuine failure.
We count a gap as zero when it is below . For the head-averaged matrices of the pretrained models this choice hardly matters: of the 562 752 such gaps we computed, on content tokens and on all tokens, all but one are either below or at least , so any threshold between those values gives the same counts — a separation that exists only because the gaps are computed in double precision — and the one exception, , alters a single count. For individual heads a few gaps fall in between: moving the threshold anywhere in that range changes the shares by at most 0.25 percentage points on content tokens, and by up to 1.6 on the full token sets of DINOv2. Finally, as a cross-check, evaluating condition (8) directly, by locating the pairs that attain , gives the same verdict as the gap at all 6144 image-layer pairs of DINOv2-S and of ViT-B/16 — including the 2190 pairs of ViT-B/16 at which the condition fails, so the two tests agree where the bound is not attained as well as where it is.
Appendix C Failures layer by layer
Table 4 lists, for each pretrained model of Table 1, the layers at which some input fails condition (8) and the number of failing inputs out of 512, on content tokens and on all tokens. At every other layer every input satisfies it.
| model | layers | failing inputs out of 512, by layer |
|---|---|---|
| content tokens | ||
| DINOv2-S | 12 | none |
| DINOv2-B | 12 | layer 1: 7 |
| DINOv2-L | 24 | layer 1: 3 |
| DINOv2-B, no registers | 12 | layer 1: 2; layer 11: 1 |
| DeiT-B | 12 | layer 11: 50; layer 12: 512 |
| ViT-B/16 | 12 | layer 7: 138; 8: 428; 9: 449; 10: 431; 11: 234; 12: 510 |
| RoBERTa-base | 12 | layer 9: 15; layer 12: 4 |
| DistilBERT | 6 | none |
| all tokens | ||
| DINOv2-S | 12 | layer 1: 509; 10: 1; 12: 33 |
| DINOv2-B | 12 | layer 1: 509; 9: 50; 10: 214; 11: 136; 12: 88 |
| DINOv2-L | 24 | layer 1: 512; 2: 26; 3: 1; 7: 20; 14: 320; 18: 9; 19: 253; 20: 436; 21: 169; 22: 7; 23: 69; 24: 401 |
| DINOv2-B, no registers | 12 | layer 1: 2; 11: 153; 12: 2 |
| DeiT-B | 12 | layer 11: 61; 12: 511 |
| ViT-B/16 | 12 | layer 7: 142; 8: 434; 9: 452; 10: 433; 11: 234; 12: 511 |
| RoBERTa-base | 12 | layer 8: 3; 9: 427; 12: 204 |
| DistilBERT | 6 | layer 6: 98 |
Table 4: Layers at which some input fails condition (8), with the number of failing inputs out of 512, on content tokens and on all tokens. All other layers are exact for every input.
Appendix D Robustness to the input size
Each model was trained at a fixed input size. This appendix therefore does not compare models; it checks, within each model, whether the per-input verdict of Section 4.1 changes when the model is evaluated at other input sizes.
Figure 4 repeats the per-input test on content tokens for DINOv2-B and ViT-B/16 at resolutions of 112, 224, 336 and 448 pixels (64–1024 and 49–784 patches), and for the two language models at sequence lengths of 32, 64, 128, 256 and 512 tokens (30–510 text tokens). We use 256 images per resolution, which keeps the largest resolutions affordable and at 224 pixels reproduces the 512-image shares of Table 1, and 512 sequences per length. ViT-B/16 was trained at 224 pixels, and the language models on sequences of up to 512 tokens.
The verdicts do not change. DINOv2-B is exact at 99.8–99.97% of image-layer pairs at every resolution, with its few failures confined to layer 1. ViT-B/16 stays between 61% and 65%, failing only at layers 7–12. DistilBERT remains exact for essentially every input. RoBERTa declines slightly, from 99.97% to 98.1%, as its failures at layers 9 and 12 become more frequent with length. The averaged verdict of every model is likewise the same at every input size. Exactness also does not peak at the training size: RoBERTa, trained only on full-length sequences of 512 tokens (Liu et al., 2019), is exact least often at that length.
What does change is the size of the failures. In ViT-B/16 their median falls from 12.6% to 1.2% of the attention's part, , as the number of patches increases, consistent with Remark 2. In RoBERTa the median rises slightly, from 4.2% to 5.4%: at its failing layers the coefficient is close to 1, so attention there is concentrated, and the bound of Remark 2 does not force the failures to be small.


Figure 4: Per-input test on content tokens at several input sizes; N is the number of content tokens. Left: percentage of input-layer pairs whose head-averaged attention matrix satisfies condition (8). Right: median gap among the failing pairs, as a percentage of , for the two models with enough failures for a median; RoBERTa is shown from N = 126.
References
Samira Abnar and Willem Zuidema. Quantifying attention flow in transformers. In Dan Jurafsky, Joyce Chai, Natalie Schluter, and Joel Tetreault, editors, Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 4190–4197, Online, jul 2020. Association for Computational Linguistics. doi: 10.18653/v1/2020.acl-main.385. URL https://aclanthology.org/2020.acl-main.385/.
Pierre Baldi, Peter Sadowski, and Daniel Whiteson. Searching for exotic particles in high-energy physics with deep learning. Nature Communications, 5:4308, Jul 2014. ISSN 2041-1723. doi: 10.1038/ncomms5308. URL https://doi.org/10.1038/ncomms5308.
Umberto Biccari, Qian Huang, and Enrique Zuazua. Interior interpretability with attention rollout: contraction and propagation profiles in transformers. arXiv preprint, 2026. doi: 10.48550/arXiv.2607.22367. URL https://doi.org/10.48550/arXiv.2607.22367. arXiv:2607.22367.
Kevin Clark, Urvashi Khandelwal, Omer Levy, and Christopher D. Manning. What does BERT look at? An analysis of BERT's attention. In Tal Linzen, Grzegorz Chrupała, Yonatan Belinkov, and Dieuwke Hupkes, editors, Proceedings of the 2019 ACL Workshop BlackboxNLP: Analyzing and Interpreting Neural Networks for NLP, pages 276–286, Florence, Italy, Aug 2019. Association for Computational Linguistics. doi: 10.18653/v1/W19-4828. URL https://aclanthology.org/W19-4828/.
Timothée Darcet, Maxime Oquab, Julien Mairal, and Piotr Bojanowski. Vision transformers need registers. In International Conference on Learning Representations, 2024. URL https://openreview.net/forum?id=2dn03LLiJ1.
R. L. Dobrushin. Central limit theorem for nonstationary Markov chains. I. Theory of Probability & Its Applications, 1(1):65–80, 1956. doi: 10.1137/1101006. URL https://doi.org/10.1137/1101006.
Yihe Dong, Jean-Baptiste Cordonnier, and Andreas Loukas. Attention is not all you need: pure attention loses rank doubly exponentially with depth. In Marina Meila and Tong Zhang, editors, Proceedings of the 38th International Conference on Machine Learning, volume 139 of Proceedings of Machine Learning Research, pages 2793–2803. PMLR, 18–24 Jul 2021. URL https://proceedings.mlr.press/v139/dong21a.html.
Alexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn, Xiaohua Zhai, Thomas Unterthiner, Mostafa Dehghani, Matthias Minderer, Georg Heigold, Sylvain Gelly, Jakob Uszkoreit, and Neil Houlsby. An image is worth words: Transformers for image recognition at scale. In International Conference on Learning Representations, 2021. URL https://openreview.net/forum?id=YicbFdNTTy.
Borjan Geshkovski, Cyril Letrouit, Yury Polyanskiy, and Philippe Rigollet. The emergence of clusters in self-attention dynamics. In A. Oh, T. Naumann, A. Globerson, K. Saenko, M. Hardt, and S. Levine, editors, Advances in Neural Information Processing Systems, volume 36, pages 57026–57037. Curran Associates, Inc., 2023. doi: 10.52202/075280-2493. URL https://proceedings.neurips.cc/paper_files/paper/2023/file/b2b3e1d9840eba17ad9bbf073e009afe-Paper-Conference.pdf.
Yury Gorishniy, Ivan Rubachev, Valentin Khrulkov, and Artem Babenko. Revisiting deep learning models for tabular data. In Advances in Neural Information Processing Systems, volume 34, 2021.
J. Hajnal and M. S. Bartlett. Weak ergodicity in non-homogeneous Markov chains. Mathematical Proceedings of the Cambridge Philosophical Society, 54(2):233–246, 1958. doi: 10.1017/S0305004100033399.
Ilse C. F. Ipsen and Teresa M. Selee. Ergodicity coefficients defined by vector norms. SIAM Journal on Matrix Analysis and Applications, 32(1):153–200, 2011. doi: 10.1137/090752948. URL https://doi.org/10.1137/090752948.
Mozes Jacobs, Thomas Fel, Richard Hakim, Alessandra Brondetta, Demba E. Ba, and T. Anderson Keller. Block recurrent dynamics in vision transformers. In International Conference on Learning Representations, 2026. URL https://openreview.net/forum?id=gH3HhnfWLC.
Yinhan Liu, Myle Ott, Naman Goyal, Jingfei Du, Mandar Joshi, Danqi Chen, Omer Levy, Mike Lewis, Luke Zettlemoyer, and Veselin Stoyanov. RoBERTa: A robustly optimized BERT pretraining approach. arXiv preprint, 2019. arXiv:1907.11692.
Stephen Merity, Caiming Xiong, James Bradbury, and Richard Socher. Pointer sentinel mixture models. In International Conference on Learning Representations, 2017.
Kenta Oono and Taiji Suzuki. Graph neural networks exponentially lose expressive power for node classification. In International Conference on Learning Representations, 2020. URL https://openreview.net/forum?id=S1ld02EFPr.
Maxime Oquab, Timothée Darcet, Théo Moutakanni, Huy V. Vo, Marc Szafraniec, Vasil Khalidov, Pierre Fernandez, Daniel Haziza, Francisco Massa, Alaaeldin El-Nouby, Mido Assran, Nicolas Ballas, Wojciech Galuba, Russell Howes, Po-Yao Huang, Shang-Wen Li, Ishan Misra, Michael Rabbat, Vasu Sharma, Gabriel Synnaeve, Hu Xu, Hervé Jégou, Julien Mairal, Patrick Labatut, Armand Joulin, and Piotr Bojanowski. DINOv2: Learning robust visual features without supervision. Transactions on Machine Learning Research, 2024. ISSN 2835-8856. URL https://openreview.net/forum?id=a68SUt6zFt. Featured Certification.
R. Kelley Pace and Ronald Barry. Sparse spatial autoregressions. Statistics & Probability Letters, 33(3):291–297, 1997. ISSN 0167-7152. doi: 10.1016/S0167-7152(96)00140-X. URL https://www.sciencedirect.com/science/article/pii/S016771529600140X.
Benjamin Recht, Rebecca Roelofs, Ludwig Schmidt, and Vaishaal Shankar. Do ImageNet classifiers generalize to ImageNet? In Kamalika Chaudhuri and Ruslan Salakhutdinov, editors, Proceedings of the 36th International Conference on Machine Learning, volume 97 of Proceedings of Machine Learning Research, pages 5389–5400. PMLR, 09–15 Jun 2019. URL https://proceedings.mlr.press/v97/recht19a.html.
Victor Sanh, Lysandre Debut, Julien Chaumond, and Thomas Wolf. DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lighter. In NeurIPS EMC Workshop, 2019.
E. Seneta. Coefficients of ergodicity: structure and applications. Advances in Applied Probability, 11(3):576–590, 1979. doi: 10.2307/1426955.
Eugene Seneta. Non-negative Matrices and Markov Chains. Springer Series in Statistics. Springer, New York, NY, 2nd edition, 2006. doi: 10.1007/0-387-32792-4. URL https://doi.org/10.1007/0-387-32792-4.
Hugo Touvron, Matthieu Cord, Matthijs Douze, Francisco Massa, Alexandre Sablayrolles, and Hervé Jégou. Training data-efficient image transformers & distillation through attention. In Marina Meila and Tong Zhang, editors, Proceedings of the 38th International Conference on Machine Learning, volume 139 of Proceedings of Machine Learning Research, pages 10347–10357. PMLR, 18–24 Jul 2021. URL https://proceedings.mlr.press/v139/touvron21a.html.
Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Łukasz Kaiser, and Illia Polosukhin. Attention is all you need. In I. Guyon, U. Von Luxburg, S. Bengio, H. Wallach, R. Fergus, S. Vishwanathan, and R. Garnett, editors, Advances in Neural Information Processing Systems, volume 30. Curran Associates, Inc., 2017. URL https://proceedings.neurips.cc/paper_files/paper/2017/file/3f5ee243547dee91fbd053c1c4a845aa-Paper.pdf.
Thieu Vo, Duy-Tung Pham, Xin T. Tong, and Tan Minh Nguyen. Demystifying the token dynamics of deep selective state space models. In International Conference on Learning Representations, 2025. URL https://openreview.net/forum?id=UbNC96K6yL.
Xinyi Wu, Amir Ajorlou, Zihui Wu, and Ali Jadbabaie. Demystifying oversmoothing in attention-based graph neural networks. In A. Oh, T. Naumann, A. Globerson, K. Saenko, M. Hardt, and S. Levine, editors, Advances in Neural Information Processing Systems, volume 36, pages 35084–35106. Curran Associates, Inc., 2023. doi: 10.52202/075280-1524. URL https://proceedings.neurips.cc/paper_files/paper/2023/file/6e4cdfdd909ea4e34bfc85a12774cba0-Paper-Conference.pdf.
Guangxuan Xiao, Yuandong Tian, Beidi Chen, Song Han, and Mike Lewis. Efficient streaming language models with attention sinks. In B. Kim, Y. Yue, S. Chaudhuri, K. Fragkiadaki, M. Khan, and Y. Sun, editors, International Conference on Learning Representations, pages 21875–21895, 2024. URL https://proceedings.iclr.cc/paper_files/paper/2024/file/5e5fd18f863cbe6d8ae392a93fd271c9-Paper-Conference.pdf.