Unsupervised Discovery of Temporal Structure in Noisy Data with Dynamical Components Analysis

David G. Clark, Jesse A. Livezey, Kristofer E. Bouchard

Abstract

Dynamical Components Analysis (DCA) is a linear dimensionality reduction technique designed to extract low-dimensional latent dynamics from high-dimensional, noisy time-series data. By maximizing predictive information—the mutual information between past and future time windows—DCA identifies subspaces that capture temporal structure rather than just high-variance noise. We demonstrate that DCA outperforms traditional methods like Principal Components Analysis (PCA) and Slow Feature Analysis (SFA) in synthetic chaotic systems and real-world neural and environmental datasets, offering a robust and computationally efficient tool for time-series analysis.

Introduction

In fields ranging from neuroscience to econometrics, researchers frequently encounter high-dimensional time-series data where the underlying signals are obscured by noise. Dimensionality reduction is typically employed to find a few "latent" variables that drive the system. Principal Components Analysis (PCA) has long been the standard approach, but it is fundamentally limited by its focus on variance. In many real-world scenarios, noise can have higher variance than the dynamical signal of interest, leading PCA to prioritize noise over meaningful structure. While Slow Feature Analysis (SFA) targets temporal changes, it often fails to capture complex, non-Markovian dependencies where the past influences the future across multiple time steps.

Methods

DCA addresses these limitations by finding a projection matrix $V$ that maximizes the predictive information ($I^{pred}$) of the projected data. $I^{pred}$ is defined as the mutual information between a window of the past and a window of the future. To ensure the objective is differentiable and computationally tractable, DCA employs a Gaussian approximation, assuming the data follows a stationary Gaussian process. This allows $I^{pred}$ to be calculated efficiently using only the spatiotemporal covariance matrix of the data. The optimization is performed using the L-BFGS-B algorithm. By considering windows of time ($T > 1$) rather than just single-step transitions, DCA captures long-range temporal dependencies that single-step methods miss.

Results

The primary advantage of DCA is its ability to ignore high-variance noise that lacks temporal correlation. As illustrated in Figure 1, in environments with significant anisotropic noise, PCA's primary axis aligns with the noise, whereas DCA's axis correctly identifies the dynamical signal.

Figure 1: Comparison of PCA and DCA in noisy environments. PCA aligns with high-variance noise, while DCA identifies the underlying dynamics by maximizing predictive information.

On synthetic benchmarks, such as the noisy Lorenz attractor, DCA maintains high reconstruction accuracy ($R^2 \approx 0.8$) even at low signal-to-noise ratios, where PCA performance drops to near zero. Quantitative comparisons on coupled oscillators and embedded Lorenz systems (Figure 2) demonstrate that DCA consistently captures more mutual information (MI) with fewer dimensions than PCA or SFA.

Figure 2: Performance of DCA compared to other methods. (A) Autocorrelation for different window sizes. (B-C) Mutual information (MI) retained as a function of dimensions for coupled oscillators and the embedded Lorenz attractor.

In real-world applications, DCA-extracted features significantly improved decoding of behavioral variables from monkey motor cortex (M1) and rat hippocampal (CA1) activity. Furthermore, dimensions discovered by DCA in weather and human kinematics data proved more "forecastable," indicating they contain more relevant information for predicting future states of the entire system.

Discussion and Limitations

DCA provides a powerful, linear alternative to complex generative models like LFADS or GPFA. While it assumes stationarity and linearity, its differentiability allows for potential extensions into non-linear or deep learning frameworks. A key trade-off is that while DCA may be slightly behind complex generative models in raw decoding performance, it offers greater simplicity and fewer restrictive assumptions about the form of the dynamics. Future work may address non-stationary data through sliding windows or integrated dynamic modeling.

Summary updated

Abstract

Linear dimensionality reduction methods are commonly used to extract low-dimensional structure from high-dimensional data. However, popular methods disregard temporal structure, rendering them prone to extracting noise rather than meaningful dynamics when applied to time series data. At the same time, many successful unsupervised learning methods for temporal, sequential and spatial data extract features which are predictive of their surrounding context. Combining these approaches, we introduce Dynamical Components Analysis (DCA), a linear dimensionality reduction method which discovers a subspace of high-dimensional time series data with maximal predictive information, defined as the mutual information between the past and future. We test DCA on synthetic examples and demonstrate its superior ability to extract dynamical structure compared to commonly used linear methods. We also apply DCA to several real-world datasets, showing that the dimensions extracted by DCA are more useful than those extracted by other methods for predicting future states and decoding auxiliary variables. Overall, DCA robustly extracts dynamical structure in noisy, high-dimensional data while retaining the computational efficiency and geometric interpretability of linear dimensionality reduction methods.
BibTeX
@inproceedings{clark2019unsupervised,
  author = {David G. Clark and Jesse A. Livezey and Kristofer E. Bouchard},
  title = {{Unsupervised Discovery of Temporal Structure in Noisy Data with Dynamical Components Analysis}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2019},
  url = {https://openreview.net/forum?id=pbpK_iVPj87},
}
Figure