SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 1905.11169 · 2019

Physics-as-Inverse-Graphics: Unsupervised Physical Parameter Estimation from Video

arXiv · PDF · Open in the Atlas

Code that ran

6 of 13 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 6 have no contract verdict; 0 failures of our instrument; 7 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/1905.11169.json · badge: /api/ran/1905.11169.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
seuqaj114/paig community (classifier label)
classifier basis not recorded on the link
6 ran · 7 no recorded run
FunctionStatusWhere it lives
classes_in_module Ran
ran on a synthesized input
seuqaj114/paig/nn/utils/misc.py
code served (permissive licence) · get_code("59717137f2d75193")
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 dict. 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 inspect
import types

# Create a minimal module with some classes defined in it
test_module = types.ModuleType("test_module")
test_module.__name__ = "test_module"

# Define classes that belong to this module
class ClassA:
    pass

class ClassB:
    pass

class ClassC:
    pass

# Set the module for each class
ClassA.__module__ = "test_module"
ClassB.__module__ = "test_module"
ClassC.__module__ = "test_module"

# Add classes to the module
test_module.ClassA = ClassA
test_module.ClassB = ClassB
test_module.ClassC = ClassC

# Add an external class that should NOT be included (different module)
class ExternalClass:
    pass
ExternalClass.__module__ = "other_module"
test_module.ExternalClass = ExternalClass

# Add a non-class object
test_module.some_variable = 42

