arXiv(opens in a new tab)astro-ph.SRAug 2026

Manuscript Offprint

arXiv:2608.25019

EncoTESS: Age-Sensitive Encodings from Raw TESS Light Curves

Phil R. Van-Lane, Joshua S. Speagle, Ryan Cloutier, Christopher A. Theissen, Gwendolyn M. Eadie, Ilay Kamai

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

Main sequence stars of spectral types late F through M exhibit systematic variability in photometric light curves, particularly when they are young. Rotational modulation of starspots manifests as quasi-sinusoidal variability, which enables the measurement of stellar rotation periods ( ProtP_{rot}). Variability can also be stochastic, as in stellar flaring. However, since measurements of stochastic processes are highly dependent on the time of observation, they are typically noisier. Considering that different manifestations of variability have unique observational nuances, models that naturally unify these different types of variability are incredibly useful for stellar characterization. Towards this goal, we have developed EncoTESS: a Time Series Foundation Model (TSFM) trained on a subset of TESS 2-min light curves. EncoTESS is specifically designed to handle the observational noise, heteroskedastic measurements, irregular sampling, and large data gaps common to TESS data. It is also ≈1%\approx 1\% of the size of a typical literature TSFM, so can be run easily on a modern laptop. EncoTESS encodes light curves into a fixed-size latent parameter space, which can be used to infer physical stellar properties and recovers light curve summary statistics well. EncoTESS outperforms ProtP_{rot} and variability amplitude as age indicators for stars that have not converged onto the slow rotator sequence yet; broadly these include K and M stars ≲100\lesssim 100 Myr, and M stars ≲1\lesssim 1 Gyr. We focus on age inference as an application of EncoTESS in this work, but other downstream tasks such as stellar classification could also be explored. The architecture of EncoTESS enables its future extension to TESS light curves of all cadences, and additional surveys such as Kepler and the upcoming PLATO mission. The core EncoTESS framework and library of encodings produced for the stars used in this work are publicly available at https://github.com/philvanlane/encotess.

Keywords: Stellar astronomy (1583) — Solar physics (1476) — M dwarf stars (982) — Stellar ages (1581) — Stellar rotation (1629) — Neural networks (1933) — Bayesian statistics (1900) — Time series analysis (1916) — Irregular cadence (1953) — Light curves (918)

1. INTRODUCTION

Photometric variability, a term used to describe the fluctuations in an object's brightness over time, is a fundamentally intuitive property that can be measured from sequential observations.

In the modern era, long-time-baseline observing programs have yielded groundbreaking systematic variability analyses, such as the HK project at the Mount Wilson Observatory (O. C. Wilson 1968), which characterized the magnetic activity cycles of solar-type stars. The recent space-based surveys Kepler (W. J. Borucki et al. 2010), K2 (S. B. Howell et al. 2014), and Transiting Exoplanet Survey Satellite (TESS; G. R. Ricker et al. 2015) have produced large catalogs of short cadence photometric time series data, which are useful for studying variability on timescales of minutes to hours. These data are predominantly formatted as “light curves” (LCs), which consist of a flux measurement, typically with associated observational error, at each timestamp of observation. Visually, LCs often appear as quasi-sinusoidal due to different types of periodic and stochastic variability of both astrophysical and instrumental origin.

In this work we focus on main sequence (MS) stars with spectral types of late F to M, whose variability is driven by surface magnetic fields that arise due to convective stellar envelopes (R. P. Kraft 1967). In particular we investigate how variability can be applied to constrain their ages, which are typically difficult to estimate using other methods.

Since these stars evolve minimally in color-magnitude space over their MS lifetimes, isochrone fitting is very challenging if they are not known members of a coeval population (D. R. Soderblom 2010). Asteroseismology is useful for dating large evolved stars, but the oscillation amplitude of asteroseismic signatures decreases towards cooler stars on the MS. This makes pulsation signals difficult to detect for FGKM stars; oscillations have been detected in only hundreds of F and G type stars, ∼10\sim 10 K type stars, and no M type stars to date (W. J. Chaplin et al. 2026). Lithium depletion can be useful at young ages, but its reliability decreases for stars ≳1\gtrsim 1 Gyr (e.g. R. D. Jeffries et al. 2023).

However, rotation period ( ProtP_{rot}) can be used as an age indicator for these stars; this practice is known as gyrochronology (S. A. Barnes 2003). The short observational cadences of Kepler, K2, and TESS have increased the number of literature ProtP_{rot} measurements by orders of magnitude (e.g. A. W. Boyle et al. 2026; A. R. G. Santos et al. 2021, 2019; A. McQuillan et al. 2014) over previous ground-based catalogs. This increase in data volume, along with recent innovations in data-driven and machine learning (ML) methods, have enabled a new class of empirical gyrochronology models (L. G. Bouma et al. 2023; Y. Lu et al. 2024; P. R. Van-Lane et al. 2025) that estimate stellar ages probabilistically from ProtP_{rot} and mass or some proxy for mass such as temperature or color.

Although gyrochronology works reasonably well for FGK stars that have converged onto the “slow rotator” sequence, there is still intrinsic scatter in the Prot/mass/ageP_{rot}/mass/age relationship, particularly for young stars. There is also multimodality in the spindown behavior of M dwarfs, and these patterns hinder the accuracy and precision of gyrochronology for the youngest, reddest stars (e.g. S. A. Barnes 2003; E. K. Pass et al. 2022, 2024; P. R. Van-Lane et al. 2025). This motivates the need for additional indicators to improve age constraints, and LC-derived metrics would be particularly useful as they would allow us to leverage the wealth of LCs already produced by Kepler, K2, and TESS.

One example of another LC-derived age indicator is stellar flaring rate, which is often parameterized by the number of flares, total flare energy, or time spent flaring. Flaring rates change systematically with age at a population level (J. R. A. Davenport et al. 2019; A. D. Feinstein et al. 2020; A. A. Medina et al. 2022; A. D. Feinstein et al. 2024; E. Mamonova et al. 2025; A. Tran & I. Song 2026), but since flares are stochastic events it takes an impractically long temporal baseline to constrain flaring rates for individual stars.

Another example of a LC-derived age indicator is the photometric magnetic activity index SphS_{ph}, which S. Mathur et al. (2023) measured from Kepler LCs and showed is correlated with age. Notably, S. Messina (2021) showed that among stars with similar colors and ProtP_{rot}, photometric variability amplitude can provide additional age information and can therefore be used as a complementary indicator to ProtP_{rot}.

While measurements such as ProtP_{rot}, flaring, and SphS_{ph} are useful age indicators, combining these handpicked features in a single model is difficult to optimize analytically since they are correlated. Furthermore, they are summary statistics calculated from O(105−106)\mathcal{O}(10^{5} - 10^{6}) data points in each LC, and their values depend on how they are measured. For example, several different methods are widely used in literature to calculate ProtP_{rot}, such as Lomb-Scargle Periodograms (LSPs; N. R. Lomb 1976; J. D. Scargle 1982), autocorrelation functions (ACFs; e.g. A. McQuillan et al. 2013), wavelet transforms (e.g. R. A. García et al. 2014), and Gaussian Processes (GPs; e.g. R. Angus et al. 2018), which each have their own drawbacks that contribute to uncertainty (R. Angus et al. 2018). There is also inherent loss of information that comes from deriving any single summary statistic from an entire LC. This motivates the need for a more holistic, data-driven approach to analyzing LC data.

Given recent progress in computing and artificial intelligence (AI), it is now feasible to implement such an approach. In this work, we develop EncoTESS: a Time Series Foundation Model (TSFM; H. Ismail Fawaz 2020; J. Ye et al. 2024, and references therein) to encode TESS LCs. Unlike task-specific models, TSFMs are trained under self supervision to learn generalized patterns of time series data. The goal is typically to characterize the processes driving the observations. TSFMs are now routinely used across fields and industries to analyze different families of time series data such as stock prices, temperature fluctuations, and the housing market.

