English

Understanding Hidden Computations in Chain-of-Thought Reasoning

Computation and Language 2024-12-09 v1 Machine Learning

Abstract

Chain-of-Thought (CoT) prompting has significantly enhanced the reasoning abilities of large language models. However, recent studies have shown that models can still perform complex reasoning tasks even when the CoT is replaced with filler(hidden) characters (e.g., "..."), leaving open questions about how models internally process and represent reasoning steps. In this paper, we investigate methods to decode these hidden characters in transformer models trained with filler CoT sequences. By analyzing layer-wise representations using the logit lens method and examining token rankings, we demonstrate that the hidden characters can be recovered without loss of performance. Our findings provide insights into the internal mechanisms of transformer models and open avenues for improving interpretability and transparency in language model reasoning.

Keywords

Cite

@article{arxiv.2412.04537,
  title  = {Understanding Hidden Computations in Chain-of-Thought Reasoning},
  author = {Aryasomayajula Ram Bharadwaj},
  journal= {arXiv preprint arXiv:2412.04537},
  year   = {2024}
}
R2 v1 2026-06-28T20:24:48.201Z