Learning Temporal Dependence from Time-Series Data with Latent Variables

Hossein Hosseini, Sreeram Kannan, Baosen Zhang, Radha Poovendran

Introduction

Understanding causal relationships in time-series data is fundamental to fields ranging from finance to climate science. Traditional approaches, such as Granger causality, often rely on the assumption that all relevant variables are observable and that delays between cause and effect are fixed. However, real-world systems frequently involve latent (hidden) variables and time-varying delays. This paper introduces a novel linear model that incorporates temporal latent variables to act as a system's "memory," accounting for random delays and providing a more robust framework for mapping dependencies in complex systems.

Methodology

The proposed model characterizes a discrete-time linear dynamical system where each observed variable is associated with a latent memory state. The system is governed by two primary mechanisms:

  1. Latent State Evolution: The hidden memory state ($z_t$) evolves based on its previous state and the previous observed state.
  2. Observation with Random Lag: The observed variable ($x_t$) is influenced by its hidden memory from a previous time step ($z_{t-\Theta_t}$), where the delay ($\Theta_t$) is a random variable.

To learn the parameters of this system, the authors developed a practical algorithm based on convex optimization with $L_1$ regularization. This approach encourages "sparse" solutions, effectively identifying the "who-affects-whom" map of the underlying system. Crucially, the authors prove the identifiability of the model, showing that parameters can be uniquely recovered from data as the sample size grows. Unlike the Expectation-Maximization (EM) algorithm, which is prone to local optima, this method utilizes linear equations relating system parameters to the covariances of observed data.

Experimental Evaluation

The model's performance was validated using synthetic datasets, stock market data (20 major companies over 11 years), and the Comprehensive Climate Dataset (CCDS).

Synthetic Data and Graph Recovery

On synthetic networks, the proposed method demonstrated superior capability in recovering the "ground truth" dependency graph. As shown in the ROC curves below, the method maintains a significantly higher True Positive Rate for a given False Positive Rate compared to standard Granger Lasso and Vector Autoregressive (VAR) models with hidden variables, particularly as the sample size ($T$) increases.

ROC curves comparing graph recovery performance across different sample sizes (T).

Financial and Climate Forecasting

In practical applications, the model outperformed baselines in predictive accuracy. For stock market data, it achieved a lower normalized mean square error (NMSE) for multi-day price forecasting. In climate studies, the model identified that variables often depend on states from up to three months prior, leading to more precise predictions than models assuming immediate effects.

Normalized Mean Square Error (NMSE) as a function of maximum delay, showing the proposed method's consistent advantage over Granger Lasso.

Key Insights

  • Memory as a Latent Process: Treating memory as an evolving latent process rather than a simple lag allows the model to capture complex, long-term dependencies.
  • Robustness to Random Delays: By modeling the lag ($\Theta_t$) as a random variable, the system becomes resilient to "jitter" in data collection and physical processes with non-fixed schedules.
  • Sparsity Assumption: Leveraging the assumption that causal graphs are typically sparse makes high-dimensional problems computationally tractable.

Discussion and Future Work

While the current linear framework is mathematically efficient and consistent, many biological and physical systems exhibit non-linear behavior. Future research could explore integrating this latent memory framework with non-linear architectures, such as Long Short-Term Memory (LSTM) networks, to address "memory decay" and expand the model's applicability to non-linear regimes. Additionally, further investigation into the sample complexity for extremely large-scale systems remains a key area for development.

Summary updated

BibTeX
@inproceedings{hosseini2016learning,
  author = {Hossein Hosseini and Sreeram Kannan and Baosen Zhang and Radha Poovendran},
  title = {{Learning Temporal Dependence from Time-Series Data with Latent Variables}},
  booktitle = {DSAA},
  year = {2016},
  url = {https://openreview.net/forum?id=eH4IXJwZb9Tz},
}
Figure