← Latest papers
💬 NLP

DP-Fusion: Token-Level Differentially Private Inference for Large Language Models

The paper proposes DP-Fusion, a token-level differentially private inference mechanism for large language models that provably bounds the influence of sensitive context tokens on outputs to enable high-quality document privatization with significantly improved privacy and utility trade-offs compared to existing methods.

Original authors: Rushil Thareja, Preslav Nakov, Praneeth Vepakomma, Nils Lukas

Published 2026-02-03
📖 4 min read☕ Coffee break read

Original authors: Rushil Thareja, Preslav Nakov, Praneeth Vepakomma, Nils Lukas

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 have a very smart, chatty robot (a Large Language Model, or LLM) that helps you summarize documents. Sometimes, those documents contain secret information, like a patient's name, a specific date, or a bank account number. You want the robot to summarize the story without accidentally spilling those secrets.

The problem is, current robots are bad at this. If you just tell them "don't say the name," they might get confused and write gibberish. If you tell them to "rewrite it nicely," they might accidentally slip up and reveal the secret anyway.

Enter DP-FUSION: The "Secret-Safe" Blender

The authors of this paper built a new method called DP-FUSION. Think of it as a special blender for text that guarantees secrets stay hidden while keeping the story readable. Here is how it works, using a simple analogy:

The Scenario: The Two Versions of a Story

Imagine you have a medical report about "Mrs. Smith" who had a bill of $345.25.

  1. The Original Story: Contains the name "Mrs. Smith" and the exact bill amount.
  2. The Redacted Story: You take a marker and black out "Mrs. Smith" and "$345.25," replacing them with blanks like [NAME] and [AMOUNT].

How DP-FUSION Works (The Blender Process)

Instead of just picking one version or the other, DP-FUSION does a clever dance:

  1. Run the Robot Twice:

    • First, it asks the robot to predict the next word using the Redacted Story (the safe version). This gives a "safe" guess.
    • Second, it asks the robot to predict the next word using the Original Story (the secret version). This gives a "risky" guess that might leak the secret.
  2. The "Privacy Dial" (The Blender Knob):

    • The system has a dial called ϵ\epsilon (epsilon).
    • Dial turned all the way down (Low ϵ\epsilon): The blender mixes the two guesses so heavily that the "risky" secret is almost completely drowned out by the "safe" guess. The robot might say "a patient" instead of "Mrs. Smith." This is very private, but the story might feel a bit generic.
    • Dial turned up (High ϵ\epsilon): The blender lets more of the "risky" guess through. The robot might say "Mrs. Smith" if it fits the context well. The story sounds better, but there's a slightly higher chance a secret could slip out.
  3. The Guarantee:

    • The magic of DP-FUSION is that it mathematically proves that no matter how hard a hacker tries to guess the secret, their chances of success are strictly limited by the setting on that dial. Even if the hacker knows exactly how the blender works, they can't reverse-engineer the secret.

Why Is This Better Than What We Have Now?

The paper compares DP-FUSION to other methods:

  • The "Scrubber" (NER): This is like using a black marker to cross out secrets. It's safe, but it leaves ugly holes in the text, making it hard to read (low utility).
  • The "Paraphraser" (Prompt Engineering): This is like asking the robot to "rewrite this nicely." It sounds good, but the robot often accidentally reveals the secret anyway because it wasn't forced to be careful.
  • DP-FUSION: This is the sweet spot. It keeps the text flowing smoothly (high quality) while mathematically guaranteeing the secrets stay hidden.

The Results

The researchers tested this on real legal and medical documents. They found that:

  • Quality: The text generated by DP-FUSION was much more natural and readable than other privacy methods. In fact, it was 6 times better (in terms of "perplexity," a measure of how confusing the text is) than the next best privacy method.
  • Security: Even when hackers tried to guess the hidden names or dates, they failed almost as often as if they were just guessing randomly.
  • Bonus Safety: The method also helps stop "jailbreak" attacks, where hackers try to trick the robot into ignoring its rules. By treating suspicious inputs as "sensitive tokens," the blender can dilute their influence, keeping the robot safe.

In a Nutshell

DP-FUSION is a new way to use AI to summarize sensitive documents. It acts like a smart blender that mixes a "safe" version of the text with the "real" version, controlled by a privacy dial. This ensures that secrets (like names or dates) are mathematically guaranteed to stay hidden, while the resulting story remains high-quality and easy to read.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →