Dependency-Aware Privacy for Multi-turn Agents
RootGuard is a novel privacy framework for multi-turn LLM agents that sanitizes private root values once and deterministically derives subsequent outputs, thereby preventing privacy degradation across turns and achieving significantly better privacy-utility tradeoffs compared to existing independent noising methods.
Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
Imagine you are a patient visiting a digital health assistant (an "LLM agent"). You need to share sensitive private data, like your blood pressure, weight, or lab results, so the assistant can calculate a diagnosis or risk score. However, the services the assistant talks to (the "adversarial services") might be untrustworthy. They could be hackers, they could be coerced by legal orders, or they might simply be curious and try to piece together your real identity from the numbers you share.
The Problem: The "Leaky Bucket" of Independent Noise
Currently, most privacy tools work like a leaky bucket. Every time the assistant sends a number to a service, it adds a little bit of "static" (noise) to hide the real value. This is called independent noising.
Here is the flaw:
- Turn 1: You share your height. The assistant adds static.
- Turn 2: You share your weight. The assistant adds new, different static.
- Turn 3: The service asks for your BMI. The assistant calculates it from your noisy height and weight, then adds even more static to the result before sending it.
To the attacker, this looks like a treasure hunt. They get multiple independent glimpses of the same underlying truth. If they ask for the same thing twice, or ask for a derived value (like BMI) after asking for the parts (height/weight), they can average out the static. It's like trying to guess a secret number by listening to it whispered through a wall; if you hear it whispered three different times with different background noises, you can eventually figure out the real number. The more turns the attacker forces, the more "leaks" they get, and the less private you become.
The Solution: RootGuard (The "Master Blueprint")
The paper proposes a new system called RootGuard. Instead of adding noise every time a number is sent, RootGuard changes the strategy entirely.
The Analogy: The Master Blueprint
Imagine you have a secret recipe (your private data).
- Old Way (Independent Noising): Every time you send a copy of the recipe to a chef, you scribble random notes on the paper, tear off a corner, and smudge the ink. If you send it to 10 chefs, you have 10 different smudged versions. A clever observer can compare all 10 to guess the original recipe.
- RootGuard Way: You take your secret recipe and scribble the notes only once on the original master copy. You then lock this "noisy master copy" in a safe.
- When Chef A asks for the ingredients, you give them a photocopy of the noisy master.
- When Chef B asks for the final dish, you calculate it using the noisy master and give them the result.
- If Chef A asks again, you give them the exact same photocopy.
Because every single piece of information the attacker sees comes from that one noisy master copy, they cannot learn anything new by asking more questions. Whether they ask 1 time or 1,000 times, they are just looking at the same static-filled image. The privacy guarantee is locked in at the very beginning.
The "Double Asymmetry" Advantage
The paper highlights a fascinating twist called the Double Asymmetry:
- For the Attacker (Independent Noising): Every extra question they ask makes their job easier. They get more data points to average out the noise. Their ability to guess your real data gets stronger with every turn.
- For You (RootGuard): Every extra question the attacker asks actually makes the system better for you (in terms of utility). Since the attacker forces the system to use a larger total "privacy budget" (more noise allowed), RootGuard can spread that larger budget across your data roots. This means the noise per root can be lower, making the medical calculations more accurate, while your privacy stays exactly the same.
In short: The more the attacker tries to pry, the more accurate your medical results become under RootGuard, while their ability to guess your secrets stays flat. Under the old method, the more they pry, the more they learn.
Using "Domain Knowledge" to Get Smarter
RootGuard isn't just a static lock; it's a smart lock that understands the relationships between your data.
- Level 1 (Dependencies): If you know that BMI is just a math formula based on Height and Weight, RootGuard realizes it doesn't need to add noise to BMI separately. It just calculates BMI from the noisy Height and Weight. This saves "privacy budget" (the allowance for how much noise you can add) so it can be used where it matters most.
- Level 2 (Sensitivity): Some numbers matter more for a specific diagnosis than others. RootGuard looks at the medical formula (e.g., "Liver Fibrosis Score") and asks: "Which input causes the biggest change in the result?" It then gives more privacy budget (more noise) to the sensitive inputs and less to the ones that don't matter as much. This keeps the final diagnosis accurate while protecting the most critical secrets.
The Results: What the Paper Found
The authors tested this on 8 different medical scenarios (like calculating liver risk, heart disease risk, or anemia) using real health data from the CDC.
- Accuracy: RootGuard was 2.6 to 3.8 times more accurate at producing the correct medical diagnosis compared to the old "independent noise" method.
- Privacy: When attackers tried to reconstruct your real data by asking many questions, the old method failed miserably (their guesses got much better with every question). RootGuard remained completely invariant; the attacker learned no more after 16 questions than they did after the first one.
- Real-World Test: They even ran this through a real AI agent (GPT-5.4 nano) making tool calls. The results held up perfectly, proving this isn't just theory—it works in a live, multi-turn conversation.
The Bottom Line
RootGuard treats your private data like a single source of truth that is protected once at the root. Everything else is just a calculation derived from that protected source. This prevents attackers from "cracking the code" by asking the same question in different ways, ensuring that your privacy doesn't degrade just because you need to have a long conversation with a digital assistant.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.