Visualizing High Dimensional Dynamical Processes

Andrés F. Duque, Guy Wolf, Kevin R. Moon · DOI

Abstract

Manifold learning techniques for dynamical systems and time series have shown their utility for a broad spectrum of applications in recent years. While these methods are effective at learning a low-dimensional representation, they are often insufficient for visualizing the global and local structure of the data. In this paper, we present DIG (Dynamical Information Geometry), a visualization method for multivariate time series data that extracts an information geometry from a diffusion framework. Specifically, we implement a novel group of distances in the context of diffusion operators, which may be useful to reveal structure in the data that may not be accessible by the commonly used diffusion distances. Finally, we present a case study applying our visualization tool to EEG data to visualize sleep stages.

Introduction

Visualizing high-dimensional dynamical processes—such as the firing patterns of a brain or the fluctuations of a stock market—is notoriously difficult. Researchers often employ manifold learning to find the low-dimensional structure hidden within noisy data, but existing tools present significant trade-offs. Principal Component Analysis (PCA) captures global structure but misses fine local details. Conversely, t-SNE captures local clusters effectively but often distorts the global relationships between them. While Diffusion Maps (DM) are excellent for denoising, they are not optimized for 2D or 3D visualization, often requiring higher dimensionality to represent data accurately.

The challenge lies in creating a visualization that is noise-resilient, preserves both local and global structure, and is specifically tuned for dynamical systems where the state of the system evolves over time. To address this, we introduce DIG (Dynamical Information Geometry), a dimensionality reduction tool designed to transform complex, high-dimensional time-series data into clear, interpretable visualizations.

The DIG Framework

DIG synthesizes three key frameworks in modern manifold learning to achieve a robust representation of dynamical data:

  1. Empirical Intrinsic Geometry (EIG): To mitigate noise, DIG avoids analyzing individual data points in isolation. Instead, it examines histograms of data within small time windows. By utilizing a Mahalanobis distance between these histograms—a method mathematically proven to be resilient to common sensor noise—DIG establishes a stable foundation for the manifold.
  2. Potential Distances (PHATE): DIG adopts the "potential distance" concept from the PHATE framework. Rather than relying on raw transition probabilities, it treats the data as a diffusion process (analogous to heat spreading across a surface) and measures the information distance between different states.
  3. The DIG Algorithm:
    • Local Affinity: The algorithm constructs a graph where connections are weighted using an $\alpha$-decay kernel with adaptive bandwidth, automatically adjusting to varying data densities.
  4. Diffusion: A transition matrix is calculated and "diffused" over time ($t$) to denoise the data.
  5. Information Distances: A family of distances, parametrized by $\gamma$, is applied to the diffusion operator. This allows users to tune the sensitivity to small versus large differences in probabilities.
  6. MDS Embedding: Finally, Multidimensional Scaling (MDS) is used to project this complex geometry into a 2D or 3D plot.

Case Study: EEG Sleep Stage Visualization

To validate DIG, we applied it to high-dimensional electroencephalography (EEG) data from publicly available sleep studies (Terzano et al. and Goldberger et al.). The task involved visualizing transitions between six sleep categories: Awake, REM, and four stages of non-REM sleep (S1-S4). The data was band-filtered (8-40 Hz) and down-sampled to 128Hz, with labels provided for every 30-second interval.

Key Results

  • Qualitative Superiority: Compared to traditional Diffusion Maps, DIG demonstrated a significantly clearer separation between sleep stages. While standard DM tended to condense the structure into a tight mass, DIG revealed distinct branches corresponding to different sleep phases, mapping the "path" the brain takes from wakefulness into deep sleep.
  • Quantitative Validation: Using the Trustworthiness metric (measuring local distortion) and the Mantel test (measuring global correlation), we confirmed that DIG maintains high structural integrity. At a diffusion time of $t=10$, the embeddings became highly consistent across various mathematical configurations.
  • Visual Denoising: Head-to-head comparisons showed that DIG visualizations using Mahalanobis distances were significantly cleaner and showed more logical time-evolving transitions than those using standard Gaussian-based distances, which often resulted in a "hairball" of noise.

Discussion and Future Work

DIG's most striking insight is that incorporating noise-resilient distances at the start of the pipeline makes the final visualization remarkably robust. Furthermore, as diffusion time increases, the visualization becomes stable regardless of the specific information distance chosen, suggesting that the underlying shape of the dynamical process is being captured faithfully.

While DIG is robust, users must still select parameters such as window lengths and histogram bins based on the specific nature of their data. Future work will explore the computational scaling of MDS on larger datasets and apply DIG to other domains, such as financial time series or biological lineage tracking, to further evaluate its denoising benefits.

Summary updated

BibTeX
@inproceedings{duque2019visualizing,
  author = {Andrés F. Duque and Guy Wolf and Kevin R. Moon},
  title = {{Visualizing High Dimensional Dynamical Processes}},
  booktitle = {MLSP},
  year = {2019},
  doi = {10.1109/mlsp.2019.8918875},
}
Figure