Safer Reasoning Traces: Measuring and Mitigating Chain-of-Thought Leakage in LLMs
On the map: LLM reasoning → Reasoning for agents, planning and code
Abstract (arXiv)
Chain-of-Thought (CoT) prompting improves LLM reasoning but can increase privacy risk by resurfacing personally identifiable information (PII) from the prompt into reasoning traces and outputs, even under policies that instruct the model not to restate PII. We study such direct, inference-time PII leakage using a model-agnostic framework that (i) defines leakage as risk-weighted, token-level events across 11 PII types, (ii) traces leakage curves as a function of the allowed CoT budget, and (iii) compares open- and closed-source model families on a structured PII dataset with a hierarchical risk taxonomy. We find that CoT consistently elevates leakage, especially for high-risk categories, and that leakage is strongly family- and budget-dependent. Increasing the reasoning budget can either amplify or attenuate leakage depending on the base model. We then benchmark lightweight inference-time gatekeepers: a rule-based detector, a TF-IDF + logistic regression classifier, a GLiNER-based NER model, and an LLM-as-judge, using risk-weighted F1, Macro-F1, and recall. No single method dominates across models or budgets, motivating hybrid, style-adaptive gatekeeping policies that balance utility and risk under a common, reproducible protocol.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Placed in Reasoning for agents, planning and code, one of 17 directions in LLM reasoning. Builds on 10 of its 21 references that are in the map. First posted on arXiv 5 Mar 2026.
Builds on
10 of 21 references.
Closest ancestors · 4
Same direction, newest first
- 2026Chain-of-Sanitized-Thoughts: Plugging PII Leakage in CoT of Large Reasoning Models8 Jan
- 2025SALT: Steering Activations towards Leakage-free Thinking in Chain of Thought11 Nov
- 2025H-CoT: Hijacking the Chain-of-Thought Safety Reasoning Mechanism to Jailbreak Large Reasoning Models, Including OpenAI o1/o3, DeepSeek-R1, and Gemini 2.0 Flash Thinking18 Feb
- 2024Deliberative Alignment: Reasoning Enables Safer Language Models20 Dec
Other references · 6
- 2023Can LLMs Keep a Secret? Testing Privacy Implications of Language Models via Contextual Integrity Theorycited by 218
- 2025CoT Red-Handed: Stress Testing Chain-of-Thought Monitoringcited by 49
- 2025Privacy in Action: Towards Realistic Privacy Mitigation and Evaluation for LLM-Powered Agentscited by 33
- 2024PII-Scope: A Comprehensive Study on Training Data PII Extraction Attacks in LLMscited by 6
- 2025GLiNER2: An Efficient Multi-Task Information Extraction System with Schema-Driven Interfacecited by 6
- 2025CoTGuard: Using Chain-of-Thought Triggering for Copyright Protection in Multi-Agent LLM Systemscited by 3
Built on by
Citing papers per year: 2026: 1.
1 paper.
Similar, not cited
Close in wording, no citation either way
- 2026From Leaky Thoughts to Private Reasoning: Controlling What LRMs Say to Themselves
- 2025Leaky Thoughts: Large Reasoning Models Are Not Private Thinkers
- 2026OCELOT: Inference-Leakage Budgets for Privacy-Preserving LLM Agents
- 2026DPrivBench: Benchmarking LLMs' Reasoning for Differential Privacy
- 2026Strengthening Human-Centric Chain-of-Thought Reasoning Integrity in LLMs via a Structured Prompt Framework
- 2025A Comprehensive Survey on Trustworthiness in Reasoning with Large Language Models
- 2026Stop Tracking Me! Proactive Defense Against Attribute Inference Attack in LLMs
- 2026EchoCoT: Extracting Hidden Chain-of-Thought from Large Reasoning Models