Skip to main content

A Little Depth Goes a Long Way: The Expressive Power of Log-Depth Transformers

William Merrill, Ashish Sabharwal

Analyzes how logarithmically increasing shared transformer depth expands expressive power for regular-language recognition and graph connectivity. Compares depth with width and chain-of-thought scaling and tests learned regular-language recognition.

First public: · Added to this list: November 25, 2026

Cite this paper

ArXiv preprint

arXiv:2503.03961 · Initial submission: 2025-03-05

BibTeX · CSL-JSON

Explore this approach

Recurrent reasoning — Repeat parts of the model or keep intermediate information in memory while working through a problem. Some methods also learn how many passes to run.

Analysis and evaluation — Measure how well these methods work, investigate what their internal computation does, and identify where they fail. This includes experiments, studies of model internals, and mathematical results.