SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2411.12164 · NeurIPS · 2025

Diffusion Transformers as Open-World Spatiotemporal Foundation Models

Yuan Yuan, Yong Li, Chonghua Han, Jingtao Ding, Guozhen Zhang, Depeng Jin

arXiv · PDF · Open in the Atlas

Code that ran

20 of 22 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (2 of them constructed an object rather than computing a result; 8 honoured the contract we drafted, 0 violated it and 2 have no contract verdict; 10 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/2411.12164.json · badge: /api/ran/2411.12164.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
tsinghua-fib-lab/UrbanDiT canonical (classifier label)
classifier basis: plan_row
17 ran · 2 no recorded run
tsinghua-fib-lab/urbandit canonical (classifier label)
classifier basis: classifier_2025
1 ran · 0 no recorded run
YuanYuan98/UrbanDiT alias (classifier label)
classifier basis: classifier_2025
2 ran · 0 no recorded run
FunctionStatusWhere it lives
GCN Ran
ran on a synthesized input · constructed an object; no result was computed
YuanYuan98/UrbanDiT/src/Embed.py
code served (permissive licence) · get_code("85748648fb97ed30")
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 an instance of its own class, GCN: the run constructed the object and did not call it, so no result was computed. 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
from torch_geometric.nn.conv import GCNConv

torch.manual_seed(0)

# Create a minimal GCN model instance
model = torch.nn.Module()

# Set up tensor arguments for forward pass
# x: node feature matrix (num_nodes, in_channels)
# Using 2 nodes and 4 input channels
x = torch.randn(2, 4)

# edge_index: COO format edge indices (2, num_edges)
# Create a simple graph with 2 edges
edge_index = torch.tensor([[0, 1], [1, 0]], dtype=torch.long)

# edge_att: edge attributes (optional, num_edges, 1)
# Providing edge attention weights for the edges
edge_att = torch.randn(2, 1)

# Define parameters for the GCN __init__ method
in_channels = 4
hidden_channels = 3
out_channels = 2

ARGS = {
    'in_channels': in_channels,
    'hidden_channels': hidden_channels,
    'out_channels': out_channels,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch, torch_geometric — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type GCN — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a GCN 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
GraphEmbedding2 Ran
ran on a synthesized input · constructed an object; no result was computed
YuanYuan98/UrbanDiT/src/Embed.py
code served (permissive licence) · get_code("4af35c2b62c7fb82")
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 an instance of its own class, GraphEmbedding2: the run constructed the object and did not call it, so no result was computed. 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
from torch_geometric.nn.conv import GCNConv

torch.manual_seed(0)

# Create a minimal args object with required attributes
class Args:
    def __init__(self):
        self.t_patch_len = 2
        self.his_len = 4
        self.pred_len = 2

# Create input tensor
# x shape: N, T, 1, H, 1
# N=2 (batch), T=1, H=3 (spatial dimension)
x = torch.randn(2, 1, 1, 3, 1)

# Create edge indices for GCN
# edges shape: 2, num_edges
# For 3 nodes, create a simple graph with a few edges
edges = torch.tensor([[0, 1, 2, 0], [1, 2, 0, 2]])

# Create node_split - list of tensors indicating node groups
# Each tensor contains indices of nodes in that group
node_split = [
    torch.tensor([0, 1]),
    torch.tensor([2])
]

ARGS = {
    'c_in': 1,
    'd_model': 4,
    'args': Args()
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch, torch_geometric — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type GraphEmbedding2 — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a GraphEmbedding2 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
approx_standard_normal_cdf Ran
ran; our contract draft was wrong, not the code
tsinghua-fib-lab/UrbanDiT/src/diffusion/diffusion_utils.py
code served (permissive licence) · get_code("d6a68e210556f857")
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 as th
import numpy as np

th.manual_seed(0)

# The function takes a single parameter 'x' which should be a torch tensor
# It performs mathematical operations on it: tanh, pow, addition, multiplication
# So x should be a tensor of any shape

x = th.randn(2, 4)

ARGS = {
    "x": x
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
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 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
center_crop_arr Ran
ran; our contract draft was wrong, not the code
tsinghua-fib-lab/UrbanDiT/src/train_one_step.py
code served (permissive licence) · get_code("1712a07966b542ee")
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 Image. 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 numpy as np
from PIL import Image

# Create a small test image
width, height = 256, 256
pil_image = Image.new('RGB', (width, height), color='red')

# Define arguments
ARGS = {
    'pil_image': pil_image,
    'image_size': 64
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
PIL, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Image — a Image output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Image output the recorded ndim 3 and dtype family int 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
continuous_gaussian_log_likelihood Ran
ran; our contract draft was wrong, not the code
tsinghua-fib-lab/UrbanDiT/src/diffusion/diffusion_utils.py
pointer only (licence: MIT); the stored copy get_code serves, from rerv/vdt, is pointer only (licence: NOASSERTION) · get_code("ab1c9568b4e13899")
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 rerv/vdt, 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.

create_logger Ran
ran; our contract draft was wrong, not the code
tsinghua-fib-lab/UrbanDiT/src/train_one_step.py
code served (permissive licence) · get_code("b2cc78f4103df806")
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 Logger. 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 tempfile
import os

# Create a temporary directory for logging
temp_dir = tempfile.mkdtemp()

ARGS = {
    "logging_dir": temp_dir
}
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 Logger — a Logger output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Logger 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
create_named_schedule_sampler Ran
ran; our contract draft was wrong, not the code
tsinghua-fib-lab/UrbanDiT/src/diffusion/timestep_sampler.py
pointer only (licence: MIT); the stored copy get_code serves, from vainf/remix-dit, is pointer only (licence: NOASSERTION) · get_code("e48218d7d73db0b3")
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 vainf/remix-dit, 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.

edge_generate_grid Ran
ran, honoured the contract we drafted
tsinghua-fib-lab/UrbanDiT/src/DataLoader.py
code served (permissive licence) · get_code("61bae757140432aa")
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 list, ndim 2, 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

# Set seed for reproducibility
torch.manual_seed(0)

# Analyze the function:
# - edge_generate_grid(H, W) takes two integer parameters
# - H is the height (number of rows)
# - W is the width (number of columns)
# - The function builds edges in a grid graph structure
# - No complex objects needed, just integers

ARGS = {
    "H": 4,
    "W": 3
}
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 list, ndim 2, dtype family int — a list 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
get_1d_sincos_pos_embed_from_grid Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
tsinghua-fib-lab/UrbanDiT/src/Embed.py
pointer only (licence: MIT); the stored copy get_code serves, from Zhangwenyao1/DreamVLA, is pointer only (licence: NONE) · get_code("5c8ea92d43ead77d")
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 Zhangwenyao1/DreamVLA, 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.

get_2d_sincos_pos_embed Ran
ran, honoured the contract we drafted
tsinghua-fib-lab/UrbanDiT/src/Embed.py
code served (permissive licence) · get_code("3739773ec6873943")
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 (12, 8) 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

# Set up arguments for get_2d_sincos_pos_embed
embed_dim = 8  # Must be even
grid_size1 = 4
grid_size2 = 3

ARGS = {
    "embed_dim": embed_dim,
    "grid_size1": grid_size1,
    "grid_size2": grid_size2,
}
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 (12, 8) — shape (12, 8) 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_beta_schedule Ran
ran, honoured the contract we drafted
tsinghua-fib-lab/UrbanDiT/src/diffusion/gaussian_diffusion.py
pointer only (licence: MIT); the stored copy get_code serves, from xuyanwu/SIDDMs-UFOGen, is pointer only (licence: NONE) · get_code("3e0fa4efc22272d4")
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 xuyanwu/SIDDMs-UFOGen, 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.

get_named_beta_schedule Ran
ran, honoured the contract we drafted
tsinghua-fib-lab/UrbanDiT/src/diffusion/gaussian_diffusion.py
pointer only (licence: MIT); the stored copy get_code serves, from xuyanwu/SIDDMs-UFOGen, is pointer only (licence: NONE) · get_code("36e30c7fb679ec78")
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 xuyanwu/SIDDMs-UFOGen, 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.

get_sigmas Ran
ran; our contract draft was wrong, not the code
tsinghua-fib-lab/urbandit/src/train_one_step.py
code served (permissive licence) · get_code("0897f66c098e3d8d")
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 4, dtype family float, shape (2, 1, 1, 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)

class NoiseScheduler:
    def __init__(self):
        # sigmas: needs to be indexable and support .to() method
        self.sigmas = torch.tensor([0.9, 0.7, 0.5, 0.3, 0.1], dtype=torch.float32)
        # timesteps: needs to be a tensor that supports .to() method
        self.timesteps = torch.tensor([999, 799, 599, 399, 199], dtype=torch.long)

noise_scheduler_copy = NoiseScheduler()
timesteps = torch.tensor([999, 599], dtype=torch.long)

ARGS = {
    "noise_scheduler_copy": noise_scheduler_copy,
    "timesteps": timesteps,
    "n_dim": 4,
    "dtype": torch.float32,
}
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 4, dtype family float, shape (2, 1, 1, 1) — shape (2, 1, 1, 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
mean_flat Ran
ran; our contract draft was wrong, not the code
tsinghua-fib-lab/UrbanDiT/src/diffusion/gaussian_diffusion.py
code served (permissive licence) · get_code("f6d7c009a8efb8b7")
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 1, dtype family float, shape (2,) 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 tensor and computes mean over all non-batch dimensions
# It expects a tensor with shape (batch_size, *other_dims)
# and returns a tensor of shape (batch_size,)

# Create a small tensor with batch dimension and other dimensions
# Using distinct sizes: batch=2, dim1=4, dim2=3
tensor = torch.randn(2, 4, 3)

ARGS = {
    "tensor": tensor
}
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 1, dtype family float, shape (2,) — shape (2,) 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
normal_kl Ran
ran, honoured the contract we drafted
tsinghua-fib-lab/UrbanDiT/src/diffusion/diffusion_utils.py
pointer only (licence: MIT); the stored copy get_code serves, from rerv/vdt, is pointer only (licence: NOASSERTION) · get_code("8afbfc42c6ea0448")
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 rerv/vdt, 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.

retrieve_timesteps Ran
ran; our contract draft was wrong, not the code
tsinghua-fib-lab/UrbanDiT/src/validation.py
code served (permissive licence) · get_code("572665172cac0917")
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
import inspect
from unittest.mock import Mock

torch.manual_seed(0)

class MockScheduler:
    """Mock scheduler that supports custom timesteps"""
    def __init__(self):
        self.timesteps = torch.tensor([999, 799, 599, 399, 199], device='cpu')
    
    def set_timesteps(self, num_inference_steps=None, device='cpu', timesteps=None, sigmas=None, **kwargs):
        if timesteps is not None:
            self.timesteps = torch.tensor(timesteps, device=device)
        elif sigmas is not None:
            # Convert sigmas to timesteps (simplified)
            self.timesteps = torch.tensor([999, 799, 599, 399, 199], device=device)
        else:
            # Generate default timesteps based on num_inference_steps
            self.timesteps = torch.linspace(999, 0, num_inference_steps, device=device).long()

ARGS = {
    'scheduler': MockScheduler(),
    'num_inference_steps': 5,
    'device': 'cpu',
    'timesteps': None,
    'sigmas': None,
}
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
select_batch_size Ran
ran, honoured the contract we drafted
tsinghua-fib-lab/UrbanDiT/src/utils.py
code served (permissive licence) · get_code("cb94ddc96b9220cc")
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

class Args:
    def __init__(self):
        self.batch_size_nyc = 32
        self.batch_size_nj = 64
        self.batch_size_Pop = 16
        self.batch_size_taxibj = 48
        self.batch_size_graph_large = 128
        self.batch_size_graph_small = 8
        self.batch_ratio = 0.5

ARGS = {
    'args': Args(),
    'dataset': 'TaxiNYC'
}
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
select_patch_size Ran
ran, honoured the contract we drafted
tsinghua-fib-lab/UrbanDiT/src/utils.py
code served (permissive licence) · get_code("847b1b87d9c07bf8")
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 argparse

torch.manual_seed(0)

class ArgsStandIn:
    def __init__(self):
        self.multi_patch_size = "4-8-16"

ARGS = {
    "args": ArgsStandIn(),
    "data": "TaxiBJ_dataset"
}
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
space_timesteps Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
tsinghua-fib-lab/UrbanDiT/src/diffusion/respace.py
pointer only (licence: MIT); the stored copy get_code serves, from ianyeung/mgld-vsr, is pointer only (licence: NOASSERTION) · get_code("ea9dbc131adf582e")
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 ianyeung/mgld-vsr, 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.

tensor_to_adjacency_matrix Ran
ran, honoured the contract we drafted
tsinghua-fib-lab/UrbanDiT/src/utils.py
code served (permissive licence) · get_code("b97edc3163f3ded8")
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 (12, 12) 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 tensor with distinct dimensions (4 rows, 3 columns)
tensor = torch.randn(4, 3)

ARGS = {
    "tensor": tensor
}
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 (12, 12) — shape (12, 12) 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_2d_sincos_pos_embed_from_grid Not yet run
unverified (harvested, no recorded run)
tsinghua-fib-lab/UrbanDiT/src/Embed.py
pointer only (licence: MIT); the stored copy get_code serves, from Zhangwenyao1/DreamVLA, is pointer only (licence: NONE) · get_code("2884deadbb637c3e")
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 Zhangwenyao1/DreamVLA, 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.

partition_graph Not yet run
unverified (harvested, no recorded run)
tsinghua-fib-lab/UrbanDiT/src/DataLoader.py
code served (permissive licence) · get_code("1770fcb3db2d760a")
How it ran

no invocation recorded.

Also present in other papers' code

Of 22 samples lifted from this paper's linked repositories, 22 carry a function identity and 0 do not. Of the 22 distinct functions with an identity, 12 are also present in other papers whose code we hold (12 with at least one paper dated earlier, 8 the same month, 12 later) and 10 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
get_2d_sincos_pos_embed_from_grid 190 other papers
127 dated earlier, 5 the same month, 57 later, 1 same year, order not determinable · 65 only as an assembly brick
1807.10221 (2018-07)
Unified Perceptual Parsing for Scene Understanding
2105.12723 (2021-05)
Nested Hierarchical Transformer: Towards Accurate, Data-Efficient and Interpretable Visual Understanding
2111.06377 (2021-11)
Masked Autoencoders Are Scalable Vision Learners
and 187 more not named here
normal_kl 160 other papers
130 dated earlier, 4 the same month, 24 later, 2 same year, order not determinable · 19 only as an assembly brick
2010.02502 (2020-10)
Denoising Diffusion Implicit Models
2105.05233 (2021-05)
Diffusion Models Beat GANs on Image Synthesis
2111.11672 (2021-11)
Few-shot Image Generation with Mixup-based Distance Learning
and 157 more not named here
approx_standard_normal_cdf 154 other papers
124 dated earlier, 4 the same month, 24 later, 2 same year, order not determinable · 17 only as an assembly brick
2010.02502 (2020-10)
Denoising Diffusion Implicit Models
2105.05233 (2021-05)
Diffusion Models Beat GANs on Image Synthesis
2111.11672 (2021-11)
Few-shot Image Generation with Mixup-based Distance Learning
and 151 more not named here
mean_flat 60 other papers
46 dated earlier, 1 the same month, 13 later · 25 only as an assembly brick
2010.02502 (2020-10)
Denoising Diffusion Implicit Models
2105.05233 (2021-05)
Diffusion Models Beat GANs on Image Synthesis
2201.06503 (2022-01)
Analytic-DPM: an Analytic Estimate of the Optimal Reverse Variance in Diffusion Probabilistic Models
and 57 more not named here
space_timesteps 57 other papers
48 dated earlier, 1 the same month, 8 later · 2 only as an assembly brick
2010.02502 (2020-10)
Denoising Diffusion Implicit Models
2111.11672 (2021-11)
Few-shot Image Generation with Mixup-based Distance Learning
2111.14818 (2021-11)
Blended Diffusion for Text-driven Editing of Natural Images
and 54 more not named here
create_named_schedule_sampler 45 other papers
38 dated earlier, 7 later
2010.02502 (2020-10)
Denoising Diffusion Implicit Models
2111.11672 (2021-11)
Few-shot Image Generation with Mixup-based Distance Learning
2111.14818 (2021-11)
Blended Diffusion for Text-driven Editing of Natural Images
and 42 more not named here
center_crop_arr 37 other papers
17 dated earlier, 1 the same month, 19 later
2211.17091 (2022-11)
Refining Generative Process with Discriminator Guidance in Score-based Diffusion Models
2212.09748 (2022-12)
Scalable Diffusion Models with Transformers
2311.09257 (2023-11)
UFOGen: You Forward Once Large Scale Text-to-Image Generation via Diffusion GANs
and 34 more not named here
get_beta_schedule 31 other papers
21 dated earlier, 1 the same month, 9 later
2202.09671 (2022-02)
TRUNCATED DIFFUSION PROBABILISTIC MODELS AND DIFFUSION-BASED ADVERSARIAL AUTO-ENCODERS
2210.07574 (2022-10)
Is synthetic data from generative models ready for image recognition?
2306.02562 (2023-06)
Video Diffusion Models with Local-Global Context Guidance
and 28 more not named here
continuous_gaussian_log_likelihood 26 other papers
20 dated earlier, 5 later, 1 same year, order not determinable
2305.13311 (2023-05)
VDT: General-purpose Video Diffusion Transformers via Mask Modeling
2306.14770 (2023-06)
ProtoDiff: Learning to Learn Prototypical Networks by Task-Guided Diffusion
2312.02139 (2023-12)
DiffiT: Diffusion Vision Transformers for Image Generation
and 23 more not named here
get_1d_sincos_pos_embed_from_grid 25 other papers
16 dated earlier, 9 later · 16 only as an assembly brick
2010.11929 (2020-10)
An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
2111.06377 (2021-11)
Masked Autoencoders Are Scalable Vision Learners
2301.01296 (2023-01)
TinyMIM: An Empirical Study of Distilling MIM Pre-trained Models
and 22 more not named here
get_named_beta_schedule 25 other papers
18 dated earlier, 7 later
2210.07574 (2022-10)
Is synthetic data from generative models ready for image recognition?
2306.02562 (2023-06)
Video Diffusion Models with Local-Global Context Guidance
2306.12511 (2023-06)
Semi-Implicit Denoising Diffusion Models (SIDDMs)
and 22 more not named here
create_logger 8 other papers
6 dated earlier, 1 the same month, 1 later
2311.09257 (2023-11)
UFOGen: You Forward Once Large Scale Text-to-Image Generation via Diffusion GANs
2409.07756 (2024-09)
DiTAS: Quantizing Diffusion Transformers via Enhanced Activation Smoothing
2409.10695 (2024-09)
Playground v3: Improving Text-to-Image Alignment with Deep-Fusion Large Language Models
and 5 more not named here

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

The urban environment is characterized by complex spatio-temporal dynamics arising from diverse human activities and interactions. Effectively modeling these dynamics is essential for understanding and optimizing urban systems. In this work, we introduce UrbanDiT, a foundation model for open-world urban spatiotemporal learning that successfully scales up diffusion transformers in this field. UrbanDiT pioneers a unified model that integrates diverse data sources and types while learning universal spatio-temporal patterns across different cities and scenarios. This allows the model to unify both multi-data and multi-task learning, and effectively support a wide range of spatio-temporal applications. Its key innovation lies in the elaborated prompt learning framework, which adaptively generates both data-driven and task-specific prompts, guiding the model to deliver superior performance across various urban applications. UrbanDiT offers three advantages: 1) It unifies diverse data types, such as grid-based and graph-based data, into a sequential format; 2) With task-specific prompts, it supports a wide range of tasks, including bi-directional spatio-temporal prediction, temporal interpolation, spatial extrapolation, and spatio-temporal imputation; and 3) It generalizes effectively to open-world scenarios, with its powerful zero-shot capabilities outperforming nearly all baselines with training data. UrbanDiT sets up a new benchmark for foundation models in the urban spatio-temporal domain. Code and datasets are publicly available at https://github.com/tsinghua-fib-lab/UrbanDiT.

For agents

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

get_harvested_code_for_paper("2411.12164")
get_code_for_paper("2411.12164")
have("2411.12164")

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

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

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

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

Connect an agent — have() is free.