atlas

Research map / Architectures and efficiency / Attention and transformers

Local to Global: Learning Dynamics and Effect of Initialization for Transformers

NeurIPS 2024 · Architectures and efficiency › Attention and transformers · approach: Transformer expressivity and learnability · 0 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.

Theoretically shows that 2-layer transformers (with RoPE or relative position encodings) can represent k-th order Markov chain in-context counting (k-gram estimators), and that transformers without position encodings cannot match Bayes-optimal k-th order predictions.

Problem

How transformers learn Markov chains in-context: what architectures can represent k-th order Markov (k-gram) predictors, and how position encodings affect this capability.

Approach

Constructs explicit transformer weights that implement k-gram counting via attention with large-scale (kappa to infinity) induction-head-like attention patterns, using RoPE or relative position encodings; shows that without position encodings the attention is permutation invariant and cannot reach Bayes-optimal k-th order prediction.

Key results

Limitations

Experimental setup

Builds on: induction head RoPE

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