Several TSFMs have already been developed for astronomy, including Astromer 1 8^{8} and Astromer 2 (C. Donoso-Oliva et al. 2023, 2026), DESA (I. Kamai et al. 2025), and FALCO (X. Zuo et al. 2026). Readers may also be familiar with the prominent astronomy foundation model AION-1 (L. Parker et al. 2025), which combines imaging, spectroscopic, and tabular data, but importantly it does not handle time series data. Our work also draws inspiration from other models that are not strictly TSFMs, but that implement state-based approaches to modeling astronomical processes (J. A. Esquivel et al. 2025; R. Herrera et al. 2026; R. Zimmerman et al. 2024).

While previous astronomy TSFMs are similar conceptually to ours, there are several key considerations we aim to address with EncoTESS:

  1. Training dataset. Most literature TSFMs are trained on Kepler LCs, which have a 4 year baseline but come from a small patch of sky ( ≈\approx115 deg 2^{2}). Since TESS is an all sky survey, it has observed many more M dwarfs 9^{9}, which are important to this work since they are particularly difficult to date using ProtP_{rot}. Since TESS photometry is ≈\approx10× noisier than Kepler as measured by transit timescale noise (J. E. Van Cleve et al. 2016), and the continuous viewing period is only ≈\approx27 days per sector, Kepler-trained models are unlikely to transfer well to TESS data, so we need a model directly trained on the noisier, shorter TESS LCs.

  2. Observational Sampling. We need to handle irregularly spaced, heteroskedastic data, and be robust to different temporal resolutions and variable sequence length. This flexibility is crucial for handling the downlink time in TESS LCs, which manifest as a data gap of ≈\approx1 day in each sector, and for extensibility to different sampling cadences. Most literature models are not explicitly designed with such nuances in mind.

  3. Architecture. Most TSFMs use a transformer architecture, which is computationally expensive to scale to long LC sequences. We want a model that can run on consumer hardware efficiently, so we implement a Recurrent Neural Network (RNN) based approach.

Notably, there are 2 literature TSFMs that have been trained on TESS LCs that are worth describing here.

D. Poznanski (2026) uses a Quantile Graph (QG) to convert 2-min TESS LCs into fixed-length feature vectors. However, in pre-processing they divide the LCs into approximately continuous segments of 4096 data points ( ≈\approx6 days) and ignore small gaps within those segments. This methodology is not scalable to other cadences, and it ignores the longer term LC context. They also detrend each LC in pre-processing, which can remove signal from longer term variability such as slow rotation.

J. Ding et al. (2026) developed StarCLR, which is pre-trained on TESS LCs at multiple cadences, and crucially does use observational timestamps as input so is gap aware. However, they fix LC sequences to 8192 data points in pre-processing, and only pretrain on LCs that already have evidence of periodic variability based on a prior LSP analysis. Since one of our goals is to consider all types of variability and not rely on periodicity, this filter is a crucial restriction.

Additionally, neither D. Poznanski (2026) nor J. Ding et al. (2026) incorporate flux measurement uncertainties into their models.

For these reasons, we opted to develop our own TSFM instead of adopting one from literature. §2 describes our training dataset, §3 presents our model and training architecture, and in §4 we evaluate its ability to reconstruct LCs. In §5 we explore how the latent encodings are correlated with physical properties, and test its recovery of traditional summary statistics. We interpret what EncoTESS actually learns from LCs in §6. §7 explores age inference as an application, and shows that EncoTESS outperforms models that use only ProtP_{rot} and/or variability amplitude as age indicators. We investigate whether EncoTESS can predict field star ages in §8. We discuss systematic effects and future directions in §9, and conclude in §10.

References (100)

Couldn't load all references. Reload the page to try again.