Papers › SyMetric: Measuring the Quality of Learnt Hamiltonian Dynamics Inferred from Vision

SyMetric: Measuring the Quality of Learnt Hamiltonian Dynamics Inferred from Vision

10 Nov 2021NeurIPS 2021 12arXiv:2111.05986archive 2025-07-28

Irina Higgins, Peter Wirnsberger, Andrew Jaegle, Aleksandar Botev

A recently proposed class of models attempts to learn latent dynamics from high-dimensional observations, like images, using priors informed by Hamiltonian mechanics. While these models have important potential applications in areas like robotics or autonomous driving, there is currently no good way to evaluate their performance: existing methods primarily rely on image reconstruction quality, which does not always reflect the quality of the learnt latent dynamics. In this work, we empirically highlight the problems with the existing measures and develop a set of new measures, including a binary indicator of whether the underlying Hamiltonian dynamics have been faithfully captured, which we call Symplecticity Metric or SyMetric. Our measures take advantage of the known properties of Hamiltonian dynamics and are more discriminative of the model's ability to capture the underlying dynamics than reconstruction error. Using SyMetric, we identify a set of architectural choices that significantly improve the performance of a previously proposed model for inferring latent dynamics from pixels, the Hamiltonian Generative Network (HGN). Unlike the original HGN, the new HGN++ is able to discover an interpretable phase space with physically meaningful latents on some datasets. Furthermore, it is stable for significantly longer rollouts on a diverse range of 13 datasets, producing rollouts of essentially infinite length both forward and backwards in time with no degradation in quality on a subset of the datasets.

PaperPDFConference PDFCodeCode 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="2111.05986")

Code

Syntology Ran 0 of 12 code samples harvested from 1 repository linked to this paper; 12 have no recorded run.

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

deepmind/dm_hamiltonian_dynamics_suite officialmentioned in paperjaxApache-2.0 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

12 samples harvested; 0 ran; 0 honoured the contract we drafted; 12 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.

12unverified

Licence: 0 of the 12 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 deepmind/dm_hamiltonian_dynamics_suite. “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.

create_pipeline deepmind/dm_hamiltonian_dynamics_suite/dm_hamiltonian_dynamics_suite/datasets.py official repository unverified Apache-2.0 (permissive) · a28162f363d3a72a · report
encode_example deepmind/dm_hamiltonian_dynamics_suite/dm_hamiltonian_dynamics_suite/datasets.py official repository unverified Apache-2.0 (permissive) · 77cf9b9db4dc74cf · report
expand_to_rank_left deepmind/dm_hamiltonian_dynamics_suite/dm_hamiltonian_dynamics_suite/hamiltonian_systems/utils.py official repository unverified Apache-2.0 (permissive) · eb54c49f358151d5 · report
expand_to_rank_right deepmind/dm_hamiltonian_dynamics_suite/dm_hamiltonian_dynamics_suite/hamiltonian_systems/utils.py official repository unverified Apache-2.0 (permissive) · 86dea2648404cdab · report
filter_based_on_keys deepmind/dm_hamiltonian_dynamics_suite/dm_hamiltonian_dynamics_suite/load_datasets.py official repository unverified Apache-2.0 (permissive) · 83fa0666ee6152f1 · report
flatten_record deepmind/dm_hamiltonian_dynamics_suite/dm_hamiltonian_dynamics_suite/molecular_dynamics/generate_dataset.py official repository unverified Apache-2.0 (permissive) · da6d626242ab598b · report
load_filenames_and_parse_fn deepmind/dm_hamiltonian_dynamics_suite/dm_hamiltonian_dynamics_suite/load_datasets.py official repository unverified Apache-2.0 (permissive) · 4863d1f2532e330b · report
poisson_bracket_with_q_and_p deepmind/dm_hamiltonian_dynamics_suite/dm_hamiltonian_dynamics_suite/hamiltonian_systems/phase_space.py official repository unverified Apache-2.0 (permissive) · 6907f258e0633c9b · report
preprocess_batch deepmind/dm_hamiltonian_dynamics_suite/dm_hamiltonian_dynamics_suite/load_datasets.py official repository unverified Apache-2.0 (permissive) · 7673211f515f6a00 · report
read_trajectory deepmind/dm_hamiltonian_dynamics_suite/dm_hamiltonian_dynamics_suite/molecular_dynamics/generate_dataset.py official repository unverified Apache-2.0 (permissive) · 100b63a3610fa151 · report
transform_symplectic_tangent_function_using_array deepmind/dm_hamiltonian_dynamics_suite/dm_hamiltonian_dynamics_suite/hamiltonian_systems/phase_space.py official repository unverified Apache-2.0 (permissive) · 2f2a719903586b8b · report
vecmul deepmind/dm_hamiltonian_dynamics_suite/dm_hamiltonian_dynamics_suite/hamiltonian_systems/utils.py official repository unverified Apache-2.0 (permissive) · 43d555e817be699f · report

Tasks

Autonomous DrivingImage Reconstruction

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