TopoPrimer: The Missing Topological Context in Forecasting Models

Zara Zetlin, Kayhan Moharreri, Maria Safi
5/14/2026
cs.LG

No confident code implementation found for this paper.

Abstract

We introduce TopoPrimer, a framework that makes the global topological structure of the series population an explicit input to any forecasting model. TopoPrimer improves accuracy across diverse domains, stabilizes forecasts under seasonal demand spikes, and closes the cold-start gap.

Show full abstract

Precomputed once per domain via persistent homology and spectral sheaf coordinates, TopoPrimer deploys per token for fully-trained models and as a lightweight adapter for pre-trained backbones. Of these two components, sheaf coordinates are the primary accuracy driver. Across four public benchmarks on Chronos and TimesFM, TopoPrimer consistently improves forecasting accuracy, with gains of up to 7.3% MSE on ECL. The topology advantage persists with near-identical magnitude across zero-shot and fine-tuned backbones, suggesting topology and per-series training capture complementary signals. The gains are most pronounced in difficult regimes. Under peak seasonal demand, classical and zero-shot models degrade by up to 50%, while TopoPrimer stays within 10%. At cold start with no item history, TopoPrimer reduces MAE by 27% over a topology-free baseline.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{zetlin2026topoprimer,
  title  = {TopoPrimer: The Missing Topological Context in Forecasting Models},
  author = {Zara Zetlin and Kayhan Moharreri and Maria Safi},
  year   = {2026},
  eprint = {2605.15035},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2605.15035v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2605.15035.svg)](https://codeofpaper.com/paper/2605.15035)

Discussion