atlas

Research map / Architectures and efficiency / Attention and transformers

Exact Expressive Power of Transformers with Padding

NeurIPS 2025 · 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.

Shows that transformers with polynomial padding recognize exactly FO-uniform TC0, and that adding O(log^d n) looping yields exactly FO-uniform TC^d (hence FO-uniform NC with polylog looping), using complete-problem reductions.

Problem

Characterizing the exact expressive power of transformers when extended with inference-time padding tokens and looping, beyond the known TC0 upper bound and relative to parallelizable complexity classes.

Approach

Model padding as n^k extra positions storing all variable assignments so averaging-hard-attention transformers can evaluate FO+M2 (majority) formulas, and use complete problems under FO/L reductions with looping to reach TC^d for d>=1.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add polynomial padding to a fixed-depth AHATAHAT · Formal languages, fixed depthexpressive powerHelped
Add O(log^d n) looping to a polynomially padded AHATPolynomially padded AHAT · Formal languages, d ≥ 1expressive powerHelped
Use polylogarithmic looping with polynomial paddingAHAT · Formal languages, polylogarithmic loopingexpressive powerHelped
Use logarithmic rather than polynomial precisionPolynomially padded AHAT · Formal languages, fixed depthexpressive powerNo clear effect
Use logarithmic rather than polynomial precisionPolylog-looped, polynomially padded AHAT · Formal languages, polylogarithmic loopingexpressive powerNo clear effect

Limitations

Experimental setup

Builds on: Pfau et al. padding tokens Merrill and Sabharwal transformer circuit bounds Universal transformers Chain-of-thought expressivity

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