DeNOTS: Stable Deep Neural ODEs for Time Series

Ilya Kuleshov, Galina Boeva, Vladislav Zhuzhel, Evgenia Romanenkova, Evgeni Vorsin, Alexey Zaytsev

Abstract

Neural Controlled Differential Equations (CDEs) provide a natural way to process the temporal evolution of irregular time series. The number of function evaluations (NFE) is these systems' natural analog of depth. Traditionally, NFE is regulated via solver error tolerance; however, lowering tolerances does not adequately increase model expressiveness. We propose DeNOTS, a framework that "deepens" Neural ODEs by scaling the integration time horizon. To stabilize the resulting dynamics, we introduce Anti-phase Negative Feedback (Anti-NF), ensuring provable stability without constraining flexibility. Experiments on four open datasets demonstrate that DeNOTS outperforms existing approaches, including recent Neural RDEs and state space models, achieving up to 20% improvement in metrics.

Introduction

Neural Ordinary Differential Equations (ODEs) and Neural Controlled Differential Equations (CDEs) have emerged as powerful tools for modeling continuous-time dynamics, particularly for irregular and missing data common in medical and financial domains. Despite their mathematical elegance, these models face a significant challenge regarding "depth." In discrete neural networks, depth is increased by adding layers. In Neural ODEs, the equivalent of depth is the Number of Function Evaluations (NFE)—the number of steps a numerical solver takes to integrate the system.

Conventional wisdom suggests increasing NFE by tightening the solver's error tolerance. However, research indicates this approach yields diminishing returns. It improves numerical precision but fails to expand the class of functions the model can represent. To truly "deepen" these models, a new approach to increasing NFE is required.

The DeNOTS Framework

We introduce DeNOTS (Deep Neural ODEs for Time Series), which addresses the depth problem through two primary innovations: time scaling and stabilized feedback.

Scaled Neural CDE (SNCDE)

Instead of integrating over a fixed unit interval $[0, 1]$, DeNOTS scales the integration time horizon using a hyperparameter $D$. By stretching the "time" over which the model evolves, the numerical solver is forced to take more steps, effectively increasing the model's depth and representational capacity without requiring extreme weight norms.

Anti-phase Negative Feedback (Anti-NF)

Stretching the integration interval often leads to mathematical instability, where hidden states grow uncontrollably (exploding gradients). While "Negative Feedback" (NF)—subtracting the current state from the derivative—can stabilize trajectories, simple synchronous implementations often lead to "forgetting" long-term patterns.

DeNOTS utilizes Anti-phase Negative Feedback. In this mechanism, the negative hidden state is passed into a gated cell (like a GRU), allowing the model to adaptively learn when to suppress growth and when to preserve memory. This ensures Input-to-State Stability (ISS) while maintaining high expressivity.

Overview of the DeNOTS architecture, illustrating the interaction between the input sequence, the interpolator, and the stabilized NODE unit.

Experimental Evaluation

The effectiveness of DeNOTS was evaluated across several benchmarks, including the PhysioNet Sepsis dataset, U-Wave Gesture Library (UWGL), and synthetic tasks like the Pendulum regression.

Performance and Scaling

A key finding is the "Tolerance Paradox": increasing NFE via solver tolerance requires weights to have massive norms to change the function class, which destabilizes training. In contrast, DeNOTS achieves superior performance by scaling time. As shown in the results, the Anti-NF variant is uniquely capable of maintaining and improving performance as NFEs increase, whereas models without feedback or with synchronous feedback either explode or suffer from memory loss.

Metric $R^2$ performance versus Log NFE. The Anti-NF-S (ours) model demonstrates superior scaling and performance compared to various baselines.

Robustness

Using Gaussian Process (GP) theory, we provide theoretical bounds for Neural ODE risk. We demonstrate that for DeNOTS, discretization errors do not accumulate catastrophically over time. The final hidden state's error remains $O(1)$ relative to the number of observations, ensuring the model remains robust even for very long sequences.

Conclusion

DeNOTS represents a significant step forward in making Neural ODEs practical for deep learning. By decoupling model depth from solver precision and introducing a stable, memory-preserving feedback mechanism, DeNOTS achieves state-of-the-art results on complex time series tasks. While numerical integration remains computationally more expensive than discrete alternatives, the gains in expressiveness, stability, and robustness make DeNOTS a compelling choice for continuous-time modeling. Future work will focus on optimizing execution speed and expanding these principles to other high-dimensional continuous domains.

Citation: Kuleshov, I., et al. (2024). DeNOTS: Stable Deep Neural ODEs for Time Series. arXiv:2408.08055v5.

Summary updated

Abstract

Neural CDEs provide a natural way to process the temporal evolution of irregular time series. The number of function evaluations (NFE) is these systems' natural analog of depth (the number of layers in traditional neural networks). It is usually regulated via solver error tolerance: lower tolerance means higher numerical precision, requiring more integration steps. However, lowering tolerances does not adequately increase the models' expressiveness. We propose a simple yet effective alternative: scaling the integration time horizon to increase NFEs and "deepen`` the model. Increasing the integration interval causes uncontrollable growth in conventional vector fields, so we also propose a way to stabilize the dynamics via Negative Feedback (NF). It ensures provable stability without constraining flexibility. It also implies robustness: we provide theoretical bounds for Neural ODE risk using Gaussian process theory. Experiments on four open datasets demonstrate that our method, DeNOTS, outperforms existing approaches~ -- ~including recent Neural RDEs and state space models,~ -- ~achieving up to $20\%$ improvement in metrics. DeNOTS combines expressiveness, stability, and robustness, enabling reliable modelling in continuous-time domains.
BibTeX
@misc{kuleshov2024denots,
  author = {Ilya Kuleshov and Galina Boeva and Vladislav Zhuzhel and Evgenia Romanenkova and Evgeni Vorsin and Alexey Zaytsev},
  title = {{DeNOTS: Stable Deep Neural ODEs for Time Series}},
  year = {2024},
  eprint = {2408.08055},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2408.08055},
}
Figure