Abstract
Real-world time-series data is inherently continuous and often irregularly sampled, posing a challenge for traditional discrete-time deep learning models. While continuous-time models like Neural Ordinary Differential Equations (Neural ODEs) offer a solution, they often lack the robustness needed to handle sudden distributional shifts. This paper introduces Neural Predictive Control (NPC), a framework that coordinates discrete-time controllers with continuous-time plants using a control-theoretic approach. By recasting time-series analysis as an optimal control problem with multi-horizon planning, NPC achieves significant gains in stability and accuracy, reducing regression error by up to 60%.
Introduction
Traditional time-series models, such as Recurrent Neural Networks (RNNs) or Transformers, operate on discrete time steps. This discretization often ignores the complex "intra-dynamics" occurring between observations. Neural ODEs were introduced to model these continuous flows but are frequently "unconstrained," making them susceptible to noise and sudden changes in data distribution (e.g., weather shifts or traffic incidents). The core challenge lies in combining the long-term historical context of discrete models with the flexible dynamics of continuous models in a mathematically stable way.
The Neural Predictive Control (NPC) Framework
NPC treats the neural network as a dynamical system being "steered" by a controller. The framework consists of four primary steps that bridge the gap between discrete and continuous modeling.
Methodology
- Discrete Controller: An auto-regressive model (e.g., an RNN) processes historical data to generate a sequence of future "control actions" over an $M$-horizon.
- Continuous Plant: These actions modulate the trajectory of a continuous-time model (such as a Neural CDE or ODE-RNN). Instead of evolving independently, the ODE is guided by the discrete controller's output.
- Model Predictive Control (MPC) Training: During training, the model optimizes for a sequence of $M$ future steps rather than a single immediate step. It minimizes a task-specific cost function (e.g., Mean Squared Error or classification loss) to select the optimal current action.
- 1-Horizon Execution: After optimizing the $M$-horizon plan, the model conducts the first control action and repeats the process in the next iteration.
Control-Theoretical Stability
Unlike many hybrid deep learning models that function as "black boxes," NPC is grounded in control theory. The authors provide mathematical proofs demonstrating that this multi-horizon approach ensures exponential convergence to a stable state. By looking ahead $M$ steps, the model avoids "chattering"—the tendency to overreact to local noise—similar to how a driver looking far down the road maintains a smoother path than one looking only at the front bumper.
Experimental Results
NPC was evaluated against state-of-the-art baselines, including Neural CDE and ContiFormer, across several domains:
- Classification: NPC achieved a 5% to 15% improvement in accuracy. On datasets with significant distribution shifts, such as WorSyn, it outperformed baselines by a wide margin.
- Regression and Forecasting: In real-world solar power (PV) and energy load forecasting, NPC reduced Mean Squared Error (MSE) by 30% to 60%. This demonstrates superior performance in both interpolation (filling data gaps) and extrapolation (forecasting future values).
- Stability Analysis: Visualizations of feature flows indicate that while standard ODE-RNNs are easily disrupted by disturbances, NPC trajectories are inherently more robust, quickly returning to stable equilibrium points.
Conclusion and Future Work
Neural Predictive Control offers a robust framework for time-series analysis by integrating discrete-time context with continuous-time dynamics. While the multi-horizon optimization increases computational complexity ($O(N \cdot M)$), the gains in stability and accuracy are substantial. Future research will focus on improving efficiency, possibly by replacing the Neural ODE component with structured State Space Models (SSMs) to leverage faster inference techniques like Kalman filters or Fast Fourier Transforms.
Summary updated