Trustworthy Machine Learning through Data-Specific Indistinguishability

Hanshen Xiao, Zhen Yang, G. Edward SuhICML 2025

TL;DR

The authors introduce Data-Specific Indistinguishability (DSI), a novel framework that provides provable trust guarantees against memorization, data poisoning, and copyright infringement. By calibrating noise to specific data inputs rather than worst-case scenarios, DSI breaks the "curse of dimensionality" inherent in standard Differential Privacy (DP). This allows high-dimensional models like Large Language Models (LLMs) and Diffusion models to maintain high accuracy while ensuring rigorous safety bounds.

The Problem: The Curse of Dimensionality in Differential Privacy

In the quest for "trustworthy" AI, researchers often turn to Differential Privacy (DP). DP relies on Input-Independent Indistinguishability (III), meaning the model's output should remain largely unchanged regardless of which specific data point is included in the training set.

While DP is the gold standard for confidentiality, it suffers from a major drawback: the curse of dimensionality. To protect any arbitrary record in a worst-case scenario, standard DP requires injecting massive amounts of noise. In deep learning models with millions or billions of parameters, this isotropic (uniform) noise destroys the model's utility and accuracy.

The authors argue that for many trust-related tasks—such as preventing a model from memorizing a specific secret "canary" string or defending against a known backdoor attack—we do not need to protect every possible input. We only need the model to be indistinguishable from a "safe" version trained on a specific set of reference data.

Methods: Data-Specific Indistinguishability (DSI)

To address these limitations, the paper proposes Data-Specific Indistinguishability (DSI). Unlike standard DP, DSI uses anisotropic noise—noise that is "shaped" to be larger only in the specific directions where the target data's influence is strongest.

Conceptual illustration of Data-Specific Indistinguishability (DSI).

Key Technical Contributions:

  1. The DSI Gaussian Mechanism: The authors formalize the search for "minimal noise" as a convex optimization problem, showing that the optimal noise covariance can be determined using Lagrangian multipliers.
  2. Subspace Embedding: In high-dimensional settings where the number of parameters ($d$) vastly exceeds the number of references ($m$), DSI only calibrates noise within the subspace spanned by the differences between the target and reference outputs. Crucially, this makes the required noise scale with the number of references ($m$) rather than the model size ($d$).
  3. Gray-Box Deep Learning: The authors propose a framework that works with black-box optimizers (like local SGD) without requiring per-sample gradient clipping. This avoids the significant bias and training slowdowns typical of standard DP-SGD.
  4. Adaptive Composition: They provide a theorem for tracking how "trust budgets" (denoted by $\epsilon$) accumulate over multiple training rounds, ensuring the final model maintains its provable guarantees.

Key Insights

  • Dimensionality Independence: The most significant breakthrough is that DSI noise is independent of the model's parameter count. This makes it feasible to provide provable guarantees for massive models where standard DP would fail.
  • One-Sided Divergence: Trust concepts like memorization mitigation only require "one-sided" divergence. We just need to know the model is "close enough" to a safe reference, rather than requiring symmetric indistinguishability to prevent all information leakage.
  • The "Influence Knob": The $\epsilon$ parameter acts as a literal dial for data influence. For example, a low $\epsilon$ prevents an artist's style from being mimicked, while a high $\epsilon$ allows for faithful style transfer, providing a quantitative basis for data usage compensation.

Experimental Results

The authors evaluated DSI across Computer Vision (CIFAR-10/100), Language Modeling (WikiText, GPT-2, OPT), and Generative Art (Stable Diffusion).

  • Superior Utility: On CIFAR-10 using ResNet-20, DSI achieved 83.9% accuracy at $\epsilon=8$, significantly outperforming state-of-the-art DP-SGD methods which hovered around 74-76%.
  • Memorization Control: In LLMs, DSI provided a conservative upper bound on data "exposure." For GPT-2 small, a DSI guarantee of $\epsilon=2$ kept the exact memorization rate of duplicated samples near the baseline of unseen data.
Memorization exposure in GPT-2 small under varying DSI privacy budgets.
  • Backdoor Mitigation: DSI effectively reduced the Attack Success Rate (ASR) of poisoning attacks. For "Blended" attacks with 80 sources, DSI reduced ASR to 4.7%. Isotropic noise at the same utility level allowed an ASR of 3.6% but required a much weaker provable $\epsilon$.
  • Copyright Protection: The authors successfully demonstrated "style-transfer" control in Stable Diffusion, showing that DSI can provably limit how much a specific artist's work influences the final generative model.

Limitations and Future Work

While highly effective, the authors note that DSI's provable bounds are still quite conservative; the empirical risk of memorization or poisoning is often much lower than the theoretical limit DSI provides. Currently, the framework relies solely on injected Gaussian noise. Future work could incorporate "amplification effects" from other sources of randomness, such as data subsampling, to further sharpen the bounds and generalize "influence" to address broader trust issues like algorithmic fairness.

Summary updated

BibTeX
@inproceedings{xiao2025trustworthy,
  author = {Hanshen Xiao and Zhen Yang and G. Edward Suh},
  title = {{Trustworthy Machine Learning through Data-Specific Indistinguishability}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=JRMoeNZgNl},
}
Figure