atlas

Research map / Learning theory and algorithms / Kernels and regression theory

Length Generalization for Transformers via Compression

NeurIPS 2026 · Learning theory and algorithms › Kernels and regression theory · approach: Empirical generalization measures · 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 C-RASP+ and C-RASP_1 tasks admit polynomial compressed (power-word) length generalization bounds, giving exponential sample-size bounds, and uses this to explain the PARITY_k vs COUNT_k/MAJ_k length generalization gap.

Problem

Length generalization theory for transformers via C-RASP gives only doubly exponential sample-size bounds for C-RASP+ and C-RASP_1, and there are apparent contradictions between theory and experiments (e.g., PARITY_k fails to length-generalize at small k).

Approach

Measure length complexity over compressed strings (power words); show every satisfiable C-RASP+/C-RASP_1 formula is satisfied by a polynomial-length power word, via translation to reversal-bounded counter automata and Z-VASS cycle-removal with Eisenbrand-Shmonin and von zur Gathen-Sieveking bounds.

Key results

Surprising findings

Limitations

Experimental setup

Datasets: synthetic binary strings over {a,b} for COUNT_k, MAJ_k, PARITY_k

Benchmarks: COUNT_k length generalization MAJ_k length generalization PARITY_k length generalization

Metrics: accuracy on in-distribution and out-of-distribution length t

Baselines: C-RASP+ prior exponential/double-exponential bounds

Builds on: C-RASP hypothesis C-RASP+ C-RASP_1 Z-VASS reversal-bounded counter automata

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