Papers › Human Trajectory Prediction via Neural Social Physics

Human Trajectory Prediction via Neural Social Physics

21 Jul 2022arXiv:2207.10435archive 2025-07-28

Jiangbei Yue, Dinesh Manocha, He Wang

Trajectory prediction has been widely pursued in many fields, and many model-based and model-free methods have been explored. The former include rule-based, geometric or optimization-based models, and the latter are mainly comprised of deep learning approaches. In this paper, we propose a new method combining both methodologies based on a new Neural Differential Equation model. Our new model (Neural Social Physics or NSP) is a deep neural network within which we use an explicit physics model with learnable parameters. The explicit physics model serves as a strong inductive bias in modeling pedestrian behaviors, while the rest of the network provides a strong data-fitting capability in terms of system parameter estimation and dynamics stochasticity modeling. We compare NSP with 15 recent deep learning methods on 6 datasets and improve the state-of-the-art performance by 5.56%-70%. Besides, we show that NSP has better generalizability in predicting plausible trajectories in drastically different scenarios where the density is 2-5 times as high as the testing data. Finally, we show that the physics model in NSP can provide plausible explanations for pedestrian behaviors, as opposed to black-box deep learning. Code is available: https://github.com/realcrane/Human-Trajectory-Prediction-via-Neural-Social-Physics.

PaperPDFCodeCode Syntology ran

In Syntology View this paper on Syntology: its repositories, every harvested function with whether it ran, its licence and the call to fetch it.

Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2207.10435")

Code

Syntology Ran 4 of 6 code samples harvested from 1 repository linked to this paper; 2 have no recorded run. Of those that ran: 2 ran · our draft was wrong; 1 ran · fixture could not drive it; 1 ran with no contract checked.

By repository: official repository: 6 samples from 1 repository, 4 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

realcrane/human-trajectory-prediction-via-neural-social-physics officialmentioned in papermentioned on GitHubpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

6 samples harvested; 4 ran; 0 honoured the contract we drafted; 2 have no recorded run. Read from Syntology's graph 2026-09-25; that is when this build read the record, not when the samples ran.

2ran · our draft was wrong
1ran · fixture could not drive it
1ran
2unverified

Licence: 6 of the 6 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from realcrane/Human-Trajectory-Prediction-via-Neural-Social-Physics. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

MLP realcrane/Human-Trajectory-Prediction-via-Neural-Social-Physics/model_nsp_wo.py official repository ran no licence file found · pointer only · f956c7c4a70685d4 · report
f_ab_fun realcrane/Human-Trajectory-Prediction-via-Neural-Social-Physics/model_nsp_wo.py official repository ran · fixture could not drive it no licence file found · pointer only · b2147ff4cfc6b654 · report
stateutils_desired_directions realcrane/Human-Trajectory-Prediction-via-Neural-Social-Physics/model_nsp_wo.py official repository ran · our draft was wrong fingerprinted no licence file found · pointer only · 4a93b8073e4d7857 · report
value_p_p realcrane/Human-Trajectory-Prediction-via-Neural-Social-Physics/model_nsp_wo.py official repository ran · our draft was wrong fingerprinted no licence file found · pointer only · cc73a3a99d41c4ae · report
NSP realcrane/Human-Trajectory-Prediction-via-Neural-Social-Physics/model_nsp_wo.py official repository unverified no licence file found · pointer only · 976f5c1775d8069c · report
environment realcrane/Human-Trajectory-Prediction-via-Neural-Social-Physics/model_nsp_wo.py official repository unverified no licence file found · pointer only · 6167a1bffe5bce40 · report

Tasks

Deep LearningInductive BiasPredictionTrajectory Predictionparameter estimation

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Trajectory Prediction ETH/UCY NSP ADE-8/12 0.17 #1 of 20 Archive leaderboard report
Trajectory Prediction ETH/UCY NSP FDE-8/12 0.24 #1 of 20 Archive leaderboard report
Trajectory Prediction Stanford Drone NSP-SFM ADE-8/12 @K = 20 6.52 #1 of 24 Archive leaderboard report
Trajectory Prediction Stanford Drone NSP-SFM FDE-8/12 @K= 20 10.61 #1 of 24 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections