Dynagraph: Typed Physical Memory with Recurrent Belief Refinement for Robotic Manipulation
An explicit, uncertainty-calibrated physical state layer for contact-rich manipulation — ablated from 28.13M down to a stateless vanilla baseline across 35 multi-physics robot families, with public weights on Hugging Face and live Inkling-2-Mini System I/II fine-tuning underway.
Generalist vision-language-action (VLA) policies have made rapid progress on open-world semantic manipulation, yet contact-rich industrial and precision tasks still fail on physical quantities that cameras cannot observe: brittle fracture ceilings, mass outliers, shear-thinning viscosity, fastener strip torque, and sub-pixel optical misalignment. Storing interaction history inside opaque latent embeddings leaves downstream controllers unable to audit physical estimates, enforce conservative SI safety bounds, or transfer calibrated object properties to unseen robot morphologies.
Dynagraph (PhysMemV2) introduces an explicit, strictly actor-legal Typed Physical Memory with Recurrent Belief Refinement. Rather than mapping history directly to actions, the model fuses dense 32-channel proprioceptive, wrench, and per-finger tactile interactions into 13 explicit SI-unit latent slots, refines cross-property physical couplings over K=4 weight-tied attention passes (BeliefRefiner), and outputs calibrated posteriors that govern both a Pareto-safe skill planner (~7 ms) and an 83–500 Hz TypedTactileRegulator (as well as a raw-pixel visuomotor PhysMem-ACT bridge). We ablate our 28.13M model down to opaque memory and stateless vanilla baselines across 35 multi-physics robot families, release verified checkpoints publicly on Hugging Face, and have begun fine-tuning the looped Inkling-2-Mini System I/II language backbone directly on top of these typed physical-memory features.
1. Motivation: Why Explicit Physical Memory Matters
Two visually identical objects on an assembly bench — a thin borosilicate optical cartridge that shatters at 1.2 N and a solid aluminum fixture that requires 35 N to resist slip — demand completely different interaction strategies. A robot only discovers which regime it is in through contact.
Mainstream visuo-tactile policies address partial observability by compressing contact traces into an unstructured recurrent hidden vector. While effective inside a single trained robot-task cell, opaque memory exhibits three structural failure modes in high-consequence workcells:
- No certifiable safety envelope: An opaque hidden state cannot be translated into a conservative lower-confidence-bound Newton ceiling for a high-rate force controller when a brittle part arrives out-of-distribution.
- No cross-morphology invariance: Hidden states entangled with joint kinematics fail when a calibrated object lot moves from a UR5e arm to an unseen 7-DoF Franka Panda or mobile manipulator.
- No active uncertainty reduction: Without per-property posterior variance
σ²(z_i), policies cannot distinguish between a known rigid lot (skip probing to save cycle time) and an uncertain fragile lot (probe gently before committing).
Dynagraph resolves all three by enforcing an explicit typed SI-unit bottleneck between perception and control: interaction history may influence decisions only through named, uncertainty-tracked physical slots (mass, crush_n, stiffness, friction, grip_friction, damping, clearance, breakaway, offset_x/y, slip_thresh, torque_limit, thread_friction).
PRIVILEGED_LABEL, entity.hidden) are blocked at the hardware abstraction boundary and trigger an immediate latched ESTOP if leaked.
2. System Architecture & Two-Timescale Coupling
Dynagraph separates physical reasoning across two timescales. A compact neural world model (PhysMemV2, 28.13M parameters, ~7 ms inference) maintains a precision-fused posterior over 13 typed physical properties and evaluates candidate actions via 48 analytical physics margins. Simultaneously, a deterministic 83–500 Hz System-1 regulator decodes the posterior's lower confidence bound into hard force, torque, and admittance ceilings inside the robot's inner control loop — preventing fracture even under 150 ms asynchronous inference latency.
BeliefRefiner passes propagate cross-slot physical couplings (e.g., measured tactile stiffness informing brittle fracture limits). Downstream, the posterior drives both slow Pareto-safe skill selection (~7 ms) and fast inner-loop force regulation (83–500 Hz), and conditions both raw-pixel PhysMem-ACT and the Inkling-2-Mini looped core.
K=4 weight-tied refinement passes propagate cross-slot physical structure before decoding.3. Real MuJoCo 4.0.1 Closed-Loop Rollouts
To test whether typed physical memory generalizes across radically different contact regimes, we evaluate across 37 procedural MuJoCo 4.0.1 task families spanning rigid industrial assembly, 3D deformable pouches, Unitree G1 + dual 7-DoF Dex3-1 bimanual dexterity under 150 ms async latency, holonomic mobile-base logistics (Stanford TidyBot), coupled 500 Hz thermal/viscous ODEs, and sub-diffraction nanopositioning down to 50 nm (7,000× finer than 350 μm overhead vision noise). All 15 loops below are genuine headless EGL recordings; click any frame to inspect full size.
4. Empirical Results: Ablating 28.1M Down to Vanilla
All neural evaluations use strictly disjoint held-out TEST seeds (8,500,000+; TRAIN 1e6–3e6, VAL 7e6–7.9e6), unified MuJoCo 4.0.1 physics, zero privileged observations, and paired identical seeds across every baseline and ablation rung.
Across all 46 held-out TEST cells (368 paired jobs spanning 35 families), PhysMemV2 v17-XL (28.13M) achieves 34/35 FULL VAL trust (plus 1 S1-damage-guard family, 0 untrusted), raises mean task yield from 0.208 (scripted) to 0.684 (3.29×), and reduces scrap from 67.4% down to 9.2% — safer than the hand-tuned adaptive baseline (10.6%) with 0 fallbacks across 1037 neural calls and 0 Hard E-STOPs.
4.1 Component Ablation Ladder (28.1M Down to Vanilla)
Does the typed physical-memory bottleneck actually help closed-loop control, or would an opaque memory or stateless Transformer perform just as well? Table 1 isolates the contribution of typed SI slots, recurrent belief refinement, capacity scaling, and neural planning on identical held-out TEST seeds. Scaling capacity from 11.69M (d=320, K=3) to 28.13M (d=512, K=4) on the exact same dataset lifted 46-cell TEST yield by +0.015, lowered scrap by −0.9%, and flipped the 24-cell closed-loop Typed-vs-Generic margin by +0.031 to a decisive +0.026 lead over both opaque Generic memory and stateless NoMem.
| Model / Ablation Rung | Params | VAL AUC | TEST Score | Δ vs Full | Scrap |
|---|---|---|---|---|---|
| Full PhysMemV2-XL (28.1M, Typed + K=4 Refiner + Phys + S1) | 28.13M | 0.8998 | 0.672 | reference | 14.3% |
| − S1 Tactile Regulator (28.1M Typed + K=4 + Phys, no S1) | 28.13M | 0.8998 | 0.677 | +0.005 | 14.1% |
| − Recurrent BeliefRefiner (Typed + Phys, K=0 single-pass) | 24.18M | 0.8789 | 0.661 | -0.010 | 14.3% |
| − Analytical Physics Margins (Typed + K=4, NoPhys) | 28.09M | 0.8906 | 0.675 | +0.003 | 14.8% |
| − Typed Physical Slots (Opaque Generic Memory, 23.8M) | 23.78M | 0.8926 | 0.661 | -0.010 | 14.6% |
| True Vanilla Transformer (NoMem + NoPhys, Stateless) | 11.70M | 0.8833 | 0.652 | -0.020 | 15.6% |
| Nominal Scripted Baseline (No Neural Model) | 0 | — | 0.059 | -0.613 | 84.6% |
PhysMemV2 held scrap at 9.2% (lower than hand-tuned adaptive 10.6%). (b) Sub-pixel heterodyne RLS servoing and micro-loadcell contact break 7,000× below 350 μm overhead vision noise (50 nm EUV lock). (c) Across closed-loop generations, explicit Typed slots + Recurrent BeliefRefiner consistently outperform opaque Generic memory and stateless NoMem on identical TEST seeds.
4.2 Zero-Shot Cross-Morphology Transfer & Raw-Pixel Visuomotor Conditioning
Because typed latent slots represent object-centric physical SI units rather than robot-specific joint commands, a single trained PhysMemV2 world model transfers zero-shot to embodiments never seen in that task during training (7-DoF Franka Panda, holonomic Stanford TidyBot, Unitree Z1) — outperforming hand-tuned adaptive baselines by +0.083 to +0.104 with zero fallbacks. In parallel, feeding those actor-legal 26-dim posteriors via FiLM and a dedicated Transformer token into an end-to-end 10 Hz raw-pixel policy (PhysMem-ACT v3) directly cuts continuous grip-force prediction error and closed-loop part damage against an identical iso-parameter Blind-ACT baseline (Table 2).
| Evaluation Benchmark (Strictly Held-Out TEST Seeds) | Baseline | Dynagraph | Measured Gain |
|---|---|---|---|
| 6-Cell Zero-Shot Unseen Robots (Panda @ 100/250/800 nm, TidyBot, Z1) | Adaptive 0.604 (Scr 0.354) |
v17 0.708 · v17-XL 0.688 |
+0.104 / +0.083 |
PhysMem-ACT v3 — CNC fixture_place (24 TEST seeds, 64×64 RGB) |
Blind-ACT: 11.29 N MAE, 33.3% dmg, 0.000 solved |
4.85 N MAE, 16.7% dmg, 0.042 solved | −57% MAE, −50% dmg |
PhysMem-ACT v3 — 3D pouch_transfer (24 TEST seeds, 64×64 RGB) |
Blind-ACT: 0.74 N MAE, 0.042 solved, r=−0.236 |
0.58 N MAE, 0.083 solved, 0% dmg, r=+0.373 |
2× solved, 0% dmg |
Frozen-RGB Causal Belief Counterfactual (sweep z[mass], z[crush] −2σ→+2σ) |
Blind-ACT: +0.00 N / +0.00 N |
PhysMem-ACT: +38.94 N / +16.24 N | Causal steering |
| Tier-11 Frontier & 14-Gate Workcell FAT (50 nm EUV + TidyBot + Fuzz/OOD/Byzantine) | Scripted: 0.000 yield, 78.1% scrap |
1.000 yield (4/4), 0.0% scrap, 14/14 gates | +1.000, 0 E-STOPs |
PhysMem-ACT v3 binary solve rates (4.2%–8.3%) demonstrate causal physical-belief conditioning rather than solved pure-BC pixel-to-action completion.
5. Honest Comparison with 2026 Robotics SOTA
Downstream robotics teams rightly ask how a 28M specialist world model compares against modern foundation VLAs such as Physical Intelligence's π0.5, Google DeepMind's Gemini Robotics 2.5, NVIDIA GR00T N1.5, and tactile VLAs (ForceVLA, AT-VLA, ForeTac-VLA, ViTacWorld). We do not compete with generalist VLAs on real-world open-vocabulary dexterity; rather, Dynagraph addresses the explicit physical-memory, safety-bounding, and cross-morphology calibration layer that black-box VLAs currently leave implicit (Table 3).
| Capability Axis | 2026 Generalist & Tactile VLAs (π0.5, GR00T, Gemini, ForceVLA) | Dynagraph (PhysMemV2-XL) |
|---|---|---|
| Real-World Open Vocabulary | Stronger. Trained on large-scale physical robot teleop + web VLMs; validated on real hardware. | MuJoCo 4.0.1 simulation & mock HIL only; no physical robot validation yet. |
| Physical State Representation | Implicit weights or opaque latent vectors; cannot be audited or edited in SI units. | Explicit 13 SI slots with posterior variance; editable and counterfactually verifiable (+38.9 N). |
| Typed vs. Opaque Memory | Unstructured tactile embeddings (ViTacWorld / ForeTac-VLA). | Typed + Refiner beats opaque Generic & NoMem by +0.026 in 24-cell closed-loop ablation. |
| Zero-Shot Unseen Robots | Requires multi-embodiment action-space co-training or kinematic retargeting. | 0.708 (+0.104 vs adaptive) zero-shot on unseen Panda, TidyBot & Z1 via object-centric SI units. |
| Scrap & Formal Safety Gates | Rarely coupled to deterministic LCB force regulators or adversarial test suites. | 9.2% scrap (< adaptive 10.6%), 14/14 fuzz/OOD/Byzantine/tamper gates, 0 E-STOPs. |
6. Ongoing Work: Fine-Tuning Inkling-2-Mini System I/II
Our broader thesis is that a looped pretrained language backbone (Inkling-2-Mini) can host this exact typed physical-memory graph in a fast System I mode (<sys1>) while keeping general language reasoning in System II (<sys2>) bit-for-bit untouched via position-gated core LoRA and zero-initialized memory cross-attention.
We have started fine-tuning Inkling-2-Mini (NVFP4 looped core, 9.19M trainable System-I LoRA + cross-attention + head parameters) across all 35 multi-physics families (37 skills) directly on top of the frozen 28.13M typed physical-memory front-end. Through step 1600/1600 at 20.9 GiB CUDA, 35-family VAL AUC climbed monotonically from 0.5400 → 0.8469 and VAL Brier dropped from 0.2577 → 0.1583 while keeping System-II language outputs bit-for-bit identical (rtol=0, atol=0, system2_bit_exact=True). Verified System-I adapter checkpoints are published on Hugging Face as training continues toward full closed-loop qualification.
7. Public Weights, Reproducibility & Citation
Verified PhysMemV2-v17-XL (28.13M 3-seed typed ensemble, generic & nomem ablations, trust.json) and PhysMem-ACT v3 checkpoints are hosted publicly at huggingface.co/jacob-valdez/dynagraph-physmem-v2, and the full 37-family MuJoCo suite + 321-test CI lives at github.com/JacobFV/dynagraph.
git clone https://github.com/JacobFV/dynagraph.git && cd dynagraph && pip install -e ".[dev]" hf download jacob-valdez/dynagraph-physmem-v2 --local-dir results/hf_weights MUJOCO_GL=egl physmem factory fat --suite tier11 --seeds 8 --workers 4 --out results/factory/tier11
BibTeX
@software{valdez_dynagraph_physmem_v2_2026,
title = {Dynagraph (PhysMemV2): Typed Physical Memory with Recurrent Belief Refinement for Robotic Manipulation},
author = {Valdez, Jacob},
year = {2026},
url = {https://github.com/JacobFV/dynagraph},
note = {Project site: https://jacobfv.github.io/dynagraph/ ; Public weights: https://huggingface.co/jacob-valdez/dynagraph-physmem-v2 ; Author: https://jvboid.dev}
}