Efficient Neural Controlled Differential Equations via Attentive Kernel Smoothing

Egor Serov, Ilya Kuleshov, Alexey Zaytsev

Abstract

Neural Controlled Differential Equations (Neural CDEs) provide a powerful continuous-time framework for sequence modeling, yet the roughness of the driving control path often restricts their efficiency. Standard splines introduce high-frequency variations that force adaptive solvers to take excessively small steps, driving up the Number of Function Evaluations (NFE). We propose a novel approach to Neural CDE path construction that replaces exact interpolation with Kernel and Gaussian Process (GP) smoothing, enabling explicit control over trajectory regularity. To recover details lost during smoothing, we propose an attention-based Multi-View CDE (MV-CDE) and its convolutional extension (MVC-CDE), which employ learnable queries to inform path reconstruction. This framework allows the model to distribute representational capacity across multiple trajectories, each capturing distinct temporal patterns. Empirical results demonstrate that our method, MVC-CDE with GP, achieves state-of-the-art accuracy while significantly reducing NFEs and total inference time compared to spline-based baselines.

Introduction: The Bottleneck of Numerical Stiffness

Neural CDEs have emerged as a robust solution for modeling irregularly sampled time series by treating discrete observations as a continuous control path $X(t)$. However, a significant computational bottleneck persists: numerical stiffness. Standard interpolation techniques, such as cubic splines, aim for exact interpolation, forcing the path through every noisy data point. For adaptive ODE solvers, these high-frequency "jags" necessitate extremely small step sizes to maintain numerical stability, leading to a high Number of Function Evaluations (NFE) and slow inference.

Comparison of interpolation methods and their impact on ODE solver steps. Smoother paths (Kernel/GP) lead to fewer solver steps (NFE).

Methodology: Decoupling Speed from Noise

The proposed framework addresses this by decoupling the computational cost from the input noise through two primary innovations:

1. Path Smoothing for Efficiency

Instead of exact splines, the authors utilize Kernel Smoothing (Nadaraya-Watson) or Gaussian Process (GP) regression to construct the control path. These methods introduce a smoothing parameter ($h$) that explicitly regulates the path's derivatives. By increasing $h$, the model bounds the roughness of $X(t)$, allowing the ODE solver to take significantly larger steps without sacrificing the integrity of the underlying dynamics.

2. Multi-View Attention for Accuracy

Smoothing inherently acts as a low-pass filter, potentially discarding critical high-frequency information. To mitigate this, the Multi-View CDE (MV-CDE) architecture is introduced. Rather than relying on a single trajectory, the model generates multiple paths with varying degrees of smoothing. An attention mechanism, utilizing learnable queries, allows the model to selectively attend to different temporal resolutions. The MVC-CDE extension further incorporates a 1D-CNN to capture local context, helping the attention heads distinguish between meaningful signal transitions and stochastic noise.

The MVC-CDE architecture: Data is processed via convolution and attention to generate multiple smoothed paths, which are then integrated in a single CDE solution step.

Theoretical Insights

The paper provides a formal mathematical link between path regularity and computational cost. Theorem 3.1 proves that NFE is directly proportional to the total variation or derivatives of the control path. This justifies the use of smoothing as a direct lever for efficiency. Furthermore, the authors identify a "Parallel Integration Bottleneck" (Theorem 3.4): in a multi-view system, the overall integration speed is constrained by the least smooth path in the ensemble.

Experimental Results

The MVC-CDE framework was evaluated on benchmarks including CharacterTrajectories, SpokenArabicDigits, and UWaveGestureLibrary.

  • Efficiency Gains: The MVC-GP model achieved speedups ranging from 4.3x to 14.5x compared to standard Neural CDEs. In some complex tasks, it was even 16x faster than ODE-RNN baselines.
  • Performance: Despite the reduction in NFE, the multi-view approach improved accuracy. On CharacterTrajectories, accuracy rose to ~95%, significantly outperforming the ~86% achieved by linear/cubic baselines.
  • Robustness: Under intentional noise injection, standard CDEs suffered from NFE explosion and accuracy degradation. In contrast, the smoothing-based models maintained stable performance and constant computational cost.

Conclusion

By replacing exact interpolation with attentive kernel smoothing, this work transforms Neural CDEs from a computationally expensive tool into an efficient, noise-robust framework. While the system's speed is currently limited by its most detailed "view," the ability to explicitly control the NFE-accuracy trade-off represents a significant advancement for real-time applications in irregular time-series modeling.

Summary updated

BibTeX
@inproceedings{serov2026efficient,
  author = {Egor Serov and Ilya Kuleshov and Alexey Zaytsev},
  title = {{Efficient Neural Controlled Differential Equations via Attentive Kernel Smoothing}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=e6hVbhHEXh},
}
Figure