potentialpaper

Length Generalization for Transformers via Compression

Import NeurIPS 2026 submission gx6QOo6yY5: 8 notes

@openreview[bot] · 2026-11-22 17:58 UTC · fd0c74ad6eca

Evidence

.gitattributes added

+++ b/.gitattributes
@@ -0,0 +1,10 @@
+# PDFs and pictures are kept with Git LFS (https://git-lfs.com). With it installed (`git lfs install`),
+# a clone has the files, and `git add` of one stores a pointer. This file is the same on every page.
+/.potentialpaper/*.pdf filter=lfs diff=lfs merge=lfs -text
+/versions/*.pdf filter=lfs diff=lfs merge=lfs -text
+/thumbnail.png filter=lfs diff=lfs merge=lfs -text
+/thumbnail.jpg filter=lfs diff=lfs merge=lfs -text
+/thumbnail.jpeg filter=lfs diff=lfs merge=lfs -text
+/thumbnail.gif filter=lfs diff=lfs merge=lfs -text
+/thumbnail.webp filter=lfs diff=lfs merge=lfs -text
+/thumbnail.avif filter=lfs diff=lfs merge=lfs -text

.potentialpaper/metadata.json added

+++ b/.potentialpaper/metadata.json
@@ -0,0 +1,27 @@
+{
+ "layout": 5,
+ "identifiers": [
+ {
+ "scheme": "openreview",
+ "value": "gx6QOo6yY5"
+ }
+ ],
+ "title": "Length Generalization for Transformers via Compression",
+ "authors": [
+ "Georg Zetzsche",
+ "Hongjian Jiang",
+ "Andy Yang",
+ "Pascal Bergsträßer",
+ "Marco Sälzer",
+ "David Chiang",
+ "Anthony Widjaja Lin"
+ ],
+ "abstract": "Recent advancements in transformer length generalization theory enable us to reliably predict when a transformer can learn to solve a task. In particular, the C-RASP hypothesis (a formalized version of the so-called RASP-l conjecture) posits that transformers length-generalize on a task if and only if a solution is expressible in the C-RASP language. While this hypothesis has strong empirical validation, it faces a theoretical problem in the fact that C-RASP admits no computable bound on length complexity (that is, the length of strings required to learn a language perfectly), and an empirical problem in the form of experimental results that seem to contradict it. To address these problems, we refine the C-RASP hypothesis using the fragments C-RASP+ and C-RASP1. Recent work has shown that these fragments have length-complexity bounds that are computable, but in the worst case exponential. In this paper, we study the problem of sample enumeration: computing the training data that are required for length generalization. That is, given a bound on the permitted C-RASP+ or C-RASP1 program size (not a particular program), to compute a complete sample for learning. Previous results implied a double exponential time upper bound for the complexity of sample enumeration. In this paper, we show a tight polynomial space and exponential time upper bound. Our algorithm is in fact a simple enumeration of short (polynomially sized) compressed strings, in terms of power words. As an application, we show how this yields a fine-grained analysis of the C-RASP conjecture that provides a possible explanation for the apparent contradiction with experimental evidence.",
+ "year": 2026,
+ "venue": "NeurIPS 2026",
+ "source": "openreview",
+ "license": {
+ "metadata": "CC0-1.0",
+ "abstract": "CC0-1.0"
+ }
+}

community/10-tl-dr.md added

+++ b/community/10-tl-dr.md

community/20-summary.md added

+++ b/community/20-summary.md

community/30-why-it-matters.md added

+++ b/community/30-why-it-matters.md

community/40-critique.md added

+++ b/community/40-critique.md

community/50-errata.md added

+++ b/community/50-errata.md

community/60-reproductions.md added

+++ b/community/60-reproductions.md

community/70-follow-ups.md added

+++ b/community/70-follow-ups.md

owners/10-tl-dr.md added

+++ b/owners/10-tl-dr.md

owners/20-overview.md added

+++ b/owners/20-overview.md

owners/30-results.md added

+++ b/owners/30-results.md

owners/40-demos.md added

+++ b/owners/40-demos.md

owners/50-code-and-data.md added

+++ b/owners/50-code-and-data.md

owners/60-talks.md added

+++ b/owners/60-talks.md

prek.toml added

+++ b/prek.toml
@@ -0,0 +1,36 @@
+# Checks run before each commit, with prek (https://prek.j178.dev): `prek install` once in this clone.
+# The site checks every push again; these catch mistakes before you commit. The same on every page.
+
+[[repos]]
+repo = "builtin"
+hooks = [
+ { id = "check-json" },
+ { id = "pretty-format-json", args = ["--autofix", "--no-sort-keys", "--no-ensure-ascii"], exclude = '^demos/' },
+ { id = "end-of-file-fixer", exclude = '^demos/' },
+ { id = "trailing-whitespace", args = ["--markdown-linebreak-ext=md"], exclude = '^demos/' },
+ { id = "check-case-conflict" },
+ { id = "check-illegal-windows-names" },
+ { id = "check-added-large-files", args = ["--maxkb=256"], exclude = '^demos/' },
+]
+
+# Each JSON file against its schema (https://papers.potentialhedge.com/schemas/).
+[[repos]]
+repo = "https://github.com/python-jsonschema/check-jsonschema"
+rev = "0.39.0"
+hooks = [
+ { id = "check-jsonschema", name = "author section plugins files", files = '^owners/plugins\.json$', args = ["--schemafile", "https://papers.potentialhedge.com/schemas/authorPlugins.json"] },
+ { id = "check-jsonschema", name = "venue files", files = '^venue\.json$', args = ["--schemafile", "https://papers.potentialhedge.com/schemas/venue.json"] },
+ { id = "check-jsonschema", name = "topic files", files = '^topic\.json$', args = ["--schemafile", "https://papers.potentialhedge.com/schemas/topic.json"] },
+ { id = "check-jsonschema", name = "organisation files", files = '^org\.json$', args = ["--schemafile", "https://papers.potentialhedge.com/schemas/org.json"] },
+ { id = "check-jsonschema", name = "link files", files = '^links/[^/]+\.json$', args = ["--schemafile", "https://papers.potentialhedge.com/schemas/link.json"] },
+ { id = "check-jsonschema", name = "version files", files = '^versions/[^/]+\.json$', args = ["--schemafile", "https://papers.potentialhedge.com/schemas/version.json"] },
+ { id = "check-jsonschema", name = "picture files", files = '^thumbnail\.json$', args = ["--schemafile", "https://papers.potentialhedge.com/schemas/thumbnail.json"] },
+]
+
+# Sections formatted the way the web editor formats them.
+[[repos]]
+repo = "https://github.com/rbubley/mirrors-prettier"
+rev = "v3.9.9"
+hooks = [
+ { id = "prettier", files = '^(owners|community)/.*\.md$' },
+]

reviews/openreview/gx6qoo6yy5/forms.json added

+++ b/reviews/openreview/gx6qoo6yy5/forms.json
@@ -0,0 +1,227 @@
+{
+ "schema": "forms/1",
+ "forms": {
+ "Meta_Review": {
+ "label": "Meta-review",
+ "fields": [
+ {
+ "key": "metareview",
+ "label": "Meta-review",
+ "type": "text"
+ }
+ ]
+ },
+ "Decision": {
+ "label": "Decision",
+ "fields": [
+ {
+ "key": "title",
+ "label": "Title",
+ "hidden": true
+ },
+ {
+ "key": "decision",
+ "label": "Decision",
+ "type": "choice"
+ },
+ {
+ "key": "comment",
+ "label": "Comment",
+ "type": "text"
+ },
+ {
+ "key": "metareview",
+ "label": "Meta-review",
+ "type": "text"
+ },
+ {
+ "key": "final_justification",
+ "label": "Final justification",
+ "type": "text"
+ }
+ ]
+ },
+ "Official_Comment": {
+ "label": "Comment",
+ "fields": [
+ {
+ "key": "title",
+ "label": "Title",
+ "type": "choice"
+ },
+ {
+ "key": "comment",
+ "label": "Comment",
+ "type": "text"
+ }
+ ]
+ },
+ "Public_Comment": {
+ "label": "Public comment",
+ "fields": [
+ {
+ "key": "title",
+ "label": "Title",
+ "type": "choice"
+ },
+ {
+ "key": "comment",
+ "label": "Comment",
+ "type": "text"
+ }
+ ]
+ },
+ "Withdrawal": {
+ "label": "Withdrawal",
+ "fields": [
+ {
+ "key": "withdrawal_confirmation",
+ "label": "Confirmation",
+ "hidden": true
+ }
+ ]
+ },
+ "Desk_Rejection": {
+ "label": "Desk rejection",
+ "fields": [
+ {
+ "key": "desk_reject_comments",
+ "label": "Reason",
+ "type": "text"
+ }
+ ]
+ },
+ "Official_Review": {
+ "label": "Official review",
+ "summary": [
+ "rating",
+ "confidence",
+ "quality",
+ "clarity",
+ "significance",
+ "originality"
+ ],
+ "fields": [
+ {
+ "key": "rating",
+ "label": "Rating",
+ "type": "score",
+ "min": 1,
+ "max": 6
+ },
+ {
+ "key": "confidence",
+ "label": "Confidence",
+ "type": "score",
+ "min": 1,
+ "max": 5
+ },
+ {
+ "key": "quality",
+ "label": "Quality",
+ "type": "score",
+ "min": 1,
+ "max": 4
+ },
+ {
+ "key": "clarity",
+ "label": "Clarity",
+ "type": "score",
+ "min": 1,
+ "max": 4
+ },
+ {
+ "key": "significance",
+ "label": "Significance",
+ "type": "score",
+ "min": 1,
+ "max": 4
+ },
+ {
+ "key": "originality",
+ "label": "Originality",
+ "type": "score",
+ "min": 1,
+ "max": 4
+ },
+ {
+ "key": "contribution_type",
+ "label": "Contribution type",
+ "type": "choice"
+ },
+ {
+ "key": "summary",
+ "label": "Summary",
+ "type": "text"
+ },
+ {
+ "key": "strengths_and_weaknesses",
+ "label": "Strengths and weaknesses",
+ "type": "text"
+ },
+ {
+ "key": "questions",
+ "label": "Questions",
+ "type": "text"
+ },
+ {
+ "key": "limitations",
+ "label": "Limitations",
+ "type": "text"
+ },
+ {
+ "key": "final_justification",
+ "label": "Final justification",
+ "type": "text"
+ },
+ {
+ "key": "paper_formatting_concerns",
+ "label": "Formatting concerns",
+ "type": "text"
+ },
+ {
+ "key": "ethical_concerns",
+ "label": "Ethical concerns",
+ "type": "choice"
+ },
+ {
+ "key": "code_of_conduct_acknowledgement",
+ "label": "Code of conduct",
+ "hidden": true
+ },
+ {
+ "key": "responsible_reviewing_acknowledgement",
+ "label": "Responsible reviewing",
+ "hidden": true
+ }
+ ]
+ },
+ "Rebuttal": {
+ "label": "Rebuttal",
+ "fields": [
+ {
+ "key": "rebuttal",
+ "label": "Rebuttal",
+ "type": "text"
+ }
+ ]
+ },
+ "Ethics_Review": {
+ "label": "Ethics review",
+ "fields": [
+ {
+ "key": "scope_of_ethics_concerns",
+ "label": "Scope",
+ "type": "choice"
+ },
+ {
+ "key": "ethics_review",
+ "label": "Ethics review",
+ "type": "text"
+ }
+ ]
+ }
+ },
+ "url": "https://openreview.net/group?id=NeurIPS.cc%2F2026%2FConference",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/gx6qoo6yy5/notes/6dxux1iyih.json added

+++ b/reviews/openreview/gx6qoo6yy5/notes/6dxux1iyih.json
@@ -0,0 +1,15 @@
+{
+ "schema": "review/1",
+ "id": "6DXUX1IYIh",
+ "replyTo": "viFqiPURLx",
+ "kind": "comment",
+ "invitation": "Rebuttal",
+ "signature": "Authors",
+ "content": {
+ "rebuttal": "We thank the reviewer for the constructive questions.\n\n> The theory is developed for C-RASP+ and C-RASP1. It remains unclear how much of the full C-RASP hypothesis is captured by these fragments and whether similar results hold more broadly.\n\nIn general, this is not possible. Recent work [1] has already shown that C-RASP2 already does not admit computable length-generalization bounds, and thus compression would not help. Nontrivially expanding the fragment beyond C-RASP+ is also likely to run into similar issues of noncomputability. \n\n> Can the exponential sample-complexity upper bound be shown to be tight for C-RASP+ or C-RASP1, or are substantially smaller bounds possible for important subclasses of tasks?\n\n\n\nThank you very much for the insightful question, which led us greatly clarify the definitions of sample size and discover a simple proof for a lower bound. First, by sample size we mean the following:\n\n\nLet $\\Phi(c)$ be the finite set of formulas with size up to c. Then, for any $c$, the sample size is the smallest $s(c)$ such that for any $\\phi\\in \\Phi(c)$, there exists a training set $T$ with size $\\le s(c)$ which uniquely identifies $\\phi$ amongst all formulas in $\\Phi(c)$.\n\nFor C-RASP+, consider a polynomial p such that given any uncompressed word w, there is a C-RASP+ formula for $\\{w\\}$ of size $\\le p(|w|)$. With this polynomial, the training data $T$ must contain all words w with $p(|w|)\\le c$, because if $T$ is missing some $w$ with $p(|w|)\\le c$, then both sets $\\emptyset$ and $\\{w\\}$ have description size $\\le c$, and agree on $T$; hence $T$ was not a sufficient sample. Now, pick $d$ such that $p(|w|)\\le |w|^d$ for all $w$ with $|w|>1$. Then the above implies that $T$ must include almost all words $w$ with $|w|^d\\le c$ and $|w|>1$ (because then $p(w)\\le c$). This means, the set $T$ must contain almost all (i.e. a constant number of exceptions) words -- those up to length $c^{1/d}$ -- and thus exponentially many. \n\n\n> How much of the full C-RASP hypothesis is captured by C-RASP+ and C-RASP1? Are there natural C-RASP-definable tasks outside these fragments for which the current theory does not apply?\n\nRecent work [2] has already shown that C-RASP in general does not admit computable length-generalization bounds, and compression would not help. Our fine-grained analysis shows how our theoretical framework can make predictions on length generalization for languages like MAJORITY and PARITY, both of which are tackled by the full C-RASP.\n\n> While the improvement from doubly exponential to exponential is substantial, the resulting sample-complexity bounds are still extremely large. It remains unclear how informative these bounds are for practical transformer training regimes.\n\nRegarding the bounds, we discuss above how tightness can be shown for our bounds on C-RASP+. We will add this to the next revision of the paper. \n\nThe derived bounds are indeed large, but we nonetheless can show they are optimal. These sample size bounds are wholly general, and apply to any method of training to fit a dataset, including gradient-based optimization. These bounds are informative in the sense of being able to predict when a transformer will length-generalize on a specific task, as in our fine-grained analysis of the C-RAPS hypothesis -- something that previous was not able to do.\n\n> The proposed complexity measure is based on compressed distinguishing words and hypothesis identification. Its relationship to the behavior of transformers trained using gradient-based optimization is not fully explored.\n\n> Can the authors clarify how closely the proposed sample-complexity notion corresponds to the behavior of transformers trained with standard gradient-based optimization methods?\n\nRegarding connections to gradient-based optimization, our work adopted on the framework of [1] which connected expressivity in C-RASP to an idealized model of learning in transformers which was argued to capture aspects of gradient-based optimization. This theory does not specifically analyze learning by gradient descent, but is meant to provide a framework to reason about and predict when transformers will length generalize. \n\nIn other words, our aim is not to specifically analyze gradient-based optimization in transformers, but to provide a general scientific explanation as to why transformers readily length generalize on certain languages (like MAJ$_k$, which admits polynomial sample size) but not others (like PARITY$_k$, which requires exponential sample size).\n\n[1] Huang et al. A Formal Framework for Understanding Length Generalization in Transformers. ICLR 2025.\n\n[2] Yang et al. Length Generalization Bounds for Transformers. ICML 2026."
+ },
+ "createdAt": "2026-07-28T11:59:53.098Z",
+ "modifiedAt": "2026-11-18T17:19:57.819Z",
+ "url": "https://openreview.net/forum?id=gx6QOo6yY5&noteId=6DXUX1IYIh",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/gx6qoo6yy5/notes/edfeukixmu.json added

+++ b/reviews/openreview/gx6qoo6yy5/notes/edfeukixmu.json
@@ -0,0 +1,32 @@
+{
+ "schema": "review/1",
+ "id": "edfEUKiXMU",
+ "replyTo": null,
+ "kind": "review",
+ "invitation": "Official_Review",
+ "signature": "Reviewer 9MUD",
+ "content": {
+ "summary": "The paper studies length generalization for transformer-recognizable formal-language tasks through the C-RASP framework. Its main theoretical contribution is to replace ordinary witness length with compressed witness length, using power words as a run-length-style encoding. The authors show that every nonempty C-RASP+ or C-RASP1 language has a satisfying power word whose compressed size is polynomial in the formula size, via a translation to reversal-bounded counter automata and then to integer VASS, together with integer-cone support and solution-size bounds. This yields an exponential, rather than doubly exponential, sample-size upper bound for length generalization over the considered fragments. The paper then uses this finer dependence on the smallest C-RASP representation to distinguish tasks such as COUNTk and MAJk from bounded PARITY-style tasks, and provides small supplementary experiments intended to match the predicted separation.",
+ "contribution_type": "theory",
+ "strengths_and_weaknesses": "This paper presents an interesting viewpoint of the structure of binary strings which serve to distinguish two arbitrary members of the C-RASP+ function class, namely that they can be taken to be of the form of a power word. The compressed representation of these power words yields poly length (descriptions of ) distinguisher strings, implying the compressed length complexity is poly(description length), compared to prior works that show length complexity of exp(description length) as shown in prior works. \n\nMy main question is on the motivation of compressed length generalization as a theoretical notion. The main motivation seems to be that it explains empirical results. The fine-grained bounds applied to Majority, Count, and Parity_k suggest an exponential separation between majority and count (of description len log k) and Parity_k (of description length poly(k), although the theoretical results seem to all be upper bounds, without matching lower bounds. This is consistent with experimental results that Parity seems hard to length generalize on. \nMore generally, the authors suggest that if a ground-truth function has low compressed length complexity (as a function of description length), then it admits length generalization (as argued for PARITY, which has poly(k) compressed length complexity and thus exp(k) sample complexity, in contrast to COUNT and MAJORITY). In the current state, this claim is plausible but not that well substantiated. In particular, it isn’t clear whether the presence of the compressed strings in the training set necessary to length generalize empirically.",
+ "quality": 3,
+ "clarity": 3,
+ "significance": 3,
+ "originality": 3,
+ "questions": "Line 174: “The notion of length complexity gives a way to answer this question” — Chen, Li, Ma introduce this notion and should be cited at the end of this sentence.\n\nLine 197: should this read “Theorem 1” instead of “Theorem 2”?\n\nLine 210: what is $\\mathbb{Z}$-VASS? define it before using it\n\nSection 3 uses the term reversal bounded counter automata before it is introduced in 3.1.\n\nLine 243: it sounds like there should be some bound on the description length of the reversal bounded counter automata corresponding to the original C-RASP+ formula \\phi in terms of the description length of \\phi? Would be good to make it explicit in the proposition statement\n\nLine 250: In the left formula involving \\phi and \\psi, is \\phi satisfied iff \\psi is satisfied? Should the \\phi have a subscript of \\sigma?\n\nLine 649: Does C[0,50] mean the set of compressed strings of length 0 to 50? More generally, what is the algorithm to sample compressed strings from C[0,50] ? This seems like an important algorithm to describe.",
+ "limitations": "Authors acknowledge their results apply for C-RASP+ but that there are functions admitting length generalization beyond C-RASP+. The claim about their analysis resolving the PARITY_k counter example should be better substantiated or qualified since their results (in my understanding) don’t prove an exponential lower bound on the sample complexity to length generalize on parity (but plausibly suggest that this could be the case).",
+ "rating": 5,
+ "confidence": 3,
+ "ethical_concerns": [
+ "NO or VERY MINOR ethics concerns only"
+ ],
+ "paper_formatting_concerns": "n/a",
+ "code_of_conduct_acknowledgement": "Yes",
+ "responsible_reviewing_acknowledgement": "Yes",
+ "final_justification": "rebuttal answers my questions"
+ },
+ "createdAt": "2026-06-14T01:00:54.215Z",
+ "modifiedAt": "2026-11-18T13:43:37.312Z",
+ "url": "https://openreview.net/forum?id=gx6QOo6yY5&noteId=edfEUKiXMU",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/gx6qoo6yy5/notes/eh67sdc8is.json added

+++ b/reviews/openreview/gx6qoo6yy5/notes/eh67sdc8is.json
@@ -0,0 +1,15 @@
+{
+ "schema": "review/1",
+ "id": "EH67sdc8Is",
+ "replyTo": null,
+ "kind": "meta_review",
+ "invitation": "Meta_Review",
+ "signature": "Area Chair 7Ajj",
+ "content": {
+ "metareview": "(A) This paper studies transformer length generalization through the C-RASP framework and improves the known sample-complexity upper bound for C-RASP+ and C-RASP1 from doubly exponential to exponential.\n\n(B) strength:\n\nThis paper resolves a concrete open problem by improving the known C-RASP+ and C-RASP1 sample bound significantly. \n\nIt introduces an elegant and technically nontrivial connection to compressed strings and power words.\n\nIt provides a finer explanation of differences among COUNT, MAJORITY, and bounded-PARITY tasks.\n\n(C) weakness:\n\nThe resulting bound remains exponential, and no matching lower bound establishes tightness.\n\nResults apply only to particular C-RASP fragments rather than the full hypothesis.\n\nThe connection to gradient-trained transformers and realistic training scales is indirect, with limited empirical validation.\n\n(D) 1. Clarify whether any matching lower bound is proved for C-RASP+ or C-RASP1. If not, adjust the tone of fully solving the open question, which could mislead readers with the impression of obtaining the precise upper-bound."
+ },
+ "createdAt": "2026-07-18T11:19:15.155Z",
+ "modifiedAt": "2026-11-18T15:24:26.068Z",
+ "url": "https://openreview.net/forum?id=gx6QOo6yY5&noteId=EH67sdc8Is",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/gx6qoo6yy5/notes/hux6ollwiq.json added

+++ b/reviews/openreview/gx6qoo6yy5/notes/hux6ollwiq.json
@@ -0,0 +1,15 @@
+{
+ "schema": "review/1",
+ "id": "HUx6OlLWiq",
+ "replyTo": "jspdcTehpY",
+ "kind": "comment",
+ "invitation": "Rebuttal",
+ "signature": "Authors",
+ "content": {
+ "rebuttal": "We thank the reviewer for their careful reading of our work and insightful comments.\n\n> Are there matching lower bounds showing that exponential sample complexity is unavoidable for C-RASP+ or C-RASP1?\n\n\nThank you very much for the insightful question, which led us greatly clarify the definitions of sample size and discover a simple proof for a lower bound. First, by sample size we mean the following:\n\nLet $\\Phi(c)$ be the finite set of formulas with size up to c. Then, for any $c$, the sample size is the smallest $s(c)$ such that for any $\\phi\\in \\Phi(c)$, there exists a training set $T$ with size $\\le s(c)$ which uniquely identifies $\\phi$ amongst all formulas in $\\Phi(c)$.\n\nFor C-RASP+, consider a polynomial p such that given any uncompressed word w, there is a C-RASP+ formula for $\\{w\\}$ of size $\\le p(|w|)$. With this polynomial, the training data $T$ must contain all words w with $p(|w|)\\le c$, because if $T$ is missing some $w$ with $p(|w|)\\le c$, then both sets $\\emptyset$ and $\\{w\\}$ have description size $\\le c$, and agree on $T$; hence $T$ was not a sufficient sample. Now, pick $d$ such that $p(|w|)\\le |w|^d$ for all $w$ with $|w|>1$. Then the above implies that $T$ must include almost all words $w$ with $|w|^d\\le c$ and $|w|>1$ (because then $p(w)\\le c$). This means, the set $T$ must contain almost all (i.e. a constant number of exceptions) words -- those up to length $c^{1/d}$ -- and thus exponentially many. \n\n> Can the compression-based analysis be extended beyond C-RASP+ and C-RASP1 to larger fragments of C-RASP?\n\nIn general, this is not possible. Recent work [2] has already shown that C-RASP2 already does not admit computable length-generalization bounds, and thus compression would not help. Nontrivially expanding the fragment beyond C-RASP+ is also likely to run into similar issues of noncomputability. \n\n> To what extent does compressed-length complexity correlate with actual transformer training behavior? Can the authors provide additional evidence supporting this connection?\n\nCompressed strings were a tool which we used to prove bounds on the sample size needed to train transformers. We discussed this in Section 4, in relation to a fine-grained analysis of trainability of C-RASP languages. For example, although MAJ$_k$ and PARITY$_k$ are both expressible in C-RASP+, these bounds show that MAJ$_k$ only needs a polynomial sample size, while PARITY$_k$ needs an exponential one.[Note, the plain C-RASP Hypothesis of Huang et al. (2025) predicts that both of these are efficiently learnable by transformers, but in fact only MAJ$_k$ is.] We have expanded our experiments to include COUNT$_k$, MAJ$_k$, and PARITY$_k$, where $k \\in \\{2,4,8,16,32,64\\}$. The new results show that the counted language COUNT$_k$, MAJ$_k$ length-generalize robustly, whereas PARITY$_k$ does not, thereby confirming this distinction more clearly. These new results together with more comprehensive set of languages will be included in the new version. \n\n\n> Is there a natural class of tasks for which the new bounds yield qualitatively different predictions from previous theory?\n\nThis question is closely related to the previous question. In the Introduction, we described the the strange paradoxes of the C-RASP hypothesis ([1]) for finite variants (i.e. PARITY$_k$ and MAJ$_k$) of the classical tasks like PARITY and MAJORITY. In particular, C-RASP hypothesis simply says that these finite variants are solvable by transformers, since they are both expressible in C-RASP. No computable bound exists for C-RASP in its full generality, as shown by [2].\nHowever, experimentally, MAJ$_k$ is solvable for large values of $k$, but not PARITY$_k$. Our fine-grained analysis (i.e. our new theory with fragments of C-RASP) shows that MAJ$_k$ requires sample size that is polynomial in $k$, but not for PARITY$_k$. Note, the previous results of [2,3,4] yield only exponential or worse bounds (in $k$) for MAJ$_k$, and do not distinguish MAJ$_k$ from PARITY$_k$.\n\n\n> The proof relies on multiple reductions through reversal-bounded counter automata and Z-VASS. Could the authors provide additional intuition regarding the key step that enables the exponential improvement over prior bounds?\n\nThe key intuition behind multiple reductions through counter automata and Z-VASS is that these are models that allow direct and succinct encodings of numbers in binary. Each power word intuitively comes from a \"path\" in the transition system of counter automata and Z-VASS (more precisely, a skeleton in the form of a path and some cycles hanging on those paths), where each individual transition can be associated with integer weights written in binary. The key idea is that such a skeleton can be \"encoded\" as an integer program, where we can then invoke classical results on smallest solution sizes to integer programs.\n\n[1] Huang et al. A Formal Framework for Understanding Length Generalization in Transformers. ICLR 2026.\n\n[2] Yang et al. Length Generalization Bounds for Transformers. ICML 2026.\n\n[3] Li & Cotterell. Characterizing the Expressivity of Fixed-Precision Transformer Language Models. NeurIPS 2025. \n\n[4] Chen et al. Non-Asymptotic Length Generalization. ICML 2025."
+ },
+ "createdAt": "2026-07-28T11:43:28.664Z",
+ "modifiedAt": "2026-11-18T17:19:57.699Z",
+ "url": "https://openreview.net/forum?id=gx6QOo6yY5&noteId=HUx6OlLWiq",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/gx6qoo6yy5/notes/jspdctehpy.json added

+++ b/reviews/openreview/gx6qoo6yy5/notes/jspdctehpy.json
@@ -0,0 +1,31 @@
+{
+ "schema": "review/1",
+ "id": "jspdcTehpY",
+ "replyTo": null,
+ "kind": "review",
+ "invitation": "Official_Review",
+ "signature": "Reviewer wMdH",
+ "content": {
+ "summary": "The paper studies the theory of transformer length generalization through the recently proposed C-RASP framework. Prior work established computable length generalization bounds for the fragments C-RASP+ and C-RASP1, but the resulting sample complexity bounds were doubly exponential in the size of the representation. This paper resolves an open question regarding the tightness of these bounds by introducing a connection between length generalization and compressed strings represented as power words. Using translations via reversal-bounded counter automata and Z-VASS, the authors show that C-RASP+ and C-RASP1 admit polynomial compressed-length complexity, yielding exponential sample complexity bounds rather than doubly exponential ones. As an application, the paper provides a refined analysis of the C-RASP hypothesis and explains empirical differences between tasks such as PARITYk, COUNTk, and MAJk.",
+ "contribution_type": "theory",
+ "strengths_and_weaknesses": "This paper addresses an important open problem in the emerging theory of transformer length generalization. The main contribution is an exponential improvement in the known sample complexity bounds for C-RASP+ and C-RASP1, reducing the previous doubly exponential bound to an exponential one. The work introduces a novel connection between transformer length generalization and compression via power words, which appears both technically interesting and conceptually original.\n\nOne strength of the paper is the technical depth of the analysis. The proof combines ideas from formal language theory, compressed representations, counter automata, and integer linear systems in a nontrivial way. In particular, the reduction from C-RASP formulas to reversal-bounded counter automata and subsequently to Z-VASS provides a clean route to establishing the existence of short compressed witnesses. The resulting polynomial compressed-length complexity theorem appears to be a genuine theoretical advance.\n\nAnother strength is that the paper directly addresses a limitation of previous C-RASP theory. Earlier results established expressibility-based characterizations of length generalization but provided only extremely large upper bounds on the amount of data required for learning. By obtaining substantially tighter bounds, the paper contributes toward a more fine-grained understanding of when length generalization should be expected.\n\n\nMy main concern is the practical significance of the resulting bounds. Although the improvement from doubly exponential to exponential sample complexity is mathematically substantial, exponential sample complexity remains extremely large. As a result, it is not entirely clear how much closer the theory is to explaining the behavior of transformers trained in realistic settings.\n\nA second concern is that the empirical evaluation is relatively limited. The experiments primarily serve as validation of the theoretical predictions on synthetic formal-language tasks. While this is understandable for a theory paper, the empirical section does not provide strong evidence that the proposed complexity measure predicts behavior in modern transformer systems.",
+ "quality": 3,
+ "clarity": 3,
+ "significance": 3,
+ "originality": 4,
+ "questions": "1. Are there matching lower bounds showing that exponential sample complexity is unavoidable for C-RASP+ or C-RASP1?\n\n2. Can the compression-based analysis be extended beyond C-RASP+ and C-RASP1 to larger fragments of C-RASP?\n\n3. To what extent does compressed-length complexity correlate with actual transformer training behavior? Can the authors provide additional evidence supporting this connection?\n\n4. Is there a natural class of tasks for which the new bounds yield qualitatively different predictions from previous theory?\n\n5. The proof relies on multiple reductions through reversal-bounded counter automata and Z-VASS. Could the authors provide additional intuition regarding the key step that enables the exponential improvement over prior bounds?",
+ "limitations": "Yes. The authors explicitly discuss the restriction of their results to C-RASP+ and C-RASP1 and identify extension to larger fragments of C-RASP as future work. The limitations section is adequate.",
+ "rating": 4,
+ "confidence": 3,
+ "ethical_concerns": [
+ "NO or VERY MINOR ethics concerns only"
+ ],
+ "paper_formatting_concerns": "None noticed.",
+ "code_of_conduct_acknowledgement": "Yes",
+ "responsible_reviewing_acknowledgement": "Yes"
+ },
+ "createdAt": "2026-06-24T05:24:01.479Z",
+ "modifiedAt": "2026-11-18T13:43:36.381Z",
+ "url": "https://openreview.net/forum?id=gx6QOo6yY5&noteId=jspdcTehpY",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/gx6qoo6yy5/notes/lgovzjr381.json added

+++ b/reviews/openreview/gx6qoo6yy5/notes/lgovzjr381.json
@@ -0,0 +1,15 @@
+{
+ "schema": "review/1",
+ "id": "LGOVzJr381",
+ "replyTo": "edfEUKiXMU",
+ "kind": "comment",
+ "invitation": "Rebuttal",
+ "signature": "Authors",
+ "content": {
+ "rebuttal": "We thank the reviewer for the insightful consideration of our work.\n\n> My main question is on the motivation of compressed length generalization as a theoretical notion. The main motivation seems to be that it explains empirical results. \n\nIndeed, we do not study compressed length generalization per se, but use compressed strings in order to derive our main results about bounds on the sample size for length generalization.\n\n> The fine-grained bounds applied to Majority, Count, and PARITY$_k$ suggest an exponential separation between majority and count (of description len log k) and PARITY$_k$ (of description length poly(k), although the theoretical results seem to all be upper bounds, without matching lower bounds. \n\n\nThank you very much for the insightful question, which led us greatly clarify the definitions of sample size and discover a simple proof for a lower bound. First, by sample size we mean the following:\n\nLet $\\Phi(c)$ be the finite set of formulas with size up to c. Then, for any $c$, the sample size is the smallest $s(c)$ such that for any $\\phi\\in \\Phi(c)$, there exists a training set $T$ with size $\\le s(c)$ which uniquely identifies $\\phi$ amongst all formulas in $\\Phi(c)$.\n\nFor C-RASP+, consider a polynomial p such that given any uncompressed word w, there is a C-RASP+ formula for $\\{w\\}$ of size $\\le p(|w|)$. With this polynomial, the training data $T$ must contain all words w with $p(|w|)\\le c$, because if $T$ is missing some $w$ with $p(|w|)\\le c$, then both sets $\\emptyset$ and $\\{w\\}$ have description size $\\le c$, and agree on $T$; hence $T$ was not a sufficient sample. Now, pick $d$ such that $p(|w|)\\le |w|^d$ for all $w$ with $|w|>1$. Then the above implies that $T$ must include almost all words $w$ with $|w|^d\\le c$ and $|w|>1$ (because then $p(w)\\le c$). This means, the set $T$ must contain almost all (i.e. a constant number of exceptions) words -- those up to length $c^{1/d}$ -- and thus exponentially many. \n\n> More generally, the authors suggest that if a ground-truth function has low compressed length complexity (as a function of description length), then it admits length generalization (as argued for PARITY, which has poly(k) compressed length complexity and thus exp(k) sample complexity, in contrast to COUNT and MAJORITY). In the current state, this claim is plausible but not that well substantiated. \n\nWe have updated the experiments like including evaluation towards COUNT$_k$, MAJ$_k$, and PARITY$_k$, and will also evaluate the models on a more comprehensive set of languages furthermore. We will also provide a detailed description of the dataset construction in the next version of the paper.\n\n> In particular, it isn’t clear whether the presence of the compressed strings in the training set necessary to length generalize empirically.\n\nIndeed, we do not claim that compressed strings are necessary for length generalization, and indeed they are not in practice. Compressed strings were just a tool we used in order to prove a witness to the optimal sample size. \n\n> Authors acknowledge their results apply for C-RASP+ but that there are functions admitting length generalization beyond C-RASP+. The claim about their analysis resolving the PARITY$_k$ counter example should be better substantiated or qualified since their results (in my understanding) don’t prove an exponential lower bound on the sample complexity to length generalize on parity (but plausibly suggest that this could be the case).\n\nWe argue that analyzing PARITY$_k$ is an appropriate avenue to analyze PARITY, because we only ever evaluate transformers on some bounded context window. In this case, we do prove that length generalizing on PARITY$_k$ (within a context window of size k) indeed requires an exponential sample size. We can substantiate this part of the analysis in more detail in the next draft of the paper."
+ },
+ "createdAt": "2026-07-28T11:47:32.437Z",
+ "modifiedAt": "2026-11-18T17:19:57.658Z",
+ "url": "https://openreview.net/forum?id=gx6QOo6yY5&noteId=LGOVzJr381",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/gx6qoo6yy5/notes/ofhb0hbxtn.json added

+++ b/reviews/openreview/gx6qoo6yy5/notes/ofhb0hbxtn.json
@@ -0,0 +1,19 @@
+{
+ "schema": "review/1",
+ "id": "ofHB0hBXtN",
+ "replyTo": null,
+ "kind": "decision",
+ "invitation": "Decision",
+ "signature": "Program Chairs",
+ "content": {
+ "title": "Paper Decision",
+ "decision": "Accept (poster)",
+ "comment": "",
+ "metareview": "(A) This paper studies transformer length generalization through the C-RASP framework and improves the known sample-complexity upper bound for C-RASP+ and C-RASP1 from doubly exponential to exponential.\n\n(B) strength:\n\nThis paper resolves a concrete open problem by improving the known C-RASP+ and C-RASP1 sample bound significantly. \n\nIt introduces an elegant and technically nontrivial connection to compressed strings and power words.\n\nIt provides a finer explanation of differences among COUNT, MAJORITY, and bounded-PARITY tasks.\n\n(C) weakness:\n\nThe resulting bound remains exponential, and no matching lower bound establishes tightness.\n\nResults apply only to particular C-RASP fragments rather than the full hypothesis.\n\nThe connection to gradient-trained transformers and realistic training scales is indirect, with limited empirical validation.\n\n(D) 1. Clarify whether any matching lower bound is proved for C-RASP+ or C-RASP1. If not, adjust the tone of fully solving the open question, which could mislead readers with the impression of obtaining the precise upper-bound.",
+ "final_justification": "I recommend acceptance. The central upper-bound improvement and compression construction are technically substantive. The practical optimization connection remains indirect and the parity-specific interpretation still needs qualifications."
+ },
+ "createdAt": "2026-09-24T11:25:52.295Z",
+ "modifiedAt": "2026-11-18T14:58:19.086Z",
+ "url": "https://openreview.net/forum?id=gx6QOo6yY5&noteId=ofHB0hBXtN",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/gx6qoo6yy5/notes/vifqipurlx.json added

+++ b/reviews/openreview/gx6qoo6yy5/notes/vifqipurlx.json
@@ -0,0 +1,32 @@
+{
+ "schema": "review/1",
+ "id": "viFqiPURLx",
+ "replyTo": null,
+ "kind": "review",
+ "invitation": "Official_Review",
+ "signature": "Reviewer jYuP",
+ "content": {
+ "summary": "This paper studies the theory of length generalization in Transformers through the C-RASP framework. The authors address a key limitation of prior work: although recent results established computable length-generalization bounds for the fragments C-RASP$^{+}$ and C-RASP$_1$, the resulting sample-complexity bounds were doubly exponential and potentially too loose to explain empirical observations.\n\nThe main contribution is a novel connection between transformer length generalization and compression via power words. Using this connection, the authors show that the compressed length complexity of C-RASP$^{+}$ and C-RASP$_1$ is polynomial, leading to exponential rather than doubly exponential sample-complexity bounds. The theory further provides an explanation for why some tasks (e.g., COUNT$_k$ and MAJ$_k$) generalize well across sequence lengths while others (e.g., PARITY$_k$) require substantially more samples.",
+ "contribution_type": "theory",
+ "strengths_and_weaknesses": "Strengths:\n+ The paper improves previously known sample-complexity bounds from doubly exponential to exponential for C-RASP$^{+}$\nand C-RASP$_1$-definable tasks. This addresses an explicit limitation of earlier theoretical work.\n+ The introduction of power words and compressed length complexity is conceptually interesting. The connection between compression techniques and transformer length generalization is elegant and unexpected.\n+ The paper provides a plausible explanation for the discrepancy between the C-RASP hypothesis and empirical observations on tasks such as bounded parity. The resulting theory offers a more fine-grained understanding of transformer length generalization.\n\nWeaknesses:\n+ While the improvement from doubly exponential to exponential is substantial, the resulting sample-complexity bounds are still extremely large. It remains unclear how informative these bounds are for practical transformer training regimes.\n+ The theory is developed for C-RASP$^{+}$ and C-RASP$_1$. It remains unclear how much of the full C-RASP hypothesis is captured by these fragments and whether similar results hold more broadly.\n+ For tasks such as PARITY$_k$, the paper establishes exponential upper bounds, but it is unclear whether these bounds are tight. Matching lower bounds or impossibility results would strengthen the theoretical conclusions.\n+ The proposed complexity measure is based on compressed distinguishing words and hypothesis identification. Its relationship to the behavior of transformers trained using gradient-based optimization is not fully explored.",
+ "quality": 3,
+ "clarity": 3,
+ "significance": 3,
+ "originality": 3,
+ "questions": "+ Can the exponential sample-complexity upper bound be shown to be tight for C-RASP$^{+}$ or C-RASP$_1$, or are substantially smaller bounds possible for important subclasses of tasks?\n\n+ How much of the full C-RASP hypothesis is captured by C-RASP$^{+}$ and C-RASP$_1$? Are there natural C-RASP-definable tasks outside these fragments for which the current theory does not apply?\n\n+ Can the authors clarify how closely the proposed sample-complexity notion corresponds to the behavior of transformers trained with standard gradient-based optimization methods?",
+ "limitations": "The authors discuss several limitations, including the restriction of the analysis to C-RASP^+ and C-RASP_1 and the gap between the proposed complexity measure and practical Transformer training. However, the discussion could be strengthened by clarifying the tightness of the exponential sample-complexity bounds and by further explaining the relationship between the theoretical framework and gradient-based optimization in modern Transformers.",
+ "rating": 5,
+ "confidence": 3,
+ "ethical_concerns": [
+ "NO or VERY MINOR ethics concerns only"
+ ],
+ "paper_formatting_concerns": "I don't see any problem with the paper format.",
+ "code_of_conduct_acknowledgement": "Yes",
+ "responsible_reviewing_acknowledgement": "Yes",
+ "final_justification": "After carefully considering the authors’ rebuttal and the issues raised during the review process, I have decided to keep my score unchanged and recommend acceptance of the paper."
+ },
+ "createdAt": "2026-06-06T03:57:22.513Z",
+ "modifiedAt": "2026-11-18T13:43:38.154Z",
+ "url": "https://openreview.net/forum?id=gx6QOo6yY5&noteId=viFqiPURLx",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/gx6qoo6yy5/submission.json added

+++ b/reviews/openreview/gx6qoo6yy5/submission.json
@@ -0,0 +1,12 @@
+{
+ "schema": "submission/1",
+ "id": "gx6QOo6yY5",
+ "venue": {
+ "id": "NeurIPS.cc/2026/Conference",
+ "name": "NeurIPS 2026",
+ "url": "https://openreview.net/group?id=NeurIPS.cc%2F2026%2FConference"
+ },
+ "number": 27301,
+ "url": "https://openreview.net/forum?id=gx6QOo6yY5",
+ "license": "CC-BY-4.0"
+}

versions/v_vp9a8wsq.json added

+++ b/versions/v_vp9a8wsq.json
@@ -0,0 +1,22 @@
+{
+ "date": "2026-05-04",
+ "kind": "submitted",
+ "label": "NeurIPS 2026",
+ "submissions": [
+ {
+ "venue": "NeurIPS 2026",
+ "status": "accepted",
+ "decision": "Accept (poster)",
+ "number": 27301,
+ "url": "https://openreview.net/forum?id=gx6QOo6yY5",
+ "reviews": "openreview/gx6qoo6yy5",
+ "evidence": [
+ "https://openreview.net/forum?id=gx6QOo6yY5"
+ ]
+ }
+ ],
+ "url": "https://openreview.net/forum?id=gx6QOo6yY5",
+ "evidence": [
+ "https://openreview.net/forum?id=gx6QOo6yY5"
+ ]
+}