Papers › Integrating GNN and Neural ODEs for Estimating Non-Reciprocal Two-Body Interactions in...

Integrating GNN and Neural ODEs for Estimating Non-Reciprocal Two-Body Interactions in Mixed-Species Collective Motion

26 May 2024arXiv:2405.16503archive 2025-07-28

Masahito Uwamichi, Simon K. Schnyder, Tetsuya J. Kobayashi, Satoshi Sawai

Analyzing the motion of multiple biological agents, be it cells or individual animals, is pivotal for the understanding of complex collective behaviors. With the advent of advanced microscopy, detailed images of complex tissue formations involving multiple cell types have become more accessible in recent years. However, deciphering the underlying rules that govern cell movements is far from trivial. Here, we present a novel deep learning framework for estimating the underlying equations of motion from observed trajectories, a pivotal step in decoding such complex dynamics. Our framework integrates graph neural networks with neural differential equations, enabling effective prediction of two-body interactions based on the states of the interacting entities. We demonstrate the efficacy of our approach through two numerical experiments. First, we used simulated data from a toy model to tune the hyperparameters. Based on the obtained hyperparameters, we then applied this approach to a more complex model with non-reciprocal forces that mimic the collective dynamics of the cells of slime molds. Our results show that the proposed method can accurately estimate the functional forms of two-body interactions -- even when they are nonreciprocal -- thereby precisely replicating both individual and collective behaviors within these systems.

PaperPDFCodeCode Syntology ran

In Syntology 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="2405.16503")

Code

Syntology Ran 11 of 18 code samples harvested from 3 repositories linked to this paper; 7 have no recorded run. Of those that ran: 11 ran with no contract checked.

By repository: official repository: 9 samples from 1 repository, 8 ran; found in paper text by Syntology: 9 samples from 2 repositories, 3 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

MasahitoUWAMICHI/collectiveMotionNN officialmentioned in paperpytorch 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

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

11ran
7unverified

Licence: 9 of the 18 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 3 repositories linked to this paper, official or community; each sample names its own and says which. “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.

IDrange2MatrixID MasahitoUWAMICHI/collectiveMotionNN/collectiveMotionNN/graph_utils.py official repository ran no licence file found · pointer only · 592f0d4b520196d3 · report
bool2edge MasahitoUWAMICHI/collectiveMotionNN/collectiveMotionNN/sample_modules.py official repository ran no licence file found · pointer only · 77c4bf8419bbed28 · report
flattenInList MasahitoUWAMICHI/collectiveMotionNN/collectiveMotionNN/utils.py official repository ran no licence file found · pointer only · 84e196e6ba0d75fe · report
isSelfloop MasahitoUWAMICHI/collectiveMotionNN/collectiveMotionNN/graph_utils.py official repository ran no licence file found · pointer only · e3796079b3734f39 · report
nodeIDrange_eachBatch MasahitoUWAMICHI/collectiveMotionNN/collectiveMotionNN/graph_utils.py official repository ran no licence file found · pointer only · c0a2918bd6d35bc1 · report
radiusGraphEdge_noSelfLoop MasahitoUWAMICHI/collectiveMotionNN/collectiveMotionNN/sample_modules.py official repository ran no licence file found · pointer only · 47dab2214a92b8be · report
radiusGraphEdge_selfLoop MasahitoUWAMICHI/collectiveMotionNN/collectiveMotionNN/sample_modules.py official repository ran no licence file found · pointer only · 4f5bf1388156573c · report
variableInitializer MasahitoUWAMICHI/collectiveMotionNN/collectiveMotionNN/utils.py official repository ran fingerprinted no licence file found · pointer only · f76e0d732f243249 · report
extractBrownian MasahitoUWAMICHI/collectiveMotionNN/collectiveMotionNN/utils.py official repository unverified no licence file found · pointer only · 4524c435ad380fcf · report
hutch_trace DiffEqML/torchdyn/torchdyn/models/cnf.py found in paper text by Syntology ran Apache-2.0 (permissive) · 335476af786fa9f6 · report
plot_traj_vf_1D DiffEqML/torchdyn/torchdyn/utils.py found in paper text by Syntology ran Apache-2.0 (permissive) · df18bfb8f4399ffe · report
randnsphere DiffEqML/torchdyn/torchdyn/datasets/static_datasets.py found in paper text by Syntology ran fingerprinted Apache-2.0 (permissive) · d51164aedef11ce0 · report
BaseSDE google-research/torchsde/torchsde/_core/base_sde.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 499c4942670a6209 · report
ContainerMeta google-research/torchsde/torchsde/_core/base_sde.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 0197b6cfd09df7c8 · report
ForwardSDE google-research/torchsde/torchsde/_core/base_sde.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 8bc02df1bd8da1e3 · report
NOISE_TYPES google-research/torchsde/torchsde/_core/base_sde.py found in paper text by Syntology unverified Apache-2.0 (permissive) · e5f1a904593cf45a · report
SDE_TYPES google-research/torchsde/torchsde/_core/base_sde.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 75affb02a032726e · report
autograd_trace DiffEqML/torchdyn/torchdyn/models/cnf.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 02867f0536ec719a · report

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

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