atlas

Research map / Large language models / Reasoning and chain of thought

Limits of Deep Learning: Sequence Modeling through the Lens of Complexity Theory

ICLR 2025 · Large language models › Reasoning and chain of thought · approach: Theory of autoregressive reasoning · 1 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.

Proves that one-layer and finite-precision SSMs are communication-complexity and automata limited at function composition, CoT step counts, and regular languages, and shows empirically that SSMs and Transformers fail on composition, multiplication, DP, and Einstein's puzzle.

Problem

Whether state space models (SSMs) and Transformers can perform function composition and multi-step compositional reasoning efficiently, given limited state size, chain-of-thought steps, and computational class.

Approach

Uses communication-complexity reductions (function composition, pointer chasing) to derive lower bounds on SSM width and CoT steps, shows L-layer SSMs lie in logspace and finite-precision SSMs recognize only regular languages, and tests these predictions empirically on multiple SSM and attention models.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Mamba vs S4-H3 (input-dependent vs time-invariant SSM)SSM architecture · Math-QA, BIG-Bench Hard, Temporal-NLI, SpaRTUNaccuracy: Mamba above S4-H3 on all four composition datasetsHelped
Chain-of-thought promptingGPT-4o, Jamba, Mamba, S4-H3 on compositional tasks · multiplication, dynamic programming, Einstein's puzzleaccuracyMixed
Increasing CoT stepsSSM-based models in multiplication · multi-digit multiplicationaccuracyNo clear effect
Attention vs SSM vs CoT on 5-by-5 digit multiplicationall tested models · 5-by-5 digit multiplicationaccuracyHurt

Surprising findings

Limitations

Experimental setup

Datasets: Math-QA BIG-Bench Hard Temporal-NLI SpaRTUN

Benchmarks: Math-QA BIG-Bench Hard Temporal-NLI SpaRTUN multi-digit multiplication dynamic programming Einstein's puzzle

Metrics: accuracy

Baselines: GPT-4o GPT-4 Jamba Mamba S4-H3

Builds on: Chain-of-Thought prompting Mamba Jamba pointer chasing lower bounds Transformer function composition analysis

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