Lorenz ODE – unknown C₁, C₂, C₃¶
| Example | |
|---|---|
| Source | DeepXDE example |
| Problem | Inverse (DeepXDE inverse example) |
| Dimension | ODE (t) |
| Regime | Time-dependent |
| Geometry | — (t only) |
| Outputs | y1, y2, y3 |
| Settings | Default (no separate Tuned preset) |
Governing equations¶
Mathematical form (from the benchmark records):
As typed in PINNStudio's Equations page (each expression is a residual, set to zero):
Domain¶
- Time interval: \(t \in [0, 3]\)
Initial conditions¶
| Output | Initial value | How it is imposed (Settings: Default) |
|---|---|---|
y1 |
-8 |
loss term |
y2 |
7 |
loss term |
y3 |
27 |
loss term |
Boundary conditions¶
No boundary-condition rows: the boundary values are imposed exactly through the network's output transform (see Methods below), or the problem has no boundary terms.
Unknowns and measured data (Inverse)¶
| Trainable parameter | Initial value | True value |
|---|---|---|
C1 |
1 | 10 |
C2 |
1 | 15 |
C3 |
1 | 2.66667 |
Measured data (Inverse page, measured-data files):
reference_data/deepxde/lorenz/y1_obs.txt→ outputy1, weight 1reference_data/deepxde/lorenz/y2_obs.txt→ outputy2, weight 1reference_data/deepxde/lorenz/y3_obs.txt→ outputy3, weight 1
Settings¶
Settings: Default — DeepXDE's own settings
- Network: FNN, hidden layers 3 × 40, inputs (t), 3 outputs; activation tanh, initializer Glorot uniform
- Points: 400 domain, 2 boundary, 400 test
- Loss weights:
1,1,1,1,1,1(equations, then boundary-condition rows, then initial conditions)
| Phase | Optimizer | Iterations | Learning rate | Decay |
|---|---|---|---|---|
| 1 | Adam | 20,000 | 0.001 | none |
| 2 | L-BFGS | 15,000 | — | none |
No separate Tuned preset: the Tuned item is greyed out for this example (its Default settings are PINNStudio's best).
Results¶
The configuration selected in PINNStudio's benchmark study, run on one RTX 4090. Forward: relative L₂ error of each output at the last reference time. Inverse: each parameter's relative error and, per seed, the largest of them (worst parameter error).
Inverse problem¶
Settings: Default — the example's own settings (not in the tuning sweep); the example has no separate Tuned preset for this mode. Values: median over seeds 2026, 1, 2.
| Parameter | True value | Recovered | Relative error |
|---|---|---|---|
| C₁ | 10 | 10 | 0.032 % |
| C₂ | 15 | 14.9998 | 0.0013 % |
| C₃ | 2.66667 | 2.66664 | 0.0011 % |
Worst parameter error: 0.032 % (the median over the seeds of each seed's largest error).
Other outputs (2 figures)
Full benchmark record: every setting tried, the per-seed values and all figures are in the benchmark records on GitHub.
Loading it in PINNStudio¶
- Inverse: toolbar Examples: › Inverse › under the ── ODE ── heading, Lorenz ODE – unknown C₁, C₂, C₃ › Default, then Solve.
Loading an example fills in every setting; anything you change before Solve is listed in the Training Log. Your save folder, GPU, random-seed and plot-style settings are kept.
Reference solution¶
- Reference data files:
reference_data/deepxde/lorenz/
Notes¶
- Unknown C1, C2, C3 (true 10, 15, 8/3) from measurements of y1, y2, y3 at 50 times in [0, 3], computed with SciPy's solve_ivp by tools/make_deepxde_reference_data.py (DeepXDE uses its Lorenz.npz).
Definition and records¶
- Definition:
EXAMPLESentry "Inverse: Lorenz system" inpinnstudio/core/deepxde_examples.py - Equations: Governing equations on this page
- Reference data:
reference_data/deepxde/lorenz/, written bytools/make_deepxde_reference_data.py - Measured data (Inverse):
reference_data/deepxde/lorenz/, written bytools/make_deepxde_reference_data.py - Benchmark records:
benchmarks/problems/lorenz-ode-unknown-c-c-c.md, its entry in the examples overview, the benchmark collection - Tuning-study configurations (records of the tuning study; open one with Problem › Open Saved Problem...; not presets of the Examples list):
Lorenz ODE – unknown C₁, C₂, C₃ (tuned).pinn.json - DeepXDE example: Lorenz_inverse.py (documentation)
- Cite: Lu et al. 2021 (DeepXDE)
How the benchmark values were measured and checked: Reproducibility.