LagFormer: Regressing Periods from Sparse, Irregularly Sampled Series
Abstract
Period estimation for irregularly sampled series is usually a search over trial frequencies, on a grid whose density grows with record length and whose highest peak can be a harmonic of the true period. Several learned estimators take such frequency-resolved inputs and inherit the same grid. We introduce LagFormer, which identifies the period from self-similarity on a logarithmic lag axis, where a fixed relative resolution suffices. An exact correlogram bins every pair of observations by time difference, handling arbitrary sampling without interpolation, and compares observed values alongside channels learned by a transformer. Since each period bin spans a whole number of lag bins, every candidate period's multiples lie at fixed lag offsets, which a harmonic comb gathers for a network outputting a distribution over log-period. A local refinement sharpens the estimate within the selected harmonic. Trained only on synthetic series that replay real sampling and noise, LagFormer finds the period within 10% on 90.2% of held-out synthetic series, against 69.3% for a Lomb-Scargle periodogram and 85.0% for PDM, without a fine global frequency search. On real survey time series it agrees with the catalogue period on 80.6%, and among series where LagFormer and the published period select the same multiple, LagFormer's period produces a tighter overlay of repeated cycles in 51.9% of cases.
Create a lesson
Metadata
- Comments
- 44 pages, 14 figures, 32 tables. Under review at ICLR 2027. Equal contribution: Lohia and Mahabal. Code: https://github.com/AshishMahabal/LagFormer
Related papers
A Time Series is Worth 24 Features: Reading Time Series Shapes with Sparse Autoencoders
Shared title terminologycs.LGIlya Kuleshov, Artyom Sabitov, Alexey Zaytsev
BlockDTW: Efficient, Parallel and Differentiable Time-Series Alignment for Neural Learning Systems
Shared title terminologycs.LGAlberto Zancanaro, Leonardo Badia, Giulia Cisotto
Invertibility aware Integration of Static and Time-series data: An application to Lake Temperature Modeling
Shared title terminologycs.LGKshitij Tayal, Xiaowei Jia, Rahul Ghosh et al.
L-TSF: A Time Series Forecasting Model Designed via Logical Reasoning
Shared title terminologycs.LGJianqi Zhang, Xingyu Zhang, Zeen Song et al.
PickPack: Scaling Context Extension To Millions Of Tokens With Sparse Attention
Shared title terminologycs.LGKumar Krishna Agrawal, Vihaan Thaker, Keshaw Ranjan et al.
Augmenting LSTM performance on financial time series forecasting via architecture search
Shared title terminologycs.LGGianluca Peri, Francesco D'Angelo, Andrea Nocentini et al.