atlas

Research map / Architectures and efficiency / Attention and transformers

Knee-Deep in C-RASP: A Transformer Depth Hierarchy

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 fixed-precision transformers (rounding except inside attention) are expressively equivalent to C-RASP / TL_C with depth preserved, proves a strict depth hierarchy for these models, and validates it empirically on the a+b+ alternating-block languages.

Problem

Which formal capabilities do transformers gain with additional depth, and can the depth needed for sequential dependencies be characterized formally for parameter-uniform transformers?

Approach

Establishes an exact equivalence between depth-preserving fixed-precision transformers (rounding except inside attention) and past temporal logic with counting / C-RASP, then uses affix restrictions, cropping and reduction lemmas on piecewise testable languages to prove a strict depth hierarchy that transfers to transformers, including with sinusoidal, RoPE, and ALiBi positional encodings.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
increase transformer depth to the theoretically predicted requirementFuture-masked transformers without positional encodings · altplus{k} next-token prediction and length generalizationaccuracyHelped

Limitations

Experimental setup

Datasets: synthetic alternating-block strings from a+b+ languages

Benchmarks: synthetic alpha_k next-token prediction (length bins up to 400)

Metrics: exact-match accuracy over whole sequence

Builds on: C-RASP Yang et al. 2024 counting logic Krebs et al. 2008 typed morphisms Hahn-style depth hierarchy for MAJ2[<]

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