Transformers with CoT Discover Heavy-Ball Acceleration Through Training
Keep the title, authors and abstract in paper.json
potentialpaper · 2026-11-23 20:31 UTC · f0aa7ef44a13 ·
.potentialpaper/metadata.json modified
+++ b/.potentialpaper/metadata.json@@ -1,19 +1,5 @@{- "layout": 5,- "identifiers": [- {- "scheme": "openreview",- "value": "gj7I78SrN5"- }- ],- "title": "Transformers with CoT Discover Heavy-Ball Acceleration Through Training",- "authors": [],- "abstract": "Modern transformers often solve complex tasks by generating and refining intermediate reasoning steps. To develop a theoretical understanding of chain-of-thought (CoT) reasoning, a notable recent study by Huang et al. (2025) viewed transformers as algorithm executors, and showed that when transformers’ CoT steps are supervised by a gradient-descent teacher, they can learn to implement gradient descent for in-context weight prediction in linear regression. In this paper, we study the same in-context weight prediction task but ask whether CoT reasoning can go beyond merely imitating the teacher algorithm. We show that, after initial supervision from a gradient-descent teacher, further trajectory-level supervision using the true regression weights leads the model to implement the heavy-ball method, thereby achieving acceleration over the original teacher. Notably, this accelerated algorithm emerges without supervision from any heavy-ball teacher. Our results provide a concrete theoretical example in which transformer reasoning can discover new algorithms through training, rather than merely imitate the algorithm used for supervision.",- "year": 2027,- "venue": "ICLR 2027 (under review)",- "source": "openreview",- "license": {- "metadata": "CC0-1.0",- "abstract": "CC0-1.0"- }+ "layout": 6,+ "kind": "paper",+ "key": "9161e7b4-79ad-4e1a-a65a-946371faa8f3"}
paper.json added
+++ b/paper.json@@ -0,0 +1,9 @@+{+ "title": "Transformers with CoT Discover Heavy-Ball Acceleration Through Training",+ "authors": [],+ "abstract": "Modern transformers often solve complex tasks by generating and refining intermediate reasoning steps. To develop a theoretical understanding of chain-of-thought (CoT) reasoning, a notable recent study by Huang et al. (2025) viewed transformers as algorithm executors, and showed that when transformers’ CoT steps are supervised by a gradient-descent teacher, they can learn to implement gradient descent for in-context weight prediction in linear regression. In this paper, we study the same in-context weight prediction task but ask whether CoT reasoning can go beyond merely imitating the teacher algorithm. We show that, after initial supervision from a gradient-descent teacher, further trajectory-level supervision using the true regression weights leads the model to implement the heavy-ball method, thereby achieving acceleration over the original teacher. Notably, this accelerated algorithm emerges without supervision from any heavy-ball teacher. Our results provide a concrete theoretical example in which transformer reasoning can discover new algorithms through training, rather than merely imitate the algorithm used for supervision.",+ "license": {+ "metadata": "CC0-1.0",+ "abstract": "CC0-1.0"+ }+}