Classification as a Generative Denoising Process

This direction is no longer present in the current build. Its last version stays readable and citable here.

Version 1 of 113 papers20 conceptsfrozen 2026-10-04

In traditional machine learning, classification is treated as a "one-shot" discriminative task. We feed an input through a neural network, and a final softmax layer produces a probability distribution over classes. This "abrupt" mapping, as described by Franck Dernoncourt and colleagues in Mastering Context-to-Label Representation Transformation for Event Causality Identification with Diffusion Models, forces the model to resolve all ambiguity and filter out all context noise in a single forward pass.

A new research direction reimagines classification not as a single decision, but as an iterative generative process. By repurposing diffusion models—the technology behind state-of-the-art image generators—researchers are treating labels as noisy signals that must be gradually "purified" into clean categorical predictions.

From Snap Judgments to Iterative Refinement

The core intuition behind this shift is that classification is fundamentally about denoising. Whether the "noise" comes from adversarial attacks, ambiguous context, or mislabeled training data, a single-pass model is often too brittle to recover the true signal.

In the diffusion framework, classification starts with a representation of pure noise (often Gaussian noise in a latent label space). The model then performs a series of reverse diffusion steps, conditioned on the input features (like an image or a sentence). At each step, the model slightly refines the noisy label vector, moving it closer to a stable categorical prediction.

As Shilong Yuan demonstrates in ROIC-DM: Robust Text Inference and Classification via Diffusion Model, this iterative approach acts as a natural defense mechanism. By navigating the label space over multiple steps, the model can "ignore" adversarial perturbations that would typically derail a standard classifier.

Filtering Noise through Generative Priors

This generative framing is particularly powerful when the training data itself is corrupted. Traditional classifiers tend to overfit to "noisy labels"—incorrect tags in the dataset. However, diffusion models learn the underlying distribution of clean labels.

Jian Chen and Ruiyi Zhang show in Label-Retrieval-Augmented Diffusion Models for Learning from Noisy Labels that by modeling labels in a continuous latent space, the system can capture "multimodal" uncertainty. If a sample is ambiguous, the diffusion process can represent multiple plausible class assignments rather than being forced into a single, potentially wrong, point estimate.

This robustness extends to complex domains like medical imaging and visual question answering. In DiN: Diffusion Model for Robust Medical VQA with Semantic Noisy Labels, Erjian Guo uses a coarse-to-fine denoising process to filter out "semantic noise"—expert-level mislabeling that often plagues clinical datasets. Similarly, Jianwei Zhao applies this to pathology in MExD: An Expert-Infused Diffusion Model for Whole-Slide Image Classification, where the model must distinguish rare cancerous patches from a sea of healthy tissue "noise."

While standard diffusion models operate on continuous images, classification often happens on a discrete "simplex"—the mathematical space of probability distributions where all values sum to one.

Recent work has adapted diffusion to respect these constraints:

Why It Works: The Intuition of Stability

Why go through the computational expense of multiple steps for a simple classification? The answer lies in stability.

A single-pass network is a high-frequency mapping; small changes in input can lead to large jumps in output. A diffusion-based classifier is a low-pass filter. By decomposing the transformation into many small, conditional steps, the model effectively "averages out" irrelevant features and noise. It doesn't just predict a label; it searches for the most likely label that is consistent with both the input context and the learned structure of the label space.

Papers in this version

History & citationVersion 1 · 2026-10-04

No longer present in the current build · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_classification_as_a_generative_denoising_756f55ea,
  title = {Classification as a Generative Denoising Process},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/classification-as-a-generative-denoising-process/rdr_756f55eaaa8640c39233f166c62001d0},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-23},
}

This exact version (version 1, frozen text):

@misc{lacuna_classification_as_a_generative_denoising_756f55ea_v1,
  title = {Classification as a Generative Denoising Process},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/classification-as-a-generative-denoising-process/rdr_756f55eaaa8640c39233f166c62001d0/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-23},
}