Experiment workflow
Research question
We measure the structure a fixed forecasting learner can extract from each synthetic generator, and study its relationship with forecasting quality. The generator determines the data distribution; the estimator measures the learning run. A small CPU demonstration illustrates the interface, while the large experiment series supply the research measurements.
Pipeline
Generate series online from deterministic seeds, or create a reusable corpus with
python -m episynth.corpus.Draw forecasting windows using
WindowSpec; training and held-out seed ranges are disjoint.Train Moirai with
python -m episynth.train --config ... --out .... The JSON configuration specifies data, windows, model, training budget and estimator. CLI--set section.field=valueoverrides configuration fields.Record each window’s loss before its training step, checkpoint weights and evaluate raw and EMA models on held-out windows. Runs can resume.
Compute the prequential decomposition with
episynth.analysis.run_area. For losses in nats,total_bits = sum_loss / ln(2),model_part_bits = (sum_loss - N * heldout_mean_loss) / ln(2), anddata_part_bits = N * heldout_mean_loss / ln(2). The reported uncertainty comes from the held-out losses. This finite-budget estimate is specific to the observer and training protocol.Evaluate checkpoints on the short-horizon GIFT-Eval tasks and compare generator-level estimates with forecasting metrics using the analysis API.
Saved series
experiments/episynth contains the two recorded series: a corpus-based series
with 2 million windows and an online series with 40 million windows, together
with configurations, learning curves, held-out summaries, GIFT-Eval summaries,
analysis tables, figures and scripts. See
the experiment README
for exact artifacts and the release holding large per-window losses.
ARIMA coefficient sampling
The default coefficient_mode="legacy" preserves the ARIMA streams used by the
saved experiments, including the original polynomial-order error: all candidate
coefficient vectors are rejected, so the generator always uses its small uniform
fallback. The corrected mode tests the roots of the intended lag polynomial and
therefore changes the data distribution. Enable it explicitly for a new experiment:
python -m episynth.train --config <config.json> --out runs/arima_corrected \
--set data.generator_args.coefficient_mode='"corrected"'
This setting applies to online generation. For a saved corpus, pass
generator_args={"coefficient_mode": "corrected"} to generate_corpus.
Corpus manifests and run metadata record the mode; corpus parts with different
modes cannot be combined. Existing saved results are not relabeled as corrected.
Undefined evaluation metrics
Evaluation keeps the same summary columns for all datasets. A metric is NaN
when its denominator is zero or no eligible observations remain, including scaled
metrics for constant histories and metrics for entirely missing labels. Counts
remain available to explain the result. Constant or insufficient inputs likewise
produce NaN Spearman correlations instead of stopping an analysis table.
Reproducibility and scope
Keep generator seeds, model initialization, window specification, data budgets, optimizer settings, precision and the held-out protocol fixed when comparing runs. Report the units and uncertainty rather than only a generator ranking. The normal CI suite checks small CPU runs and resume behavior; it does not rerun the expensive series or establish the scientific conclusions automatically.