CoT-Guard: Small Models for Strong Monitoring
Nirav Diwan, Han Wang, Berkcan Kapusuzoglu, Ramin Moradi, Supriyo Chakraborty, Giri Iyengar, Sambit Sahu, Huan Zhang, Gang Wang
Abstract. Monitoring the chain-of-thought (CoT) of reasoning models is a promising approach for detecting covert misbehavior (i.e., hidden objectives) in code generation tasks. While large models (GPT-5, Gemini-3-Flash) can serve as effective CoT monitors, they are expensive to deploy due to the lengthy reasoning traces and high API cost, emphasizing the need for smaller, cheaper alternatives. Nevertheless, we find that current small models (4B--8B) struggle to detect hidden objectives despite access to the CoT, frequently misattributing them as part of the user query. To address this, we propose a post-training pipeline combining supervised fine-tuning (SFT) and reinforcement learning (RL), where SFT narrows the gap for in-domain tasks by distilling detection behavior from stronger monitors, and RL on hard and subtly crafted hidden objectives helps the model generalize to out-of-domain monitoring tasks. To validate this generalization, we evaluate under a realistic threat model motivated by practical supply-chain attacks, where the adversary is a third-party LLM router injecting hidden objectives into code-generation requests through either prompt manipulation or code manipulation attacks. To push beyond objectives that large monitors already saturate, we also introduce four new challenging tasks even for strong monitors. Finally, we introduce CoT-Guard, a 4B-parameter monitor that demonstrates superior generalization performance under both prompt and code manipulation attacks, achieving a (i.e., TNR$\times$TPR) of 75% and outperforming GPT-5.4 (56%), GPT-5-mini (41%), and Qwen3-32B (54%), while closing the gap to Gemini-3-Flash (83%). These results demonstrate that \modelname provides a practical and cost-effective user-side defense, substantially improving hidden-objective detection while avoiding the deployment cost of large monitors.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
NeurIPS 2026
Accept (poster) · 3 reviews · OpenReview
Updated 25 Nov 2026, 03:48 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
(a) Summary: This paper studies detection of hidden-objective injection in code-generation requests under a supply-chain threat model, where a third-party LLM router covertly manipulates prompts or code. The authors show that small (4B–8B) open models are poor at this detection task despite CoT access, often misattributing injected objectives to the user query, while large proprietary models perform much better but at high cost. To close this gap, they propose a two-stage post-training pipeline (SFT distillation from a stronger monitor, followed by RL on hard/subtle cases) and introduce CoT-Guard, a 4B monitor that reportedly outperforms GPT-5.4, GPT-5-mini, and Qwen3-32B on Gmean² (TPR×TNR), while approaching Gemini-3-Flash. They also contribute four new challenging detection tasks (Package Forcing, Typosquatting, Ads Comment, Ads Print).
(b) Strength: Reviewers agree the underlying problem is important and timely (CPVK, CkUg, xMpg), and that the empirical results for CoT-Guard are strong on the reported benchmarks (xMpg, CkUg). The task-misattribution diagnostic is seen as a genuine, clean finding rather than just a leaderboard number (CPVK).
(c) Weakness: The main weaknesses raised span three areas. First, methodological novelty is judged limited: the SFT+GRPO pipeline is a standard recipe (xMpg, CkUg), with the contribution resting mainly on task/data construction and evaluation rather than algorithmic innovation. Second, the evaluation has gaps that make the headline comparison hard to fully trust: CPVK notes the comparison may be confounded (CoT-Guard is evaluated partly in-distribution while baselines are zero-shot, and a majority of eval objectives share source/schema with training data) and asks for few-shot/SFT'd baselines and comparisons to existing CoT-monitoring techniques; xMpg notes the central cost-motivation is never substantiated with actual latency/inference-cost numbers, and that EdgeCase detection remains poor across all models without explanation; CPVK also flags missing confidence intervals. Third, CkUg raises a substantive framing concern: that the paper's use of "CoT monitoring" and "hidden objectives" diverges from established usage in the AI safety literature (where these terms refer to detecting a model's own misaligned goals, not adversarial payload injection by a third party), and disputes the paper's claim that no prior work addresses small-model monitoring, citing several closely related papers the submission may have missed or under-cited. CkUg also questions whether the SFT teacher's labels are reliable enough to serve as a supervision signal and whether the reported gains could partly reflect leakage or schema overlap rather than genuine generalization.
(d) What could shift the decision: (1) a clarification/adjustment of terminology and explicit engagement with the CoT-monitoring/weak-to-strong-monitoring literature cited by CkUg, including how this work's contribution is positioned relative to it; (2) additional baselines that control for in-distribution advantage (few-shot or SFT'd baselines) to isolate the source of CoT-Guard's gains, per CPVK; (3) at least a rough cost/latency comparison, since reduced deployment cost is the paper's central motivating claim; and (4) some analysis of why EdgeCase-type objectives remain hard to detect even for the strongest models.
(e, f) Authors provided new experiments and justifications to address the concerns raised by reviewers. All reviewers responded and showed positive attitude. Authors should integrate the rebuttal into the final version.
Final justification
All reviewers are positive of the paper.
- Final justification
- All reviewers are positive of the paper.
Read meta-review
Meta-review
(a) Summary: This paper studies detection of hidden-objective injection in code-generation requests under a supply-chain threat model, where a third-party LLM router covertly manipulates prompts or code. The authors show that small (4B–8B) open models are poor at this detection task despite CoT access, often misattributing injected objectives to the user query, while large proprietary models perform much better but at high cost. To close this gap, they propose a two-stage post-training pipeline (SFT distillation from a stronger monitor, followed by RL on hard/subtle cases) and introduce CoT-Guard, a 4B monitor that reportedly outperforms GPT-5.4, GPT-5-mini, and Qwen3-32B on Gmean² (TPR×TNR), while approaching Gemini-3-Flash. They also contribute four new challenging detection tasks (Package Forcing, Typosquatting, Ads Comment, Ads Print).
(b) Strength: Reviewers agree the underlying problem is important and timely (CPVK, CkUg, xMpg), and that the empirical results for CoT-Guard are strong on the reported benchmarks (xMpg, CkUg). The task-misattribution diagnostic is seen as a genuine, clean finding rather than just a leaderboard number (CPVK).
(c) Weakness: The main weaknesses raised span three areas. First, methodological novelty is judged limited: the SFT+GRPO pipeline is a standard recipe (xMpg, CkUg), with the contribution resting mainly on task/data construction and evaluation rather than algorithmic innovation. Second, the evaluation has gaps that make the headline comparison hard to fully trust: CPVK notes the comparison may be confounded (CoT-Guard is evaluated partly in-distribution while baselines are zero-shot, and a majority of eval objectives share source/schema with training data) and asks for few-shot/SFT'd baselines and comparisons to existing CoT-monitoring techniques; xMpg notes the central cost-motivation is never substantiated with actual latency/inference-cost numbers, and that EdgeCase detection remains poor across all models without explanation; CPVK also flags missing confidence intervals. Third, CkUg raises a substantive framing concern: that the paper's use of "CoT monitoring" and "hidden objectives" diverges from established usage in the AI safety literature (where these terms refer to detecting a model's own misaligned goals, not adversarial payload injection by a third party), and disputes the paper's claim that no prior work addresses small-model monitoring, citing several closely related papers the submission may have missed or under-cited. CkUg also questions whether the SFT teacher's labels are reliable enough to serve as a supervision signal and whether the reported gains could partly reflect leakage or schema overlap rather than genuine generalization.
(d) What could shift the decision: (1) a clarification/adjustment of terminology and explicit engagement with the CoT-monitoring/weak-to-strong-monitoring literature cited by CkUg, including how this work's contribution is positioned relative to it; (2) additional baselines that control for in-distribution advantage (few-shot or SFT'd baselines) to isolate the source of CoT-Guard's gains, per CPVK; (3) at least a rough cost/latency comparison, since reduced deployment cost is the paper's central motivating claim; and (4) some analysis of why EdgeCase-type objectives remain hard to detect even for the strongest models.
(e, f) Authors provided new experiments and justifications to address the concerns raised by reviewers. All reviewers responded and showed positive attitude. Authors should integrate the rebuttal into the final version.
- Rating
- 4/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 2/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
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
Formatting concerns
Too many references are preprints. Especially the references of core matrix G-Mean2.
3 comments
I will maintain my original decision.
Clarifying what remains unresolved
Thank you for reviewing our work. Our rebuttal responded to each major concern raised, along with the requested experiments and clarifications.
Since the score stayed the same, we hope the reviewer can kindly share which concern was insufficiently addressed. For example, were there major errors in the response, or experiments that we set up or interpreted incorrectly? Specific guidance would help us respond directly and eliminate potential misunderstandings.
Thank you for your time and effort on the paper.
- Rating
- 4/6
- Confidence
- 4/5
- Quality
- 1/4
- Clarity
- 2/4
- Significance
- 1/4
- Originality
- 1/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper considers the problem of detecting man-in-the-middle style attacks performed by third-party API providers of coding agents. The paper starts off by showing that smaller open models do a poor job and that stronger closed weight models perform much better. The authors are motivated by cost and efficiency to create smaller models that are as performative as the closed weight models. The authors use a standard post-training recipe to create stronger monitors. The proposed monitor performs better than the closed weight models most of the time on held-out man-in-the-middle style attacks.
Strengths and weaknesses
Strengths
- The main results show superior performance of the proposed approach as compared with much more expensive and stronger models at detecting man-in-the-middle style attacks for API accessed coding agents.
- This work is motivated by an important problem in AI security and scalable oversight.
Weaknesses
- The authors misrepresent their work in the abstract and introduction by misusing several terms that have canonical meanings in the AI safety community. Generally, "CoT monitoring" is used to describe approaches with the goal of detecting misalignment in a reasoning model. The authors also misuse the term "hidden objective", generally used to describe misaligned goals of a particular AI system [1], not a payload injected by an adversary. I would not consider this work "CoT monitoring" in the conventional sense. This paper seems to be doing man-in-the-middle detection for coding agents, not CoT monitoring. Additionally, several of the experiments don't use the CoT at all...
- The proposed approach for improving small monitors is not novel. It follows a standard SFT+GRPO recipe used in all supervised settings for training reasoning models.
- The proposed approach relies on a stronger monitor that might not be correct for supervision.
- It is unclear from the abstract and the introduction what the threat model is.
- The authors mention several times that "No existing work has demonstrated that small monitors are effective for monitoring the covert misbehavior of much larger, commercial models." This is just flat out wrong and it seems like the authors missed a large fraction of the CoT monitoring literature (e.g. see [2, 3, 4]).
- The results do not really show strong generalization of CoT-Guard 4B
[1] Marks, S., Treutlein, J., Bricken, T., Lindsey, J., Marcus, J., Mishra-Sharma, S., Ziegler, D., Ameisen, E., Batson, J., Belonax, T. and Bowman, S.R., 2025. Auditing language models for hidden objectives. [2] Arnav, B., Bernabeu-Pérez, P., Helm-Burger, N., Kostolansky, T.H., Whittingham, H. and Phuong, M., 2025. Cot red-handed: Stress testing chain-of-thought monitoring. In Advances in Neural Information Processing Systems. [3] Kale, N., Zhang, C.B.C., Zhu, K., Aich, A., Rodriguez, P., Team, S.R., Knight, C.Q. and Wang, Z., 2026. Reliable Weak-to-Strong Monitoring of LLM Agents. In The Fourteenth International Conference on Learning Representations. [4] Yueh-Han, C., Joshi, N., Chen, Y., Andriushchenko, M., Angell, R. and He, H., 2026. Monitoring decomposition attacks with lightweight sequential monitors. In The Fourteenth International Conference on Learning Representations.
Questions
- Why not use CoT-Guard 4B + "Aware " as the supervision signal?
- Why not use on-policy self-distillation to train the monitor?
- How is CoT-Guard 4B able to far outperform Qwen3-32B on some of the settings? There seems to be some sort of leakage.
- Normally “hidden objectives” is used to describe misalignment of a model, not an adversary doing payload injection. Why use this terminology?
- Could this monitor perform well at detecting other types of misbehavior from the model?
- How would the monitor distinguish misbehavior from underlying model vs. the adversary?
- Why should the LLM provider be trusted?
Limitations
yes
Final justification
The authors have addressed many of the major concerns with this paper. They have also agreed to some of my suggestions
Formatting concerns
None
4 comments
Rebuttal
W1. The authors misrepresent their work in the abstract and introduction by ,..... Generally, "CoT monitoring" is used to describe approaches with the goal of detecting misalignment in a reasoning model
We thank the reviewer for raising the need for clarity on this. Respectfully, the reviewer's proposed definition of CoT monitoring is correct, but narrow.
We understand where the confusion comes from. CoT monitoring is used to identify and detect harmful misbehavior – with misalignment being one of them. Harmful misbehavior may also be triggered by external adversaries, as investigated in the prior work discussed below.
CoT Monitoring Definition
First, we clarify our definition of CoT monitoring, which follows from the paper Chain of Thought Monitorability: A New and Fragile Opportunity for AI Safety (198 citations) [1] -
“A CoT monitor is an automated system that reads the CoT of a reasoning model and other relevant information and flags suspicious or potentially harmful interactions.”
The basis of the definition and several canonical definitions from prior work [2, 3] is on how the monitor extracts the signal – namely, from the reasoning model's chain of thought (CoT) to detect harmful misbehavior.
CoT Monitoring as a Defense against External Adversaries
We note that several works [1, 4, 5], like us, investigate CoT monitoring as a defense to detect misbehavior triggered by an external adversary. Notably, in the same work from which we use the definition [1], CoT monitoring is mentioned as a defense for prompt injection (Section 1.2) – an attack from an external adversary. Additionally, AlignmentCheck from Meta [4] (98 citations) explicitly notes the effectiveness of using CoT monitoring as a defense against injection attacks (also cited by [1] as a CoT monitoring work). Finally, cross-industry guidance explicitly identifies protection against external adversaries as an application of CoT monitoring (from Frontier Model Forum – members include Amazon, Anthropic, Google, Meta, Microsoft, OpenAI) [6].
For clarification, we would like to include the definition of CoT monitoring (citing [1]) in the introduction, and a paragraph on CoT monitoring as a defense against External Adversaries in the Related Work (Section 2).
[1] Chain of Thought Monitorability: A New and Fragile Opportunity for AI Safety
[2] Monitoring Monitorability
[3] When Chain of Thought is Necessary, Language Models Struggle to Evade Monitors
[4] LlamaFirewall: An open source guardrail system for building secure AI agents
[5] Bypassing AI Control Protocols via Agent-as-a-Proxy Attack
[6] Para 3, https://www.frontiermodelforum.org/uploads/2026/01/FMF-Issue-Brief-on-Chain-of-Thought-Monitorability.pdf
W2. The authors also misuse the term "hidden objective", .... Q4. Normally, "hidden objectives" is used to describe misalignment of a model, not an adversary doing payload injection. Why use this terminology?
Thank you for raising this. We took the term from CoT Red-Handed Paper [7], which supplies hidden sabotage objectives in the model's input prompt, similar to the Prompt Manipulation Attack. We agree it conflicts with [1], where the hidden objective is the model's own standing goal rather than an input-specific goal from an adversary.
We would be happy to change our term to "injected objective" throughout the manuscript and cite the difference with prior work [1] in our related work section to make the distinction clear. We also use the term "injected objective" in the responses ahead.
[7] CoT Red-Handed: Stress Testing Chain-of-Thought Monitoring
W3. The proposed approach for improving small monitors is not novel. It follows a standard SFT+GRPO recipe used in all supervised settings for training reasoning models.
We agree that SFT+GRPO is standard. Our contribution is "monitor-specific training pipeline that carefully instantiates these techniques to address the failure modes of small monitors", backed by ablation in Table 8. We make two choices in the SFT+RL pipeline that boost CoT monitoring performance for small model training (4B–8B) -
-
SFT: SFT distills only the cases the large monitor catches and the small monitor misses, not arbitrary teacher traces. This targets the capability gap directly, which we also cleanly diagnose in Section 4.
-
RL: RL training on three subtle objectives, where the injected objective is closely coupled with the main task's code choices. This is the primary driver of out-of-domain generalization.
Due to these changes, our trained 4B monitor outperforms substantially larger monitors (GPT-5.4, GPT-5-mini) across extensive evaluation. We provide more details in Rev. xMpg (W1) Answer.
W6. The authors mention several times "No existing work has demonstrated that small monitors are effective for monitoring the covert misbehavior of much larger, commercial models." This is just flat out wrong and it seems like the authors missed a large fraction of the CoT monitoring literature (e.g. see [2, 3, 4]).
We apologize that the scope of our claim was not sufficiently clear. However, we did not miss the mentioned literature. We cited the papers and positioned our claim in the main text (L157-159) on the literature cited by the reviewer.
Our claim is that existing work has not established the effectiveness of 4B - 8B monitors for detecting covert misbehavior in substantially larger models. The claim applies specifically to small monitoring models in the 4B - 8B parameter range, in clear contrast to the much larger models used in [2, 3]. This is stated in the full passage [L46-48], in the sentence noted by the reviewer:
“No existing work has demonstrated that small monitors are effective for monitoring the covert misbehavior of much larger, commercial models. Our work evaluates existing models (4B-8B) on monitoring tasks and finds that they substantially underperform proprietary models in identifying injected objectives.”
We state the same scoped claim in multiple places in the introduction [L79-81, L157-159]. We will also revise the above particular line to make this qualification for clarification of the reader.
Furthermore, the smallest model evaluated in the reviewer's mentioned literature are GPT4.1-nano [2] and GPT-4o-mini [3]. Although the parameter count of both models undisclosed, reducing reliance on proprietary models is a key motivation of our work.
Finally, we also note that [4] is not a CoT monitoring paper. The paper monitors the sequence of user instructions/subtasks to detect harmful intent emerging across a decomposition attack. The monitor in [4] observes conversation history rather than the monitor's internal reasoning trace.
W4. The approach relies on a stronger monitor that might not be correct for supervision.
To clarify a key misunderstanding: for supervision we only use trajectories from the stronger monitor that correctly identify the injected objective, checked against an independent ground truth:
- Filter by test cases: From the underlying model's CoT and answers, keep only those passing the injected objective's test cases.
- Build ground truth: Prompt multiple strong models (e.g., Gemini-Flash, GPT-5.4) with the exact injected objective () to detect it; keep a trajectory only if multiple models confirm it is present.
- Use for SFT: Prompt the stronger monitor without the aware setting (it never sees the injected objective), and keep only trajectories where it still finds the objective and matches the ground truth.
We also manually verify 10% of trajectories per training task, independently validating the labels.
W7. The results do not really show strong generalization of CoT-Guard 4B Q5. Could this monitor detect other types of misbehavior?
All 9 evaluation objectives (Tables 1, 2, 5, 6) are out-of-domain—they play no part in CoT-Guard's training. Three results show its generalization:
- Out-of-domain objectives: CoT-Guard 4B beats several larger monitors (GPT-5-mini, Qwen3-32B) across both attacks and all adversarial models; only Gemini-Flash beats it. See Tables 1, 2 (main), 5, 6 (appendix).
- Vs. larger few-shot monitors: On the same objectives, it beats larger template-enabled monitors (GPT-5-mini, GPT-5.4) and matches Gemini-Flash on some. See Review.
CPVK W1 + Q1. - Unseen answer schemas: Swapping the training schema for prior-work ones—Likert (1–5), scalar (0–100), 2-option MCQ—its lead over GPT-5.4 and GPT-5-mini held throughout. See Review.
CPVK W1 + Q1.
Q3. How can CoT-Guard 4B far outperform Qwen3-32B on some settings? There seems to be leakage.
We examined potential sources of leakage and found none. The key point: the SFT-only CoT-Guard model does not outperform Qwen3-32B. The gains appear only after RL, a stage in which Qwen3-32B plays no role.
-
Disjoint train/test. All 9 evaluation objectives (Table 1) are held out; no evaluated objective appears anywhere in training.
-
Qwen3-32B used only in SFT. CoT-Guard starts from Qwen3-4B, then SFT, then RL. Qwen3-32B enters only in SFT, never RL.
-
SFT-only model underperforms Qwen3-32B. Tables 1 and 5 show the SFT-only model trailing across settings—Standard -2pp, Monitor Notice -5pp, Dependency -19pp, Stealth -22pp—and Table 6 shows the same pattern with GPT-5 as base. So the smaller model does not surpass its teacher through imitation or test-task exposure. CoT-Guard exceeds Qwen3-32B only after RL, when the teacher is no longer involved.
Q1 & Q2. Why not use OPSD to train the monitor?
Both questions point toward On-Policy Self-Distillation (OPSD). We agree OPSD is promising, especially when cheap supervision is unavailable. But our monitor is small and large monitors already perform well on these tasks, so we leave OPSD—including the CoT-Guard 4B + setting to future work.
Responses to Remaining Questions
Dear Reviewer CkUg,
Thank you for the review. Building upon our initial response, we address the remaining points below to cover all of the reviewer's questions
W1a. Additionally, several of the experiments don't use the CoT at all...
All our experiments in Figure 2, Table 1, Table 2, Table 5 and Table 6 use CoT. We also perform comparative experiments with just using the final answer (marked as Code only in Figures and Tables). Similar to prior work [7], our analysis indicates that including the CoT boosts performance for several injected objectives.
W5. It is unclear from the abstract and the introduction what the threat model is.
Thank you for bringing this up. Section 3 contains our full threat model. For clarity, we will revise the abstract and introduction to state the threat model up front.
Q6. How would the monitor distinguish misbehavior from underlying model vs. the adversary?
Thank you for the question. Empirically, in our study, the model does not produce the injected objectives on its own. When we prompt Qwen3-14B and GPT-5 with the benign task alone, the pass rate for the injected objective is 0% across the objectives we evaluate, so we attribute any flagged behavior in our setting to the adversary. That said, we argue that this is not the most important aspect of this defense: regardless of source, the flagged code means the code could not be directly trusted and deployed.
Q7. Why should the LLM provider be trusted?
Thank you for the question. An untrusted provider is possible. We treat trust in the provider as an explicit scoping assumption in Section 3 rather than a claim that providers are always safe. We focus on the router because a frontier model provider (e.g., OpenAI) has little incentive to harm its own paying customers, while prior work [9] shows that third-party routers hold a weaker trust position. Extending the threat model to a compromised provider is a natural direction for future work.
[7] CoT Red-Handed: Stress Testing Chain-of-Thought Monitoring
We appreciate the reviewer's time and effort in the review, and welcome further thoughts!
Best,
Authors
Thank you for your detailed response.
I apologize for missing two of the citations that the authors actually did cite.
I think that the authors have done a good job defending their work.
I do think that the language should be changed surrounding CoT monitoring and hidden objectives. I think that the current state of the paper does misrepresent what they are actually doing and they should change the language here. Can the authors confirm that they will change this language? If so, I am happy to increase my score.
Additionally, I do think that the authors should probably cite [1] and [4] from my review in related work.
Dear Reviewer CkUg,
Thank you for your thoughtful and detailed engagement with our work, and we appreciate your positive feedback on our rebuttal.
Yes, we will definitely add the suggested references [1] and [4] and clearly discuss them in our related work section.
Yes, we confirm that we will revise the language surrounding CoT monitoring and hidden objectives to avoid any misunderstanding or confusion.
Thank you again for your helpful feedback to improve our work.
Best,
Authors
- Rating
- 5/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 2/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The authors point out the problem of supply-chain router attacks. They measure the susceptibility of models and propose a two-stage defense for closing the small-/large-model gap. 1) distilling a stronger monitor's responses on training failure cases and 2) using RL on difficult cases, with reward shaping for CoT-guard least noticing the problem in its reasoning. They show gap-closure on a range of domains.
Strengths and weaknesses
Strengths:
- Supply-chain router interception is an important problem.
- The RL ablation is nice.
- The task-misattribution finding is a clean diagnostic --- not just presenting numbers and making score go up.
Weaknesses:
- Confounded comparison: you're comparing within-distribution generalization of CoT-guard to zero-shot for the monitors you compare to. What does few-shot look like? Of the 9 eval objectives, 5 come from the same source as the training objectives (Arnav et al.), and all of them share the answer schema CoT-Guard was trained on.
- No technique baselines --- you mention that CoT monitoring is quite related, so why not compare to existing techniques / scaffolds?
Other feedback:
- Figure 2 is missing 95% CIs
- Your openreview abstract has an unrendered "\modelname"
- Please define g-mean^2 clearly -- just square of geometric mean of TPR and TNR.
Questions
- Can you give results for baselines which are SFT'd and/or few-shot to be acclimated to the format, to better isolate gains from your method?
- Please explain why your method advances SOTA for monitor training.
Limitations
Yes
Final justification
The authors addressed my concerns. I recommend they also adopt the terminological clarifications recommended by other reviewers (like "injected" instead of "hidden").
Formatting concerns
None
3 comments
Rebuttal
W1. Confounded comparison: ..... What does few-shot look like? Of the 9 eval objectives,...... and all of them share the answer schema CoT-Guard was trained on.
Q1. Can you give results for baselines which are SFT'd and/or few-shot to be acclimated to the format, to better isolate gains from your method?
We thank the reviewer for raising the questions, and for suggesting additional experiments. The new results strengthen our claims on the performance and generalization of CoT-Guard.
Clarifications
First, we would like to clarify based on our existing results -
-
Confounded comparison/Generalization: We would like to clarify that all 9 eval objectives are out-of-domain to CoT-Guard (including five from Arnav et al. [12] and four proposed in this work). In other words, none of the 9 tasks are involved in the training process. Therefore, they measure the out-of-domain generalization of CoT-Guard in detecting the eval objective.
-
SFT Baseline: Our results in Tables 1, 5 and 6 include the SFT Baseline – namely Qwen3-4B + SFT Only row. On average, SFT baseline underperforms CoT-Guard by 30 pp on average. The gap varies from task to task with the largest difference emerging for exit (70 pp), AdsPrint (40 pp), AdsComment (40 pp) in Table 1. Overall, while SFT improves performance over the Qwen3-4B base model, it is insufficient to close the gap over much larger monitor models (e.g. GPT5.4, GPT5-mini), which CoT-Guard successfully does.
New Experiment Takeaways
Based on the reviewer's suggestions, we added two new experiments. We briefly describe the experiments and highlight the main takeaway below -
-
Few-shot Baseline: We create a few-shot template following prior work, which we evaluated over 5 models over 2 adversarial settings. CoT-Guard outperforms few-shot template-enabled larger monitor models (GPT5.4, gpt5-mini).
-
Generalization to new answer schema: We evaluate CoT-Guard on three new answer schemas based on prior work. Our results show that CoT-Guard performance remains strong across all three, outperforming the larger GPT-5.4 and GPT-5-mini monitors over 2 adversarial settings. This shows that CoT-Guard's performance transfers to answer schemas unseen during training.
Detailed Experiments
We expand on our new experiments and results below -
1) Few-shot Baseline: We composed a few-shot template which consisted of 2 examples on correctly identifying objectives. We pick these objectives from the training set. Each example included the (User task, CoT, Monitor reasoning and final answer). We applied this template to 5 models - Qwen3-4B, Qwen3-8B, GPT5-mini, GPT 5.4, Gemini-Flash, and added them as baselines. We present the results below for the Standard and Monitor Notice adversarial settings (Table 1).
Setting: Standard
| Model | Template | Avg over 9 evaluation objectives |
|---|---|---|
| Qwen3-4B | Few-shot | 10.1% |
| Qwen3-8B | Few-shot | 32.1% |
| GPT 5-mini | Few-shot | 48.8% |
| GPT 5.4 | Few-shot | 64.9% |
| Gemini-Flash | Few-shot | 80.8% |
| CoT-Guard | Zero-Shot | 75.7% |
Setting: Monitor Notice
| Model | Template | Avg over 9 evaluation objectives |
|---|---|---|
| Qwen3-4B | Few-shot | 11.0% |
| Qwen3-8B | Few-shot | 28.9% |
| GPT 5-mini | Few-shot | 51.2% |
| GPT 5.4 | Few-shot | 66.4% |
| Gemini-Flash | Few-shot | 81.0% |
| CoT-Guard | Zero-Shot | 74.6% |
Notably, compared with Table 1 in our main text, the few-shot template helped boost the performance in the case of GPT5-mini (+5 pp), and GPT5.4 (+10 pp). Surprisingly, in-context performance decreases for smaller models (Qwen3-4B, Qwen3-8B). This is consistent with prior work [1,2] which highlights this possibility when in-context demonstrations are long, with one possible cause being that extended context dilutes attention over the task-relevant portion of the prompt.
2) New Answer Schema: We test the performance of CoT-Guard by replacing our original answer schema with 3 different variants used in the literature across two adversarial settings (Standard, Monitor Notice). Our results show that CoT-Guard outperforms larger monitors (e.g GPT 5.4, GPT5-mini) even when prompted with Answer Schema's unseen during training.
Specifically, we use the 2-option MCQ [3], Scalar (1-100) [4], and the Likert Scale Metric [5] used in different prior works. Compared to the original template, CoT-Guard's performance remains strong – outperforming much larger models GPT5-mini, GPT 5.4. The largest drop is in the case of Scalar Scoring (-9 pp), which prior work has noted is flawed due to its excessive granularity [5], and propose the superior likert scoring, in which CoT-Guard performance drops only marginally (-3 pp). Consistent with our main results, only Gemini-Flash outperforms CoT-Guard, even when tested with a schema unseen during training.
Setting: Standard
| Model | Template | Avg over 9 evaluation objectives |
|---|---|---|
| GPT 5.4 | Original | 56.5% |
| Gemini-Flash | Original | 83.8% |
| CoT-Guard | Original | 75.7% |
| CoT-Guard | 2-option MCQ | 75.9% |
| CoT-Guard | Scalar (0-100) | 65.9% |
| CoT-Guard | Likert (1-5) | 71.2% |
Setting: Monitor Notice
| Model | Template | Avg over 9 evaluation objectives |
|---|---|---|
| CoT-Guard | Original | 74.6% |
| CoT-Guard | 2-option MCQ | 75.6% |
| CoT-Guard | Scalar (0-100) | 66.0% |
| CoT-Guard | Likert (1-5) | 71.1% |
[3] When Chain of Thought is Necessary, Language Models Struggle to Evade Monitors (arxiv 2025)
[4] CoT Red-Handed: Stress Testing Chain-of-Thought Monitoring (NeurIPS 2025)
[5] Reliable Weak-to-Strong Monitoring of LLM Agents (ICLR 2026)
W2. No technique baselines -- you mention that CoT monitoring is quite related, so why not compare to existing techniques/scaffolds.
We thank the reviewer for pointing this out. We compare our Normal Monitoring scaffold with scaffolds proposed by existing work, namely - Sequential [6] and Hierarchical [6,7] for the Prompt Manipulation Attack. For both Sequential and Hierarchical we set the chunk size as 20000 tokens – well within the context size of all the monitor models. We report the for the below model averaged for all the 9 eval objectives in Table 1.
| Model | Normal | Sequential | Hierarchical |
|---|---|---|---|
| Qwen3-4B | 13.1% | 2.2% | 10.7% |
| Qwen3-8B | 39.6% | 9.7% | 32.7% |
| Qwen3-32B | 54.1% | 28.8% | 40.1% |
| GPT 5-mini | 41.9% | 19.6% | 32.4% |
| GPT 5.4 | 56.5% | 28.5% | 48.0% |
| Gemini-Flash | 83.8% | 57.2% | 73.2% |
| CoT-Guard | 75.7% | 42.0% | 63.0% |
We find a consistent ordering, Normal > Hierarchical >> Sequential. Normal beats both scaffolds. Prior work [8] reports the same, that Sequential underperforms both Normal and Hierarchical. Our Hierarchical results suggest that aggregating summaries retains more cross-step evidence than Sequential but still loses information against the full trajectory. The likely cause is that our trajectories are single-turn and usually fit within the monitor's context window (>= 40,000 tokens). Normal sees the full trajectory, so any scaffold that summarizes or drops steps removes information Normal keeps.
[6] Reliable Weak-to-Strong Monitoring of LLM Agents (ICLR 2026)
[7] https://alignment.anthropic.com/2025/summarization-for-monitoring/ (Anthropic 2025)
[8] TRACE: Trajectory Reasoning through Adaptive Cross-Step Evidence Aggregation for LLM Agents
Q2. Please explain why your method advances SOTA for monitor training.
To our knowledge, we are the first to show that a carefully-crafted SFT+RL pipeline closes the small-vs-large monitor gap. We advance over SOTA the contributions as follows -
1) Discovering the Capability gap. Small open-source models in the 4B to 8B range perform far worse than frontier monitors, across a wide range of hidden objectives and under realistic adversarial pressure on coding tasks. We discover and trace this gap to task misattribution, where the small monitor reads the hidden objective as part of the user's request and treats it as a legitimate task to help with rather than something to flag.
2) SFT+RL Pipeline. We discover that two decisions make the pipeline work. First, for SFT, we keep only the failure cases where the large monitor succeeds and the small monitor fails, so training focuses on exactly the capability the small model is missing. Second, for RL, we train on the hardest objectives, where the hidden goal is coupled with the main task, and this is what drives generalization to out-of-domain objectives. Table 8 ablates both decisions.
3) Threat model and evaluation. We ground our evaluation in a practical man-in-the-middle threat model. Under this threatmodel, our trained CoT-Guard 4B model outperforms several large GPT-5.4 and GPT-5-mini on 9 out-of-domain evaluation objectives.
W3. Figure 2 is missing 95% CIs
Thank you for bringing this up. We present the data below. We will add the Confidence Intervals on the plot in the final draft.
Values are percentages, reported as “estimate [95% CI]”.
| Monitor | Code | A1 | A2 |
|---|---|---|---|
| Qwen3-4B | 15.4% (12.9%–17.8%) | 13.4% (10.9%–16.0%) | 30.4% (27.8%–32.6%) |
| Qwen3-8B | 36.2% (34.7%–37.6%) | 39.5% (37.8%–41.2%) | 44.5% (42.5%–46.4%) |
| Qwen3-32B | 39.4% (37.9%–40.9%) | 54.1% (52.3%–55.8%) | 54.6% (52.7%–56.6%) |
| GPT-5-mini | 18.5% (16.0%–20.7%) | 41.9% (39.9%–43.8%) | 29.9% (27.1%–32.4%) |
| GPT-5.4 | 30.0% (27.9%–31.9%) | 56.5% (53.7%–59.2%) | 34.9% (33.6%–36.3%) |
| Gemini-3-flash | 81.9% (80.9%–82.8%) | 83.9% (82.8%–85.0%) | 73.2% (72.1%–74.2%) |
W5. Please define g-mean^2 clearly -- just square of geometric mean of TPR and TNR.
Thank you for this suggestion. Our main text follows this suggestion. Specifically, in Section 6.2, Paragraph 1 ("Evaluation Metrics"), we define as the square of the geometric mean of TPR and TNR.
Thank you, this addresses my concerns. I will raise my score.
Dear Reviewer CPVK,
Thank you! We appreciate the quick reply.
We are glad the responses addressed the concerns!
Best,
Authors
Comments on the paper
1 comment
Summary of Rebuttal Phase
Dear AC and Reviewers,
We want to thank you for your engagement and encouraging feedback throughout the rebuttal phase!
After the rebuttal phase:
- Reviewer
CPVKhas raised their score to 5. - Reviewer
xMpgmaintains their positive score of 4. - Reviewer
CkUgalso agrees to raise their score conditional on writing improvements (which we are happy to make).
Below, we want to briefly summarize the rebuttal, based on the key questions in the AC summary.
(1). A clarification/adjustment of terminology and explicit engagement with the CoT-monitoring/weak-to-strong-monitoring literature cited by CkUg, including how this work's contribution is positioned relative to it
We engaged with Reviewer CkUg (W1, W2, W6), and received positive feedback on our rebuttal. We confirmed that the changes will be present in the final version.
(2) additional baselines that control for in-distribution advantage (few-shot or SFT'd baselines) to isolate the source of CoT-Guard's gains, per CPVK;
Our new experiments included the requested baselines and the results strengthen our claim on the generalization of CoT-Guard.
Specifically, we compared CoT-Guard in three additional baseline settings:
- Few-shot Baselines: CoT-Gaurd outperforms all baselines with few-shot templates (
W1+Q1, ReviewerCPVK) - Additional Scaffolds: CoT-Guard in a normal scaffold outperforms all baselines in sequential and hierarchical Scaffolds (
W2, ReviewerCPVK). - Unseen Answer Schemas: CoT-Guard outperforms larger monitors (e.g GPT 5.4, GPT5-mini) even when prompted with Answer Schema's unseen during training (
W1+Q1, ReviewerCPVK).
(3) at least a rough cost/latency comparison, since reduced deployment cost is the paper's central motivating claim.
We added new experiments showing that CoT-Guard 4B is 3.26x faster than several larger open-source models (e.g Qwen3-32B), and at least 141x cheaper than several closed source monitor models (e.g Gemini-Flash) (W2 + Q2, Reviewer xMpg), while closely matching or outperforming them.
(4) some analysis of why EdgeCase-type objectives remain hard to detect even for the strongest models.
We performed the requested analyses. Our case studies show that EdgeCase objectives remain hard to detect because they are tightly coupled with plausible main-task behavior, making them difficult for even strong monitors to identify (W4 + Q1, Reviewer xMpg).
Thank you once again for the reviews and the valuable feedback!
Best,
Authors
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Rebuttal
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.