SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2311.12085 · 2023

Pyramid Diffusion for Fine 3D Large Scene Generation

arXiv · PDF · Open in the Atlas

Code that ran

11 of 12 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; 3 honoured the contract we drafted, 1 violated it and 0 have no contract verdict; 7 failures of our instrument; 1 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/2311.12085.json · badge: /api/ran/2311.12085.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
Yuheng-SWJTU/pyramid-discrete-diffusion canonical (classifier label)
classifier basis: census
6 ran · 1 no recorded run
yuhengliu02/pyramid-discrete-diffusion canonical (classifier label)
classifier basis: classifier_2025
5 ran · 0 no recorded run
FunctionStatusWhere it lives
conv1x1x3 Ran
ran; our contract draft was wrong, not the code
yuhengliu02/pyramid-discrete-diffusion/models/latent_diffusion/stage1/model.py
code served (permissive licence) · get_code("aa5dea4c4ceff835")
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 Conv3d. 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)

ARGS = {
    "in_planes": 3,
    "out_planes": 64,
    "stride": 1
}
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 Conv3d — a Conv3d output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Conv3d 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
conv1x3x3 Ran
ran; our contract draft was wrong, not the code
yuhengliu02/pyramid-discrete-diffusion/models/latent_diffusion/stage1/model.py
code served (permissive licence) · get_code("24b25a56dd831967")
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 Conv3d. 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)

ARGS = {
    'in_planes': 3,
    'out_planes': 64,
    'stride': 1
}
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 Conv3d — a Conv3d output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Conv3d 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
conv3x3x3 Ran
ran; our contract draft was wrong, not the code
yuhengliu02/pyramid-discrete-diffusion/models/latent_diffusion/stage1/model.py
code served (permissive licence) · get_code("2af7056eabf32cae")
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 Conv3d. 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)

ARGS = {
    "in_planes": 3,
    "out_planes": 64,
    "stride": 1
}
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 Conv3d — a Conv3d output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Conv3d 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
dice_coef Ran
ran; our contract draft was wrong, not the code
Yuheng-SWJTU/pyramid-discrete-diffusion/utils/loss.py
code served (permissive licence) · get_code("7f089607644b1aa8")
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

torch.manual_seed(0)

# Create small binary tensors for dice coefficient computation
# y_true: ground truth binary mask
y_true = torch.tensor([[1.0, 0.0, 1.0, 0.0],
                       [1.0, 1.0, 0.0, 1.0]])

# y_pred: predicted probabilities/binary values
y_pred = torch.tensor([[0.9, 0.1, 0.8, 0.2],
                       [0.85, 0.95, 0.1, 0.88]])

# smooth: smoothing constant to avoid division by zero
smooth = 1e-06

ARGS = {
    'y_true': y_true,
    'y_pred': y_pred,
    'smooth': smooth
}
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
load_config Ran
ran; our contract draft was wrong, not the code
Yuheng-SWJTU/pyramid-discrete-diffusion/launch.py
pointer only (licence: MIT); the stored copy get_code serves, from thu-nics/FlashEval, is pointer only (licence: NONE) · get_code("e73d70bf254d0833")
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 thu-nics/FlashEval, 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.

log_1_min_a Ran
ran, honoured the contract we drafted
Yuheng-SWJTU/pyramid-discrete-diffusion/models/conditional_diffusion/con_diffusion.py
pointer only (licence: MIT); the stored copy get_code serves, from MuhangTian/TimeDiff, is pointer only (licence: NONE) · get_code("479771b269fc5883")
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 MuhangTian/TimeDiff, 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.

log_add_exp Ran
ran, honoured the contract we drafted
Yuheng-SWJTU/pyramid-discrete-diffusion/models/conditional_diffusion/con_diffusion.py
pointer only (licence: MIT); the stored copy get_code serves, from MuhangTian/TimeDiff, is pointer only (licence: NONE) · get_code("032c0dece6594020")
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 MuhangTian/TimeDiff, 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.

lovasz_grad Ran
ran, violated the contract we drafted
Yuheng-SWJTU/pyramid-discrete-diffusion/utils/loss.py
code served (permissive licence) · get_code("e85b5d21dc5b8382")
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 1, dtype family float, shape (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)

# gt_sorted should be a 1D tensor of binary/boolean values
# representing ground truth sorted by some error metric
# The function expects a tensor with sum(), float(), cumsum() methods
gt_sorted = torch.tensor([0, 0, 1, 1], dtype=torch.long)

