MGI: Member vs Generated Inference

Bihe Zhao, Michel Meintz, Juangui Xu, Franziska Boenisch, Adam DziedzicarXiv 2026

TL;DR

As generative models get better at mimicking or even verbatim memorizing human content, distinguishing between a model's actual training data and its own generated outputs becomes incredibly difficult. This paper formalizes this challenge as Member vs Generated Inference (MGI) and introduces Data Circuit Breaker (DCB), a three-stage framework that leverages hidden autoencoder artifacts to perfectly separate real training data from generated lookalikes.

What Problem Does This Paper Address?

Traditional Membership Inference Attacks (MIAs) are designed to answer a simple question: Was this specific data point used to train this model? They do this by looking for high-likelihood scores, assuming the model will be more confident about data it has already seen.

However, modern generative image models (like diffusion models and autoregressive transformers) complicate this. Because their generated outputs are optimized under the exact same latent distribution as their training data, generated images also yield exceptionally high likelihood scores. Consequently, standard MIAs systematically misclassify a model's own generated outputs as training members. Conversely, image attribution methods often misclassify true training data as generated.

This boundary blurring becomes dangerous in "model derivative" settings—where a new model ($M_2$) is trained on data scraped from the internet that was generated by an older model ($M_1$). This creates data loops that can lead to model collapse. The authors introduce the MGI task to accurately untangle these data circuits.

Overview of the MGI task in direct and derivative training settings.

Methods

To solve the MGI problem, the authors propose Data Circuit Breaker (DCB). Instead of relying solely on the model's latent generator (which causes the score overlap), DCB looks holistically at the entire generation pipeline, specifically exploiting the autoencoder (VAE/VQ-VAE).

DCB operates in three sequential stages:

  1. Stage 1: Autoencoder-based Filtering (Generated vs. Non-Generated): Natural images passing through an autoencoder for the first time incur typical reconstruction and quantization errors. Generated images, however, have already been synthesized by that exact encode-decode pipeline, making them highly "self-consistent." DCB uses a double reconstruction ratio (and quantization loss for autoregressive models) to filter out generated images with high confidence.
  2. Stage 2: Membership Inference on Remaining Samples (Member vs. Non-Member): With the generated images safely filtered out, the standard MIA assumptions are restored. DCB applies standard latent-generator MIAs (like ICAS) to separate true natural training members from held-out validation data.
  3. Stage 3: Source Attribution among Generators: In complex derivative settings ($M_1 \rightarrow M_2$), all generated images share the same decoder. To figure out which model generated what, DCB builds a 2D feature vector of conditional log-probabilities across both models and uses Kernel Density Estimation (KDE) to cluster and attribute the exact source.

Datasets

The authors evaluated their approach across multiple state-of-the-art Image Generative Models (IGMs), including both Image Autoregressive models (IARs: VAR, RAR, LlamaGen) and Diffusion Models (DMs: Stable Diffusion 1.4 and 2.1). They utilized two primary datasets:

  • ImageNet-1k: Used for training and evaluating the class-conditioned IAR models.
  • MS-COCO: Used to fine-tune and evaluate the text-to-image diffusion models.

Key Insights and Ideas

  • The Autoencoder Leaves a Fingerprint: While the latent generator's probability scores overlap heavily between members and generated images, the autoencoder acts as a perfect discriminator. Generated images are fundamentally "pre-aligned" to the model's autoencoder manifold.
  • Verbatim Memorization is Trackable: Even when a model completely memorizes a training image and regurgitates a near-duplicate output, the regurgitated image still passes through the token-sampling and decoding pipeline. This leaves subtle, human-imperceptible generation residuals that DCB can detect.
Figure 3. Distributions of scores for memorized training samples vs re-generated cases. State-of-the-art membership inference (a) and attribution (b) methods fail to distinguish memorized training samples (Memorized Training) from their verbatim generated counterparts (Verbatim Re-generated), whereas our approach (c) clearly separates the two. The evaluated model is RAR-XXL [31].

Key Results

  • Direct Training Setting: In separating natural members from generated data, standard MIAs like PIAR and ICAS scored a 0.0% True Positive Rate at a 1% False Positive Rate (TPR@1%FPR) on models like RAR. DCB achieved a near-perfect 99.9% TPR@1%FPR across the board.
  • Model Derivative Setting: In the highly complex $M_2$ setting (distinguishing between natural members, $M_1$-generated training data, and $M_2$'s new outputs), DCB maintained an overall AUC of 99.5% for VAR and 99.8% for RAR, drastically outperforming baselines which completely collapsed when analyzing lookalike generated distributions.
  • Robustness: DCB's Stage 1 filtering remained highly resilient ($\ge 97.4\%$ TPR) against real-world image degradations like JPEG compression, resizing, saturation shifts, and even adaptive adversarial attacks designed to minimize quantization errors.

Limitations and Future Work

  • White-Box/Gray-Box Dependency: DCB currently requires access to the model's internal autoencoder losses and latent generator probabilities. While the authors demonstrate a "gray-box" variant that works without fine-tuning the encoder, a fully black-box API setting remains a challenge.
  • Modality Scope: The current work focuses strictly on image generation. Extending the concept of architectural "self-consistency" to text (LLMs) or audio models represents a promising but unexplored direction for future research.

Summary updated

BibTeX
@misc{zhao2026mgi,
  author = {Bihe Zhao and Michel Meintz and Juangui Xu and Franziska Boenisch and Adam Dziedzic},
  title = {{MGI: Member vs Generated Inference}},
  year = {2026},
  eprint = {2606.23872},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2606.23872},
}
Figure