NEXUS: Neural Energy Fields for Physically Consistent Contact-Rich 3D Object Dynamics

Qizhen Ying1*, Guangming Wang2, Yangchen Pan1, Victor Adrian Prisacariu1, Brian Sheil2, Yixiong Jing2*
1University of Oxford2University of Cambridge
*Corresponding authors
NeurIPS 2026

TL;DR — Instead of predicting the next state, NEXUS learns scalar energy and dissipation fields on structural and dynamic contact graphs. Forces are their gradients, which gives stable, controllable long-horizon dynamics for contact-rich 3D scenes with multiple objects.

Abstract

Physics-grounded video generation requires controllable 3D object dynamics that remain physically consistent under contact, deformation, and external forcing. Existing trajectory-based methods provide physical control, but they often model isolated physical effects rather than deriving dynamics from a unified physical structure, making it difficult to compose conservative and non-conservative effects while preserving controllability in contact-rich 3D scenes. We present NEXUS, a neural energy-field framework for contact-rich 3D object dynamics. NEXUS represents each object as a structural graph and constructs dynamic contact graphs for object–object and object–environment interactions. Inspired by Hamiltonian Neural Network (HNN) energy-based dynamics, NEXUS formulates motion through scalar energy and dissipation terms rather than directly predicting states or accelerations. Conservative effects, such as gravity and elastic deformation, are composed as additive energy terms over the scene. To handle non-conservative effects beyond standard HNNs, NEXUS learns dissipation functions for damping and impact-induced energy loss. Forces are derived by differentiating the energy and dissipation functions and rolled out with a multi-substep semi-implicit integrator. NEXUS provides a stable and controllable physics reasoning module for contact-rich 3D object dynamics, improving long-horizon accuracy over representative learned and physics-structured dynamics baselines across controlled rollouts with varying mechanical properties and physical-effect compositions.

Why Learn Energy?

Existing trajectory models

$$(\mathbf{x}_t,\mathbf{v}_t)\;\xrightarrow{\;\text{GNN}\;}\;(\mathbf{x}_{t+1},\mathbf{v}_{t+1})$$
  • Direct state / acceleration prediction has no conservation structure, so errors accumulate as energy drift over long rollouts.
  • Gravity and external control are injected as separate conditioning signals instead of being composed in one physical formulation.
  • Mostly designed for one object and its environment, not several objects that collide, deform and exchange momentum.

NEXUS: energy–dissipation fields

$$\mathbf{F}_\theta=-\frac{\partial\,(U_\theta+U_{\mathrm{ext}})}{\partial\mathbf{x}}-\frac{\partial R_\theta}{\partial\mathbf{v}}$$
  • Conservative effects (gravity, elasticity, contact) are additive scalar energies over the scene.
  • Damping and collision losses are learned Rayleigh dissipation.
  • Forces come from gradients, so every effect shares one differentiable, scene-level physics interface.

Method

NEXUS architecture
NEXUS turns a 3D scene into graphs, learns an energy \(U\) and a dissipation \(R\) on them, and integrates the resulting forces.

1Contact graphs

  • Structural graph: links nearby points inside each object and remembers their rest distance. It encodes the object’s shape and stays fixed.
  • Contact graph: links points that touch the environment or another object. It is rebuilt from the predicted positions before every integration substep, so contacts can appear and disappear.

2Energy and dissipation

A shared GNN reads both graphs. Instead of predicting the next state, it defines two scalars for the whole scene:

  • Energy \(U\): gravity + elastic springs inside objects + a contact term that grows with penetration. Spring and contact stiffnesses are predicted by the network.
  • Dissipation \(R\): damping inside objects + energy lost on impact, only while a contact is closing.

3Forces and rollout

  • Forces are the gradients of \(U\) and \(R\): every point is pushed downhill in energy and slowed by dissipation, plus any external force.
  • A stable semi-implicit integrator advances the scene in small substeps.
  • Training uses closed-loop rollout on the model’s own predictions and matches the whole trajectory.

Quantitative Results

Rollout error at step 48 (RE@48) ↓
0.137 vs 0.213
NEXUS vs. GNS (Best)
−36%
Strain error ↓
0.066 vs 0.096
NEXUS vs. Explicit KNN Energy (Best)
−31%
Speed error ↓
2.0% vs 23.5%
NEXUS vs. EGNN (Best)
−91%

Single object: RE@48

Lower is better.

Multi-object: RE@48 by number of objects

Lower is better.

Multi-Object Rollouts

2 objects
3 objects
5 objects

Application: Physics-Grounded Video Generation

A downstream use of NEXUS: its 3D trajectories guide a frozen image-to-video diffusion model.

NEXUS pipeline
Pipeline. A single image is lifted to 3D point clouds of the objects and environment. NEXUS predicts an energy–dissipation rollout, which is projected to the image plane as dense tracking maps that guide a frozen image-to-video model.

BibTeX

@inproceedings{ying2026nexus,
  title     = {NEXUS: Neural Energy Fields for Physically Consistent Contact-Rich 3D Object Dynamics},
  author    = {Ying, Qizhen and Wang, Guangming and Pan, Yangchen and Prisacariu, Victor Adrian and Sheil, Brian and Jing, Yixiong},
  booktitle = {Advances in Neural Information Processing Systems (NeurIPS)},
  year      = {2026}
}