atlas

Research map / Architectures and efficiency / Attention and transformers

Clustering in Causal Attention Masking

NeurIPS 2024 · Architectures and efficiency › Attention and transformers · approach: Theory of self-attention dynamics · 3 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Modifies self-attention particle dynamics on the sphere to causal masking, proves asymptotic collapse to a single cluster for V=I with arbitrary Q,K, and connects metastable clustering centers to Rényi parking.

Problem

Existing theory of transformer clustering as interacting particle systems covers only full (unmasked) self-attention, whereas practical generative transformers use causal masking; the paper asks whether causal attention dynamics collapse and form metastable clusters.

Approach

Model causally masked self-attention as an interacting particle system on the sphere in which token k attends only to tokens j ≤ k; this loses the gradient-flow structure, so convergence is proven via a sequential/hierarchical argument, and metastable cluster centers are linked to Rényi parking.

Key results

Surprising findings

Limitations

Experimental setup

Metrics: asymptotic cluster configuration fraction of particles consumed by Rényi centers

Baselines: full (mean-field) self-attention dynamics of Geshkovski et al.

Builds on: Geshkovski et al. particle view of self-attention Lojasiewicz gradient flow convergence center-stable manifold theorem

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy