| Research topic: | Epiplexity and transfer in synthetic time-series pretraining |
|---|---|
| Research category: | CoIS, BMM |
| Authors: | Danila Chernousov, Mark Ikonnikov, Daniil Kazachkov, Alexey Kravatskiy |
| Research supervisor: | To be confirmed |
| Research adviser (if applicable): | To be confirmed |
We develop episynth, a Python library for studying what forecasting models
learn from synthetic time series. It connects seeded generation, probabilistic
training, information measurements, and evaluation on real forecasting tasks.
Our research examines whether measurements collected during pretraining help
select synthetic data sources. In the completed eleven-generator comparison,
KernelSynth gives the best aggregate transfer and excess prequential loss has
a weak association with forecasting quality across the full set.
The earlier research roadmap in publications/plan/ is outdated.
Current implementation details are in src/episynth/README.md and
publications/description.md. The research article analyzes the saved experiments.
Read the technical report PDF for architecture, interfaces, and examples, with reproduction instructions. The research article covers coding theory and experiments, with its own analysis scripts. The four-method library scope is described in the measurement contracts:
- Prequential coding (implemented): measure the predictive cost of the training sequence; return total, residual-data and signed model-proxy costs in bits.
- Requential coding (registered stub): describe a student's learned predictions through teacher-selected synthetic training samples and their coding costs.
- Predictive V-information (implemented): fit predictors with and without context,
select on validation, then estimate paired test log-loss reduction in bits per window.
CPU example:
python -m episynth.train --config experiments/demos/v_information.json --out runs/v_information_cpu. - Bayesian predictive log-loss (OU reference implemented): marginalize the known AR(1) prior to obtain joint and pointwise forecast-loss references. A common public wrapper remains proposed.
Seeded task generation, AdamW/EMA training, and GIFT-Eval scoring provide shared infrastructure. The saved transfer experiments use the prequential method.
src/episynth/ the package: generators, task windows, Moirai port, training with per-window
loss logging, analysis, evaluation on GIFT-Eval, pluggable estimators of
epiplexity (overview in src/episynth/README.md)
tests/ pytest
experiments/ experiment code and demo (demos/) plus saved outputs (episynth/): two training
series (configs, training curves, held-out losses, GIFT-Eval summaries,
analysis tables, figures, scripts)
doc/ Sphinx documentation (autodoc); GitHub Pages publication is manual
publications/ non-code material for the article and project: paper/ (arXiv manuscript),
blogpost/, notes/ (literature review), research_notes/, slides/, plan/,
figures/, technical_report/ (article and reproducible analysis), journal/ (research
journal of the time-series track: landscape and experiment, journal.pdf), description.md
pyproject.toml package metadata (name = episynth)
README.rst this file
Requires Python 3.10+ and uv. On a network that needs system TLS
certificates, add --system-certs to the uv commands.
uv sync --locked --extra dev
uv run --no-sync pytest tests/
uv run --no-sync ruff check src/ tests/ experiments/demos/ doc/source/conf.pyThe Sphinx documentation (with autodoc) is built on pushes and pull requests to main.
Automatic publication is disabled as required by the course. To update GitHub Pages, open
Actions → docs → Run workflow, select main, and start the workflow manually.
To build it locally:
uv run --no-sync sphinx-build -b html -W --keep-going doc/source doc/_build
# open doc/_build/index.htmlThe generated API example is doc/_build/api/estimators.html. See
doc/source/installation.rst for standalone hosting and GitHub Pages setup.
The Pages source must be configured as GitHub Actions. The expected URL is
https://intsystems.github.io/Epiplexity/; a successful deployment is required to
update the online site. Pull requests build documentation without publishing.
If the site returns 404 and Actions shows a separate pages build and deployment
run using Jekyll, change Settings → Pages → Source from branch publishing to
GitHub Actions, then run docs manually. Publishing the repository root does
not build the Sphinx site.