Discriminative State Space Models

Vitaly Kuznetsov, Mehryar MohriNeurIPS 2017

Introduction

Time series forecasting is a cornerstone of numerous fields, from finance and climate science to healthcare. Traditionally, researchers have relied on State-Space Models (SSMs), which assume a hidden "state" evolves over time and produces the observations we see. However, standard generative SSMs suffer from two major vulnerabilities. First, they often rely on strict stationarity assumptions, presuming the underlying process doesn't change its fundamental rules over time—a rarity in the real world. Second, they typically require practitioners to specify exact probability distributions (like Gaussian noise). If the model is even slightly misspecified, its statistical guarantees can vanish.

To bridge this gap, this paper introduces Discriminative State-Space Models (DSSMs). By focusing on predicting the outcome directly rather than modeling the entire data-generating process, DSSMs provide a flexible framework for forecasting non-stationary time series. Crucially, they offer robust, data-dependent generalization guarantees and introduce an efficient, convex optimization algorithm called BOOSTSM to adaptively learn complex hidden state representations.

Methodology: The DSSM Framework

The authors pivot from traditional generative approaches to a discriminative one, introducing several key innovations:

  • Decoupled Predictors: The DSSM framework defines a model where an observation predictor and a state predictor work in tandem. Crucially, this setup makes no assumptions about the stochastic process generating the data, making it far more robust to real-world "messiness."
  • State-Space Discrepancy: To handle non-stationarity, the authors generalize the notion of "discrepancy." This metric quantifies how much the distribution of the future (time $T+1$) differs from the average of the past. By incorporating this, the model effectively "knows" how much it can trust historical data.
  • Structural Risk Minimization (SRM): The paper proposes a method to automatically select the appropriate model complexity. This prevents overfitting—memorizing noise—while ensuring the model remains complex enough to capture the underlying signal. The model can start simple (e.g., a linear trend) and adaptively add more complex components only if they significantly improve the forecast.

Optimization: The BOOSTSM Algorithm

One of the most significant insights of the paper is that the SRM problem for these models can be formulated as a convex optimization. This is a major departure from traditional Maximum Likelihood Estimation (MLE) for state-space models, which is notoriously finicky and prone to getting stuck in local minima.

Building on this convexity, the authors derive a boosting-style algorithm called BOOSTSM. Because it utilizes a convex objective, the training process is significantly more stable and efficient, admitting a linear convergence guarantee that ensures it reaches the optimal solution quickly.

Theoretical Guarantees and Key Results

The primary focus of the paper is establishing a rigorous theoretical foundation for DSSMs. Instead of relying on asymptotic results that only hold with infinite data, the authors provide finite-sample, data-dependent guarantees.

The paper details four major theorems establishing these generalization bounds. These proofs demonstrate that the expected loss of the model on future data is bounded by three main components: the training error, the state-space discrepancy, and a complexity term.

Complexity term from the generalization bounds

Furthermore, under a defined "Stability" assumption, the authors show that if a model performs well on past states, it is mathematically likely to perform well in the near future, even in non-stationary environments. This ensures the stability of trajectories over time. (Note: The paper focuses heavily on these theoretical proofs and algorithmic design; while promising preliminary experimental results are mentioned in the appendix, the core contribution is theoretical.)

Limitations and Future Work

While DSSMs offer a powerful new paradigm, there are areas for ongoing research:

  • Discrepancy Estimation: The theoretical bounds rely heavily on "discrepancy," but accurately estimating this value from data remains a practical challenge, particularly in highly volatile environments.
  • Reliance on Stability: The most optimistic guarantees rely on a stability assumption regarding state trajectories. If the hidden state dynamics shift too violently or unpredictably, these tighter bounds may not hold.
  • Computational Scaling: Although the BOOSTSM objective is convex, the boosting approach involves searching through families of weak learners. Scaling this search to accommodate extremely high-dimensional "side information" (additional input variables) is a natural next step for future research.

Summary updated

BibTeX
@inproceedings{kuznetsov2017discriminative,
  author = {Vitaly Kuznetsov and Mehryar Mohri},
  title = {{Discriminative State Space Models}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2017},
  url = {https://openreview.net/forum?id=S1WhXPbOWH},
}
Figure