SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2402.06680 · AAAI · 2024

Social Physics Informed Diffusion Model for Crowd Simulation

Yue Wang, Yong Li, Jingtao Ding, Xiao-Ping Zhang, Hongyi Chen

arXiv · PDF · Open in the Atlas

Code that ran

16 of 16 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 0 violated it and 1 has no contract verdict; 14 failures of our instrument; 0 no recorded run), measured 2026-11-22; 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/2402.06680.json · badge: /api/ran/2402.06680.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/SPDiff canonical (classifier label)
classifier basis: census
16 ran · 0 no recorded run
FunctionStatusWhere it lives
angle_to_rotation_matrix Ran
ran; our contract draft was wrong, not the code
tsinghua-fib-lab/SPDiff/dataset/homography_warper.py
pointer only (licence: NONE) · get_code("094136346d83712e")
How it ran

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

clear_nan Ran
ran; our contract draft was wrong, not the code
tsinghua-fib-lab/SPDiff/models/autoencoder.py
pointer only (licence: NONE); the stored copy get_code serves, from liuzjin/STDDN, is pointer only (licence: NONE) · get_code("4f9621071f0ed4e8")
How it ran

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

collate Ran
ran, honoured the contract we drafted
tsinghua-fib-lab/SPDiff/models/trajectron.py
pointer only (licence: NONE) · get_code("d6c9e8ba93a85e0e")
How it ran

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

deg2rad Ran
ran; our contract draft was wrong, not the code
tsinghua-fib-lab/SPDiff/dataset/homography_warper.py
pointer only (licence: NONE) · get_code("a96e009d7ca2c870")
How it ran

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

gaussian_entropy Ran
ran; our contract draft was wrong, not the code
tsinghua-fib-lab/SPDiff/models/common.py
pointer only (licence: NONE); the stored copy get_code serves, from duasoi/Mind2Cloud, is pointer only (licence: NONE) · get_code("82816eb1edfdbd19")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, tsinghua-fib-lab/SPDiff 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_graph_features Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
tsinghua-fib-lab/SPDiff/models/vnn_models.py
pointer only (licence: NONE) · get_code("e992dfa7ba64b1e5")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, tsinghua-fib-lab/SPDiff 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_model_device Ran
ran; our contract draft was wrong, not the code
tsinghua-fib-lab/SPDiff/utils/model_registrar.py
pointer only (licence: NONE) · get_code("5a0beb315ee2d6b3")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, tsinghua-fib-lab/SPDiff 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_relative_robot_traj Ran
ran; our contract draft was wrong, not the code
tsinghua-fib-lab/SPDiff/models/trajectron.py
pointer only (licence: NONE) · get_code("0c2d063349b39fb3")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, tsinghua-fib-lab/SPDiff 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_rotation_matrix2d Ran
ran; our contract draft was wrong, not the code
tsinghua-fib-lab/SPDiff/dataset/homography_warper.py
pointer only (licence: NONE) · get_code("534a2d5685ceb894")
How it ran

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

index_sum Ran
ran; our contract draft was wrong, not the code
tsinghua-fib-lab/SPDiff/models/egnn.py
pointer only (licence: NONE) · get_code("86b9bb6734370ad6")
How it ran

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

linear Ran
ran; our contract draft was wrong, not the code
tsinghua-fib-lab/SPDiff/models/multi_attention_forward.py
pointer only (licence: NONE) · get_code("93e49f2486b2b26d")
How it ran

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

mean_pool Ran
ran; our contract draft was wrong, not the code
tsinghua-fib-lab/SPDiff/models/vnns.py
pointer only (licence: NONE); the stored copy get_code serves, from wdttt/LocoTrans, is pointer only (licence: NONE) · get_code("19b639ea820e6dbc")
How it ran

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

multi_head_attention_forward Ran
ran on a synthesized input
tsinghua-fib-lab/SPDiff/models/multi_attention_forward.py
pointer only (licence: NONE) · get_code("4a5f247d4b18ad03")
How it ran

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

reparameterize_gaussian Ran
ran; our contract draft was wrong, not the code
tsinghua-fib-lab/SPDiff/models/common.py
pointer only (licence: NONE); the stored copy get_code serves, from duasoi/Mind2Cloud, is pointer only (licence: NONE) · get_code("534f60a963b5e21b")
How it ran

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

