Long-Short Memory Steering to Mitigate Unfaithful Self-Brainwashing
Abstract
AbstractAlthough recent large reasoning models (LRMs) achieve strong performance, their reasoning processes remain vulnerable to external manipulation. We observe that LRMs can gradually rationalize incorrect user-provided hints during multi-step reasoning. Instead of rejecting false hints, models adapt their intermediate states to accommodate them and eventually produce seemingly coherent yet incorrect conclusions. We refer to this phenomenon as self-brainwashing and analyze it through empirical and theoretical analyses. We find that unfaithful reasoning steps are often locally detectable when models only focus on local reasoning context. However, this ability degrades over long reasoning trajectories, allowing unfaithful steps to accumulate and bias the final answer toward the hint. Motivated by these findings, we propose Long-Short Memory Steering (LSMS), a training-free inference-time framework that uses short-term reasoning hidden states to enhance faithfulness and long-term reasoning hidden states to maintain consistency. Across three open-source reasoning models and four reasoning datasets, LSMS consistently reduces unfaithful answer shifts while preserving benign accuracy. On average, it lowers the shifted ratio by more than 20 percentage points under three real-world hint-based threats.