SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2206.07275 · NeurIPS · 2022

CARD: Classification and Regression Diffusion Models

Mingyuan Zhou, Huangjie Zheng, Xizewen Han

arXiv · PDF · Open in the Atlas

Code that ran

6 of 8 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (3 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 4 have no contract verdict; 2 failures of our instrument; 2 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2206.07275.json · badge: /api/ran/2206.07275.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
xzwhan/card canonical (classifier label)
classifier basis: classifier_2025
6 ran · 2 no recorded run
FunctionStatusWhere it lives
BasicBlock Ran
ran on a synthesized input · constructed an object; no result was computed
xzwhan/card/classification/card_classification.py
pointer only (licence: NONE) · get_code("1728c5ff8686fcc7")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, xzwhan/card when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

Bottleneck Ran
ran on a synthesized input
xzwhan/card/classification/card_classification.py
pointer only (licence: NONE) · get_code("60e91110015fe574")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, xzwhan/card when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

EMA Ran
ran on a synthesized input · constructed an object; no result was computed
xzwhan/card/classification/card_classification.py
pointer only (licence: NONE) · get_code("7e9991ec1729a6b2")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, xzwhan/card when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

ResNet Ran
ran on a synthesized input · constructed an object; no result was computed
xzwhan/card/classification/card_classification.py
pointer only (licence: NONE) · get_code("6f5caceff13503c8")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, xzwhan/card when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

ResNet18 Ran
ran; our contract draft was wrong, not the code
xzwhan/card/classification/card_classification.py
pointer only (licence: NONE) · get_code("00f0eefbf9f3be08")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, xzwhan/card when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

build_ResNet Ran
ran; our contract draft was wrong, not the code
xzwhan/card/classification/card_classification.py
pointer only (licence: NONE) · get_code("52fefeb1560fe091")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, xzwhan/card when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

Diffusion Not yet run
unverified (harvested, no recorded run)
xzwhan/card/classification/card_classification.py
pointer only (licence: NONE) · get_code("49e539a2dd5a5efd")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, xzwhan/card when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

ResNetEmbedding Not yet run
unverified (harvested, no recorded run)
xzwhan/card/classification/card_classification.py
pointer only (licence: NONE) · get_code("b10296d79d33373a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, xzwhan/card when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 8 samples lifted from this paper's linked repositories, 8 carry a function identity and 0 do not. Of the 8 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 8 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Learning the distribution of a continuous or categorical response variable y given its covariates x is a fundamental problem in statistics and machine learning. Deep neural network-based supervised learning algorithms have made great progress in predicting the mean of y given x, but they are often criticized for their ability to accurately capture the uncertainty of their predictions. In this paper, we introduce classification and regression diffusion (CARD) models, which combine a denoising diffusion-based conditional generative model and a pre-trained conditional mean estimator, to accurately predict the distribution of y given x. We demonstrate the outstanding ability of CARD in conditional distribution prediction with both toy examples and real-world datasets, the experimental results on which show that CARD in general outperforms state-of-the-art methods, including Bayesian neural network-based ones that are designed for uncertainty estimation, especially when the conditional distribution of y given x is multi-modal. In addition, we utilize the stochastic nature of the generative model outputs to obtain a finer granularity in model confidence assessment at the instance level for classification tasks. Our implementation is publicly available at https://github.com/XzwHan/CARD.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2206.07275")
get_code_for_paper("2206.07275")
have("2206.07275")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2206.07275.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2206.07275.svg)](https://syntology.ai/paper/2206.07275)

Connect an agent — have() is free.