SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2106.06819 · 2021

D2C: Diffusion-Denoising Models for Few-shot Conditional Generation

arXiv · PDF · Open in the Atlas

Code that ran

18 of 20 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 0 violated it and 4 have no contract verdict; 13 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/2106.06819.json · badge: /api/ran/2106.06819.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
jiamings/d2c community (classifier label)
classifier basis not recorded on the link
15 ran · 2 no recorded run
jiamings/d2c_pre_release reimplementation (classifier label)
classifier basis: classifier_2025
2 ran · 0 no recorded run
copy not recorded community
not in the paper's declared repositories
1 ran · 0 no recorded run
FunctionStatusWhere it lives
Normalize Ran
ran; our contract draft was wrong, not the code
jiamings/d2c/d2c/diffusion/models/diffusion.py
pointer only (licence: MIT); the stored copy get_code serves, from Xingyu-Zheng/BiDM, is pointer only (licence: NONE) · get_code("c3a6b977022957cb")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from Xingyu-Zheng/BiDM, and GitHub detected no licence in that repository 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.

channel_mask Ran
ran on a synthesized input
jiamings/d2c/d2c/autoencoder/neural_ar_operations.py
code served (permissive licence) · get_code("f68e8891796e9ba0")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ndarray, ndim 2, dtype family float, shape (8, 4) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

