Difficulty Calibration Across Time for Membership Inference in Diffusion Models

Michael Joseph, Yedid Hoshen
10/29/2026
cs.CVcs.CRcs.LG
diffusion-flow

Official code: MichaelJoseph777/TSC (0 stars, Python, last commit 2026-10-30).

Abstract

Modern diffusion models are trained on massive datasets that often include copyrighted or private images. Membership inference attacks (MIAs) address this by testing whether a given image was in a model's training set.

Show full abstract

The standard approach scores an image by its reconstruction loss and flags low-loss images as members. This often fails because some images are simply easier to reconstruct than others, so a simple unseen image can score a lower loss than a complex training image. Difficulty calibration separates memorization from how difficult an image is to begin with. We show how to calibrate along two axes of time: training time and diffusion time. First, across training time, we introduce Reference-Model Calibration (RMC), which compares a fine-tuned model's loss against an earlier checkpoint. This cleanly isolates newly memorized data and gives near-perfect auditing, even without text captions. Since earlier checkpoints are not always available, we next present Temporal Self-Calibration (TSC), which calibrates across diffusion time using only a single model. Our key observation is that an image's difficulty persists across noise levels, whereas memorization is localized in time. By comparing the loss at a target timestep against neighboring timesteps from the same model, TSC attenuates image difficulty using the model's own trajectory. Empirically, our methods beat the state of the art by a wide margin, and unlike most existing attacks, generalize across different model parameterizations such as $x$-, $v$-, and $ε$-prediction models. Code is available at https://github.com/MichaelJoseph777/TSC.

View on arXivView PDF

Code Implementations(1)

DIFFICULTY CALIBRATION ACROSS TIME FOR MEMBERSHIP INFERENCE IN DIFFUSION MODELS

00PythonOct 14, 20261 months agoNOASSERTION

Similar Papers

Cite this paper

@article{joseph2026difficulty,
  title  = {Difficulty Calibration Across Time for Membership Inference in Diffusion Models},
  author = {Michael Joseph and Yedid Hoshen},
  year   = {2026},
  eprint = {2610.40616},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2610.40616v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2610.40616.svg)](https://codeofpaper.com/paper/2610.40616)

Discussion