Introduction
Neural Controlled Differential Equations (NCDEs) are state-of-the-art tools for modeling time series, particularly when handling irregular data driven by external "control" paths—such as a patient's continuously evolving vital signs. However, solving NCDEs step-by-step using numerical ODE solvers scales poorly, becoming painfully slow for long sequences.
The current leading workaround, the Neural Rough Differential Equation (NRDE), speeds up computation by summarizing chunks of the sequence using "log-signatures" derived from rough path theory. While mathematically elegant, log-signatures are notoriously difficult to invert. If the goal is to reconstruct the original sequence (e.g., in auto-encoders or generative modeling) or to model coupled dynamical systems, NRDEs fall short.
To address this, researchers have introduced BCR-DE, a method that recasts the differential equation as an integral transform and uses a neural variant of the Beylkin-Coifman-Rokhlin (BCR) wavelet algorithm to compress the operations. The result is a model that processes long sequences up to 200x faster than existing methods while unlocking new capabilities like sequence auto-encoding.
A Wavelet-Based Solution: BCR-DE
Instead of stepping through time sequentially, BCR-DE processes the entire fixed-length sequence simultaneously. The authors achieve this by recasting the differential equation as an integral transform that maps one function space to another.
Naively, computing this across a long sequence of length $T$ would require a massive dense matrix and $O(T^2)$ operations. To overcome this computational bottleneck, the methodology relies on three key steps:
- Restricting the Operator: The model assumes the integral kernel is a Calderon-Zygmund (CZ) operator. In practical terms, this means the influence of past events decays as the distance in time increases—a highly sensible physical prior for most biological and physical systems.
- Applying the BCR Algorithm: This restriction unlocks the use of the Beylkin-Coifman-Rokhlin (BCR) algorithm. BCR uses non-standard 2D multi-resolution wavelet analysis (specifically Daubechies wavelets) to decompose the dense integral operator into sparse, diagonally banded matrices. This drops the computational complexity from $O(T^2)$ to $O(T)$.
- Neural Innovation via PUC: To make this process learnable, the authors introduce "Partially Un-shared Convolution" (PUC) layers to parameterize these banded matrices. This prevents the massive overfitting that would inevitably occur if standard fully connected layers were used for the wavelet coefficients.
By using learnable wavelet bases instead of fixed log-signatures, the model retains invertibility. This makes tasks like masked reconstruction and denoising auto-encoding trivial and highly effective.
Empirical Performance
The authors evaluated BCR-DE across a diverse set of benchmarks, including physiological measurements (BIDMC32), motion capture data (EigenWorms), and simulated coupled ODEs (Lotka-Volterra, Lorenz system, etc.).
- Massive Speedups: On the EigenWorms dataset, which features very long sequences of approximately 18,000 steps, BCR-DE achieved comparable accuracy (~78%) to the best NRDE baseline. However, it trained in just 0.01 hours compared to NRDE's 2.4 hours—a staggering >200x speedup.
- Superior Auto-encoding: BCR-DE successfully reconstructed PPG and ECG sequences with lower Mean Squared Error (MSE) than standard NCDEs, and did so in a fraction of the time (0.2 hours vs. 3.6 hours). It also excelled at denoising and masked reconstruction tasks.
- Mastering Coupled ODEs: BCR-DE almost perfectly matched the true trajectories of complex chaotic systems. For the Lorenz system, BCR-DE achieved an MSE of 0.05 in 0.35 hours, vastly outperforming the NRDE baseline (MSE of 133.3 in 3.7 hours).
Limitations and Future Work
While highly effective for long sequences, the authors note a few limitations. Because BCR-DE processes the entire sequence at once, it uses 2-3x more memory than sequential baselines. While commodity GPUs easily handled the paper's experiments, sequences an order of magnitude longer (e.g., 100,000+ steps) might hit memory bottlenecks.
Additionally, the method assumes fixed-length sequences during training and struggles in online settings where new data arrives continually. For short time series, standard ODE solvers are already fast enough, meaning BCR-DE offers minimal advantages in those specific scenarios. Nonetheless, for long-sequence modeling and reconstruction, BCR-DE represents a significant leap forward.
Summary updated