ARGS = {
    'c_in': 4,
    'g_in': 1,
    'c_out': 8,
    'zero_diag': False,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 2, dtype family float, shape (8, 4) — shape (8, 4) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
compute_alpha Ran
ran; our contract draft was wrong, not the code
this paper's copy was not recorded; identical code first harvested from g4vrel/DDPM
pointer only · get_code("9215fb189fbfb9f4")
How it ran

The body of this sample is withheld: this paper's copy of the code was not recorded (its link names no repository or source path), so no licence was read for it. 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.

create_conv_mask Ran
ran on a synthesized input
jiamings/d2c/d2c/autoencoder/neural_ar_operations.py
code served (permissive licence) · get_code("d95da35d40ec2186")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ndarray, ndim 4, dtype family float, shape (32, 16, 5, 5) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

ARGS = {
    'kernel_size': 5,
    'c_in': 16,
    'g_in': 1,
    'c_out': 32,
    'zero_diag': False,
    'mirror': False
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 4, dtype family float, shape (32, 16, 5, 5) — shape (32, 16, 5, 5) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
encoding_steps Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
jiamings/d2c_pre_release/d2c/diffusion/functions/denoising.py
pointer only (licence: NONE) · get_code("ad14f44fec3d2524")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, jiamings/d2c_pre_release 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.

fusion1 Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
jiamings/d2c/d2c/autoencoder/thirdparty/adamax.py
code served (permissive licence) · get_code("3b0641f4cd06c379")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Tensor, ndim 2, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

# Create small tensors for the fusion1 function
# exp_avg: exponential moving average tensor
exp_avg = torch.randn(2, 4)

# grad: gradient tensor (same shape as exp_avg)
grad = torch.randn(2, 4)

# beta1: momentum coefficient (typically around 0.9)
beta1 = 0.9

ARGS = {
    "exp_avg": exp_avg,
    "grad": grad,
    "beta1": beta1,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 2, dtype family float — no output shape is stated: observe_signature.py could not observe it (import:OSError)
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
generalized_steps Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
jiamings/d2c_pre_release/d2c/diffusion/functions/denoising.py
pointer only (licence: NONE) · get_code("72677ee06e0271d7")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, jiamings/d2c_pre_release 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.

get_skip_connection Ran
ran; our contract draft was wrong, not the code
jiamings/d2c/d2c/autoencoder/neural_operations.py
code served (permissive licence) · get_code("76eacbd7f60e8ade")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Identity. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

# Define a stub for SwishFN since it's used in the act() function
class SwishFN(torch.autograd.Function):
    @staticmethod
    def forward(ctx, x):
        ctx.save_for_backward(x)
        return x * torch.sigmoid(x)
    
    @staticmethod
    def backward(ctx, grad_output):
        x, = ctx.saved_tensors
        sigmoid_x = torch.sigmoid(x)
        return grad_output * (sigmoid_x + x * sigmoid_x * (1 - sigmoid_x))

# Stub for average_tensor (used in Conv2D.forward but not critical for setup)
def average_tensor(tensor, is_distributed=False):
    pass

# Now define the models and arguments
ARGS = {
    "C": 16,
    "stride": 1,
    "affine": True,
    "channel_mult": 2
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Identity — a Identity output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Identity output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_stride_for_cell_type Ran
ran, honoured the contract we drafted
jiamings/d2c/d2c/autoencoder/utils.py
pointer only (licence: MIT); the stored copy get_code serves, from NVlabs/NVAE, is pointer only (licence: NOASSERTION) · get_code("417c413f2e89d954")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from NVlabs/NVAE, and GitHub could not classify the licence of that repository (NOASSERTION). 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.

get_timestep_embedding Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
jiamings/d2c/d2c/diffusion/models/diffusion.py
code served (permissive licence) · get_code("cb49209c125de1b4")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1) and returned Tensor, ndim 2, dtype family float, shape (2, 4) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import math

torch.manual_seed(0)

# The function takes two parameters:
# 1. timesteps: a 1D tensor of timestep indices
# 2. embedding_dim: an integer specifying the embedding dimension

# Create a small 1D tensor of timesteps (batch size 2)
timesteps = torch.tensor([0, 5], dtype=torch.int64)

# Create an embedding dimension (use 4 as specified)
embedding_dim = 4

ARGS = {
    "timesteps": timesteps,
    "embedding_dim": embedding_dim,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 2, dtype family float, shape (2, 4) — shape (2, 4) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
logit Ran
ran; our contract draft was wrong, not the code
jiamings/d2c/d2c/autoencoder/neural_operations.py
pointer only (licence: MIT); the stored copy get_code serves, from koa-fin/dva, is pointer only (licence: AGPL-3.0) · get_code("d42ce56b29f68801")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from koa-fin/dva, and AGPL-3.0, as GitHub detects it on that repository, is not in the permissive set Syntology serves inline. 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.

noise_estimation_loss Ran
ran; our contract draft was wrong, not the code
jiamings/d2c/d2c/diffusion/functions/losses.py
code served (permissive licence) · get_code("36a45cceb1209d2f")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Tensor, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

# Define a simple model that takes (x, t) and outputs noise prediction
class NoisePredictor(nn.Module):
    def __init__(self):
        super().__init__()
        self.linear = nn.Linear(4, 4)
    
    def forward(self, x, t):
        # x shape: (batch, channels, height, width) = (2, 1, 1, 4)
        # t shape: (batch,) converted to float
        # output should match x shape
        batch_size = x.shape[0]
        x_flat = x.view(batch_size, -1)
        # t is (batch,), expand it to match
        t_expanded = t.unsqueeze(1)  # (batch, 1)
        combined = x_flat + t_expanded  # simple combination
        output = self.linear(combined)
        return output.view(batch_size, 1, 1, 4)

model = NoisePredictor()

# x0: original clean image, shape (batch=2, channels=1, height=1, width=4)
x0 = torch.randn(2, 1, 1, 4)

# t: timesteps, shape (batch=2,)
t = torch.LongTensor([0, 5])

# e: noise, same shape as x0
e = torch.randn(2, 1, 1, 4)

# b: betas (noise schedule), shape (num_timesteps,) - needs at least 6 elements for index 5
b = torch.linspace(0.0001, 0.02, 10)

ARGS = {
    "model": model,
    "x0": x0,
    "t": t,
    "e": e,
    "b": b,
    "keepdim": False,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 0, dtype family float, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
nonlinearity Ran
ran; our contract draft was wrong, not the code
jiamings/d2c/d2c/diffusion/models/diffusion.py
code served (permissive licence) · get_code("3137073275f8c21a")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1) and returned Tensor, ndim 2, dtype family float, shape (2, 4) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

# The function takes a single parameter 'x' which is used with:
# - multiplication operator (*)
# - torch.sigmoid() function
# This means x should be a tensor

x = torch.randn(2, 4)

ARGS = {
    "x": x
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 2, dtype family float, shape (2, 4) — shape (2, 4) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
norm Ran
ran; our contract draft was wrong, not the code
jiamings/d2c/d2c/autoencoder/neural_ar_operations.py
pointer only (licence: MIT); the stored copy get_code serves, from NVlabs/VAEBM, is pointer only (licence: NOASSERTION) · get_code("e68ef3509ca0d2e9")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from NVlabs/VAEBM, and GitHub could not classify the licence of that repository (NOASSERTION). 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.

num_samples Ran
ran on a synthesized input
jiamings/d2c/d2c/autoencoder/lmdb_datasets_modified.py
code served (permissive licence) · get_code("2b4f2e46e841de50")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned int, ndim 0, dtype family int, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

ARGS = {
    'dataset': 'celeba',
    'train': True
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type int, ndim 0, dtype family int, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
reduce_tensor Ran
ran; our contract draft was wrong, not the code
jiamings/d2c/d2c/autoencoder/utils.py
code served (permissive licence) · get_code("be5abd3083ea4db8")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Tensor, ndim 2, dtype family float, shape (2, 4) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.distributed as dist
from unittest.mock import MagicMock, patch

torch.manual_seed(0)

# Mock dist.all_reduce to avoid actual distributed setup
original_all_reduce = dist.all_reduce

def mock_all_reduce(tensor, op=None):
    # Simulate reduction by summing across mock processes
    # For testing purposes, just return without error
    pass

# Patch the distributed module
dist.all_reduce = mock_all_reduce
dist.ReduceOp.SUM = MagicMock()

# Create a small tensor (batch=2, dim=4)
tensor = torch.randn(2, 4)

# Set world_size to a reasonable distributed training value
world_size = 4

ARGS = {
    "tensor": tensor,
    "world_size": world_size,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 2, dtype family float, shape (2, 4) — shape (2, 4) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
sample_normal_jit Ran
ran on a synthesized input
jiamings/d2c/d2c/autoencoder/distributions.py
code served (permissive licence) · get_code("47e78aab5991761b")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple, ndim 3, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

# sample_normal_jit takes two parameters: mu and sigma
# Both are used as tensors with methods like .mul(), .normal_(), .mul_(), .add_()
# They should be floating point tensors

mu = torch.randn(2, 4)
sigma = torch.randn(2, 4)

ARGS = {
    "mu": mu,
    "sigma": sigma,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 3, dtype family float — a tuple output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
soft_clamp5 Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
jiamings/d2c/d2c/autoencoder/distributions.py
pointer only (licence: MIT); the stored copy get_code serves, from trustedllm/regavae, is pointer only (licence: NONE) · get_code("cd334034d398bfaa")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from trustedllm/regavae, and GitHub detected no licence in that repository 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.

concat_all_gather Not yet run
unverified (harvested, no recorded run)
jiamings/d2c/d2c/autoencoder/moco/builder.py
code served (permissive licence) · get_code("73cecca9f3575f09")
How it ran

no invocation recorded.

count_parameters_in_M Not yet run
unverified (harvested, no recorded run)
jiamings/d2c/d2c/autoencoder/utils.py
code served (permissive licence) · get_code("44baea4dbacc4a54")
How it ran

no invocation recorded.

Also present in other papers' code

Of 20 samples lifted from this paper's linked repositories, 20 carry a function identity and 0 do not. Of the 20 distinct functions with an identity, 13 are also present in other papers whose code we hold (8 with at least one paper dated earlier, 4 the same month, 12 later) and 7 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.

FunctionAlso present inEarliest-datedOthers named
nonlinearity 156 other papers
1 dated earlier, 1 the same month, 154 later · 25 only as an assembly brick
2104.07652 (2021-04)
Geometry-Free View Synthesis: Transformers and no 3D Priors
2106.00132 (2021-06)
On Fast Sampling of Diffusion Probabilistic Models
2107.11298 (2021-07)
SurfaceNet: Adversarial SVBRDF Estimation from a Single Image
and 153 more not named here
concat_all_gather 138 other papers
20 dated earlier, 2 the same month, 114 later, 2 same year, order not determinable · 33 only as an assembly brick
1710.09412 (2017-10)
mixup: BEYOND EMPIRICAL RISK MINIMIZATION
1905.04899 (2019-05)
CutMix: Regularization Strategy to Train Strong Classifiers with Localizable Features
1905.12794 (2019-05)
Fashion IQ: A New Dataset Towards Retrieving Images by Natural Language Feedback
and 135 more not named here
get_timestep_embedding 91 other papers
1 dated earlier, 1 the same month, 89 later · 7 only as an assembly brick
2104.07652 (2021-04)
Geometry-Free View Synthesis: Transformers and no 3D Priors
2106.00132 (2021-06)
On Fast Sampling of Diffusion Probabilistic Models
2110.07579 (2021-10)
Diffusion Normalizing Flow
and 88 more not named here
Normalize 90 other papers
1 dated earlier, 1 the same month, 88 later · 32 only as an assembly brick
2104.07652 (2021-04)
Geometry-Free View Synthesis: Transformers and no 3D Priors
2106.00132 (2021-06)
On Fast Sampling of Diffusion Probabilistic Models
2107.11298 (2021-07)
SurfaceNet: Adversarial SVBRDF Estimation from a Single Image
and 87 more not named here
compute_alpha 23 other papers
2 dated earlier, 21 later · 6 only as an assembly brick
2010.02502 (2020-10)
Denoising Diffusion Implicit Models
2102.09672 (2021-02)
Improved Denoising Diffusion Probabilistic Models
2206.02262 (2022-06)
Diffusion-GAN: Training GANs with Diffusion
and 20 more not named here
noise_estimation_loss 14 other papers
14 later
2206.02262 (2022-06)
Diffusion-GAN: Training GANs with Diffusion
2211.14680 (2022-11)
A Physics-informed Diffusion Model for High-fidelity Flow Field Reconstruction
2301.07969 (2023-01)
Fast Inference in Denoising Diffusion Models via MMD Finetuning
and 11 more not named here
soft_clamp5 3 other papers
3 later
2207.06130 (2022-07)
Fuse It More Deeply! A Variational Transformer with Layer-Wise Latent Variable Inference for Text Generation
2023.findings-emnlp.313 (2023 (year only))
Dior-CVAE: Pre-trained Language Models and Diffusion Priors for Variational Dialog Generation
2310.10567 (2023-10)
RegaVAE: A Retrieval-Augmented Gaussian Mixture Variational Auto-Encoder for Language Modeling
get_stride_for_cell_type 2 other papers
1 dated earlier, 1 later
2007.03898 (2020-07)
NVAE: A Deep Hierarchical Variational Autoencoder
2309.00073 (2023-09)
Diffusion Variational Autoencoder for Tackling Stochasticity in Multi-Step Regression Stock Price Prediction
norm 2 other papers
1 dated earlier, 1 later
2010.00654 (2020-10)
VAEBM: A Symbiosis between Variational Autoencoders and Energy-based Models
2309.00073 (2023-09)
Diffusion Variational Autoencoder for Tackling Stochasticity in Multi-Step Regression Stock Price Prediction
reduce_tensor 2 other papers
2 later
2308.04583 (2023-08)
LATR: 3D Lane Detection from Monocular Images with Transformer
2310.15171 (2023-10)
RoboDepth: Robust Out-of-Distribution Depth Estimation under Corruptions
fusion1 1 other paper
1 later
2405.14473 (2024-05)
Poisson Variational Autoencoder
get_skip_connection 1 other paper
1 dated earlier
2007.03898 (2020-07)
NVAE: A Deep Hierarchical Variational Autoencoder
logit 1 other paper
1 later
2309.00073 (2023-09)
Diffusion Variational Autoencoder for Tackling Stochasticity in Multi-Step Regression Stock Price Prediction

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

Conditional generative models of high-dimensional images have many applications, but supervision signals from conditions to images can be expensive to acquire. This paper describes Diffusion-Decoding models with Contrastive representations (D2C), a paradigm for training unconditional variational autoencoders (VAEs) for few-shot conditional image generation. D2C uses a learned diffusion-based prior over the latent representations to improve generation and contrastive self-supervised learning to improve representation quality. D2C can adapt to novel generation tasks conditioned on labels or manipulation constraints, by learning from as few as 100 labeled examples. On conditional generation from new labels, D2C achieves superior performance over state-of-the-art VAEs and diffusion models. On conditional image manipulation, D2C generations are two orders of magnitude faster to produce over StyleGAN2 ones and are preferred by 50% - 60% of the human evaluators in a double-blind study.

For agents

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

get_harvested_code_for_paper("2106.06819")
get_code_for_paper("2106.06819")
have("2106.06819")

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

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

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

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

Connect an agent — have() is free.