potentialpaper

Length Generalization for Transformers via Compression

Keep the title, authors and abstract in paper.json

potentialpaper · 2026-11-23 20:48 UTC · e9a9b323e044 ·

.potentialpaper/metadata.json modified

+++ b/.potentialpaper/metadata.json
@@ -1,27 +1,5 @@
{
- "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"
- }
+ "layout": 6,
+ "kind": "paper",
+ "key": "e267d899-69a6-4774-b7ea-6f8034bdac5e"
}

paper.json added

+++ b/paper.json
@@ -0,0 +1,17 @@
+{
+ "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.",
+ "license": {
+ "metadata": "CC0-1.0",
+ "abstract": "CC0-1.0"
+ }
+}