SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2507.09391 · ICML · 2025

Geometric Generative Modeling with Noise-Conditioned Graph Networks

Peter Pao-Huang, Mitchell Black, Xiaojie Qiu

arXiv · PDF · Open in the Atlas

Code that ran

15 of 17 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; 7 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 8 failures of our instrument; 2 no recorded run), measured 2026-11-23; 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/2507.09391.json · badge: /api/ran/2507.09391.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
peterpaohuang/ncgn canonical (classifier label)
classifier basis: census
15 ran · 2 no recorded run
FunctionStatusWhere it lives
adaptive_schedule Ran
ran, honoured the contract we drafted
peterpaohuang/ncgn/adaptations/DiT_dmp/models.py
code served (permissive licence) · get_code("8eb75098e98de462")
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 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 math

def find_nearest_value(n):
    if n <= 160:
        return 64
    elif n <= 640:
        return 256
    else:
        return 1024

def adaptive_schedule(t, curvature=10):
    """
    Borrows from exponential schedule. Currently matching complexity of original DiT with patch_size=4

    We exponentially interpolate between patch_size=8 at highest noise to patch_size=1 at lowest noise
    The k_neighbors are determined based on patch_size to match complexity of DiT with patch_size=4

    patch_size = [1,2,4]
    k_neighbor = [4, 16, 64], determined by k_neighbor = 4096 / (32 / patch_size)^2
    runtime: O(p=4) -> O((32/4)^4 = 4096)
    """
    t = (1000 - t) / 1000
    start_clusters = 64
    end_clusters = 1024
    n_clusters = (end_clusters - start_clusters) * ((math.exp(curvature * t) - 1) / (math.exp(curvature) - 1)) + start_clusters
    rounded_n_clusters = find_nearest_value(n_clusters)
    patch_size = math.sqrt(1024 / rounded_n_clusters)
    k_neighbors = 4096 / (32 / patch_size) ** 2
    return (int(patch_size), int(k_neighbors))

