Exclusive Self Attention — Detailed Summary

Shuangfei Zhai | Apple | Technical report (arXiv:2603.09078v1 [cs.LG]) | 10 Mar 2026

Per-section summary organized by paper headings. Each section includes paragraph-level bullet points and exact quantitative results where the paper provides them.


Abstract


1. Introduction

Background — the canonical Transformer block:

Hypothesis and the attention similarity bias:

Why the bias is harmful:

Summary of empirical contributions:


2. Motivation

Formal definition of standard SA (causal):

Empirical demonstration of the attention similarity bias:


3. Method

Formal definition of XSA:

What XSA removes:

Core hypothesis underlying XSA:

Implementation cost:

def exclusive_self_attention(x, Wq, Wk, Wv, Wo, H):
    B, T, D = x.shape
    # linear projections
    Q = (x @ Wq).reshape(B, T, H, D // H).transpose(1, 2)
    K = (x @ Wk).reshape(B, T, H, D // H).transpose(1, 2)
    V = (x @ Wv).reshape(B, T, H, D // H).transpose(1, 2)
    # standard multi-head attention
    Y = torch.nn.functional.scaled_dot_product_attention(Q, K, V, is_causal=True)
    # XSA mode
    Vn = torch.nn.functional.normalize(V, dim=-1)
    Z = Y - (Y * Vn).sum(dim=-1, keepdim=True) * Vn
    # output projection
    out = Z.transpose(1, 2).reshape(B, T, D) @ Wo
    return out

4. Experiments

4.1 Setup

Codebase:

Architectures and learning rates (Table 1):

Model size n_layers d_model n_heads d_head Learning rate
0.7 B 24 1536 6 256 5.0e-4
1.4 B 24 2048 24 128 4.0e-4
2.7 B 32 2560 24 128 3.0e-4

Dataset:

Training details:

4.2 Results

Computational overhead (Figure 2):

Model size — training/validation loss (Figure 3):

Downstream evaluation (Table 2):

Model size Variant ARC-E BoolQ HSwag LAMBADA OBQA PIQA SocIQA WinoGr Avg DAvg
0.7 B Baseline 51.26 61.07 55.68 52.82 35.00 74.05 40.02 55.88 53.22
0.7 B XSA 52.69 61.19 56.29 54.07 32.20 73.78 41.45 56.20 53.48 +0.26
1.3 B Baseline 56.19 65.47 60.69 56.24 34.60 75.90 41.40 58.80 56.16
1.3 B XSA 58.84 62.29 62.41 58.57 36.00 76.61 42.84 59.98 57.19 +1.03
2.7 B Baseline 58.59 60.98 66.20 60.18 37.00 76.61 42.94 60.80 58.06
2.7 B XSA 60.65 64.86 67.40 62.04 38.40 77.80 41.45 62.75 59.42 +1.36

Learning rate robustness (Figure 4):

Sequence-length sweep (Figure 5):

Attention sinks (Figure 6):


5. Discussions



7. Limitations (synthesized; not explicitly enumerated)


8. Open Problems Explicitly Identified

The Discussions section names three concrete open questions:

  1. Scale behavior. Does XSA's advantage persist or widen at substantially larger scale in both model size and training data?
  2. Optimizer compatibility. Does XSA compose with optimizers other than AdamW, in particular Muon (Jordan et al., 2024)?
  3. Modality/task generality. Does the XSA modification provide gains beyond language modeling — e.g., vision Transformers, speech, or multi-modal models?

9. Cross-Cutting Empirical Take-aways

Take-away Derived from
Trained Transformers have an "attention similarity bias": <y_i, v_i> rises from ~0.2 (shallow) to ~0.6 (deep) Figure 1
Removing the v_i projection from attention output is a 2-line change Algorithm 1, Eq. (2)
XSA adds no measurable speed or memory overhead from seq=512 to seq=16384, or for d_model up to 16384 Figure 2 (B200, bf16, batch 32)
XSA improves validation loss at every checkpoint for 0.7 B / 1.3 B / 2.7 B Figure 3
Downstream accuracy improves by +0.26 / +1.03 / +1.36 average points at 0.7 B / 1.3 B / 2.7 B Table 2
Gain grows with model size — extrapolation to larger scale is conjectured Table 2 trend
Gain is robust across LRs in {1e-4, 2e-4, 4e-4, 6e-4} Figure 4
Gain grows with sequence length up to 16384 Figure 5
Gain persists with explicit attention sinks (0, 1, 4 sinks) Figure 6

10. Conclusion (paper's own)