OliO: ODE-based Linear Transition Operator for Self-Supervised Time Series Forecasting

Kwangryeol Park, Seulki Lee

TL;DR

OliO (ODE-based Linear Transition Operator) is a novel self-supervised pre-training framework that models time series as a continuous dynamical system. By using a linear ODE-based transition operator with a strictly upper-triangular constraint, it effectively captures bidirectional temporal flow, leading to Mean Squared Error (MSE) reductions of up to 5.75% over state-of-the-art baselines.

What Problem Does This Paper Address?

Self-supervised learning (SSL) has become a staple for time series forecasting, typically relying on contrastive learning (maximizing similarity between views) or masked modeling (reconstructing missing data). However, the authors argue that these methods often fail to explicitly model the temporal flow—the actual transition from one point in time to another.

Contrastive methods often treat the time lag between windows as noise to be ignored, while masking can disrupt the inherent dynamics necessary for accurate forecasting. Existing "time-aware" methods might use temporal distance to weight similarity, but they don't parameterize the transition function itself. OliO fills this gap by treating the relationship between two temporal windows as a learnable, continuous trajectory.

Methods

The core of OliO is an ODE-based transition operator. Instead of directly aligning two representations, $h^{(t)}$ and $h^{(t+\tau)}$, OliO learns to "transport" one representation to the time point of the other.

  1. Linear ODE Formulation: The transition is derived from a linear Ordinary Differential Equation: $\frac{dh}{d\tau} = Kh$, where $K$ is a learnable generator matrix. The solution is a matrix exponential $e^{\tau K}$.
  2. Structural Constraint: To ensure numerical stability and prevent the exponential divergence common in unconstrained ODE models, the authors impose a strictly upper-triangular constraint on $K$. This makes $K$ nilpotent ($K^q = 0$), meaning the matrix exponential simplifies into a finite-order polynomial in $\tau$.
  3. Bidirectional Alignment: The model learns transitions in both directions:
  4. Forward: Transition $h^{(t)}$ forward by $+\tau$ and align it with $h^{(t+\tau)}$.
  5. Backward: Transition $h^{(t+\tau)}$ backward by $-\tau$ and align it with $h^{(t)}$.
  6. Plug-and-Play Architecture: OliO is model-agnostic. It operates on the final-layer representations of a shared backbone (like PatchTST or iTransformer). Crucially, the transition and projection modules are discarded after pre-training, meaning there is zero overhead during downstream inference.
Figure 2: Overall architecture of the OliO framework. (a) Input windows x and xτ are encoded by a shared backbone into pseudo-outputs. (b) The forward shift operator aligns h to hτ via the matrix exponential eτK, modeling the transition from past to future. (c) Conversely, the backward shift operator restores the temporal flow from future to past, ensuring bidirectional transition consistency.

Datasets

The authors evaluated OliO across several standard long-term forecasting benchmarks:

  • ETT (Electricity Transformer Temperature): ETTh1, ETTh2, ETTm1, ETTm2.
  • Weather: Meteorological indicators.
  • Electricity (ECL): Power consumption data.
  • Zero-shot Transfer: Evaluated on Solar and Traffic datasets using a foundation model (LightGTS-4M).

Key Insights and Ideas

  • Preserving Temporal Order: Visualizations using UMAP and PHATE (Figure 1) show that while baseline SSL methods often "collapse" temporal order into clusters, OliO maintains a smooth, continuous trajectory in the latent space. This suggests it successfully captures the underlying temporal flow.
  • Polynomial Boundaries: By forcing the generator matrix to be nilpotent, the authors mathematically guarantee that the transition is a finite polynomial. This provides a "robust boundary" that captures long-term dependencies without the risk of the model's representations exploding to infinity.
  • Directionality is Essential: Ablation studies showed that "Unsigned" lag (ignoring direction) resulted in the largest performance drop (+4.86% MSE). This confirms that distinguishing forward from backward transport is vital for forecasting-oriented representations.
Figure 1: Visual comparison of the pseudo output h from the pretrained iTransformer [15] backbone using UMAP [17] (top row) and PHATE [21] (bottom row) on the Weather dataset [31]. The color gradient represents the progression of time. While baseline methods (SimMTM [5], TS2Vec [32], SoftCLT [12]) yield scattered or tightly clustered results that collapse temporal order, OliO maintains a continuous trajectory, effectively capturing the underlying temporal flow.

Key Results

OliO consistently outperformed state-of-the-art SSL baselines like TimesURL and TimeSiam across multiple backbone architectures:

  • Performance Gains: Achieved MSE reductions of up to 5.75% over the most competitive baselines.
  • Backbone Versatility: On the PatchTST backbone, OliO ranked first in 18 out of 24 experimental settings.
  • Zero-Shot Transfer: When applied to the LightGTS foundation model, OliO improved average MSE from 0.3114 (default mask-reconstruction) to 0.3034.
  • Efficiency: Using low-order polynomial approximations during pre-training can speed up transition computation by up to 3.8x compared to full matrix exponential calculations.
Figure 3: Relative performance improvement of OliO compared to state-of-the-art SSL baselines across varying prediction lengths.

Limitations and Future Work

  • Expressivity of Low-Order Polynomials: While the polynomial constraint ensures stability, it might limit the model's ability to represent highly complex, non-linear dynamics in some datasets.
  • State-Independent Generator: Currently, the generator $K$ is global. The authors suggest that making the transition operator state-dependent (varying based on the input representation $h$) could be a promising future direction.
  • Task Expansion: The current work focuses on forecasting. Future research could investigate if signed-lag supervision benefits other tasks like anomaly detection or time series classification.

Summary updated

Abstract

Self-supervised representation learning has advanced time series forecasting by capturing robust features from unlabeled data. However, existing contrastive and masking-based methods often struggle to explicitly model the underlying temporal flow, either by treating time lag as noise or by disrupting the inherent temporal dynamics essential for forecasting. To address these limitations, we propose OliO (**O**DE-based **Li**near Transition **O**perator), a plug-and-play self-supervised learning method that learns bidirectional temporal flows as a continuous and structurally consistent dynamical system. OliO introduces a transition operator derived from linear Ordinary Differential Equations (ODEs) to align latent representations across arbitrary time shifts. By imposing a strictly upper triangular constraint on the transition matrix, we mathematically ensure numerical stability and enforce a robust polynomial boundary that effectively captures long-term dependencies while preventing the exponential divergence typically found in unconstrained ODE-based models. This structural constraint induces a temporally coherent representation space that preserves the underlying flow essential for accurate forecasting. Extensive experiments across various backbone architectures and benchmarks demonstrate that OliO achieves significant performance gains, providing Mean Squared Error (MSE) reductions of up to 5.75% over the most competitive grid-searched SOTA baselines. The code is available at *https://github.com/eai-lab/OliO*
BibTeX
@inproceedings{park2026olio,
  author = {Kwangryeol Park and Seulki Lee},
  title = {{OliO: ODE-based Linear Transition Operator for Self-Supervised Time Series Forecasting}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=hpwkIMU05L},
}
Figure