Manuscript Offprint

arXiv:2610.40946

Opening the Box Changes the Cat: LLMs Detect Chain-of-Thought Monitoring - What now?

Amir Jalilifard, Marcos Medeiros Raimundo, Anderson Rocha

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Chain-of-thought (CoT) reasoning allows large language models (LLMs) to generate intermediate reasoning traces in natural language while solving complex tasks. These traces can support safety monitoring by exposing potentially harmful plans before actions are executed. In this work, we investigate the conditions under which LLMs infer the presence of CoT monitoring from direct and indirect environmental cues and examine how this inference affects their subsequent behavior. Our observations suggest that oversight is an interactive process: while a monitor inspects a model's reasoning, traces left by monitoring interventions can allow the model to infer that its thoughts are being observed and to adapt its behavior accordingly. We show that even subtle environmental cues, such as timing-related signals from timeouts and operation durations, can reveal the presence of monitoring and trigger models to adapt their behavior. Across repeated episodes and interaction loops, we further observe that models can form statistical estimates of the monitor's effectiveness and use these estimates to guide attempts to evade detection. These findings highlight the need to evaluate CoT-based oversight under adaptive conditions, where the monitoring process itself may influence the behavior it seeks to observe.

1 Introduction

As society increasingly integrates artificial intelligence (AI) models into everyday tasks, their application to more complex problems is becoming increasingly widespread. Chain-of-Thought (CoT) reasoning has demonstrated significant improvements in the performance of AI systems, making it an increasingly

*Amir Jalilifard is with the Institute of Computing, Universidade Estadual de Campinas (UNICAMP), Campinas, SP, Brazil. E-mail: jalilifard@ic.unicamp.br. †Marcos Medeiros Raimundo is with the Institute of Computing, Universidade Estadual de Campinas (UNICAMP), Campinas, SP, Brazil. E-mail: mrai@unicamp.br. ‡Anderson Rocha is with the Institute of Computing, Universidade Estadual de Campinas (UNICAMP), Campinas, SP, Brazil. E-mail: anderson.rocha@unicamp.br.

important component of their ability to solve complex problems [26, 27, 32]. However, greater problem-solving capabilities may also enhance these systems' ability to plan and execute harmful actions, introducing serious safety risks [31, 15]. Because CoT reasoning can be expressed in natural language, previous studies have suggested that monitoring these reasoning traces may provide a valuable opportunity to identify potentially harmful intentions and plans before they translate into actions [10].

Because solving complex tasks often requires extensive reasoning and circumventing security measures typically involves sophisticated, nontrivial strategies, reasoning traces can provide valuable insights into potential risks and emerging threats. Although language models do not always faithfully express their internal reasoning [24], potentially due to indirect optimization objectives, Ton et al. [23] establish an information-theoretic relationship between the quality of Chain-of-Thought (CoT) reasoning steps and the predictability of correct LLM outputs. These findings suggest that monitoring reasoning traces can serve as a valuable mechanism for improving AI safety.

A Chain-of-Thought (CoT) monitor is an automated safety system that examines a model's reasoning traces to identify potentially harmful intentions and detect unsafe behaviors before they occur. Beyond identifying safety risks, flagged reasoning traces can provide valuable insights into the behavior of intelligent systems. These traces can also be leveraged for post-training, helping models recognize and avoid unsafe behaviors and further strengthening AI safety.

Modern large language model (LLM) systems increasingly extend beyond the conventional linear reasoning paradigm, in which a model generates a sequence of intermediate reasoning steps before producing a final answer. Instead, recent approaches enable more dynamic and iterative reasoning processes, allowing models to explore alternative reasoning paths, revisit previous decisions, interact with external environments, and iteratively refine their outputs through self-generated or external feedback [28, 29, 12, 21]. A growing body of research demonstrates that such iterative mechanisms can substantially enhance problem-solving performance across diverse tasks, including mathematical reasoning, planning, code generation, and interactive decision-making [26, 28, 12, 21].

In principle, Chain-of-Thought (CoT) monitoring systems are designed to detect potentially unsafe behavior and intervene before harmful actions are executed. However, in real-world deployments, monitoring mechanisms may leave observable traces through tool calls, tool responses, blocked actions, and implicit or explicit feedback. Even unintended signals, such as false-positive flags, may provide clues that allow a model to infer the presence of oversight. This raises the central research questions of our work: can LLMs infer the presence of CoT monitoring by combining multiple, potentially subtle environmental cues? Which signals contribute most strongly to this inference, and how does awareness of monitoring influence subsequent model behavior?

Building on the work of Jiralerspong et al. [8], who investigated monitor awareness through direct blocking feedback, we formalize the monitor noticing event, and extend this investigation to a broader range of monitoring-related signals that may emerge in more near-realistic deployment environments. We further examine how different language models recognize and respond to these signals, aiming to better understand the extent to which an LLM can infer the existence of CoT oversight through monitoring traces.

References (31)