atlas

Research map / Architectures and efficiency / Attention and transformers

On Expressive Power of Looped Transformers: Theoretical Analysis and Enhancement via Timestep Encoding

ICML 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.

Derives an approximation-rate bound for Looped Transformers on continuous permutation-equivariant sequence-to-sequence functions using three moduli of continuity, identifies a looped-architecture limitation, and proposes Timestep-Modulated Looped Transformer (TMLT) with per-loop scaling conditioned on timestep encodings.

Problem

The expressive power and function-approximation rate of Looped Transformers (weight-tied Transformers applied recursively) for continuous sequence-to-sequence functions is unknown, and standard Transformer and looped ReLU results do not directly apply.

Approach

Introduces modulus of sequence, contextual, and token continuity to bound approximation error of looped Transformers in terms of loop count; shows weight-tied feed-forward layers add error from contextual/token variation, and fixes this with per-loop scaling vectors generated from sinusoidal timestep encodings through an MLP and time-dependent RMSNorm and gating.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Increase loops from r=4 to r=32Looped Transformer · Sudoku testaccuracy: 0.0 -> 87.9Helped
Add timestep encoding at r=32 (ablation)Looped Transformer · Sudoku testaccuracy: 87.9 -> 90.2Helped
Increase loops from r=4 to r=32Looped Transformer · Countdown testaccuracy: 28.3 -> 88.1Helped
Add timestep encoding at r=32 (ablation)Looped Transformer · Countdown testaccuracy: 88.1 -> 90.5Helped
Increase loops from r=4 to r=50Looped Transformer · LCS (60) testaccuracy: 66.0 -> 98.6Helped
Add timestep encoding at r=50 (ablation)Looped Transformer · LCS (60) testaccuracy: 98.6 -> 99.3Helped
Increase loops from r=5 to r=100Looped Transformer · LCS (100) testaccuracy: 39.6 -> 98.2Helped
Add timestep encoding at r=100 (ablation)Looped Transformer · LCS (100) testaccuracy: 98.2 -> 98.6Helped
Increase loops from r=5 to r=100Looped Transformer · ED (40) testaccuracy: 41.4 -> 90.4Helped
Add timestep encoding at r=100 (ablation)Looped Transformer · ED (40) testaccuracy: 90.4 -> 96.1Helped
Increase loops from r=5 to r=100Looped Transformer · ED (60) testaccuracy: 23.8 -> 47.7Helped
Add timestep encoding at r=100 (ablation)Looped Transformer · ED (60) testaccuracy: 47.7 -> 88.3Helped

Surprising findings

Limitations

Experimental setup

Datasets: Edit distance (synthetic) LCS (synthetic) Sudoku dataset Countdown decision tree in-context learning WikiText-103

Benchmarks: Sudoku Countdown LCS ED (edit distance) in-context decision tree learning WikiText-103

Metrics: test accuracy MSE perplexity

Baselines: Standard Transformer (TF) Looped Transformer without timestep encoding

Builds on: Looped Transformer Transformers as universal approximators (Yun et al.) Looped ReLU networks approximation rate adaptive instance normalization RMSNorm

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