Marginal Matching Does Not License Factorized Sampling: Auditing Conditional Style Leakage in Factorized Generative Models

TL;DR

Marginal matching does not ensure factorized sampling; model leakage persists.

cs.LG 🔴 Advanced 2026-08-05 6 views
Duong Bach Hai Nguyen Hong Cuong Do
generative models factorized sampling conditional leakage marginal matching machine learning

Key Findings

Methodology

The paper proposes an auditing framework for conditional style leakage in factorized generative models. By matching the marginal distribution of a latent style variable to a fixed Gaussian prior, the study reveals that this method cannot ensure the independence of style representation from class information. The authors derive an exact decomposition, showing that eliminating this mismatch is necessary but not sufficient for factorized sampling.

Key Results

  • In experiments, the case-study model and four baseline models achieve near-zero global MMD, yet a linear probe can recover class labels with 74% to 100% accuracy.
  • The case-study model achieves 99.15% clustering accuracy, while externally evaluated class-conditional generation succeeds only 16% of the time.
  • Four mitigation strategies reduce probe accuracy to 21% to 46%, but within-class dependence remains largely unchanged.

Significance

This study highlights the limitations of the commonly used marginal matching method in factorized generative models, emphasizing that reporting marginal statistics alone cannot verify the claimed properties. This has significant implications for academia and industry, particularly in ensuring that style representations in generative models do not carry class information.

Technical Contribution

The technical contribution lies in proposing an auditing framework that separates marginal prior fit, conditional leakage, semantic-prior mismatch, and within-class dependence, supported by a structural KL decomposition. A conditional audit protocol is also proposed, using finite-sample proxies applied to a case-study model and reference baselines.

Novelty

This study is the first to reveal that marginal matching cannot ensure the independence of style representation from class information, proposing a novel auditing framework to identify conditional style leakage in generative models.

Limitations

  • Despite proposing four mitigation strategies, within-class dependence remains unresolved, indicating the need for further research.
  • The generation performance on CIFAR-10 is less effective than on MNIST, showing limited adaptability across datasets.

Future Work

Future research could explore more effective mitigation strategies to completely eliminate within-class dependence and validate these methods on more complex datasets.

AI Executive Summary

Factorized generative models often regularize a latent style variable by matching its marginal distribution to a fixed Gaussian prior, assuming this ensures independence from class information. However, this paper reveals the flaw in such interpretation. Matching only the marginal distribution places no constraint on class-conditional distributions, allowing the latent style to remain highly predictive of the label despite appearing perfectly Gaussian in aggregate.

The authors derive an exact decomposition showing that this mismatch is one of four conditions required for factorized sampling, demonstrating that eliminating it is necessary but not sufficient to achieve the intended factorization. Empirically, the case-study model and four representative latent baselines achieve near-zero global MMD while still allowing a linear probe to recover class labels with 74% to 100% accuracy.

The study also shows that this leakage persists under six independent perturbations involving model capacity, curriculum, prior geometry, and supervision across two datasets. Four mitigation strategies reduce probe accuracy to 21% to 46%, although they leave within-class dependence largely unchanged. A post-hoc conditional prior improves externally evaluated class generation to 0.97 on MNIST without retraining but reaches only 0.41 on CIFAR-10, while an empirical style bank achieves 0.88 on CIFAR-10.

Deep Analysis

Background

Factorized generative models have been widely used in fields like GANs and VAEs. Traditionally, these models assume style variables are independent of class information through marginal matching. However, the effectiveness of this approach has been debated, especially on complex datasets.

Core Problem

The core problem is that marginal matching cannot ensure the independence of style representation from class information. This leads to potential leakage of class information in generated models, affecting their generalization and application.

Innovation

The innovation lies in proposing a new auditing framework to identify conditional style leakage in factorized generative models. Through precise decomposition, the authors reveal the limitations of marginal matching and propose four mitigation strategies.

