Test status Docs status

Documentation website

class center
Название исследуемой задачи:

Epiplexity and transfer in synthetic time-series pretraining

Тип научной работы:

CoIS, BMM

Авторы:

Danila Chernousov, Mark Ikonnikov, Daniil Kazachkov, Alexey Kravatskiy

Научный руководитель:

уточняется

Научный консультант(при наличии):

уточняется

Abstract

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.

Technical report and measurement methods

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:

  1. Prequential coding (implemented): measure the predictive cost of the training sequence; return total, residual-data and signed model-proxy costs in bits.

  2. Requential coding (registered stub): describe a student’s learned predictions through teacher-selected synthetic training samples and their coding costs.

  3. 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.

  4. 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.

Research publications

Presentations at conferences on the topic of research

Software modules developed as part of the study

  1. The python package episynth with all implementation here.

  2. Runnable demo notebook here.

Repository layout

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

Development

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.py

Documentation

The 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.html

The 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.