← Lab /Security & privacy

Key-controlled noise lets only authorized users invert diffusion models

Injecting key-dependent noise into diffusion model inversion makes reconstruction IND-CPA secure with negligible adversary advantage

Security & privacy arXiv 22 Jun 2026 Defense Prototype evidence Threat model

Published as “Public Diffusion Models, Private Images: Key-Controlled Inversion for Conditional Reconstruction”

Why it matters

Enables active access control for publicly released diffusion models, preventing unauthorized latent inversion without needing to hide model weights.

Summary

The paper shows that injecting a key-dependent noise into a strictly reversible O-BELM sampler lets a correct key recover the original image losslessly, while any wrong key causes exponential error amplification and produces unrecognizable outputs. They prove IND-CPA security with an adversary advantage that is exponentially small in a tunable security parameter, and report an overhead of less than 5% versus standard inversion. Experiments on three public image datasets confirm the claim, but even with zero key noise perfect reconstruction is not achieved due to floating-point and VAE errors.

What they found 5

  1. Correct key yields lossless reconstruction.

    “With the correct key, the noise cancels exactly during decryption, yielding lossless reconstruction.”

  2. Incorrect key leads to unrecognizable output.

    “With any other key, the mismatch is exponentially amplified along the chain, producing completely unrecognizable output.”

  3. IND-CPA advantage is negligible.

    “we prove that the distinguishing advantage of any PPT adversary in the IND-CPA game is exponentially small in a tunable security parameter, hence negligible.”

  4. Computational overhead is under 5%.

    “Overhead is less than 5% compared to standard inversion.”

  5. Empirical validation on three datasets shows correct keys enable recognizable reconstruction while wrong keys yield severely distorted outputs.

    “experiments on three datasets confirm that correct keys enable recognizable reconstruction, while wrong keys yield severely distorted outputs.”

Caveats 4

  • Even with σ = 0, perfectly reversible inversion is hardly attainable.
  • Besides the floating-point errors mentioned above, the reconstruction error introduced by the VAE is another significant contributing factor.
  • the total number of steps N cannot be arbitrarily large because the diffusion model’s own prediction error accumulates over long chains, potentially deteriorating the reconstruction quality for legitimate users.
  • the exact value of x0 depends on the noise schedule, the model architecture, and the statistics of the training data.

What’s new here 4

  • Introduces key-controlled inversion for white-box diffusion models without hiding model parameters.
  • Provides a provable IND-CPA security proof that leverages exponential error propagation in diffusion chains.
  • Demonstrates cross-model robustness, allowing encryption and decryption with different diffusion checkpoints.
  • Achieves the security mechanism with less than 5% computational overhead.

Threat model stated by the source

Adversaryknows the full diffusion model, inversion/sampling algorithms, and encryption scheme but not the secret key
Capabilityprobabilistic polynomial-time, can adaptively query an encryption oracle up to poly(λ) times
AssumesKerckhoffs’s principle (all system details public except the key); PRNG is cryptographically secure