Contextual Integrity in LLMs via Reasoning and Reinforcement Learning
On the map: LLM reasoning → Reasoning for agents, planning and code
Abstract (arXiv)
As the era of autonomous agents making decisions on behalf of users unfolds, ensuring contextual integrity (CI) -- what is the appropriate information to share while carrying out a certain task -- becomes a central question to the field. We posit that CI demands a form of reasoning where the agent needs to reason about the context in which it is operating. To test this, we first prompt LLMs to reason explicitly about CI when deciding what information to disclose. We then extend this approach by developing a reinforcement learning (RL) framework that further instills in models the reasoning necessary to achieve CI. Using a synthetic, automatically created, dataset of only ~700 examples but with diverse contexts and information disclosure norms, we show that our method substantially reduces inappropriate information disclosure while maintaining task performance across multiple model sizes and families. Importantly, improvements transfer from this synthetic dataset to established CI benchmarks such as PrivacyLens that has human annotations and evaluates privacy leakage of AI assistants in actions and tool calls. Our code is available at: https://github.com/EricGLan/CI-RL
Key facts. Cited by 31 papers in the map (data through 14 Oct 2026). Placed in Reasoning for agents, planning and code, one of 17 directions in LLM reasoning. Builds on 25 of its 49 references that are in the map. First posted on arXiv 29 May 2025.
Builds on
25 of 49 references.
Closest ancestors · 6
Same direction, newest first
- 2025ThinkGuard: Deliberative Slow Thinking Leads to Cautious Guardrails19 Feb
- 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
- 2025To Think or Not to Think: Exploring the Unthinking Vulnerability in Large Reasoning Models16 Feb
- 2025OverThink: Slowdown Attacks on Reasoning LLMs4 Feb
- 2025GuardReasoner: Towards Reasoning-based LLM Safeguards30 Jan
- 2024OpenAI o1 System Card21 Dec
Other references · 19
- 2017Proximal Policy Optimization Algorithmscited by 15,215
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 9,379
- 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,330
- 2024Qwen2.5 Technical Reportcited by 4,942
- 2023Mistral 7Bcited by 3,164
- 2024HybridFlow: A Flexible and Efficient RLHF Frameworkcited by 2,057
- 2025Reinforcement Learning for Reasoning in Large Language Models with One Training Examplecited by 295
- 2025Towards Large Reasoning Models: A Survey of Reinforced Reasoning with Large Language Modelscited by 293
- 2023Navigate through Enigmatic Labyrinth A Survey of Chain of Thought Reasoning: Advances, Frontiers and Futurecited by 184
- 2025FutureSightDrive: Thinking Visually with Spatio-Temporal CoT for Autonomous Drivingcited by 166
- 2025LLM Post-Training: A Deep Dive into Reasoning Large Language Modelscited by 135
7 more
- 2025A Survey on Post-training of Large Language Modelscited by 54
- 2024CI-Bench: Benchmarking Contextual Integrity of AI Assistants on Synthetic Datacited by 37
- 2025Firewalls to Secure Dynamic LLM Agentic Networkscited by 36
- 2025Position: Contextual Integrity is Inadequately Applied to Language Modelscited by 11
- 2024Bridging SFT and DPO for Diffusion Model Alignment with Self-Sampling Preference Optimizationcited by 9
- 2025Preference Alignment on Diffusion Model: A Comprehensive Survey for Image Generation and Editingcited by 6
- 2025TDBench: A Benchmark for Top-Down Image Understanding with Reliability Analysis of Vision-Language Modelscited by 3
Built on by
Citing papers per year: 2025: 11; 2026: 20.
31 papers.
Sort:
By area:
- 2025JanusVLN: Decoupling Semantics and Spatiality with Dual Implicit Memory for Vision-Language Navigationcited by 89
- 2025ConVerse: Benchmarking Contextual Safety in Agent-to-Agent Conversationscited by 16
- 2025MaPPO: Maximum a Posteriori Preference Optimization with Prior Knowledgecited by 15
- 2026CI-Work: Benchmarking Contextual Integrity in Enterprise LLM Agentscited by 14
- 2025Privacy Reasoning in Ambiguous Contextscited by 11
- 2025Agent Tools Orchestration Leaks More: Dataset, Benchmark, and Mitigationcited by 11
- 2026AI Agents May Always Fall for Prompt Injectionscited by 9
- 2026Recursive Self-Evolving Agents via Held-Out Selectioncited by 7
- 2026Alternating Reinforcement Learning with Contextual Rubric Rewards: Beyond the Scalarization Strategycited by 6
- 2025Attributes as Textual Genes: Leveraging LLMs as Genetic Algorithm Simulators for Conditional Synthetic Data Generationcited by 5
- 2026Chain-of-Sanitized-Thoughts: Plugging PII Leakage in CoT of Large Reasoning Modelscited by 5
- 2025It's My Agent, Not Me: Personal Privacy Boundaries in AI-Delegated Information Sharingcited by 3
19 more
- 2026Mitigating Over-Personalization in LLMs via Structured Memorycited by 3
- 2025Information-Theoretic Graph Fusion with Vision-Language-Action Model for Policy Reasoning and Dual Robotic Controlcited by 2
- 2026Position: Capability Control Should be a Separate Goal From Alignmentcited by 2
- 2026Do LLMs Know What Is Private Internally? Probing and Steering Contextual Privacy Norms in Large Language Model Representationscited by 2
- 2026Minim: Privacy-Aware Minimal View for Agents via Trusted Local Sanitizationcited by 2
- 2026PrivacyAlign: Contextual Privacy Alignment for LLM Agentscited by 2
- 2025Towards Interpretable Adversarial Examples via Sparse Adversarial Attackcited by 1
- 2025Explainable reinforcement learning from human feedback to improve alignmentcited by 1
- 2026Do Vision-Language Models Respect Contextual Integrity in Location Disclosure?cited by 1
- 2026BiMind: A Dual-Head Reasoning Model with Attention-Geometry Adapter for Incorrect Information Detectioncited by 1
- 2026It Takes Two: Complementary Self-Distillation for Contextual Integrity in LLMscited by 1
- 2025Quality analysis and evaluation prediction of RAG retrieval based on machine learning algorithmscited by 0
- 2026BadLLM-TG: A Backdoor Defender powered by LLM Trigger Generatorcited by 0
- 2026Reinforcing privacy reasoning in LLMs via normative simulacra from fictioncited by 0
- 2026MemArena: An Ego-Centric Benchmark for On-Device Agentic Personal Memory Assistants at Scalecited by 0
- 2026CIDER: A Dataset of Contextual Disclosure Boundaries for Privacy Preference Alignmentcited by 0
- 2026Rethinking Agent Security as a Networking Problemcited by 0
- 2026Eternal Sunshine of the Spotless Mind: Systematically Erasing LLM's Memoriescited by 0
- 2026AgentPrivArena: Evaluating and Auditing Real-world AI Agent Privacycited by 0
- 2026AgentPrivArena: Evaluating and Auditing Real-world AI Agent Privacy5 Oct 2026
- 2026Eternal Sunshine of the Spotless Mind: Systematically Erasing LLM's Memories29 Sep 2026
- 2026Rethinking Agent Security as a Networking Problem12 Aug 2026
- 2026CIDER: A Dataset of Contextual Disclosure Boundaries for Privacy Preference Alignment10 Aug 2026
- 2026Mitigating Over-Personalization in LLMs via Structured Memory8 Aug 2026
- 2026PrivacyAlign: Contextual Privacy Alignment for LLM Agents19 Jun 2026
- 2026Recursive Self-Evolving Agents via Held-Out Selection17 Jun 2026
- 2026Minim: Privacy-Aware Minimal View for Agents via Trusted Local Sanitization11 Jun 2026
- 2026MemArena: An Ego-Centric Benchmark for On-Device Agentic Personal Memory Assistants at Scale20 May 2026
- 2026It Takes Two: Complementary Self-Distillation for Contextual Integrity in LLMs18 May 2026
- 2026AI Agents May Always Fall for Prompt Injections17 May 2026
- 2026CI-Work: Benchmarking Contextual Integrity in Enterprise LLM Agents23 Apr 2026
19 more
- 2026Reinforcing privacy reasoning in LLMs via normative simulacra from fiction21 Apr 2026
- 2026BiMind: A Dual-Head Reasoning Model with Attention-Geometry Adapter for Incorrect Information Detection7 Apr 2026
- 2026Do LLMs Know What Is Private Internally? Probing and Steering Contextual Privacy Norms in Large Language Model Representations31 Mar 2026
- 2026BadLLM-TG: A Backdoor Defender powered by LLM Trigger Generator16 Mar 2026
- 2026Alternating Reinforcement Learning with Contextual Rubric Rewards: Beyond the Scalarization Strategy4 Mar 2026
- 2026Position: Capability Control Should be a Separate Goal From Alignment5 Feb 2026
- 2026Do Vision-Language Models Respect Contextual Integrity in Location Disclosure?4 Feb 2026
- 2026Chain-of-Sanitized-Thoughts: Plugging PII Leakage in CoT of Large Reasoning Models8 Jan 2026
- 2025Agent Tools Orchestration Leaks More: Dataset, Benchmark, and Mitigation18 Dec 2025
- 2025Explainable reinforcement learning from human feedback to improve alignment15 Dec 2025
- 2025Quality analysis and evaluation prediction of RAG retrieval based on machine learning algorithms22 Nov 2025
- 2025ConVerse: Benchmarking Contextual Safety in Agent-to-Agent Conversations7 Nov 2025
- 2025JanusVLN: Decoupling Semantics and Spatiality with Dual Implicit Memory for Vision-Language Navigation26 Sep 2025
- 2025It's My Agent, Not Me: Personal Privacy Boundaries in AI-Delegated Information Sharing26 Sep 2025
- 2025Attributes as Textual Genes: Leveraging LLMs as Genetic Algorithm Simulators for Conditional Synthetic Data Generation2 Sep 2025
- 2025Information-Theoretic Graph Fusion with Vision-Language-Action Model for Policy Reasoning and Dual Robotic Control7 Aug 2025
- 2025MaPPO: Maximum a Posteriori Preference Optimization with Prior Knowledge27 Jul 2025
- 2025Privacy Reasoning in Ambiguous Contexts13 Jun 2025
- 2025Towards Interpretable Adversarial Examples via Sparse Adversarial Attack8 Jun 2025
- 2025ConVerse: Benchmarking Contextual Safety in Agent-to-Agent Conversationscited by 16
- 2026CI-Work: Benchmarking Contextual Integrity in Enterprise LLM Agentscited by 14
- 2025Agent Tools Orchestration Leaks More: Dataset, Benchmark, and Mitigationcited by 11
- 2026Recursive Self-Evolving Agents via Held-Out Selectioncited by 7
- 2026Minim: Privacy-Aware Minimal View for Agents via Trusted Local Sanitizationcited by 2
- 2026PrivacyAlign: Contextual Privacy Alignment for LLM Agentscited by 2
- 2026MemArena: An Ego-Centric Benchmark for On-Device Agentic Personal Memory Assistants at Scalecited by 0
- 2026Rethinking Agent Security as a Networking Problemcited by 0
- 2026AgentPrivArena: Evaluating and Auditing Real-world AI Agent Privacycited by 0
- 2026AgentPrivArena: Evaluating and Auditing Real-world AI Agent Privacy5 Oct 2026
- 2026Rethinking Agent Security as a Networking Problem12 Aug 2026
- 2026PrivacyAlign: Contextual Privacy Alignment for LLM Agents19 Jun 2026
- 2026Recursive Self-Evolving Agents via Held-Out Selection17 Jun 2026
- 2026Minim: Privacy-Aware Minimal View for Agents via Trusted Local Sanitization11 Jun 2026
- 2026MemArena: An Ego-Centric Benchmark for On-Device Agentic Personal Memory Assistants at Scale20 May 2026
- 2026CI-Work: Benchmarking Contextual Integrity in Enterprise LLM Agents23 Apr 2026
- 2025Agent Tools Orchestration Leaks More: Dataset, Benchmark, and Mitigation18 Dec 2025
- 2025ConVerse: Benchmarking Contextual Safety in Agent-to-Agent Conversations7 Nov 2025
- 2025Privacy Reasoning in Ambiguous Contextscited by 11
- 2026Chain-of-Sanitized-Thoughts: Plugging PII Leakage in CoT of Large Reasoning Modelscited by 5
- 2025Information-Theoretic Graph Fusion with Vision-Language-Action Model for Policy Reasoning and Dual Robotic Controlcited by 2
- 2026Do Vision-Language Models Respect Contextual Integrity in Location Disclosure?cited by 1
- 2026BiMind: A Dual-Head Reasoning Model with Attention-Geometry Adapter for Incorrect Information Detectioncited by 1
- 2026Reinforcing privacy reasoning in LLMs via normative simulacra from fictioncited by 0
- 2026Reinforcing privacy reasoning in LLMs via normative simulacra from fiction21 Apr 2026
- 2026BiMind: A Dual-Head Reasoning Model with Attention-Geometry Adapter for Incorrect Information Detection7 Apr 2026
- 2026Do Vision-Language Models Respect Contextual Integrity in Location Disclosure?4 Feb 2026
- 2026Chain-of-Sanitized-Thoughts: Plugging PII Leakage in CoT of Large Reasoning Models8 Jan 2026
- 2025Information-Theoretic Graph Fusion with Vision-Language-Action Model for Policy Reasoning and Dual Robotic Control7 Aug 2025
- 2025Privacy Reasoning in Ambiguous Contexts13 Jun 2025
- 2025MaPPO: Maximum a Posteriori Preference Optimization with Prior Knowledgecited by 15
- 2026Alternating Reinforcement Learning with Contextual Rubric Rewards: Beyond the Scalarization Strategycited by 6
- 2025Explainable reinforcement learning from human feedback to improve alignmentcited by 1
- 2026CIDER: A Dataset of Contextual Disclosure Boundaries for Privacy Preference Alignmentcited by 0
- 2026CIDER: A Dataset of Contextual Disclosure Boundaries for Privacy Preference Alignment10 Aug 2026
- 2026Alternating Reinforcement Learning with Contextual Rubric Rewards: Beyond the Scalarization Strategy4 Mar 2026
- 2025Explainable reinforcement learning from human feedback to improve alignment15 Dec 2025
- 2025MaPPO: Maximum a Posteriori Preference Optimization with Prior Knowledge27 Jul 2025
- 2026AI Agents May Always Fall for Prompt Injectionscited by 9
- 2026BadLLM-TG: A Backdoor Defender powered by LLM Trigger Generatorcited by 0
- 2026AI Agents May Always Fall for Prompt Injections17 May 2026
- 2026BadLLM-TG: A Backdoor Defender powered by LLM Trigger Generator16 Mar 2026
- 2025JanusVLN: Decoupling Semantics and Spatiality with Dual Implicit Memory for Vision-Language Navigationcited by 89
- 2025It's My Agent, Not Me: Personal Privacy Boundaries in AI-Delegated Information Sharingcited by 3
- 2026Mitigating Over-Personalization in LLMs via Structured Memorycited by 3
- 2026Position: Capability Control Should be a Separate Goal From Alignmentcited by 2
- 2026Do LLMs Know What Is Private Internally? Probing and Steering Contextual Privacy Norms in Large Language Model Representationscited by 2
- 2025Towards Interpretable Adversarial Examples via Sparse Adversarial Attackcited by 1
- 2026Eternal Sunshine of the Spotless Mind: Systematically Erasing LLM's Memoriescited by 0
- 2026Eternal Sunshine of the Spotless Mind: Systematically Erasing LLM's Memories29 Sep 2026
- 2026Mitigating Over-Personalization in LLMs via Structured Memory8 Aug 2026
- 2026Do LLMs Know What Is Private Internally? Probing and Steering Contextual Privacy Norms in Large Language Model Representations31 Mar 2026
- 2026Position: Capability Control Should be a Separate Goal From Alignment5 Feb 2026
- 2025JanusVLN: Decoupling Semantics and Spatiality with Dual Implicit Memory for Vision-Language Navigation26 Sep 2025
- 2025It's My Agent, Not Me: Personal Privacy Boundaries in AI-Delegated Information Sharing26 Sep 2025
- 2025Towards Interpretable Adversarial Examples via Sparse Adversarial Attack8 Jun 2025
Similar, not cited
Close in wording, no citation either way
- 2025Context Reasoner: Incentivizing Reasoning Capability for Contextualized Privacy and Safety Compliance via Reinforcement Learning
- 2023Can LLMs Keep a Secret? Testing Privacy Implications of Language Models via Contextual Integrity Theory
- 2026Need to Know: Contextual-Integrity-Grounded Query Rewriting for Privacy-Conscious LLM Delegation
- 2026Contextualized Privacy Defense for LLM Agents
- 2026PiSAs: Benchmarking Contextual Integrity in Multi-User Agentic Systems
- 20251-2-3 Check: Enhancing Contextual Privacy in LLM via Multi-Agent Reasoning
- 2026MPCI-Bench: A Benchmark for Multimodal Pairwise Contextual Integrity Evaluation of Language Model Agents
- 2024Operationalizing Contextual Integrity in Privacy-Conscious Assistants