Intrinsic Self-Correction in LLMs: Towards Explainable Prompting via Mechanistic Interpretability
Yu-Ting Lee, Fu-Chieh Chang, Hui-Ying Shih, Pei-Yuan Wu
TL;DR
This work probes intrinsic self-correction in LLMs through mechanistic interpretability, introducing prompt-induced shifts and steering vectors to reveal how self-correction prompts steer hidden representations along interpretable latent directions. Across five open-source models and detoxification/toxification tasks, the study shows early rounds where shifts align with non-toxic or toxic directions, respectively, suggesting a representation-level mechanism beyond task scores. The authors propose a binary latent-feature steering framework and discuss scaling, robustness, and design implications for prompting. The findings offer a principled lens on how in-context prompting moves model representations and open avenues for robust prompt design and interpretability-driven safety checks.
Abstract
Intrinsic self-correction refers to the phenomenon where a language model refines its own outputs purely through prompting, without external feedback or parameter updates. While this approach improves performance across diverse tasks, its internal mechanism remains poorly understood. We analyze intrinsic self-correction from a representation-level perspective. We formalize and introduce the notion of a prompt-induced shift, which is the change in hidden representations caused by a self-correction prompt. Across 5 open-source LLMs, prompt-induced shifts in text detoxification and text toxification align with latent directions constructed from contrastive pairs. In detoxification, the shifts align with the non-toxic direction; in toxification, they align with the toxic direction. These results suggest that intrinsic self-correction functions as representation steering along interpretable latent directions, beyond what standard metrics such as task scores or model confidence capture. Our analysis offers an interpretability-based account of intrinsic self-correction and contributes to a more systematic understanding of LLM prompting.
