Can TESS light curves forecast stellar flares? A leakage-free benchmark of Transformer forecasting pipelines and flare-history baselines
Forecasting stellar flares before they begin matters for exoplanet habitability studies and observation planning, and Transformer time-series models have been proposed for the task. We present a leakage-free benchmark on 2-min TESS light curves of 16 M dwarfs with 930 catalogued flares. From the last 5 h of photometry, a model must predict whether a flare begins within the next 10 min to 2 h. We first show that a common window construction, with windows centred on catalogued flares, random splits and normalisation using future values, turns forecasting into detection: a hybrid ETSformer forecaster with a CNN classifier then reaches ROC-AUC 0.97, and so does naive persistence. Under a corrected protocol (anchored forecasts, lookback-only normalisation, splits by star and by time, thresholds chosen on validation data), every light-curve model is close to chance (ROC-AUC 0.51–0.55): ETSformer, an LSTM, naive persistence and a CNN classifying the lookback directly. A classifier given the true future scores 0.96–1.00, so the task is well posed. Flare-history models do better. On unseen stars, a per-star Poisson rate estimated online reaches 0.59. A star-cluster bootstrap shows it significantly outperforms the direct CNN at all horizons and the hybrids at horizons of 1 h and longer. On the future of known stars, the time since the last flare reaches 0.59-0.64, suggestive of short-term clustering but not significant on our test set. At TESS precision and cadence, flare onsets on these horizons resemble a star-specific Poisson process with no detectable photometric precursor. Code, predictions and leakage checks are public.
- Link
- https://zenodo.org/records/24650535
- Found by
- Zenodo
- Authors
- Vesela, Michaela, Trenz, Oldrich
- Categories
- benchmark
- Published
- 2026-11-28
- Last seen by the radar
- 2026-11-29
- Downloads
- 0
- Views
- 0
- Radar score
- 36.07 / 100 (how it is scored)
- Why it scored so
- Matched: benchmark, test set; Recency discount: updated event ×0.5; Primary record: Zenodo
- Related links
- https://doi.org/10.5281/zenodo.24650535