Length Generalization for Transformers via Compression
Georg Zetzsche, Hongjian Jiang, Andy Yang, Pascal Bergsträßer, Marco Sälzer, David Chiang, Anthony Widjaja Lin
NeurIPS 2026
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.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
NeurIPS 2026
Accept (poster) · 3 reviews · OpenReview
Updated 25 Nov 2026, 03:47 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
(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.
(B) strength:
This paper resolves a concrete open problem by improving the known C-RASP+ and C-RASP1 sample bound significantly.
It introduces an elegant and technically nontrivial connection to compressed strings and power words.
It provides a finer explanation of differences among COUNT, MAJORITY, and bounded-PARITY tasks.
(C) weakness:
The resulting bound remains exponential, and no matching lower bound establishes tightness.
Results apply only to particular C-RASP fragments rather than the full hypothesis.
The connection to gradient-trained transformers and realistic training scales is indirect, with limited empirical validation.
(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.
Read meta-review
Meta-review
(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.
(B) strength:
This paper resolves a concrete open problem by improving the known C-RASP+ and C-RASP1 sample bound significantly.
It introduces an elegant and technically nontrivial connection to compressed strings and power words.
It provides a finer explanation of differences among COUNT, MAJORITY, and bounded-PARITY tasks.
(C) weakness:
The resulting bound remains exponential, and no matching lower bound establishes tightness.
Results apply only to particular C-RASP fragments rather than the full hypothesis.
The connection to gradient-trained transformers and realistic training scales is indirect, with limited empirical validation.
(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.
1 comment
- Rating
- 5/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- theory
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
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.
The 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.
Strengths and weaknesses
Strengths:
- The paper improves previously known sample-complexity bounds from doubly exponential to exponential for C-RASP$^{+}$ and C-RASP$_1$-definable tasks. This addresses an explicit limitation of earlier theoretical work.
- 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.
- 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.
Weaknesses:
- 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.
- 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.
- 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.
- 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.
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?
-
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?
-
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.
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.
Formatting concerns
I don't see any problem with the paper format.
3 comments
Rebuttal
We thank the reviewer for the constructive questions.
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.
In 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.
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?
Thank 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:
Let be the finite set of formulas with size up to c. Then, for any , the sample size is the smallest such that for any , there exists a training set with size which uniquely identifies amongst all formulas in .
For C-RASP+, consider a polynomial p such that given any uncompressed word w, there is a C-RASP+ formula for of size . With this polynomial, the training data must contain all words w with , because if is missing some with , then both sets and have description size , and agree on ; hence was not a sufficient sample. Now, pick such that for all with . Then the above implies that must include almost all words with and (because then ). This means, the set must contain almost all (i.e. a constant number of exceptions) words -- those up to length -- and thus exponentially many.
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?
Recent 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.
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.
Regarding 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.
The 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.
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.
Can the authors clarify how closely the proposed sample-complexity notion corresponds to the behavior of transformers trained with standard gradient-based optimization methods?
Regarding 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.
In 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).
[1] Huang et al. A Formal Framework for Understanding Length Generalization in Transformers. ICLR 2025.
[2] Yang et al. Length Generalization Bounds for Transformers. ICML 2026.
Since above is a proof for an exponential lower bound of the sample size for C-RASP+, we would also like to mention an exponential lower bound for C-RASP${}_1$:
We argue that for C-RASP${}_1$, we have . To see this, let be a constant such that for every natural , the singleton {} has a C-RASP${}_1$ formula of size . Note that is possible because the coefficients in counting terms in C-RASP${}_1$ are encoded in binary. But then for the language and description size bound , the training set must contain all words with : Indeed, if is missing one such , then we have a formula for {} of size , and hence cannot distinguish and {}, both of which have description size at most (if is large enough to define ). Thus, we have .
Thank you very much for your rebuttal. I have read them and decide to keep my score unchanged.
- Rating
- 5/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- theory
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
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.
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.
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. 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. 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. In particular, it isn’t clear whether the presence of the compressed strings in the training set necessary to length generalize empirically.
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.
Line 197: should this read “Theorem 1” instead of “Theorem 2”?
Line 210: what is -VASS? define it before using it
Section 3 uses the term reversal bounded counter automata before it is introduced in 3.1.
Line 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
Line 250: In the left formula involving \phi and \psi, is \phi satisfied iff \psi is satisfied? Should the \phi have a subscript of \sigma?
Line 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).
Final justification
rebuttal answers my questions
Formatting concerns
n/a
3 comments
Rebuttal
We thank the reviewer for the insightful consideration of our work.
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.
Indeed, 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.
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.
Thank 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:
Let be the finite set of formulas with size up to c. Then, for any , the sample size is the smallest such that for any , there exists a training set with size which uniquely identifies amongst all formulas in .
For C-RASP+, consider a polynomial p such that given any uncompressed word w, there is a C-RASP+ formula for of size . With this polynomial, the training data must contain all words w with , because if is missing some with , then both sets and have description size , and agree on ; hence was not a sufficient sample. Now, pick such that for all with . Then the above implies that must include almost all words with and (because then ). This means, the set must contain almost all (i.e. a constant number of exceptions) words -- those up to length -- and thus exponentially many.
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.
We 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.
In particular, it isn’t clear whether the presence of the compressed strings in the training set necessary to length generalize empirically.
Indeed, 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.
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).
We 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.
Since above is a proof for an exponential lower bound of the sample size for C-RASP+, we would also like to mention an exponential lower bound for C-RASP${}_1$:
We argue that for C-RASP${}_1$, we have . To see this, let be a constant such that for every natural , the singleton {} has a C-RASP${}_1$ formula of size . Note that is possible because the coefficients in counting terms in C-RASP${}_1$ are encoded in binary. But then for the language and description size bound , the training set must contain all words with : Indeed, if is missing one such , then we have a formula for {} of size , and hence cannot distinguish and {}, both of which have description size at most (if is large enough to define ). Thus, we have .
I have read and considered the rebuttal.
- Rating
- 4/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 4/4
- Contribution type
- theory
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
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.
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.
One 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.
Another 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.
My 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.
A 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.
Questions
-
Are there matching lower bounds showing that exponential sample complexity is unavoidable for C-RASP+ or C-RASP1?
-
Can the compression-based analysis be extended beyond C-RASP+ and C-RASP1 to larger fragments of C-RASP?
-
To what extent does compressed-length complexity correlate with actual transformer training behavior? Can the authors provide additional evidence supporting this connection?
-
Is there a natural class of tasks for which the new bounds yield qualitatively different predictions from previous theory?
-
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.
Formatting concerns
None noticed.
3 comments
Rebuttal
We thank the reviewer for their careful reading of our work and insightful comments.
Are there matching lower bounds showing that exponential sample complexity is unavoidable for C-RASP+ or C-RASP1?
Thank 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:
Let be the finite set of formulas with size up to c. Then, for any , the sample size is the smallest such that for any , there exists a training set with size which uniquely identifies amongst all formulas in .
For C-RASP+, consider a polynomial p such that given any uncompressed word w, there is a C-RASP+ formula for of size . With this polynomial, the training data must contain all words w with , because if is missing some with , then both sets and have description size , and agree on ; hence was not a sufficient sample. Now, pick such that for all with . Then the above implies that must include almost all words with and (because then ). This means, the set must contain almost all (i.e. a constant number of exceptions) words -- those up to length -- and thus exponentially many.
Can the compression-based analysis be extended beyond C-RASP+ and C-RASP1 to larger fragments of C-RASP?
In 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.
To what extent does compressed-length complexity correlate with actual transformer training behavior? Can the authors provide additional evidence supporting this connection?
Compressed 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 . 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.
Is there a natural class of tasks for which the new bounds yield qualitatively different predictions from previous theory?
This 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]. However, experimentally, MAJ$_k$ is solvable for large values of , 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 , but not for PARITY$_k$. Note, the previous results of [2,3,4] yield only exponential or worse bounds (in ) for MAJ$_k$, and do not distinguish MAJ$_k$ from PARITY$_k$.
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?
The 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.
[1] Huang et al. A Formal Framework for Understanding Length Generalization in Transformers. ICLR 2026.
[2] Yang et al. Length Generalization Bounds for Transformers. ICML 2026.
[3] Li & Cotterell. Characterizing the Expressivity of Fixed-Precision Transformer Language Models. NeurIPS 2025.
[4] Chen et al. Non-Asymptotic Length Generalization. ICML 2025.
Since above is a proof for an exponential lower bound of the sample size for C-RASP+, we would also like to mention an exponential lower bound for C-RASP${}_1$:
We argue that for C-RASP${}_1$, we have . To see this, let be a constant such that for every natural , the singleton {} has a C-RASP${}_1$ formula of size . Note that is possible because the coefficients in counting terms in C-RASP${}_1$ are encoded in binary. But then for the language and description size bound , the training set must contain all words with : Indeed, if is missing one such , then we have a formula for {} of size , and hence cannot distinguish and {}, both of which have description size at most (if is large enough to define ). Thus, we have .
Author Comment
We thank the reviewer again for the valuable comments. Since it is close to the end of author-reviewer discussion, please let us know if we have properly addressed your questions.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Response to Meta Review
We thank the AC for their meta review.
In our responses to the reviewers, we have clarified that the resulting bounds are indeed tight. A proof sketch was also provided.
As previous work [2] has shown, it is not possible to find computable bounds for the full hypothesis. We believe the fragments studied here represent important subclasses, particularly due to the correspondence between C-RASP+ and fixed precision transformers.
We have expanded the experimental section with more validation, to be added in the final draft of the paper.
[1] Li & Cotterell. Characterizing the Expressivity of Fixed-Precision Transformer Language Models. NeurIPS 2025.
[2] Yang et al. Length Generalization Bounds for Transformers. ICML 2026.