atlas

Research map / Architectures and efficiency / Attention and transformers

Transformers, parallel computation, and logarithmic depth

ICML 2024 · Architectures and efficiency › Attention and transformers · approach: Transformer expressivity and learnability · 2 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 constant-depth self-attention transformers and constant-round Massively Parallel Computation protocols can simulate each other, implying log-depth transformers solve graph connectivity and k-hop induction heads, which recurrent, GNN, sub-quadratic and shallow CoT models cannot solve efficiently.

Problem

Understanding what transformers can efficiently compute in the regime where context length grows while depth and width grow sublinearly, and what distinguishes them from other sequence and graph architectures.

Approach

Establishes a bidirectional simulation between transformers and Massively Parallel Computation (MPC): R-round MPC protocols are implemented by depth O(R) transformers, and depth-L transformers are simulated by O(L)-round MPC protocols, identifying parallelism as the key property distinguishing transformers.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Increase transformer depthTransformers trained on k-hop induction heads · k-hop induction headslargest learnable k: Incrementing depth approximately doubles the largest kHelped
Use a deeper modelTransformers trained on k-hop induction heads · Finite-sample k-hop induction headsgeneralizationHelped

Surprising findings

Limitations

Experimental setup

Datasets: synthetic k-hop induction heads sequences

Benchmarks: k-hop induction heads

Metrics: accuracy on k-hop prediction largest learnable k by depth

Baselines: Mamba Performer Longformer multi-layer RNNs GNN message passing (Congest-based bounds) shallow chain-of-thought transformers

Builds on: Massively Parallel Computation induction heads Performer Longformer Mamba

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