Skip to main content
QUICK REVIEW

[Paper Review] Neural Rough Differential Equations for Long Time Series

James Morrill, Cristopher Salvi|arXiv (Cornell University)|Sep 17, 2020
Time Series Analysis and ForecastingComputer Science39 references26 citations
TL;DR

This paper introduces Neural Rough Differential Equations (Neural RDEs), a novel framework that replaces traditional interpolation-based control in Neural CDEs with log-signature representations of input time series over small intervals. By leveraging rough path theory, the method enables efficient, memory- and time-efficient modeling of long time series—demonstrating significant training speedups, reduced memory usage, and improved performance on sequences up to 17k observations compared to existing approaches.

ABSTRACT

Neural controlled differential equations (CDEs) are the continuous-time analogue of recurrent neural networks, as Neural ODEs are to residual networks, and offer a memory-efficient continuous-time way to model functions of potentially irregular time series. Existing methods for computing the forward pass of a Neural CDE involve embedding the incoming time series into path space, often via interpolation, and using evaluations of this path to drive the hidden state. Here, we use rough path theory to extend this formulation. Instead of directly embedding into path space, we instead represent the input signal over small time intervals through its extit{log-signature}, which are statistics describing how the signal drives a CDE. This is the approach for solving extit{rough differential equations} (RDEs), and correspondingly we describe our main contribution as the introduction of Neural RDEs. This extension has a purpose: by generalising the Neural CDE approach to a broader class of driving signals, we demonstrate particular advantages for tackling long time series. In this regime, we demonstrate efficacy on problems of length up to 17k observations and observe significant training speed-ups, improvements in model performance, and reduced memory requirements compared to existing approaches.

Motivation & Objective

  • To address the inefficiency and scalability limitations of Neural CDEs on long time series, where training becomes prohibitively slow and memory-intensive.
  • To extend the Neural CDE framework to handle irregular, non-differentiable, or highly correlated time series by leveraging rough path theory.
  • To reduce the effective sequence length by summarizing local signal behavior via log-signatures, enabling larger time steps without loss of information.
  • To maintain compatibility with continuous-time adjoint methods for efficient backpropagation while improving generalization and training stability.
  • To empirically validate the method on long sequences (up to 17k observations) and demonstrate superior performance and efficiency compared to Neural CDEs and ODE-RNN baselines.

Proposed method

  • The method replaces the standard interpolation of time series into a differentiable path X(t) with a representation based on the log-signature of the signal over small time intervals.
  • Instead of driving the CDE via pointwise derivatives ˙Xs, the model uses the log-signature of the signal segment as a summary statistic to drive the hidden state evolution.
  • This approach is grounded in rough path theory, where the solution to a rough differential equation (RDE) depends only on the log-signature of the control path, not its pointwise values.
  • The hidden state Zt evolves via a controlled differential equation dZt = fθ(Zt) dXt, where X is now represented by its log-signature over intervals, enabling larger effective time steps.
  • The forward pass computes the solution using the log-ODE method, which numerically solves the RDE by integrating over interval summaries rather than pointwise evaluations.
  • Backpropagation is performed via the continuous adjoint method, preserving memory efficiency and enabling end-to-end training with standard autograd tools.

Experimental results

Research questions

  • RQ1Can log-signature-based representations of time series improve the efficiency and scalability of Neural CDEs on long sequences?
  • RQ2Does replacing pointwise interpolation with interval log-signature summaries reduce memory and training time while maintaining or improving model performance?
  • RQ3Can Neural RDEs handle non-differentiable or irregular time series more robustly than standard Neural CDEs?
  • RQ4How does the performance of Neural RDEs compare to Neural CDEs and ODE-RNN baselines on long time series of up to 17k observations?
  • RQ5Does the use of log-signatures as control summaries lead to better generalization and stability in long-horizon modeling tasks?

Key findings

  • On the EigenWorms dataset, Neural RDEs (depth 2) achieved 76.1% test accuracy with only 9.8 hours of training and 354.3 MB memory usage at step size 2, outperforming NCDE and ODE-RNN in both speed and memory efficiency.
  • For the BIDMC vitals prediction task, Neural RDE3 achieved the lowest L2 loss of 1.49 ± 0.08 on RR, 3.46 ± 0.13 on HR, and 1.29 ± 0.15 on SpO2, outperforming all baselines at step size 512.
  • At step size 2048, Neural RDE3 maintained low L2 losses (1.83, 5.58, 1.72) across all vitals, while NCDE and ODE-RNN failed due to memory overflow.
  • Training time for Neural RDEs decreased significantly with increasing step size: from 9.8 hours at step 2 to 0.1 hours at step 1024, demonstrating a strong scaling advantage.
  • Memory usage for Neural RDEs dropped from 354.3 MB (step 2) to 10.2 MB (step 2048), showing a 35-fold reduction, while NCDE and ODE-RNN required over 100 MB even at large step sizes.
  • Neural RDEs achieved state-of-the-art performance on long sequences (up to 17k observations), with training times under 1 hour and memory usage under 150 MB, whereas ODE-RNN and NCDE failed or became impractical at such lengths.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.