Skip to content

Kuramoto–Sivashinsky

Spatiotemporal chaos with fourth-order hyper-diffusion:

ut+αuux+β2ux2+γ4ux4=0,α=10016,β=100162,γ=100164,

with periodic boundaries, trained through the transition to chaos.

Results

relative L2 error 4.3e-03recipe adaptive pseudo-time100k steps, single GPU

The chaotic trajectory is tracked to a relative L2 error of 4.3e-03 — and here pseudo-time stepping is transformative, cutting the baseline's 9.4e-02 by 22×. As the dynamics transition to chaos, the plain residual loss develops transient minima that pull training off the trajectory; the damping term suppresses exactly those excursions. Two further observations sharpen the picture: with pseudo-time active, causal weighting becomes redundant (turning it off even edges slightly ahead at 3.6e-03), and a parameter-matched comparison of PirateNet, ModifiedMlp, and a plain MLP shows all three tie at the baseline level — the method, not the network, is what moves this benchmark.

KS prediction vs reference

Reference, PINN prediction, and absolute error through the transition to chaos.

KS convergence

Training losses and relative L2 error of the showcase (pseudo-time) run.

Run

bash
cd examples/ks
python3 main.py --config=configs/pseudo_time.py
ConfigDescription
configs/baseline.pyPirateNet + causal weighting
configs/pseudo_time.pyAdaptive pseudo-time stepping (showcase)
configs/fixed_pseudo_time.pyConstant pseudo-time weights

Notes

  • Longer horizons use time-window training (--config.training.num_time_windows=4), propagating the network's own prediction as the next initial condition.
  • Fourth derivatives via Taylor-mode AD (jax.experimental.jet).

Released under the Apache 2.0 License.