ydai17 commited on
Commit
54087b0
·
verified ·
1 Parent(s): 22feaab

add DATASHEET.md

Browse files
Files changed (1) hide show
  1. DATASHEET.md +227 -0
DATASHEET.md ADDED
@@ -0,0 +1,227 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Datasheet — 256³ DNS Turbulence Dataset (turbgen)
2
+
3
+ Datasheet following Gebru et al. (2021). Every quantitative claim here is grounded
4
+ in the per-case acceptance appendices (`experiments/phase0/results/<case>/DNS_STANDARD_APPENDIX_A.md`)
5
+ and the production catalog; every report carries a provenance stamp
6
+ (git hash / date / machine / torch version) and full verification tables.
7
+
8
+ ---
9
+
10
+ ## 1. Motivation
11
+
12
+ - **Why was this dataset created?** To provide a corpus of 3D incompressible
13
+ turbulence for training and benchmarking turbulence models, where every
14
+ configuration is verified against an objective DNS acceptance standard (resolution
15
+ class, A-group hard gates, and a D-group equation-level consistency check).
16
+ - **What it adds relative to common practice.** Beyond the usual statistics
17
+ (spectrum, isotropy), each configuration is checked with (a) a D-group verifying
18
+ the field satisfies the Navier–Stokes equations to time-truncation precision, and
19
+ (b) high-variance statistics (e.g. A10 isotropy) reported as ensemble mean ± std
20
+ over an IC-ensemble (multiple initial conditions; see Uses for the honest scope of
21
+ "independent") rather than a single value.
22
+
23
+ ## 2. Composition
24
+
25
+ - **Solver**: GPU pseudo-spectral DNS of the incompressible Navier–Stokes equations
26
+ (rotational form), 256³, 2/3-rule dealiasing, Williamson RK3 + Lawson integrating
27
+ factor for viscosity, **fp64 compute**. Forcing for steady cases is Eswaran–Pope
28
+ stochastic Ornstein–Uhlenbeck (random-phase, low-band) — the only forcing that
29
+ avoids the metastable relaminarization of deterministic band forcing on 256³
30
+ (documented negative result, `NEGATIVE_RESULT_deterministic_forcing.md`).
31
+
32
+ - **Configurations**: **15 released frame-configs** spanning controlled physics axes
33
+ (pure-ν Re, forcing-band k_f, correlation-time τ, rotation, passive scalar, stratification,
34
+ helicity, free decay), plus boundary/validation anchors (NOT released as corpus). All 256³, fp64.
35
+ The authoritative config list is `experiments/phase0/make_splits.py::CONFIGS`.
36
+
37
+ **Released frame-configs (15):**
38
+
39
+ | # | name | axis / type | Re_λ | class | verdict |
40
+ |---|---|---|---|---|---|
41
+ | #1 | ou_relam90 | Re axis (k_f=2, τ=2 anchor) | 86 | I | A+D all-green (14 seeds) |
42
+ | #2 | ou_relam70 | Re axis | 70 | I | A+D all-green (dt=0.05: 16 seeds/2416 fr, A10 cross 1.43%) |
43
+ | Re50 | ou_relam50 | Re axis (low end, meas. 54.8) | 55 | I | A+D all-green (14 seeds) |
44
+ | kf3 | ou_robust_kf3 | k_f axis (k_f=3) | 73 | I | A+D all-green (15 seeds) |
45
+ | kf4 | ou_robust_kf4 | k_f axis (k_f=4) | 60 | I | A+D all-green (16 seeds) |
46
+ | τ1 | ou_robust_tau1 | τ axis (τ=1) | 80 | I | A+D all-green (14 seeds) |
47
+ | #7 | helical_re86 | helicity (broken mirror symmetry) | 83 | I | A+D all-green (13 seeds) |
48
+ | decay_hotstart | decay_hotstart_re86 | free decay (hot start) | 86→24 | — | decay-criteria + D all-green (**8 independent trajectories, v2 2026-07-15**) |
49
+ | decay_saffman | decay_saffman_v2 | free decay (initial spectrum p=2) | cold start | — | decay-criteria + D all-green (8 seeds) |
50
+ | decay_batchelor | decay_batchelor_v2 | free decay (initial spectrum p=4) | cold start | — | decay-criteria + D all-green (8 seeds) |
51
+ | ABC | abc_turb_full | helical decay (Beltrami init) | 230→13 | — | decay-criteria + D all-green (8 seeds) |
52
+ | rot-strong | rotating_ro0p2 | rotation (Ω=2.5, frac_2D 0.95) | — | I | hard gate (res+D) pass; A10 report-only (8 seeds, cross 0.36%) |
53
+ | rot-moderate | rotating_ro0p2_v2 | rotation (Ω=0.81, frac_2D 0.64) | — | I | hard gate (res+D) pass; A10 report-only (8 seeds, cross 1.41%) |
54
+ | scalar | scalar_sc1 | passive scalar (Sc=1, 5th channel θ) | 86 | I | hard gate (res+Batchelor+D) pass; A10 report-only (8 seeds, cross 3.31%) |
55
+ | stratified | stratified_reb40 | stratification (Boussinesq, Re_b≈41, 5th channel b) | 86 | I | **complete**; hard gate (res+Re_b+Ozmidov+D) pass; A10 report-only (8 seeds, cross 0.42%) |
56
+
57
+ > **RESOLVED DEFECT (kept for provenance) — `decay_hotstart_re86` originally shipped 8 bit-identical
58
+ > copies of one trajectory** (verified 2026-07-15: `max|diff|=0.0` across all frames, shared ckpt md5,
59
+ > N_eff≈1.0; cause: 8 pools resumed the SAME checkpoint under different seed labels, and
60
+ > `corpus_to_zarr.py` counted directories). **Re-produced same day as v2: 8 genuinely independent
61
+ > trajectories** warm-started from 8 DISTINCT `ou_relam90` checkpoints (md5 8/8 unique, first-frame
62
+ > pairwise `max|diff| ≥ 2.55`, DEC-criteria 8/8 green, zarr attrs now carry
63
+ > `n_independent_trajectories=8`). The defective 79G corpus was deleted with explicit user
64
+ > authorization after v2 passed acceptance. The full record is retained in the production ledger.
65
+ > **All 15 configs now have machine-verified independent seeds**
66
+ > (`benchmark/tests/test_corpus_seed_independence.py`, KNOWN_DUPLICATE exemption list now empty).
67
+
68
+ > **KNOWN LIMITATION — normalizer constants are transductively fitted.** The per-group minmax
69
+ > scalars in each `<CASE>_norm_minmax.json` were fitted over EVERY frame in the corpus, including
70
+ > val/test seeds (`corpus_to_zarr.py` never filters by seed). The leak is a single per-group global
71
+ > extremum — not per-sample statistics — and was measured to shift the velocity scalar by ~7% on one
72
+ > config. Fix requires refitting + retraining everything; judged not worth it. Papers using this
73
+ > dataset must describe the constants as "corpus-global frozen scales", NOT "train-only".
74
+
75
+ **Boundary / validation anchors (NOT released as corpus — honest boundary evidence):**
76
+
77
+ | # | name | role | note |
78
+ |---|---|---|---|
79
+ | #4 | ou_relam100 | Class II resolution boundary | Re_λ111; A2/A4 fail (under-resolved); spectrum+low-order+D usable |
80
+ | #A2 | ou_relam95_classII | Class II resolution boundary | Re_λ98; A2=99.47% marginal; densifies the Class II degradation curve |
81
+ | ~~tau4~~ | ou_robust_tau4 | admitted at config level, **DROPPED from release** | τ=4 passed config-admission (long-trajectory 4-seed pooled: A13/13 + D-group, k_maxη=1.551 Class I; see ledger1) but was DROPPED from the released frame-set (2026-06-26): only 3/8 seeds reached uniform-100 frames, rejects all A7 stationarity. Released τ axis is 2 points {1,2}. |
82
+ | TG | tg_re1600 | Brachet validation anchor | deterministic symmetric decay; not corpus (half of A-group N/A); ε(t) peak matches Brachet |
83
+
84
+ - **Corpus (15/15 complete, dt=0.05, 2026-07-13)**: frame-configs × independent IC-ensemble
85
+ seeds × **150 frames per seed** for forced/extended (decay configs span the active-decay
86
+ window). **Frame cadence = 0.05 T_L (~1 τ_η)** (2026-07-08 dt redesign: the old 0.2 T_L
87
+ cadence decorrelated adjacent frames and degenerated the rollout task; 0.05 T_L makes the
88
+ adjacent-frame change ~17%, learnable — aligns with JHTDB/The Well/APEBench). **Each seed
89
+ carries its OWN independent OU forcing sequence** (`ou_seed = config + IC seed`), so the
90
+ ensemble is a fully-independent ensemble — see §5. Per-config released seed/frame counts
91
+ (sized so the pooled A10 clears threshold; the k_f=2 high-Re cases need more seeds to beat
92
+ the few-mode uw floor): ou_relam90 12/2427, ou_relam70 16/2416 (A10 cross 1.427%),
93
+ ou_relam50 8/1200, kf4/kf3 8/1200, tau1 10/1500, helical 8/1200, rotating×2 8/1200,
94
+ scalar 8/1089, stratified 8/1200, hotstart 8/400, decay-family per decay span. Each frame
95
+ is a 4-channel (u, v, w, p) fp32 field of shape [4, 256, 256, 256] (scalar/stratified add a
96
+ 5th channel θ/b). Pressure is solved by the D4-certified `operators.pressure_hat`. Each
97
+ frame is **instantaneously Class I** (per-frame k_maxη≥1.5 gate). Data currently split
98
+ across the production machines — see
99
+ `DATASET_MANIFEST_dt0.05.md`; merged to a single staging root at release.
100
+
101
+ - **Labels / derived quantities**: each frame stores its time `t` and instantaneous
102
+ `k_max_eta`. Per-case appendices give the full A/B/D acceptance tables.
103
+
104
+ ## 3. Collection process
105
+
106
+ - Each configuration: spin-up to statistical stationarity (or, for decay, warm-start
107
+ from a matured field), then a sampling window. Acceptance is computed by the audited
108
+ referee scripts `eval_dns_standard.py` (A/B) + `eval_dynamics_residuals.py` (D);
109
+ the referee scripts themselves pass known-answer target tests (`test_eval_acceptance.py`,
110
+ including adversarial cases that must FAIL) before judging data.
111
+ - Corpus frames come from a triple gate: per-frame (instantaneous k_maxη≥1.5),
112
+ per-trajectory (class/A2/A12/A14/D1–D4), and multi-seed pooling (A10/A7 time-averaged
113
+ items). Only frames from accepted trajectories enter the corpus.
114
+
115
+ ## 4. Preprocessing / cleaning / labeling
116
+
117
+ - **Compute fp64, store fp32**: storing an already-accepted fp64 field as fp32 is
118
+ verified safe (A12 incompressibility ~1e-13 after the round trip). fp32 compute is
119
+ NOT used (it has a structural small-scale instability).
120
+ - **Per-frame resolution filtering**: frames whose instantaneous k_maxη<1.5 are
121
+ dropped. **Consequence (declared in manifest)**: the dropped frames are the eps-peak
122
+ (most intermittent) instants, so the corpus systematically under-samples the
123
+ strong-dissipation tail; high-order intermittency statistics (derivative
124
+ flatness/kurtosis) are a **lower bound**, not unbiased. Mild at Re_λ≈86 (dropped eps
125
+ ~1.3–1.4× the mean). Frames are therefore NOT uniformly spaced in time — loaders MUST
126
+ use each frame's stored `t`.
127
+
128
+ ## 5. Uses
129
+
130
+ - **Recommended**: training/benchmarking turbulence foundation models on resolved 3D
131
+ incompressible turbulence; testing equation-level consistency (D-group); studying
132
+ forced-steady vs free-decay and non-helical vs helical regimes.
133
+ - **Use with care / not recommended**:
134
+ - Do NOT treat the corpus as an unbiased sample of extreme dissipation events (see §4).
135
+ - Do NOT cite the free-decay decay-rate α as a quantitative physical result: α is a
136
+ **report-only** item — it depends strongly on the virtual-origin t0 (a free fit
137
+ parameter; in-window t0 shifts move α across ~1.3–2.0 at R²>0.998) and deviates
138
+ from textbook Saffman/Batchelor values. The decay cases' defensible value is the
139
+ D-group (equation-level correctness), not α.
140
+ - Do NOT judge isotropy (A10) from a single realization: A10 cross-term is a
141
+ **high-variance** statistic (per-seed scatter ~0.7–6%); the verdict uses the
142
+ multi-seed **pooled** value (corpus: cross 1.92%, comp 2.27%) and is reported as
143
+ ensemble mean ± std (corpus per-seed cross 2.83% ± 1.39%). This pooling is the DNS
144
+ standard's own A9/reporting rule ("average ≥5 T_E **or** ≥8 independent ensemble
145
+ samples; judge on the mean, report uncertainty"; Pope 2000) — pooling reduces the
146
+ finite-volume statistical noise of an estimate of a quantity that is ~0 by isotropy,
147
+ it does not "wash" an anisotropic field isotropic (a truly anisotropic field's
148
+ pooled value would not drop). All healthy seeds are kept (only laminarized /
149
+ A14-aborted runs are excluded), thresholds are unchanged, and per-seed scatter is
150
+ reported alongside the pooled value.
151
+ - **Independence of ensemble seeds**: each seed varies BOTH the initial condition
152
+ (`--seed`) AND the OU forcing sequence — `ou_seed = config + IC seed` gives every
153
+ seed its own independent stochastic forcing drive (`--ou-seed-per-ic`). So the
154
+ ensemble is a **fully-independent** ensemble, not merely IC-varied. This is the core
155
+ of the A10 fix: independent forcing randomizes the sign of the cross-correlations
156
+ ⟨u_i u_j⟩ across seeds, so signed pooling cancels them to the isotropic value. (An
157
+ earlier release shared one fixed `ou_seed` across seeds; that imprinted a common
158
+ directional bias that signed pooling could not cancel — corrected to per-seed
159
+ forcing.)
160
+ - #4 (Re_λ111) is Class II: gradient/high-order statistics are N/A (under-resolved);
161
+ spectrum, low-order moments, and D-group are usable. It is a measured point on the
162
+ 256³ Class I boundary: the publishable-Re ceiling (~Re_λ 86–90) is not a chosen limit
163
+ but the objective consequence of the DNS resolution requirement — at fixed N=256 the
164
+ Class I red line k_maxη≥1.5 caps Re, and #4 (Re111, A2 dissipation-fraction fails) plus
165
+ ou_relam95 (Re98, A2 marginally fails) are where that line measurably sits. Higher Re is
166
+ physically reachable only as Class II (spectrum + low-order + D usable, gradients N/A).
167
+
168
+ ## 6. Distribution
169
+
170
+ - Format: **zarr only** (lossless zstd) — `.pt` frames are an intermediate, deleted after
171
+ conversion + QA. `corpus/<case>/<case>.zarr` holds u[N,3,256,256,256] + p[N,256,256,256]
172
+ (+ θ or b as a 5th field for scalar/stratified) + t/seed/k_max_eta arrays (1 frame/chunk).
173
+ Storage root is the `TURBGEN_DATA_DIR` env var (not a hardcoded path), so the tooling is
174
+ cross-platform. Frozen JOINT-velocity normalizers in `<case>_norm_minmax.json` (maps to
175
+ [-1,1]) and `<case>_norm_standardize.json` (z-score, UNBOUNDED ~±5, pressure to ~−11);
176
+ velocity is normalized by ONE shared scale (not per-component) to preserve A10 isotropy.
177
+ Lossless verified bit-exact (random frame spot-checks). `seed` index orders seeds numerically.
178
+ - Hosting: full corpus on **Zenodo (DOI)**, core subset on **HuggingFace**; data **CC-BY-4.0**,
179
+ code **MIT**.
180
+ - License / public release: **pending user decision** (publication and public release
181
+ require maintainer sign-off).
182
+
183
+ ### Reproducibility scope (honest)
184
+ - **Bit-exact regeneration requires the ORIGINAL (device, torch version).** The OU forcing's
185
+ random sequence is generated on-GPU; GPU RNG differs from CPU and can differ across GPU
186
+ architectures / torch versions. The two production machines run different torch (2.11 vs
187
+ 2.7), so a trajectory is byte-identical only when re-run on the same hardware+torch that
188
+ produced it. **The released fp32 zarr is the canonical bit-exact artifact.**
189
+ - From the public solver + config + seed + git hash you can **regenerate the same flow
190
+ STATISTICS** (spectra, A/B/D-group verdicts) on any fp64-capable device — the dataset's
191
+ statistical properties are reproducible everywhere; per-byte identity is hardware-bound.
192
+ This is the standard situation for GPU-RNG DNS and is stated so reviewers reproducing on
193
+ different hardware expect matching statistics, not matching bytes.
194
+
195
+ ## 7. Maintenance
196
+
197
+ - Two-machine generation (Windows/torch 2.11 and Linux/torch 2.7) sharing one
198
+ git repo; the solver is cross-machine reproduced (#1 independently reproduced on both
199
+ OS / torch versions, A+D all-green, consistent). Acceptance appendices carry
200
+ provenance stamps for traceability.
201
+
202
+ ## 8. Known limitations / open items
203
+
204
+ - **Production scope:** 15 frame-configs × **8–16 IC-seeds (forced) or 8 (ext/decay)** × 150
205
+ frames (decay configs span the active-decay window, frozen tail excluded), zarr-only.
206
+ **As of 2026-07-13 production is 15/15 complete** (all forced/ext/decay accepted and on
207
+ disk). Per-config accepted-seed counts vary with the per-trajectory gate and the pooled-A10
208
+ requirement (forced k_f=2 high-Re cases pool more seeds: relam90 12, relam70 16; others 8–10
209
+ — see the released-frame-set table §2 and `DATASET_MANIFEST_dt0.05.md`). Data is split
210
+ across the production machines; merged to a single staging root at release.
211
+ - **Regime framing is honest, not orthogonal axes:** only the pure-ν Re axis {Re_λ 55,70,86}
212
+ is single-variable (the low point measured Re_λ=54.8, nominal "50"). The k_f {2,3,4} and τ {1,2} variations are physically-distinct
213
+ forcing regimes but are CONFOUNDED with Re (higher-k injection / longer correlation shift
214
+ ε → Re); the manifest records each config's MEASURED (Re_λ, k_f, τ, ε). Physical diversity
215
+ comes from multi-physics breadth + this measured-regime coverage, not a wide clean sweep.
216
+ - **Frame count after the per-frame gate:** the instantaneous k_maxη≥1.5 gate drops some
217
+ frames (Re86-edge configs like scalar drop ~half on the ε-peak instants); production
218
+ over-provisions the sampling window so enough frames survive the gate. Frame counts are
219
+ therefore NOT uniform across seeds (accepted as of 2026-07-04); per-seed kept counts are in
220
+ the manifest.
221
+ - **Re_λ≈55 caveat (the Re-axis low point, config `ou_relam50`):** a low-Re /
222
+ dissipation-dominated regime with essentially no inertial range (B-group is report-only
223
+ below Re_λ100); included as the Re-axis low endpoint, not as an inertial-range-physics
224
+ sample. Calibrated 2026-06-25: σ²=0.0555 → Re_λ=54.8, A5 L_box/L=5.35 PASS (the flagged
225
+ A5 risk did not materialize). Named "50" (nominal), measured 54.8.
226
+ - #4 D2 re-measured under the frozen protocol (2026-06-21): mean 1.04e-3 (was
227
+ 3.96e-3 live-forcing); verdict unchanged. All D2 values now use the frozen protocol.