Transformers Provably Learn to Internalize Chain-of-Thought
Add the PDF
@openreview[bot] · 2026-11-22 21:14 UTC · 897eb4bc5e3a ·
versions/v_k9jfsh8x.json modified
+++ b/versions/v_k9jfsh8x.json@@ -15,8 +15,12 @@}],"title": "Transformers Provably Learn to Internalize Chain-of-Thought","url": "https://openreview.net/forum?id=GyJFmBegWL",+ "pdf": {+ "source": "https://openreview.net/forum?id=GyJFmBegWL",+ "license": "CC-BY-4.0"+ },"evidence": ["https://openreview.net/forum?id=GyJFmBegWL"],"abstract": "Explicit chain-of-thought (CoT) reasoning improves language models'\nperformance, but generating intermediate tokens increases inference cost.\nImplicit CoT (ICoT) progressively removes those tokens during training,\naiming to internalize reasoning without explicitly generating the\nintermediate steps at inference. We ask whether a transformer can still\nlearn efficiently as intermediate reasoning steps are progressively removed\nduring training. We introduce Log-ICoT, which uses a given hierarchical\ndecomposition of the task into simpler subproblems. The curriculum removes\nintermediate steps in geometric chunks aligned with the levels of this\nhierarchy. We establish sufficient conditions under which a simplified\n$L$-layer transformer trained with Log-ICoT learns $k$-parity, where\n$k=2^L$, using a number of samples polynomial in the input length $n$ and $L=\\log_2 k$\ntraining stages. The resulting model predicts in one forward pass rather\nthan generating a linear number of reasoning tokens sequentially.\nExperiments illustrate layer-wise internalization on parity and demonstrate\nthe curriculum on balanced ListOps and four-digit multiplication with\npretrained GPT-2. Log-ICoT attains high answer accuracy with fewer training updates\nthan vanilla ICoT and lower inference latency than explicit CoT."
versions/v_k9jfsh8x.pdf added
+++ b/versions/v_k9jfsh8x.pdf@@ -0,0 +1,3 @@+version https://git-lfs.github.com/spec/v1+oid sha256:5fba0f92295406390f4f556970357cda02d5a1dc5daee9625dcb445d2a5cb27d+size 1077855