mlsanityData to 7 Oct 2026

Oscillators Are All You Need: Irregular Time Series Modelling via Damped Harmonic Oscillators with Closed-Form Solutions

arXiv 2602.12139 ↗First posted 12 Feb 2026cs.LGcited by 1

Not on the map. Why?

Abstract (arXiv)

Transformers excel at time series modelling through attention mechanisms that capture long-term temporal patterns. However, they assume uniform time intervals and therefore struggle with irregular time series. Neural Ordinary Differential Equations (NODEs) effectively handle irregular time series by modelling hidden states as continuously evolving trajectories. ContiFormers arxiv:2402.10635 combine NODEs with Transformers, but inherit the computational bottleneck of the former by using heavy numerical solvers. This bottleneck can be removed by using a closed-form solution for the given dynamical system - but this is known to be intractable in general! We obviate this by replacing NODEs with a novel linear damped harmonic oscillator analogy - which has a known closed-form solution. We model keys and values as damped, driven oscillators and expand the query in a sinusoidal basis up to a suitable number of modes. This analogy naturally captures the query-key coupling that is fundamental to any transformer architecture by modelling attention as a resonance phenomenon. Our closed-form solution eliminates the computational overhead of numerical ODE solvers while preserving expressivity. We prove that this oscillator-based parameterisation maintains the universal approximation property of continuous-time attention; specifically, any discrete attention matrix realisable by ContiFormer's continuous keys can be approximated arbitrarily well by our fixed oscillator modes. Our approach delivers both theoretical guarantees and scalability, achieving state-of-the-art performance on irregular time series benchmarks while being orders of magnitude faster. Acknowledgement: This work was done in collaboration with Dirac Labs.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 19 of its 24 references that are in the map. First posted on arXiv 12 Feb 2026.

Builds on

19 of 24 references.

References · 19

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018Neural Ordinary Differential Equationscited by 3,733
  3. 2014Empirical Evaluation of Gated Recurrent Neural Networks on Sequence Modelingcited by 2,341
  4. 2022Are Transformers Effective for Time Series Forecasting?cited by 1,400
  5. 2019Augmented Neural ODEscited by 396
  6. 2018The UEA multivariate time series classification archive, 2018cited by 330
  7. 2021Multi-Time Attention Networks for Irregularly Sampled Time Seriescited by 234
  8. 2019Latent ODEs for Irregularly-Sampled Time Seriescited by 182
  9. 2021Modeling Irregular Time Series with Continuous Recurrent Unitscited by 101
  10. 2016Modeling Missing Data in Clinical Time Series with RNNscited by 80
  11. 2021Closed-form Continuous-time Neural Modelscited by 65
  12. 2024ContiFormer: Continuous-Time Transformer for Irregular Time Series Modelingcited by 61
7 more
  1. 2025Comprehensive Review of Neural Differential Equations for Time Series Analysiscited by 20
  2. 2024Rough Transformers: Lightweight and Continuous Time Series Modelling through Signature Patchingcited by 16
  3. 2021Neural Network Training as an Optimal Control Problem: An Augmented Lagrangian Approachcited by 6
  4. 2025Neural SDEs as a Unified Approach to Continuous-Domain Sequence Modelingcited by 6
  5. 2021On the mapping between Hopfield networks and Restricted Boltzmann Machinescited by 4
  6. 2024Attention as Robust Representation for Time Series Forecastingcited by 4
  7. 2022Formulating Oscillator-Inspired Dynamical Systems to Solve Boolean Satisfiabilitycited by 3

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 1.

1 paper.