Code and results for the paper "Mix, Don't Pick: Why Synthetic Corpus Composition Matters for Time Series Foundation Model Pretraining", presented at the Foundation Models for Structured Data Workshop, ICML 2026.
TL;DR: Under identical training budgets, the best and worst synthetic generators produce a 2× gap in forecasting error; but a simple equal-weight mixture of all generators matches or beats the best individual generator for both Chronos-T5-Mini and Moirai-Small. Synthetic pretraining is a corpus composition problem, not a generator selection problem.
Precomputed results for all conditions are in results/. The analysis notebook
analysis.ipynb reads from results/tstr/ and reproduces all tables in the paper.
git clone https://github.com/your-org/mix-dont-pick.git
cd mix-dont-pick
pip install -r requirements.txt
cp .env.example .env # then fill in your pathspython scripts/generate_corpora.pyThis produces one Arrow corpus per generator (11 total) plus the Mixed11 mixture,
written to $DATA_ROOT/arrow/.
python scripts/build_pretrain_index.py
python scripts/build_real_reference.pyRequires the GIFT-Eval pretraining dataset. See data/gift_eval/README.md for setup.
Chronos-T5-Mini (uses HuggingFace Trainer, configs in configs/):
bash run_chronos_sequential.shMoirai-Small (uses uni2ts CLI, patches in uni2ts_patches/):
bash run_moirai_queue.shApply the patches in uni2ts_patches/ to a fresh clone of
uni2ts before running.
See uni2ts_patches/CHANGES.md for exactly what was changed.
python scripts/run_chronos_eval.py --gpu 0
python scripts/run_moirai_eval.py --gpu 0Results are written to results/tstr/.
Open analysis.ipynb and run all cells. Outputs go to results/fmsd_tables/.
| Name | Family |
|---|---|
| ARIMA | Linear statistical |
| ETS | Exponential smoothing |
| fBm | Stochastic process |
| SDE | Regime-switching OU process |
| GARCH | Volatility model |
| KernelSynth | Gaussian process |
| Chaotic | Lorenz / Mackey–Glass |
| StepFunction | Piecewise constant |
| Waveform | Non-smooth periodic |
| TimeSynth | Composite signal |
| TSI | Trend-seasonality-irregularity |
generators/ # 11 synthetic generator implementations
scripts/ # one entry point per pipeline stage
configs/ # per-condition Chronos training configs
uni2ts_patches/ # modifications to uni2ts for Moirai training
utils/ # evaluation and preprocessing utilities
data/ # GIFT-Eval metadata and index files
results/
tstr/ # raw per-seed evaluation results
fmsd_tables/ # final tables as in the paper
analysis.ipynb # reproduces all paper tables from results/
@inproceedings{anonymous2026mix,
title={Mix, Don{\textquoteright}t Pick: Why Synthetic Corpus Composition Matters for Time Series Foundation Model Pretraining},
author={Anonymous},
booktitle={2nd ICML Workshop on Foundation Models for Structured Data},
year={2026},
url={https://openreview.net/forum?id=ywumgXC5bh}
}