arXiv Machine Learning By Yuxuan Cai, Yuan Cao

Transformers with CoT Discover Heavy-Ball Acceleration Through Training

Read the original on arXiv Machine Learning →

The paper investigates whether transformer chain‑of‑thought (CoT) reasoning can discover new optimization algorithms beyond those it is supervised to imitate. Starting with a gradient‑descent teacher, the authors add trajectory‑level supervision using the true regression weights, and find that the transformer learns to implement the Heavy‑Ball method, achieving faster convergence than the original teacher. This demonstrates that transformer reasoning can autonomously uncover accelerated algorithms through training.

Machine-generated by The Flow from the publisher's headline and feed description — not written or checked by a human. The full article lives at arXiv Machine Learning.

Hugging Face Trending Papers
Oct 22

Transformers with CoT Discover Heavy-Ball Acceleration Through Training

The paper investigates how transformers can learn to perform in-context weight prediction for linear regression beyond simply mimicking a gradient‑descent teacher. After initial supervision, additional trajectory‑level supervision with true regression weights causes the model to discover and implement the Heavy‑Ball method, achieving faster convergence. This demonstrates that transformer reasoning can uncover new algorithms through training rather than just imitate the supervising algorithm.

Hugging Face Trending Papers
Jul 13

Invariant Learning Dynamics of Transformers in Inductive Reasoning Tasks

We present a theoretical framework to explain the emergence of inductive reasoning abilities in Transformer language models. While previous works on Transformer learning dynamics have so far been mostly tied to specific tasks, we study a generalized class of inductive tasks that unifies several synthetic tasks known in the literature, including in-context n-grams and multi-hop reasoning.