ARGS = {
    "gt_sorted": gt_sorted
}
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 1, dtype family float, shape (4,) — shape (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
set_data_size Ran
ran, honoured the contract we drafted
yuhengliu02/pyramid-discrete-diffusion/utils/args_process.py
code served (permissive licence) · get_code("8cc6918352c6ceee")
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 tuple, ndim 1, dtype family int; 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
import torch.nn as nn

torch.manual_seed(0)

# Analyze the function:
# - set_data_size takes two parameters: stage (str) and stage_name (str)
# - stage is used as a key in stage_paths dict lookup
# - stage_name is used in an error message if stage is invalid
# - The function returns data_size which is either None or a tuple

ARGS = {
    'stage': 's_1',
    'stage_name': 'data_stage'
}
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 tuple, ndim 1, dtype family int — 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
set_log_path Ran
ran; our contract draft was wrong, not the code
yuhengliu02/pyramid-discrete-diffusion/utils/args_process.py
code served (permissive licence) · get_code("909c66ad4e395ad7")
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 str. 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 os

ARGS = {
    'mode': 'train',
    'exp_name': 'experiment_001'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str 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
sum_except_batch Ran
ran; our contract draft was wrong, not the code
Yuheng-SWJTU/pyramid-discrete-diffusion/models/conditional_diffusion/con_diffusion.py
pointer only (licence: MIT); the stored copy get_code serves, from MuhangTian/TimeDiff, is pointer only (licence: NONE) · get_code("5eb945b1f970f6af")
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 MuhangTian/TimeDiff, 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.

dice_coef_multilabel Not yet run
unverified (harvested, no recorded run)
Yuheng-SWJTU/pyramid-discrete-diffusion/utils/loss.py
code served (permissive licence) · get_code("3430f8725f3e6bd1")
How it ran

no invocation recorded.

Also present in other papers' code

Of 12 samples lifted from this paper's linked repositories, 12 carry a function identity and 0 do not. Of the 12 distinct functions with an identity, 10 are also present in other papers whose code we hold (10 with at least one paper dated earlier, 3 the same month, 6 later) and 2 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
lovasz_grad 40 other papers
22 dated earlier, 1 the same month, 17 later · 1 only as an assembly brick
1505.04597 (2015-05)
U-Net: Convolutional Networks for Biomedical Image Segmentation
1807.10165 (2018-07)
UNet++: A Nested U-Net Architecture for Medical Image Segmentation
1811.11721 (2018-11)
CCNet: Criss-Cross Attention for Semantic Segmentation
and 37 more not named here
conv3x3x3 19 other papers
17 dated earlier, 1 the same month, 1 later
1711.08580 (2017-11)
3D Anisotropic Hybrid Network: Transferring Convolutional Features from 2D Images to 3D Anisotropic Volumes
1711.09577 (2017-11)
Can Spatiotemporal 3D CNNs Retrace the History of 2D CNNs and ImageNet?
1908.01373 (2019-08)
Unsupervised Microvascular Image Segmentation Using an Active Contours Mimicking Neural Network
and 16 more not named here
log_add_exp 14 other papers
10 dated earlier, 4 later · 3 only as an assembly brick
2102.05379 (2021-02)
Argmax Flows and Multinomial Diffusion: Learning Categorical Distributions
2205.16007 (2022-05)
Improved Vector Quantized Diffusion Models
and 11 more not named here
log_1_min_a 13 other papers
10 dated earlier, 3 later · 3 only as an assembly brick
2102.05379 (2021-02)
Argmax Flows and Multinomial Diffusion: Learning Categorical Distributions
2205.16007 (2022-05)
Improved Vector Quantized Diffusion Models
and 10 more not named here
sum_except_batch 9 other papers
7 dated earlier, 2 later · 2 only as an assembly brick
2102.05379 (2021-02)
Argmax Flows and Multinomial Diffusion: Learning Categorical Distributions
2205.16007 (2022-05)
Improved Vector Quantized Diffusion Models
and 6 more not named here
load_config 3 other papers
1 dated earlier, 1 the same month, 1 later
1911.02549 (2019-11)
MLPerf Inference Benchmark
2311.17034 (2023-11)
Telling Left from Right: Identifying Geometry-Aware Semantic Correspondence
2403.16379 (2024-03)
FlashEval: Towards Fast and Accurate Evaluation of Text-to-image Diffusion Generative Models
conv1x1x3 1 other paper
1 dated earlier
2301.00527 (2023-01)
Diffusion Probabilistic Models for Scene-Scale 3D Categorical Data
conv1x3x3 1 other paper
1 dated earlier
2301.00527 (2023-01)
Diffusion Probabilistic Models for Scene-Scale 3D Categorical Data
dice_coef 1 other paper
1 dated earlier
2301.00527 (2023-01)
Diffusion Probabilistic Models for Scene-Scale 3D Categorical Data
dice_coef_multilabel 1 other paper
1 dated earlier
2301.00527 (2023-01)
Diffusion Probabilistic Models for Scene-Scale 3D Categorical Data

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

Diffusion models have shown remarkable results in generating 2D images and small-scale 3D objects. However, their application to the synthesis of large-scale 3D scenes has been rarely explored. This is mainly due to the inherent complexity and bulky size of 3D scenery data, particularly outdoor scenes, and the limited availability of comprehensive real-world datasets, which makes training a stable scene diffusion model challenging. In this work, we explore how to effectively generate large-scale 3D scenes using the coarse-to-fine paradigm. We introduce a framework, the Pyramid Discrete Diffusion model (PDD), which employs scale-varied diffusion models to progressively generate high-quality outdoor scenes. Experimental results of PDD demonstrate our successful exploration in generating 3D scenes both unconditionally and conditionally. We further showcase the data compatibility of the PDD model, due to its multi-scale architecture: a PDD model trained on one dataset can be easily fine-tuned with another dataset. Code is available at https://github.com/yuhengliu02/pyramid-discrete-diffusion.

For agents

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

get_harvested_code_for_paper("2311.12085")
get_code_for_paper("2311.12085")
have("2311.12085")

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

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

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

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

Connect an agent — have() is free.