Explorer of experiment E4
Team claude · constrained generative models of a 3D MHD dynamo
About this page This page lets you look at what team claude measured in experiment E4 of the race pilot: conditional generative models of the saturated ABC-forced dynamo in 3D incompressible MHD (grid 16³, 665 Fourier modes, ν = 0.05, η from 0.03 to 0.08), with constraints imposed through the model design, the training loss or the sampling procedure. Every number comes from a result file written by a committed script and exported by experiments/export_explorer.py --team claude; nothing here is published or reviewed outside this repository. The text, the proofs and the status of each claim are in the internship report (PDF).
Controls
The four controls drive every view of the page: the magnetic diffusivity η (the eleven values of the data, marked as training, validation or held-out test), the model variant (grouped by where its constraint acts), one seed or the mean over the seeds, and the metric drawn against η.
Generated against reference
Shell spectra of the velocity and of the magnetic field and magnetic helicity spectrum of the generated ensemble, against the reference ensemble at the same η; below, the integral quantities, the number of magnetic null points per snapshot, the energy balance and the divergence.
━ reference (solver, 24 trajectories) ━ generated (chosen variant and seed)
Comparative table
Seed mean ± standard error on the three held-out η, for every variant; click a column header to sort. The last column gives the registered hypotheses in which the variant is compared, with their status after review. The same table, with the text of the verdicts, is in the comparative study of the report.
Slices of 3D fields
Plane cuts of a few reference snapshots and of a few generated fields of seed 0 at one held-out η, with the same colour scale.
Hypothesis register
The hypotheses of research/teams/claude/hypotheses.json, each with the refutation criterion written before the computation and the verdict of the encadrant role.
GPU jobs and costs
Data and models
The reference data of E4, the laws that the report cites and a catalogue of both are published as the release e4-data-v1.0 of the repository; the section Data and models of the report says what they are. The data were generated for the release by the committed script and are the realisation of the main run of the report (checked against its recorded statistics); the models are the cited laws retrained on these data on CPU; the released W16 uses a coarser map, from moments that are not symmetrised under the sign symmetry, and is farther from the reference than the cited one and than the two Gaussian laws. The weights of the GPU runs behind the report were not kept.
- Data (MFF 1.0: HDF5 with the layout of The Well; 11 files, 2.08 GiB in all, 193.3 to 194.3 MiB each; 24 trajectories × 100 snapshots of u and B on the 16³ grid per η): η = 0.08000 (train), η = 0.07253 (test), η = 0.06575 (train), η = 0.05961 (val), η = 0.05404 (train), η = 0.04899 (test), η = 0.04441 (train), η = 0.04026 (val), η = 0.03650 (train), η = 0.03309 (test), η = 0.03000 (train); a sample of 4.1 MiB: e4_sample_eta0.04899.h5.
- Latent space of the models (PyTorch, 0.1 MiB): e4_latent_space.pt.
- Gaussian laws as parameters (PyTorch): G0, 2.2 MiB: e4_gaussian_G0.pt; G1, 584.6 MiB: e4_gaussian_G1.pt.
- Flow-matching model W9, weights of the five seeds (PyTorch, 67.8 MiB each): e4_model_W9_skip_sym_s0.pt, e4_model_W9_skip_sym_s1.pt, e4_model_W9_skip_sym_s2.pt, e4_model_W9_skip_sym_s3.pt, e4_model_W9_skip_sym_s4.pt.
- Recoloured law W16, linear map of each seed at the three held-out η (PyTorch, 324.0 MiB each; estimated on 32768 samples of W9 per η): e4_W16_map_s0.pt, e4_W16_map_s1.pt, e4_W16_map_s2.pt, e4_W16_map_s3.pt, e4_W16_map_s4.pt.
- Catalogue of the data set, the released models and their evaluations (
milady.catalog): catalog.sqlite, catalog.json. Checksums and list: SHA256SUMS, manifest.json.
Reload a law and draw samples, from the root of a checkout of the repository with its pinned dependencies (the script downloads the files it needs, 392 MiB for the command below, and checks their SHA-256; e4_release/ and samples.h5 are created there). The map of W16 is stored at the three held-out η only: at another η the script recomputes it from 8192 samples of W9, which gives a magnetic energy about 20 % too high (pass --n-recolour 131072, or use G1 or W9).
python3 experiments/e4_release_example.py --dir e4_release --download --law W16 --seed 0 --eta 0.04899 --n 256 --out samples.h5import sys; sys.path[:0] = ["src", "experiments"]
import e4_release_example as R
for name in (R.SPACE, R.WEIGHTS.format(seed=0)):
R.fetch("e4_release", name) # download, check the SHA-256
space = R.load_space("e4_release") # latent space and its normalisation
w9 = R.load_w9("e4_release", space, seed=0) # flow-matching model W9
fields = R.to_fields(space, R.sample_w9(w9, space, eta=0.04899, n=64)) # u and B: (64, 16, 16, 16, 3)A data file is read with milady.data.read_mff(path) and checked with python -m milady.data.convert validate --full <file>.
Diagrams, code and data
- Report: HTML, PDF.
- Diagrams (standalone pages): code architecture of what was added to
src/milady/, workflow of experiment E4, agent organisation of the team. - Code:
src/milady/train/constraints.py,src/milady/train/diffusion.py,src/milady/eval/topology.py(tests intests/test_constraints.py,tests/test_topology.py); experiment scriptsexperiments/e4_data.py,experiments/e4_mhd3d.py,experiments/e4_digest.py,experiments/e4_plots.py,experiments/export_explorer.py. - Digest of the results:
experiments/results/digest.md(sections E4), generated byexperiments/digest.py. - Data of this page:
data/e4.json,data/table.json,data/hypotheses.json,data/jobs.json,data/slices.json.