atlas

Research map / Architectures and efficiency / Attention and transformers

From Self-Attention to Markov Models: Unveiling the Dynamics of Generative Transformers

ICML 2024 · Architectures and efficiency › Attention and transformers · approach: Long-context KV and memory attention · 1 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.

Shows that a one-layer self-attention model is equivalent to a context-conditioned Markov chain (CCMC), derives coverage conditions and sample-complexity rates for learning it from prompts, and analyzes single-trajectory generation, revealing a distribution-collapse (winner-takes-all) phenomenon.

Problem

Understanding how a one-layer self-attention generative model can be learned from sampled (prompt, output) pairs or a single generation trajectory, and why generated text becomes repetitive.

Approach

Establishes that sampling-from-softmax in one self-attention layer equals a context-conditioned Markov chain whose transitions are reweighted by prompt token frequencies; under weight-tying and linear-independence assumptions the maximum-likelihood problem becomes convex, enabling consistency (graph connectivity), O(K^2/n) rates, and a winner-takes-all collapse analysis for single trajectories.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Generate a single trajectory autoregressively from initial prompt [6]Randomly initialized 1-layer self-attention · Single-trajectory generationtoken diversityHurt

Surprising findings

Limitations

Experimental setup

Datasets: synthetic prompts and trajectories sampled from randomly initialized or ground-truth one-layer self-attention models

Metrics: negative log-likelihood estimation error token frequency

Builds on: Transformer attention Markov chain estimation theory

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