SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 1905.08721 · 2019

Factorised Neural Relational Inference for Multi-Interaction Systems

arXiv · PDF · Open in the Atlas

Code that ran

5 of 7 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; 0 honoured the contract we drafted, 0 violated it and 5 have no contract verdict; 0 failures of our instrument; 2 no recorded run), measured 2026-11-24; 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/1905.08721.json · badge: /api/ran/1905.08721.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
ekwebb/fNRI canonical (classifier label)
classifier basis: census
5 ran · 1 no recorded run
copy not recorded community
not in the paper's declared repositories
0 ran · 1 no recorded run
FunctionStatusWhere it lives
binary_concrete Ran
ran on a synthesized input
ekwebb/fNRI/utils.py
code served (permissive licence) · get_code("a0bc850b6e4e06c3")
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. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is 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
from torch.autograd import Variable

torch.manual_seed(0)

# Create a small logits tensor (batch_size=2, features=4)
logits = Variable(torch.randn(2, 4))

# Define parameters for binary_concrete function
tau = 0.5
hard = True
eps = 1e-10

# Create ARGS dict with all parameters
ARGS = {
    "logits": logits,
    "tau": tau,
    "hard": hard,
    "eps": eps
}
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
binary_concrete_sample Ran
ran on a synthesized input
ekwebb/fNRI/utils.py
code served (permissive licence) · get_code("827289450cb41f39")
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. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is 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
from torch.autograd import Variable

torch.manual_seed(0)

# Create a small logits tensor (batch_size=2, features=4)
logits = torch.randn(2, 4).float()

# tau parameter for temperature scaling
tau = 0.5

# eps parameter for numerical stability
eps = 1e-10

ARGS = {
    "logits": logits,
    "tau": tau,
    "eps": eps
}
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
colorline Ran
ran on a synthesized input
ekwebb/fNRI/trajectory_plot.py
code served (permissive licence) · get_code("d2cf19899cb97479")
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 LineCollection. 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
import matplotlib.pyplot as plt
import matplotlib.collections as mcoll

# Create sample data
x = np.array([0.0, 0.2, 0.4, 0.6, 0.8, 1.0])
y = np.array([0.0, 0.1, 0.3, 0.25, 0.5, 1.0])
z = np.linspace(0.0, 1.0, len(x))

# Define ARGS dict with all parameters for colorline
ARGS = {
    'x': x,
    'y': y,
    'z': z,
    'cmap': 'copper',
    'norm': plt.Normalize(0.0, 1.0),
    'linewidth': 2,
    'alpha': 0.8,
    'linestyle': '-'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
matplotlib, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type LineCollection — a LineCollection output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a LineCollection 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
make_segments Ran
ran on a synthesized input
ekwebb/fNRI/trajectory_plot.py
pointer only (licence: MIT); the stored copy get_code serves, from wofmanaf/ResT, is pointer only (licence: Apache-2.0) · get_code("983d59bb1110637b")
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 wofmanaf/ResT, and Apache-2.0, as GitHub detects it on that repository, is in the permissive set, but a licence decision keeps the body a pointer: its licence file names an outside party, so it may cover vendored code rather than the repository owner's files (recorded as pointer:licence_names_third_party_corporation). 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.

my_softmax Ran
ran on a synthesized input
ekwebb/fNRI/utils.py
code served (permissive licence) · get_code("bc386bcbd405f3fd")
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

torch.manual_seed(0)

# Create a small tensor with distinct dimensions
# Using batch=2, features=4 as specified
input_tensor = torch.randn(2, 4)

ARGS = {
    "input": input_tensor,
    "axis": 1
}
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
draw_lines Not yet run
unverified (harvested, no recorded run)
ekwebb/fNRI/trajectory_plot.py
code served (permissive licence) · get_code("52f854794ff6e701")
How it ran

no invocation recorded.

generate_dataset Not yet run
unverified (harvested, no recorded run)
this paper's copy was not recorded; identical code first harvested from ethanfetaya/nri
pointer only · get_code("12d0d79170d76415")
How it ran

The body of this sample is withheld: this paper's copy of the code was not recorded (its link names no repository or source path), so no licence was read for it. 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.

Also present in other papers' code

Of 7 samples lifted from this paper's linked repositories, 7 carry a function identity and 0 do not. Of the 7 distinct functions with an identity, 6 are also present in other papers whose code we hold (3 with at least one paper dated earlier, 0 the same month, 6 later) and 1 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
binary_concrete 2 other papers
1 dated earlier, 1 later
1802.04687 (2018-02)
Neural Relational Inference for Interacting Systems
2006.13666 (2020-06)
Uncertainty in Neural Relational Inference Trajectory Reconstruction
binary_concrete_sample 2 other papers
1 dated earlier, 1 later
1802.04687 (2018-02)
Neural Relational Inference for Interacting Systems
2006.13666 (2020-06)
Uncertainty in Neural Relational Inference Trajectory Reconstruction
generate_dataset 2 other papers
1 dated earlier, 1 later
1802.04687 (2018-02)
Neural Relational Inference for Interacting Systems
2006.13666 (2020-06)
Uncertainty in Neural Relational Inference Trajectory Reconstruction
draw_lines 1 other paper
1 later
2006.13666 (2020-06)
Uncertainty in Neural Relational Inference Trajectory Reconstruction
make_segments 1 other paper
1 later
2105.13677 (2021-05)
ResT: An Efficient Transformer for Visual Recognition
my_softmax 1 other paper
1 later
2006.13666 (2020-06)
Uncertainty in Neural Relational Inference Trajectory Reconstruction

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-24.

Repositories linked to this paper

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

Abstract

Many complex natural and cultural phenomena are well modelled by systems of simple interactions between particles. A number of architectures have been developed to articulate this kind of structure, both implicitly and explicitly. We consider an unsupervised explicit model, the NRI model, and make a series of representational adaptations and physically motivated changes. Most notably we factorise the inferred latent interaction graph into a multiplex graph, allowing each layer to encode for a different interaction-type. This fNRI model is smaller in size and significantly outperforms the original in both edge and trajectory prediction, establishing a new state-of-the-art. We also present a simplified variant of our model, which demonstrates the NRI's formulation as a variational auto-encoder is not necessary for good performance, and make an adaptation to the NRI's training routine, significantly improving its ability to model complex physical dynamical systems.

For agents

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

get_harvested_code_for_paper("1905.08721")
get_code_for_paper("1905.08721")
have("1905.08721")

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

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

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

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

Connect an agent — have() is free.