It Takes Two: Complementary Self-Distillation for Contextual Integrity in LLMs
Sangwoo Park, Woongyeong Yeo, Yumin Choi, Hyomin Lee, Kangsan Kim, Seanie Lee, Jinheon Baek, Seong Joon Oh, Sung Ju Hwang
NeurIPS page · OpenReview · alphaXiv · Open on the map
Category: AI Safety, Security & Alignment › Agentic Alignment and Safety · Type: new method · Keywords: contextual integrity, privacy-utility trade-off, self-distillation, large language models, LLM alignment
Areas: AI Agents › Agent Robustness › Agent Misalignment Evaluation; RL for LLMs & Agents › Distillation Reinforcement Learning › Self distillation; Privacy & Federated Learning › Privacy Defenses and Attacks › Agent Privacy
Summary
SelfCI introduces a complementary self-distillation framework that jointly optimizes utility-preserving and privacy-enforcing objectives to achieve contextual integrity in LLMs without external supervision.
Explained to a 5-year-old
Big computer programs called language models help us with many tasks, like talking or writing. Sometimes they need to share private information, but they should only tell what is needed. The researchers made a way to teach these programs two things: keep the useful stuff and hide the rest. They do this by using two special teachers that guide the program separately. This helps the program be both smart and safe when it talks about personal things.
Explained to a 5-year-old, longer
Imagine a friendly robot that can read and write like a person. This robot sometimes needs to share secrets, like your private notes. It should only share the parts that are needed and not everything. The researchers noticed that the robot often got this wrong, either sharing too much or not enough. They wanted to help the robot learn the right balance between being helpful and being private. They created a teaching method where the robot learns from two different helpers. One helper tells the robot what information is important for the task. The other helper tells the robot to keep the information as small as possible. By listening to both helpers at the same time, the robot can make a good decision. This way, the robot can be useful while still protecting private details. The new method works even when the robot faces new situations it hasn't seen before. It gives a safe way to use smart robots in real life without worrying about privacy leaks.
For a technical reader
The paper addresses the challenge of balancing privacy and utility in large language models used as personal assistants. It proposes a self-distillation technique that trains two separate teacher models: one focused on preserving task-relevant information and another on minimizing unnecessary disclosure. By optimizing reverse KL divergences against these teachers, the resulting policy aligns with a product-of-experts target that satisfies both capability and privacy requirements. Empirical evaluations show consistent improvements over baseline reinforcement-learning methods across both in-domain and out-of-domain scenarios. The approach eliminates the need for costly external supervision, offering a practical path to implement contextual integrity in deployed LLM agents.
Problem
Large language models handling sensitive data often struggle to balance privacy and utility, making unreliable disclosure decisions while existing mitigations degrade performance.
Method
The approach uses a complementary self-distillation framework that optimizes two reverse KL divergences over separate teacher distributions: one to preserve task-relevant information and another to enforce minimal disclosure, resulting in a Product-of-Experts target.
Results
The approach consistently outperforms competitive baselines such as online reinforcement learning algorithms (e.g., GRPO) in both in-domain and out-of-domain settings.
Contributions
It introduces a complementary self-distillation framework that decouples privacy and utility objectives, yielding a Product-of-Experts target for contextual integrity alignment, and demonstrates its effectiveness on LLM agents without external supervision.
Practical relevance
It offers a practical way to align LLMs with contextual integrity, enabling safer deployment of personal AI agents handling sensitive data.
Research questions this paper is counted under
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction