# C-PHAST: Compositional Port-Hamiltonian World Models for Structured Dynamics Transfer

> C-PHAST reuses component energy-and-dissipation laws in proposed systems and estimates hidden starting states from measurement histories. On unseen five-unit grids, its mean voltage RMSE was 65× lower than compositional pHNN's; both models used isolated-unit training, with no network calibration.

- arXiv: https://arxiv.org/abs/2612.03677
- Authors: Shubham Bhardwaj, Chandrajit Bajaj
- Published: 2026-12-03
- Topic: Robotics
- Visual carousel: https://instaxiv.com/p/2612.03677
- Explanation by InstaXiv, a secondary educational summary. Cite the original paper for exact results. InstaXiv is not affiliated with or endorsed by arXiv or Cornell University.

## Can reusable component laws predict a system not seen in training?

**65×** lower mean voltage RMSE vs pHNN on unseen grids

## Same unit, different attachment risk

![Figure 1](https://cdn.instaxiv.com/figures/2612.03677/figure1.webp)

In a saved simulation, connecting unit 5 at bus A overloads a line; bus B stays within synthetic current and voltage limits. C-PHAST tracks the independent physical reference in both. (Figure 1)

## How C-PHAST builds candidate futures

1. **Fit local laws**: Share one storage-and-dissipation law per type; supply known laws and learn uncertain ones.
2. **Connect through ports**: Skew, power-paired ports cancel net internal power; wiring changes motion while local laws stay fixed.
3. **Estimate and roll out**: Infer present state from history, retain existing states, supply states for additions, then simulate candidates with laws frozen.

## Isolated-unit training transfers to five-unit grids

| Method | Voltage RMSE (mV) | Finished branches |
| --- | --- | --- |
| Compositional pHNN | 11.78 | 150/160 |
| **C-PHAST (65× lower RMSE)** | **0.181** | **160/160** |

_Both models used 32 isolated DGU trajectories; no network calibration. Four-fit RMSE means; pHNN failed 10/32 branches in fit 3._

## C-PHAST matches reference on 60 attachment screens

| Method | Correct vs ref. | Failed / abstained |
| --- | --- | --- |
| Compositional pHNN | 55/60 | 0/60 |
| N-PHDAE | 18/60 | 42/60 |
| **C-PHAST (+5 decisions)** | **60/60** | **0/60** |

_60 screens, 20 s; network-calibrated models, supplied states; sampled synthetic 400 mA limit. Correct can reject both; budgets differ._

## Can voltage history reveal hidden currents?

**CT-SUBNET encoder:** With 0.02 V Gaussian noise, CT-SUBNET's two-second pooled hidden-current RMSE on a fixed three-DGU chain was 86.25 mA.

**C-PHAST history fit:** It fits a physical initial state through frozen laws and supplied line physics: 27.98 mA RMSE, 67.6% lower.

Both had richer source labels; deployment used 21 voltage-only samples over one second plus known inputs.

## Source fit does not predict robot transfer

![Figure 8](https://cdn.instaxiv.com/figures/2612.03677/figure8.webp)

Top: held-out ANYmal-D; bottom: Go2 without retraining. Five position frames plus future position commands, no Go2-specific parameters. C-PHAST leads across horizons (mean 0.073 rad² at 1 s vs fixed-dimension GRU 0.112), despite tighter GRU source fit. (Figure 8)

## A compact model nears the measured-motion reference

| Method | Parameters | Near-best (%) |
| --- | --- | --- |
| Measured-motion ref. | ref. | 92.34 |
| Unconstrained MLP | 88.6k | 90.58 |
| Robotic World Model | 1.38M | 91.74 |
| **C-PHAST** | **35.5k** | **90.47** |

_2-seed/5-fold means; 82 held-out 20 s walks; same 22-D inputs; 4,152 comparisons. Near-best = within 1% of lowest feasible measured cost._

## Frozen models face physical stress tests

![Figure 13](https://cdn.instaxiv.com/figures/2612.03677/figure13.webp)

Frozen-model rollouts: C-PHAST's mean knee-torque slope is 0.158 versus Spot's ≈0.151 reference; with motors off, speed falls to 0.067 rad/s. A +50 kg mass edit gives a 0.20 push-speed ratio, versus 1.00 for MLP/RWM. (Figure 13)

## Physical structure cannot certify every decision

**Formal pH property:** With skew coupling, the formal port-Hamiltonian model cancels internal power; nonnegative damping and no external input make its continuous-time energy nonincreasing on the declared domain.

**Ranking proof:** Trustworthy rankings need joint error bounds for state, dynamics, integration and readout errors across candidate choices and time; learned nonlinear studies do not establish them.

Physical structure alone is not a safety certificate.

## Where the evidence stops

- **Grid screening**: Synthetic grid tests start from supplied post-connection states and check sampled-time limits; switching transients and protection hardware were omitted.
- **Spot selection**: It ranks recorded, input-conditioned walks, not command-only plans or battery savings from executing a new route.
- **Text conflict**: The supplied text conflicts: robotics describes skew coupling on velocities; the appendix says Spot couples momenta directly, leaving passivity unresolved.

Best used when: Compare specified candidate futures when component laws, wiring and starting states are available; check error bounds before safety claims.

## Key takeaways

- Reusable component laws let forecasts survive new connections without retraining the assembled system.
- Use forecasts to compare specified, input-conditioned candidates; Spot's battery study ranked recorded walks rather than newly commanded routes.
- Next, combine voltage-only state inference with learned-law screening and validate decision bounds for learned nonlinear models.

## Links

- arXiv: https://arxiv.org/abs/2612.03677
- PDF: https://arxiv.org/pdf/2612.03677
- Project page: https://shubham-bhardwaj.com/cphast/

## Citation

```bibtex
@article{bhardwaj2026cphast,
  title   = {C-PHAST: Compositional Port-Hamiltonian World Models for Structured Dynamics Transfer},
  author  = {Bhardwaj, Shubham and Bajaj, Chandrajit},
  journal = {arXiv preprint arXiv:2612.03677},
  year    = {2026},
  url     = {https://arxiv.org/abs/2612.03677}
}
```
