State commitment learning: training language models to distinguish computation from memory Researchers have introduced state commitment learning, a new training objective that teaches language models to distinguish temporary computation from persistent memory. The method, called Counterfactual Erasure RL (CERL), rewards models only when answers remain correct after hidden thoughts are erased, reducing reliance on failed attempts and dead ends. In evaluations across mathematics, logic, scientific QA, and multi-turn tool use, CERL substantially decreased answer dependence on hidden thoughts without sacrificing accuracy, outperforming existing training approaches. arXiv:2606.05201v1 Announce Type: new Abstract: Reasoning language models do not distinguish tokens used for computation from tokens that constitute persistent state: once generated, all hidden thoughts remain in context and influence future predictions. As a result, downstream reasoning may depend on failed attempts, dead ends, and private scratch work that should not be safely relied on later. We recast this phenomenon as a new training objective, state commitment learning: training models to explicitly distinguish information that should be committed as persistent state from temporary computation that can be discarded. We define a counterfactual criterion, persistent-state sufficiency, which makes it trainable and measurable whether an answer remains usable after hidden thoughts are erased. We then propose Counterfactual Erasure RL CERL , which evaluates, under the same prefix, both a path that keeps hidden thoughts and a path that erases them, and gives reward only when the erasure path remains correct. We also introduce the Erasure Dependence Protocol and show across mathematics, long-chain logic, scientific QA, and multi-turn tool-use evaluation that CERL substantially reduces answer dependence on hidden thoughts without sacrificing accuracy, consistently outperforming correctness-only RL and long-answer SFT baselines.