mlsanityData to 7 Oct 2026

CoT-Guard: Small Models for Strong Monitoring

arXiv 2605.12746 ↗First posted 12 May 2026cs.CR cs.AIcited by 0

On the map: LLM reasoning → Prompting and chain-of-thought reasoning

Abstract (arXiv)

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 G-mean^2 (i.e., TNR x 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 CoT-Guard provides a practical and cost-effective user-side defense, substantially improving hidden-objective detection while avoiding the deployment cost of large monitors.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Prompting and chain-of-thought reasoning, one of 17 directions in LLM reasoning. Builds on 38 of its 66 references that are in the map. First posted on arXiv 12 May 2026.

Builds on

38 of 66 references.

Closest ancestors · 9

Same direction, newest first

  1. 2026MonitorBench: A Comprehensive Benchmark for Chain-of-Thought Monitorability in Large Language Models30 Mar
  2. 2025Monitoring Monitorability20 Dec
  3. 2025Can Reasoning Models Obfuscate Reasoning? Stress-Testing Chain-of-Thought Monitorability21 Oct
  4. 2025DecepChain: Inducing Deceptive Reasoning in Large Language Models30 Sep
  5. 2025LLMs Can Covertly Sandbag on Capability Evaluations Against Chain-of-Thought Monitoring31 Jul
  6. 2025When Chain of Thought is Necessary, Language Models Struggle to Evade Monitors7 Jul
  7. 2025CoT Red-Handed: Stress Testing Chain-of-Thought Monitoring29 May
  8. 2025Reasoning Models Don't Always Say What They Think8 May
  9. 2025Monitoring Reasoning Models for Misbehavior and the Risks of Promoting Obfuscation14 Mar

Other references · 29

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2022Training language models to follow instructions with human feedbackcited by 15,712
  3. 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 8,851
  4. 2025Qwen3 Technical Reportcited by 8,195
  5. 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,193
  6. 2024HybridFlow: A Flexible and Efficient RLHF Frameworkcited by 1,980
  7. 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineeringcited by 1,628
  8. 2024LlamaFactory: Unified Efficient Fine-Tuning of 100+ Language Modelscited by 1,442
  9. 2023Not what you've signed up for: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injectioncited by 1,339
  10. 2023Llama Guard: LLM-based Input-Output Safeguard for Human-AI Conversationscited by 1,124
  11. 2024OpenHands: An Open Platform for AI Software Developers as Generalist Agentscited by 956
  12. 2025OpenAI GPT-5 System Cardcited by 910
17 more
  1. 2022Ignore Previous Prompt: Attack Techniques For Language Modelscited by 760
  2. 2024InjecAgent: Benchmarking Indirect Prompt Injections in Tool-Integrated Large Language Model Agentscited by 476
  3. 2024A StrongREJECT for Empty Jailbreakscited by 352
  4. 2024Training Software Engineering Agents and Verifiers with SWE-Gymcited by 300
  5. 2024Frontier Models are Capable of In-context Schemingcited by 252
  6. 2020Toward Trustworthy AI Development: Mechanisms for Supporting Verifiable Claimscited by 163
  7. 2024Vulnerability Detection with Code Language Models: How Far Are We?cited by 133
  8. 2024IRIS: LLM-Assisted Static Analysis for Detecting Security Vulnerabilitiescited by 100
  9. 2025SHADE-Arena: Evaluating Sabotage and Monitoring in LLM Agentscited by 58
  10. 2025ImpossibleBench: Measuring LLMs' Propensity of Exploiting Test Casescited by 51
  11. 2024JAILJUDGE: A Comprehensive Jailbreak Judge Benchmark with Multi-Agent Enhanced Explanation Evaluation Frameworkcited by 44
  12. 2025Reliable Weak-to-Strong Monitoring of LLM Agentscited by 24
  13. 2026International AI Safety Report 2026cited by 20
  14. 2025Early Signs of Steganographic Capabilities in Frontier LLMscited by 19
  15. 2025SafeGenBench: A Benchmark Framework for Security Vulnerability Detection in LLM-Generated Codecited by 17
  16. 2026Your Agent Is Mine: Measuring Malicious Intermediary Attacks on the LLM Supply Chaincited by 13
  17. 2026AutoMonitor-Bench: Evaluating the Reliability of LLM-Based Misbehavior Monitorcited by 8

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026Training on Documents About Monitoring Leads to CoT Obfuscation
  2. 2026Evading Chain-of-Thought Monitoring Through Model Poisoning
  3. 2026Monitor Jailbreaking: Evading Chain-of-Thought Monitoring Without Encoded Reasoning
  4. 2026Noticing the Watcher: LLM Agents Can Infer CoT Monitoring from Blocking Feedback
  5. 2026Analyzing and Improving Chain-of-Thought Monitorability Through Information Theory
  6. 2026Reasoning Models Struggle to Control their Chains of Thought
  7. 2025CoTDeceptor:Adversarial Code Obfuscation Against CoT-Enhanced LLM Code Agents
  8. 2025Investigating CoT Monitorability in Large Reasoning Models