Unsupervised decoding of encoded reasoning using language model interpretability
Ching Fang, Samuel Marks
TL;DR
The paper addresses whether current mechanistic interpretability methods can reveal encoded or non-human-readable reasoning in large language models. It constructs a controlled testbed by finetuning a reasoning model to ROT-13 encoded chain-of-thought while preserving English outputs, and develops an unsupervised decoding pipeline that combines logit lens with automated paraphrasing. The results show that logit lens can align intermediate-to-late layer representations with English translations of encoded thinking, and the unsupervised decoding pipeline can recover substantial portions of the original reasoning transcripts (about 72% correctness on a 50-prompt test), with peak performance around layer 58 and improvements from thresholding. This work provides an initial framework for evaluating interpretability methods against encoded reasoning and informs oversight of increasingly capable AI systems.
Abstract
As large language models become increasingly capable, there is growing concern that they may develop reasoning processes that are encoded or hidden from human oversight. To investigate whether current interpretability techniques can penetrate such encoded reasoning, we construct a controlled testbed by fine-tuning a reasoning model (DeepSeek-R1-Distill-Llama-70B) to perform chain-of-thought reasoning in ROT-13 encryption while maintaining intelligible English outputs. We evaluate mechanistic interpretability methods--in particular, logit lens analysis--on their ability to decode the model's hidden reasoning process using only internal activations. We show that logit lens can effectively translate encoded reasoning, with accuracy peaking in intermediate-to-late layers. Finally, we develop a fully unsupervised decoding pipeline that combines logit lens with automated paraphrasing, achieving substantial accuracy in reconstructing complete reasoning transcripts from internal model representations. These findings suggest that current mechanistic interpretability techniques may be more robust to simple forms of encoded reasoning than previously understood. Our work provides an initial framework for evaluating interpretability methods against models that reason in non-human-readable formats, contributing to the broader challenge of maintaining oversight over increasingly capable AI systems.
