Learning Differential Operators for Interpretable Time Series Modeling

Yingtao Luo, Chang Xu, Yang Liu, Weiqing Liu, Shun Zheng, Jiang Bian · DOI

Abstract

Traditional time series forecasting often forces a choice between the high accuracy of "black-box" deep learning models and the transparency of hand-crafted differential equations. This paper presents a novel framework that bridges this gap by automatically discovering the underlying Partial Differential Equations (PDEs) governing complex data. By utilizing a learnable $P$-block for polynomial approximation and a meta-learning controller to handle non-stationary dynamics, the proposed model achieves state-of-the-art performance across diverse domains—including finance, energy, and healthcare—while providing human-readable mathematical explanations for its predictions.

Introduction

Predicting the evolution of complex systems, such as stock market fluctuations or patient physiological states, is a fundamental challenge in data science. Current approaches generally fall into two categories: deep learning models (e.g., Transformers, LSTMs), which excel at capturing patterns but lack interpretability, and mathematical models based on Partial Differential Equations (PDEs), which offer physical insight but struggle with real-world complexity and "concept drift."

Concept drift occurs when the underlying rules of a system change over time—for instance, shifting market dynamics during a financial crisis. This paper addresses these challenges by introducing a framework that learns the "language of change" directly from data, producing sparse, interpretable equations that adapt to shifting environments.

Methodology

The architecture consists of two primary components designed to balance expressivity with interpretability.

The $P$-block (Polynomial-block)

The $P$-block serves as the engine for equation discovery. Rather than relying on standard neural network layers, it employs 1D convolutional kernels to approximate differential operators (such as $\frac{\partial y}{\partial t}$). These operators are then combined through element-wise products to construct multivariate polynomials. To ensure the resulting equations remain human-readable, the framework utilizes Sparse Regression (specifically the Fast Iterative Soft-Thresholding Algorithm, or FISTA) to select only the most significant mathematical terms. This results in a concise model that captures the essential dynamics without unnecessary complexity.

Hybrid PDE and Meta-Learning

To account for non-stationary data, the authors implement a hybrid approach. Instead of a single static equation, the model maintains multiple PDEs trained across various time scales and sampling rates. A meta-learning controller, comprising an LSTM-MLP architecture, monitors incoming data streams in real-time. This controller dynamically adjusts the weights and hyperparameters of the PDEs, allowing the model to pivot between different "rules" as the system's behavior evolves.

Experimental Evaluation

The framework was evaluated against several state-of-the-art baselines, including ConvTrans and DeepAR, across four distinct datasets:

  1. Synthetic Physics Data: A complex polynomial function derived from wave equations.
  2. Orderbook Data: High-frequency trading data involving futures and spot prices.
  3. MISO Energy Data: Real-world power grid loads and energy prices from the US Midwest.
  4. PhysioNet Clinical Data: Multi-variable ICU records tracking 37 vital signs over 48 hours.

Performance and Interpretability

The model consistently matched or exceeded the accuracy of leading deep learning models. Notably, in single-step forecasting for the Orderbook dataset, the model's Root Mean Square Error (RMSE) was significantly lower than all baselines, demonstrating a superior ability to capture local variations.

Beyond accuracy, the model provided significant qualitative insights. In the PhysioNet dataset, the discovered equations revealed that respiration rate was strongly influenced by temperature and arterial pH. This finding is consistent with medical knowledge regarding how fever and alkalosis trigger respiratory responses, validating the model's ability to uncover genuine physical relationships.

Discussion and Theoretical Insights

A key contribution of this work is the theoretical proof that the $P$-block acts as a "universal polynomial approximator." This ensures that, given sufficient depth, the model can represent any continuous function governing temporal evolution. Furthermore, the use of sparsity-promoting regression ensures that the model remains computationally efficient compared to massive black-box architectures.

However, certain limitations remain. The model relies on "Euler time-stepping," where future points are predicted based on current slopes; this can lead to error accumulation during long-term forecasting. Additionally, the framework assumes that the primary dynamics are governed by a smooth PDE, which may pose challenges for highly stochastic or "jagged" data where non-smooth variations dominate.

Conclusion

By combining the strengths of differential equations with the flexibility of meta-learning, this framework provides a robust solution for interpretable time series modeling. Future research will focus on hybridizing these interpretable PDEs with neural components designed to handle stochastic "noise," further narrowing the gap between black-box performance and white-box transparency.

Summary updated

BibTeX
@inproceedings{luo2022learning,
  author = {Yingtao Luo and Chang Xu and Yang Liu and Weiqing Liu and Shun Zheng and Jiang Bian},
  title = {{Learning Differential Operators for Interpretable Time Series Modeling}},
  booktitle = {ACM SIGKDD Conference on Knowledge Discovery and Data Mining},
  year = {2022},
  doi = {10.1145/3534678.3539245},
}
Figure