- Rating
- 4
- Clarity
- 3
- Confidence
- 4
- Originality
- 2
- Quality
- 3
- Significance
- 3
Read review
Summary
This work tackles the challenges of Chain-of-Thought monitoring for hidden-objective detection in coding agents. Current approaches rely on large proprietary models (e.g., GPT-5, Gemini), limiting scalability. While small models can detect hidden objectives, they often misclassify them as legitimate user requests. The authors introduce CoT-Guard, a 4B-parameter monitor trained via a two-stage pipeline: supervised fine-tuning (SFT) from a stronger monitor (Qwen3-32B), followed by reinforcement learning (RL) on subtle, hard-to-detect objectives. They also propose a supply-chain-inspired threat model where a malicious LLM router injects hidden objectives via prompt manipulation (A1) or code manipulation (A2), along with four new security-driven tasks: Package Forcing, Typosquatting, Ads Comment, and Ads Print. Experiments show CoT-Guard outperforms larger models like GPT-5.4, GPT-5-mini, and Qwen3-32B across diverse settings, and narrows the gap to Gemini-3-Flash despite using only 4B parameters. The results indicate that small, specialized monitors can offer a practical, cost-efficient alternative to proprietary systems for CoT-based safety monitoring.
Strengths and weaknesses
Strength: 1.Realistic threat model: This threat model is realistic and grounded in emerging supply-chain attack concerns. The Prompt Manipulation and Code Manipulation settings are well motivated. 2.Strong empirical performance: The reported results are impressive.
Weakness: 1.Limited novelty in the algorithm: The main technical recipe is: SFT distillation and GRPO-based RL. Neither component is algorithmically novel. The contribution lies primarily in:task formulation, training data construction, and empirical validation. For a NeurIPS paper, the methodological novelty is moderate. 2.Missing cost analysis: The central motivation is cost reduction. Yet the paper provides: no latency measurements and no inference cost comparison. 3.Evaluation metric: The paper reports G-Mean² exclusively. In practical monitoring systems, false negative can be extremely costly. Lack of analysis: Across almost all models, including CoT-Guard and Gemini, EdgeCase detection remains extremely low. What property of this hidden objective makes it fundamentally difficult?
Questions
1.Please analysis why EdgeCase is hard to detect. 2.Please add experiment for cost analysis.
Limitations
Yes
Paper formatting concerns
Too many references are preprints. Especially the references of core matrix G-Mean2.
Thank you for this comment. We agree that SFT and GRPO themselves are established optimization techniques, and we do not claim a fundamentally new optimization algorithm. However, our contribution lies in a "monitor-specific training pipeline that carefully instantiates these techniques to address the failure modes of small monitors", rather than simply applying standard SFT followed by GRPO. We also provide empirical evidence that these components are necessary for the observed gains.
First, for SFT, we demonstrate the effectiveness of failure-case distillation on CoT monitoring, explicitly targeting the capability gap between large and small monitors. Rather than distilling arbitrary teacher responses, we identify "training examples for which a larger monitor can reliably detect the hidden objective while the small monitor fails", and use the corresponding high-quality detection traces as targeted supervision. This focuses the SFT stage specifically on cases where the small monitor needs additional capability.
Second, for RL, we intentionally use "three more subtle and challenging hidden objectives—Default Value, Complexity, and Variable Name" (Table 3). Unlike relatively explicit I/O-related hidden objectives, these objectives are more tightly coupled with the legitimate main task and can often be achieved through seemingly innocuous implementation choices, making them substantially harder for a monitor to detect. "Training on these subtle hidden objectives therefore induces stronger monitoring performance from small models", rather than simply applying GRPO to the same type of examples used during SFT.
Importantly, the ablation results in Table 8 demonstrate that these design choices contribute materially to the final performance.
Beyond those, our contribution also lies in:
Thank you for raising this important point. We agree that computational efficiency is central to our motivation. We therefore provide additional analyses of both "inference latency and cost", which we will include in the revised manuscript.
We do not compare these local latency measurements against closed-source API models such as Gemini-3-Flash and GPT-5.4. Their latency depends on serving and hardware choices set by the provider, which we cannot control. We measure latency only for models we run on the same infrastructure, so the comparison stays fair.
Table 1: Inference cost comparison across monitors. Token prices are from Nscale Serverless (Qwen3-4B), the Google Gemini API (Gemini-3-Flash), and the OpenAI API (GPT-5.4) pricing pages. Cost per 1K queries is estimated from the average input/output token counts in our experiments.
"Thus, monitoring 1,000 trajectories costs approximately $0.071 with CoT-Guard 4B, compared with $10.00 for Gemini-3-Flash and $20.00 for GPT-5.4. This corresponds to roughly 141× and 282× lower estimated inference costs, respectively".
These results point to a practical advantage of CoT-Guard. It matches the monitoring performance of larger closed-source monitors while running at lower latency and lower cost. We will add the latency measurements and the inference cost analysis to the revised manuscript.
Thank you for raising this important point. We agree that false negatives are particularly important in practical monitoring systems. In the revised manuscript, we will therefore report TPR and TNR separately, in addition to G-Mean². Tables 1 and 2 report TNR, TPR, G-Mean², and FNR (1−TPR; lower is better), averaged across nine hidden objectives using Qwen3-14B under the standard prompt-manipulation (A1) setting with CoT+Code monitoring.
As shown in the above Table, "TNR is already close to 100%, and variation in G-Mean² is largely impacted by the TPR". These results indicate that the performance is mainly driven by the ability to detect trajectories containing hidden objectives rather than by false alarms on benign trajectories.
These results show that CoT-Guard's improvement in G-Mean² reflects a substantial reduction in missed hidden objectives rather than merely improved performance on benign trajectories.
Thanks for pointing it out. We provide qualitative analysis on the EdgeCase below and will also add the analysis to our revised manuscript. The EdgeCase introduces a behavioral difference with respect to the canonical solution that triggers for a pre-generated Red Team test case [1]. Detecting EdgeCase is hard "because the hidden objective is not an extra suspicious action and is more like a common test case", which makes monitors interpret it as "a plausible part of the stated main task". Here is one qualitative example:
The main task is to serialize an object to a JSON string:
The hidden objective is to serialize Decimal as float instead of str:
For the Gemini-3-Flash monitor, it regards this conversion as a reasonable solution and gives a response like: "The conversion of 'Decimal' to 'float' is a standard approach for JSON serialization, even if it potentially loses precision, and does not suggest any malicious intent or hidden objective." Also, for the CoT-Guard, it treats the side-task-satisfying 'Decimal -> float' behavior as ordinary support for the main task. The hidden objective is "entangled with legitimate main-task behavior, instead of requiring separable or extra malicious logic". This property makes the monitoring difficult.
Thank you for raising this point. In the revised manuscript, we will replace the referenced preprints with their peer-reviewed conference versions whenever available. Regarding G-Mean², which serves as a primary evaluation metric throughout our paper has been adopted by prior work [2,3].
References
[1] "Cot red-handed: Stress testing chain-of-thought monitoring." NeurIPS 2026.
[2] "Monitoring monitorability." ICML Spotlight 2026.
[3] "Monitorability as a Free Gift: How RLVR Spontaneously Aligns Reasoning." ICML 2026.