It Takes Two: Complementary Self-Distillation for Contextual Integrity in LLMs
Summary
Contextual Integrity (CI) defines privacy not merely as keeping information hidden, but as governing information flows according to the norms of a given context. As large language models (LLMs) are increasingly deployed as personal agents handling sensitive workflows, adhering to CI becomes critical. However, even frontier models remain unreliable in making disclosure decisions, and existing mitigation strategies often degrade underlying task performance. To overcome this privacy-utility trade-off, SelfCI is proposed as a complementary self-distillation framework that decouples information suppression from task resolution. SelfCI jointly optimizes two independent reverse KL divergences over distinct teacher distributions derived from feedback: one encourages preserving task-relevant information for utility, while the other enforces minimal and appropriate disclosure. This complementary formulation induces a Product-of-Experts (PoE) target, aligning the policy with the intersection of capability and privacy requirements. Empirical evaluations demonstrate that SelfCI, without relying on costly external supervision, consistently outperforms competitive baselines such as online reinforcement learning algorithms (e.g., GRPO) on both in-domain (CI-RL test set) and out-of-domain (PrivacyLens benchmark) settings.
Key takeaway
For Machine Learning Engineers developing LLMs for sensitive personal agent workflows, SelfCI offers a practical solution to the persistent privacy-utility trade-off. You should consider implementing this complementary self-distillation framework to ensure contextual integrity without sacrificing task performance. By decoupling information suppression from task resolution through distinct teacher distributions, your models can achieve both task completeness and minimal disclosure. This approach avoids costly external supervision and outperforms traditional online reinforcement learning, providing a robust path toward CI alignment in real-world applications.
Key insights
SelfCI decouples privacy and utility in LLMs using complementary self-distillation to achieve Contextual Integrity, outperforming RL baselines.
Principles
- Privacy is context-dependent information flow, not mere secrecy.
- Decouple information suppression from task resolution for CI.
- Jointly optimize distinct objectives to resolve privacy-utility trade-offs.
Method
SelfCI generates rationales to condition two teacher policies (task-completion, minimal disclosure) and jointly optimizes a student against their Product-of-Experts target using reverse KL divergences.
In practice
- Generate self-feedback to guide context-specific disclosure decisions.
- Apply Product-of-Experts to balance task utility and privacy constraints.
Topics
- Contextual Integrity
- Large Language Models
- Self-Distillation
- Privacy-Preserving AI
- Product-of-Experts
- Information Flow Governance
Code references
Best for: Research Scientist, AI Scientist, Machine Learning Engineer, AI Ethicist
Related on AIssential
Editorial summary, takeaway, and curation by AIssential. Original article published by cs.LG updates on arXiv.org.