ARGS = {
    "module": test_module
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
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 dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict 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
compute_wall_collision Ran
ran on a synthesized input
seuqaj114/paig/nn/datasets/generators.py
code served (permissive licence) · get_code("77d0c6157590e526")
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, ndim 2, dtype family float; 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
import numpy as np

torch.manual_seed(0)

# Construct valid arguments for compute_wall_collision
pos = [50.0, 75.0]  # [x, y] position as list of floats
vel = [10.0, -5.0]  # [vx, vy] velocity as list of floats
radius = 15.0  # collision radius
img_size = [200, 150]  # [width, height] image dimensions

ARGS = {
    "pos": pos,
    "vel": vel,
    "radius": radius,
    "img_size": img_size
}
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 tuple, ndim 2, dtype family float — a tuple 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
gallery Ran
ran on a synthesized input
seuqaj114/paig/nn/utils/viz.py
code served (permissive licence) · get_code("13bd75adaddef15f")
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 3, dtype family float, shape (12, 21, 3) 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

# Create a small test array with shape (nindex, height, width, intensity)
# Using distinct sizes: nindex=6, height=4, width=5, intensity=3
nindex = 6
height = 4
width = 5
intensity = 3

# Create a valid array for the gallery function
array = np.random.rand(nindex, height, width, intensity).astype(np.float32)

# Ensure nindex is divisible by ncols
ncols = 3

ARGS = {
    "array": array,
    "ncols": ncols
}
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 3, dtype family float, shape (12, 21, 3) — shape (12, 21, 3) 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_iterators Ran
ran on a synthesized input
seuqaj114/paig/nn/datasets/iterators.py
code served (permissive licence) · get_code("21d9e9de327d2bc4")
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, ndim 1, dtype family float; 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 numpy as np
import tempfile
import os

# Create a temporary npz file with the required structure
temp_dir = tempfile.mkdtemp()
temp_file = os.path.join(temp_dir, 'test_data.npz')

# Create small sample data
# train_x, valid_x, test_x should have shape (num_samples, num_channels, height, width)
# for conv=False case, images will be flattened
train_x = np.random.randint(0, 256, (2, 3, 4, 5), dtype=np.uint8)
valid_x = np.random.randint(0, 256, (2, 3, 4, 5), dtype=np.uint8)
test_x = np.random.randint(0, 256, (2, 3, 4, 5), dtype=np.uint8)

np.savez(temp_file, train_x=train_x, valid_x=valid_x, test_x=test_x)

ARGS = {
    'file': temp_file,
    'conv': False,
    'datapoints': 0
}
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 tuple, ndim 1, dtype family float — a tuple 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
rgb2gray Ran
ran on a synthesized input
seuqaj114/paig/nn/utils/misc.py
code served (permissive licence) · get_code("ca791728b69bd889")
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 (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 numpy as np

# Create a small RGB image array
# Shape: (height, width, channels) where channels include RGB + possibly alpha
# Using shape (2, 4, 3) for a 2x4 RGB image
rgb_image = np.random.rand(2, 4, 3).astype(np.float32) * 255

ARGS = {
    "rgb": rgb_image
}
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 (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
verify_wall_collision Ran
ran on a synthesized input
seuqaj114/paig/nn/datasets/generators.py
code served (permissive licence) · get_code("9842b4e36ae755ef")
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 bool, ndim 0, dtype family float, 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

# Construct arguments for verify_wall_collision
pos = [50.0, 75.0]  # x, y position
vel = [1.5, -2.0]   # x, y velocity
radius = 10.0       # collision radius
img_size = [200, 150]  # width, height of image

ARGS = {
    "pos": pos,
    "vel": vel,
    "radius": radius,
    "img_size": img_size
}
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 bool, ndim 0, dtype family float, 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
batch_transformer Not yet run
unverified (harvested, no recorded run)
seuqaj114/paig/nn/network/stn.py
code served (permissive licence) · get_code("4c87ffad96ed1779")
How it ran

no invocation recorded.

generate_bouncing_ball_dataset Not yet run
unverified (harvested, no recorded run)
seuqaj114/paig/nn/datasets/generators.py
code served (permissive licence) · get_code("51866c920be1c1de")
How it ran

no invocation recorded.

gif Not yet run
unverified (harvested, no recorded run)
seuqaj114/paig/nn/utils/viz.py
code served (permissive licence) · get_code("220c0b78e4f17c33")
How it ran

no invocation recorded.

shallow_unet Not yet run
unverified (harvested, no recorded run)
seuqaj114/paig/nn/network/blocks.py
code served (permissive licence) · get_code("03d4a62c20d2bc26")
How it ran

no invocation recorded.

stn Not yet run
unverified (harvested, no recorded run)
seuqaj114/paig/nn/network/stn.py
code served (permissive licence) · get_code("c8e502f4fd41a29c")
How it ran

no invocation recorded.

unet Not yet run
unverified (harvested, no recorded run)
seuqaj114/paig/nn/network/blocks.py
code served (permissive licence) · get_code("9499f44469865a2f")
How it ran

no invocation recorded.

variable_from_network Not yet run
unverified (harvested, no recorded run)
seuqaj114/paig/nn/network/blocks.py
code served (permissive licence) · get_code("4c5821e09609fdb0")
How it ran

no invocation recorded.

Also present in other papers' code

Of 13 samples lifted from this paper's linked repositories, 13 carry a function identity and 0 do not. Of the 13 distinct functions with an identity, 3 are also present in other papers whose code we hold (1 with at least one paper dated earlier, 0 the same month, 3 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
rgb2gray 2 other papers
1 dated earlier, 1 later
1612.00603 (2016-12)
A Point Set Generation Network for 3D Object Reconstruction from a Single Image
1911.12247 (2019-11)
Contrastive Learning of Structured World Models
compute_wall_collision 1 other paper
1 later
1911.12247 (2019-11)
Contrastive Learning of Structured World Models
gallery 1 other paper
1 later
1911.12247 (2019-11)
Contrastive Learning of Structured World Models

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

We propose a model that is able to perform unsupervised physical parameter estimation of systems from video, where the differential equations governing the scene dynamics are known, but labeled states or objects are not available. Existing physical scene understanding methods require either object state supervision, or do not integrate with differentiable physics to learn interpretable system parameters and states. We address this problem through a physics-as-inverse-graphics approach that brings together vision-as-inverse-graphics and differentiable physics engines, enabling objects and explicit state and velocity representations to be discovered. This framework allows us to perform long term extrapolative video prediction, as well as vision-based model-predictive control. Our approach significantly outperforms related unsupervised methods in long-term future frame prediction of systems with interacting objects (such as ball-spring or 3-body gravitational systems), due to its ability to build dynamics into the model as an inductive bias. We further show the value of this tight vision-physics integration by demonstrating data-efficient learning of vision-actuated model-based control for a pendulum system. We also show that the controller's interpretability provides unique capabilities in goal-driven control and physical reasoning for zero-data adaptation.

For agents

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

get_harvested_code_for_paper("1905.11169")
get_code_for_paper("1905.11169")
have("1905.11169")

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

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

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

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

Connect an agent — have() is free.