ARGS = {
    "t": 500,
    "curvature": 10
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
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 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
diffusion_sampling Ran
ran; our contract draft was wrong, not the code
peterpaohuang/ncgn/src/diffusion.py
code served (permissive licence) · get_code("227c86d594a2200d")
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.nn as nn
from diffusers.utils.torch_utils import randn_tensor

torch.manual_seed(0)

class MockConfig:
    def __init__(self):
        self.prediction_type = 'epsilon'
        self.thresholding = False
        self.clip_sample = True
        self.clip_sample_range = 1.0

class MockDiffuser:
    def __init__(self):
        self.config = MockConfig()
        self.variance_type = 'fixed_small_log'
        self.one = torch.tensor(1.0)
        
        num_inference_steps = 50
        betas = torch.linspace(0.0001, 0.02, num_inference_steps)
        alphas = 1.0 - betas
        self.alphas_cumprod = torch.cumprod(alphas, dim=0)
    
    def _threshold_sample(self, sample):
        return sample
    
    def _get_variance(self, t, predicted_variance=None):
        if predicted_variance is not None:
            return predicted_variance
        return torch.tensor(0.1)

batch_size = 2
latent_dim = 4

diffuser = MockDiffuser()
model_output = torch.randn(batch_size, latent_dim)
sample = torch.randn(batch_size, latent_dim)
t = 10
prev_t = 9

ARGS = {
    'diffuser': diffuser,
    'model_output': model_output,
    't': t,
    'prev_t': prev_t,
    'sample': sample
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
diffusers, 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
exp_schedule Ran
ran, honoured the contract we drafted
peterpaohuang/ncgn/src/schedules.py
code served (permissive licence) · get_code("4075684eb17898c5")
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 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 math

def exp_schedule(t, k, N, curvature=10):
    """
    Calculate connectivity and coarse graining resolution based on exponetial curve 
    """
    start_clusters = math.sqrt(k * N)
    end_clusters = N
    n_clusters = (end_clusters - start_clusters) * ((math.exp(curvature * t) - 1) / (math.exp(curvature) - 1)) + start_clusters
    n_edges = k * N / n_clusters
    return (math.ceil(n_clusters), math.ceil(n_edges))


ARGS = {
    "t": 0.5,
    "k": 4,
    "N": 100,
    "curvature": 10
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
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 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
find_nearest_value Ran
ran, honoured the contract we drafted
peterpaohuang/ncgn/adaptations/DiT_dmp/models.py
code served (permissive licence) · get_code("da8e97bf2fffe752")
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
import numpy as np

torch.manual_seed(0)

ARGS = {
    "n": 100
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, 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
get_vector_edge_attr Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
peterpaohuang/ncgn/src/utils.py
code served (permissive licence) · get_code("4446b9c62fb7e289")
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, 1) 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 edge_index: (2, num_edges) tensor with node indices
# For 2 nodes, we can have edges like 0->1, 1->0
edge_index = torch.tensor([[0, 1], [1, 0]], dtype=torch.long).t().contiguous()

# Create pos: (num_nodes, feature_dim) tensor
# 2 nodes, 4-dimensional position vectors
pos = torch.randn(2, 4)

# Create pos_other: (num_nodes, feature_dim) tensor, optional
# Same shape as pos for this test
pos_other = torch.randn(2, 4)

ARGS = {
    "edge_index": edge_index,
    "pos": pos,
    "pos_other": pos_other,
}
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, 1) — shape (2, 1) 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
linear_schedule Ran
ran, honoured the contract we drafted
peterpaohuang/ncgn/src/schedules.py
code served (permissive licence) · get_code("9929f56bc45fb62a")
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 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 math

# linear_schedule takes three numeric parameters: t, k, N
# t: a value between 0 and 1 (interpolation parameter)
# k: a connectivity parameter (typically positive integer or float)
# N: a total size parameter (typically positive integer)

ARGS = {
    "t": 0.5,
    "k": 2,
    "N": 100,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
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 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
log_schedule Ran
ran, honoured the contract we drafted
peterpaohuang/ncgn/src/schedules.py
code served (permissive licence) · get_code("e358aab4036c234b")
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 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 math

def log_schedule(t, k, N, curvature=10):
    start_clusters = math.sqrt(k * N)
    end_clusters = N
    n_clusters = (end_clusters - start_clusters) / math.log(curvature + 1) * math.log(curvature * t + 1) + start_clusters
    n_edges = k * N / n_clusters
    return (math.ceil(n_clusters), math.ceil(n_edges))

ARGS = {
    "t": 0.5,
    "k": 4,
    "N": 100,
    "curvature": 10
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
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 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
modulate Ran
ran; our contract draft was wrong, not the code
peterpaohuang/ncgn/adaptations/DiT_dmp/models.py
code served (permissive licence) · get_code("03310bba324ae4fb")
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)

# Create small tensors for the modulate function
# x: input tensor with shape (batch_size, feature_dim)
x = torch.randn(2, 4)

# shift: tensor that will be unsqueezed to (batch_size, 1)
# so it should have shape (batch_size,)
shift = torch.randn(2)

# scale: tensor that will be unsqueezed to (batch_size, 1)
# so it should have shape (batch_size,)
scale = torch.randn(2)

ARGS = {
    "x": x,
    "shift": shift,
    "scale": scale,
}
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
pi_resize_patch_embed Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
peterpaohuang/ncgn/adaptations/DiT_dmp/flex_patch_embed.py
code served (permissive licence) · get_code("357e6911e23f67ca")
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 4, dtype family float, shape (4, 3, 4, 6) 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 numpy as np

torch.manual_seed(0)

# patch_embed: Tensor of shape [d, c, h, w] where d=out_channels, c=in_channels, h=patch_height, w=patch_width
# Using distinct sizes: d=4, c=3, h=8, w=8 (old patch size)
patch_embed = torch.randn(4, 3, 8, 8)

# new_patch_size: Tuple[int, int] for target [height, width]
# Using distinct sizes: 4, 6 (different from old 8, 8)
new_patch_size = (4, 6)

# interpolation: str, one of the valid modes for F.interpolate
interpolation = 'bicubic'

# antialias: bool
antialias = True

ARGS = {
    'patch_embed': patch_embed,
    'new_patch_size': new_patch_size,
    'interpolation': interpolation,
    'antialias': antialias,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
einops, functorch, numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 4, dtype family float, shape (4, 3, 4, 6) — shape (4, 3, 4, 6) 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
resize_abs_pos_embed Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
peterpaohuang/ncgn/adaptations/DiT_dmp/flex_patch_embed.py
code served (permissive licence) · get_code("1ebfb073ae708f1a")
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 3, dtype family float, shape (1, 10, 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.nn.functional as F
import math

torch.manual_seed(0)

# Create a valid position embedding tensor
# Shape: (batch_size, num_tokens, embed_dim)
# num_tokens includes prefix tokens + spatial tokens
# For a 4x4 spatial grid with 1 prefix token: 1 + 16 = 17 tokens
batch_size = 1
embed_dim = 4
old_spatial_h = 4
old_spatial_w = 4
num_prefix_tokens = 1
num_spatial_tokens = old_spatial_h * old_spatial_w
num_pos_tokens = num_prefix_tokens + num_spatial_tokens

posemb = torch.randn(batch_size, num_pos_tokens, embed_dim)

# New size for interpolation (different from old size)
new_size = [3, 3]

# Old size (if not provided, function will compute it)
old_size = [old_spatial_h, old_spatial_w]

ARGS = {
    'posemb': posemb,
    'new_size': new_size,
    'old_size': old_size,
    'num_prefix_tokens': num_prefix_tokens,
    'interpolation': 'bicubic',
    'antialias': True,
    'verbose': 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 3, dtype family float, shape (1, 10, 4) — shape (1, 10, 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_long_range_edges Ran
ran; our contract draft was wrong, not the code
peterpaohuang/ncgn/src/dataset.py
code served (permissive licence) · get_code("18bbbcfd21eb4d97")
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 int, shape (2, 15) 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 a small position tensor
# pos is used to get len(pos), so it just needs to be a sequence
# Using a tensor of shape (5, 3) to represent 5 positions in 3D space
pos = torch.randn(5, 3)

# The function uses:
# - len(pos) to get the number of nodes
# - k for multinomial sampling (number of samples per node)
# k must be less than len(pos) since replacement=False
k = 3

ARGS = {
    "pos": pos,
    "k": k,
}
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 int, shape (2, 15) — shape (2, 15) 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
sinusoidal_embedding Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
peterpaohuang/ncgn/src/utils.py
code served (permissive licence) · get_code("38ba6551ab74d92b")
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.nn.functional as F
import math

torch.manual_seed(0)

# Set up arguments for sinusoidal_embedding function
timesteps = torch.tensor([0, 1], dtype=torch.int64)
embedding_dim = 4
max_positions = 10000

ARGS = {
    "timesteps": timesteps,
    "embedding_dim": embedding_dim,
    "max_positions": max_positions,
}
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
to_2tuple Ran
ran, honoured the contract we drafted
peterpaohuang/ncgn/adaptations/DiT_dmp/flex_patch_embed.py
code served (permissive licence) · get_code("6260ea71755ee0c4")
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 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 collections.abc
from itertools import repeat

torch.manual_seed(0)

# Test with various input types
ARGS = {
    'x': 5,  # scalar - should return (5, 5)
}
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 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
voxel_clustering Ran
ran; our contract draft was wrong, not the code
peterpaohuang/ncgn/src/utils.py
code served (permissive licence) · get_code("44527947730dd164")
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. 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

torch.manual_seed(0)

# Construct arguments for voxel_clustering function
# pos: tensor of shape (n_points, n_dim) containing positions
# n_nodes_cg: integer specifying target number of coarse nodes

pos = torch.randn(8, 3)  # 8 points in 3D space
n_nodes_cg = 27  # Will create 3x3x3 voxel grid (3^3 = 27)

ARGS = {
    "pos": pos,
    "n_nodes_cg": n_nodes_cg,
}
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 — a tuple output has no array shape of its own; none is 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
warmup_lr Ran
ran, honoured the contract we drafted
peterpaohuang/ncgn/experiments/modelnet_train.py
code served (permissive licence) · get_code("221794b44ba911e5")
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 float, 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)

WARMUP = 10

def warmup_lr(step):
    return min(step, WARMUP) / WARMUP

ARGS = {
    "step": 5
}
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 float, 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
download_model Not yet run
unverified (harvested, no recorded run)
peterpaohuang/ncgn/adaptations/DiT_dmp/download.py
pointer only (licence: MIT); the stored copy get_code serves, from AyushRoy2001/ManifoldGD, is pointer only (licence: NONE) · get_code("6a0d5ecd441905cc")
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 AyushRoy2001/ManifoldGD, 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. No invocation recorded.

find_model Not yet run
unverified (harvested, no recorded run)
peterpaohuang/ncgn/adaptations/DiT_dmp/download.py
code served (permissive licence) · get_code("771cdf562240af9f")
How it ran

no invocation recorded.

Also present in other papers' code

Of 17 samples lifted from this paper's linked repositories, 17 carry a function identity and 0 do not. Of the 17 distinct functions with an identity, 4 are also present in other papers whose code we hold (4 with at least one paper dated earlier, 1 the same month, 2 later) and 13 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
modulate 101 other papers
79 dated earlier, 1 the same month, 19 later, 1 same year, order not determinable, 1 undated · 29 only as an assembly brick
2202.04200 (2022-02)
MaskGIT: Masked Generative Image Transformer
2203.10897 (2022-03)
Unified Multivariate Gaussian Mixture for Efficient Neural Image Compression
2212.09748 (2022-12)
Scalable Diffusion Models with Transformers
and 98 more not named here
download_model 14 other papers
13 dated earlier, 1 later
2403.09176 (2024-03)
Switch Diffusion Transformer: Synergizing Denoising Tasks with Sparse Mixture-of-Experts
2407.01425 (2024-07)
FORA: Fast-Forward Caching in Diffusion Transformer Acceleration
2407.11633 (2024-07)
Scaling Diffusion Transformers to 16 Billion Parameters
and 11 more not named here
pi_resize_patch_embed 3 other papers
3 dated earlier
2212.08013 (2022-12)
FlexiViT: One Model for All Patch Sizes
2409.07613 (2024-09)
Token Turing Machines are Efficient Vision Models
2503.11849 (2025-03)
Towards a Unified Copernicus Foundation Model for Earth Vision
to_2tuple 3 other papers
3 dated earlier
2212.08013 (2022-12)
FlexiViT: One Model for All Patch Sizes
2409.07613 (2024-09)
Token Turing Machines are Efficient Vision Models
2503.11849 (2025-03)
Towards a Unified Copernicus Foundation Model for Earth Vision

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

Generative modeling of graphs with spatial structure is essential across many applications from computer graphics to spatial genomics. Recent flow-based generative models have achieved impressive results by gradually adding and then learning to remove noise from these graphs. Existing models, however, use graph neural network architectures that are independent of the noise level, limiting their expressiveness. To address this issue, we introduce Noise-Conditioned Graph Networks (NCGNs), a class of graph neural networks that dynamically modify their architecture according to the noise level during generation. Our theoretical and empirical analysis reveals that as noise increases, (1) graphs require information from increasingly distant neighbors and (2) graphs can be effectively represented at lower resolutions. Based on these insights, we develop Dynamic Message Passing (DMP), a specific instantiation of NCGNs that adapts both the range and resolution of message passing to the noise level. DMP consistently outperforms noiseindependent architectures on a variety of domains including 3D point clouds, spatiotemporal transcriptomics, and images. Code is available at https://github.com/peterpaohuang/ncgn.

For agents

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

get_harvested_code_for_paper("2507.09391")
get_code_for_paper("2507.09391")
have("2507.09391")

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

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

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

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

Connect an agent — have() is free.