Methodology

  • �� Propose an auditing framework separating marginal prior fit, conditional leakage, etc. • Use finite-sample proxies for conditional auditing. • Apply F-CS-WAE for case study to validate the framework's effectiveness.

Experiments

Experiments are conducted on MNIST and CIFAR-10 datasets, using linear probes to evaluate class information leakage. Various perturbations test model robustness, and four mitigation strategies are compared.

Results

Results show that despite near-zero global MMD, a linear probe can still recover class labels with high accuracy. Mitigation strategies effectively reduce probe accuracy but fail to eliminate within-class dependence.

Applications

Applications include image generation and style transfer, particularly where ensuring generated samples do not carry class information is crucial.

Limitations & Outlook

Despite multiple mitigation strategies, within-class dependence remains unresolved, indicating the need for further research and method improvement.

Plain Language Accessible to non-experts

Imagine a factory producing balls of different colors. The factory has two machines, one for color and one for shape. You want the color machine to work independently of the shape machine. Traditional methods just check the overall color distribution, which seems independent. But in reality, the color machine might secretly adjust colors based on the shape machine's settings. This paper proposes a new method to detect such secret adjustments, ensuring true independence of the color machine.

ELI14 Explained like you're 14

Imagine playing a game where a machine generates monsters of different colors and shapes. You want the machine to generate monsters with random colors and shapes, unaffected by each other. But sometimes, the machine secretly adjusts colors based on shapes. This paper is like a detective, finding out how the machine secretly adjusts and proposing ways to fix it. Isn't that cool?

Glossary

Factorized Generative Model

A generative model that generates data by decomposing latent variables.

Used for generating images, ensuring independence of different features.

Marginal Matching

The process of matching the marginal distribution of latent variables to a prior distribution.

Assumed to ensure style variables are independent of class information.

Conditional Style Leakage

A phenomenon where style variables leak class information.

Identified and mitigated in factorized generative models.

Global MMD

A statistical measure of distribution differences.

Used to evaluate the effectiveness of marginal matching of latent variables.

Linear Probe

A simple classifier used to evaluate class information in latent variables.

Used to detect whether style variables contain class information.

Open Questions Unanswered questions from this research

  • 1 How to completely eliminate within-class dependence? Current methods fail to address this issue, requiring further research.
  • 2 How to validate the effectiveness of methods on more complex datasets?
  • 3 How to improve model robustness without increasing computational costs?

Applications

Immediate Applications

Image Generation

Ensures generated images do not carry class information, suitable for privacy protection.

Long-term Vision

Style Transfer

Achieves more precise style transfer, ensuring independence of style and content.

Abstract

Factorized generative models commonly regularize a latent style variable z_s by matching its marginal distribution to a fixed Gaussian prior and interpret this as evidence that the style representation is independent of class information. We show that this interpretation is incorrect. Matching only the marginal distribution places no constraint on the class-conditional distributions, allowing the latent style to remain highly predictive of the label despite appearing perfectly Gaussian in aggregate. We derive an exact decomposition showing that this mismatch is one of four conditions required for factorized sampling, and demonstrate that eliminating it is necessary but not sufficient to obtain the intended factorization. Empirically, our case-study model and four representative latent baselines achieve near-zero global MMD while still allowing a linear probe to recover class labels with 74%--100% accuracy (10% chance level). Our model reaches 99.15% clustering accuracy, whereas externally evaluated class-conditional generation succeeds only 16% of the time. This leakage remains under six independent perturbations involving model capacity, curriculum, prior geometry, and supervision across two datasets. Four mitigation strategies reduce probe accuracy to 21%--46%, although they leave within-class dependence largely unchanged. A post-hoc conditional prior improves externally evaluated class generation to 0.97 on MNIST without retraining but reaches only 0.41 on CIFAR-10, while an empirical style bank achieves 0.88 on CIFAR-10. These results demonstrate that no divergence computed solely on the marginal distribution of the style latent can certify independence from class labels, and that reporting marginal statistics alone does not verify the property commonly claimed in factorized generative models.

cs.LG cs.AI stat.ML