restore Ran
ran; our contract draft was wrong, not the code
tsinghua-fib-lab/SPDiff/models/trajectron.py
pointer only (licence: NONE) · get_code("18974426ec3297c6")
How it ran

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

standard_normal_logprob Ran
ran; our contract draft was wrong, not the code
tsinghua-fib-lab/SPDiff/models/common.py
pointer only (licence: NONE); the stored copy get_code serves, from wenyi-li/fairdiff, is pointer only (licence: NONE) · get_code("1d6e462a448df843")
How it ran

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

Also present in other papers' code

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

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

FunctionAlso present inEarliest-datedOthers named
mean_pool 6 other papers
5 dated earlier, 1 later · 2 only as an assembly brick
2104.12229 (2021-04)
Vector Neurons: A General Framework for SO(3)-Equivariant Networks
2210.16646 (2022-10)
Breaking the Symmetry: Resolving Symmetry Ambiguities in Equivariant Neural Networks
2211.14456 (2022-11)
TetraSphere: A Neural Descriptor for O(3)-Invariant Point Cloud Analysis
and 3 more not named here
get_model_device 5 other papers
3 dated earlier, 1 the same month, 1 later
1911.05371 (2019-11)
Self-labelling via simultaneous clustering and representation learning
2001.03093 (2020-01)
Trajectron++: Dynamically-Feasible Trajectory Forecasting With Heterogeneous Data
2308.08824 (2023-08)
Fast Inference and Update of Probabilistic Density Estimation on Trajectory Prediction
and 2 more not named here
gaussian_entropy 4 other papers
2 dated earlier, 2 later
2305.04847 (2023-05)
CaloClouds: Fast Geometry-Independent Highly-Granular Calorimeter Simulation
2308.08824 (2023-08)
Fast Inference and Update of Probabilistic Density Estimation on Trajectory Prediction
2407.06250 (2024-07)
FairDiff: Fair Segmentation with Point-Image Diffusion
and 1 more not named here
reparameterize_gaussian 3 other papers
2 dated earlier, 1 later
2305.04847 (2023-05)
CaloClouds: Fast Geometry-Independent Highly-Granular Calorimeter Simulation
2308.08824 (2023-08)
Fast Inference and Update of Probabilistic Density Estimation on Trajectory Prediction
2609.13991 (2026-09)
Mind2Cloud: EEG-to-Point Cloud Generation with Two-Granularity Diffusion Decoding
standard_normal_logprob 2 other papers
1 dated earlier, 1 later
2305.04847 (2023-05)
CaloClouds: Fast Geometry-Independent Highly-Granular Calorimeter Simulation
2407.06250 (2024-07)
FairDiff: Fair Segmentation with Point-Image Diffusion
clear_nan 1 other paper
1 later
2604.02756 (2026-04)
STDDN: A Physics-Guided Deep Learning Framework for Crowd Simulation
linear 1 other paper
1 dated earlier
2005.08514 (2020-05)
Spatio-Temporal Graph Transformer Networks for Pedestrian Trajectory Prediction
multi_head_attention_forward 1 other paper
1 dated earlier
2005.08514 (2020-05)
Spatio-Temporal Graph Transformer Networks for Pedestrian Trajectory Prediction

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

Repositories linked to this paper

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

Abstract

Crowd simulation holds crucial applications in various domains, such as urban planning, architectural design, and traffic arrangement. In recent years, physics-informed machine learning methods have achieved state-of-the-art performance in crowd simulation but fail to model the heterogeneity and multi-modality of human movement comprehensively. In this paper, we propose a social physics-informed diffusion model named SPDiff to mitigate the above gap. SPDiff takes both the interactive and historical information of crowds in the current timeframe to reverse the diffusion process, thereby generating the distribution of pedestrian movement in the subsequent timeframe. Inspired by the well-known social physics model, i.e., Social Force, regarding crowd dynamics, we design a crowd interaction module to guide the denoising process and further enhance this module with the equivariant properties of crowd interactions. To mitigate error accumulation in long-term simulations, we propose a multi-frame rollout training algorithm for diffusion modeling. Experiments conducted on two real-world datasets demonstrate the superior performance of SPDiff in terms of macroscopic and microscopic evaluation metrics. Code and appendix are available at https://github.com/tsinghua-fib-lab/SPDiff.

For agents

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

get_harvested_code_for_paper("2402.06680")
get_code_for_paper("2402.06680")
have("2402.06680")

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

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

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

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

Connect an agent — have() is free.