m-TSNE: A Framework for Visualizing High-Dimensional Multivariate Time Series

Minh Nguyen, Sanjay Purushotham, Hien To, Cyrus ShahabiarXiv 2017

Introduction

Healthcare and wearable sensors generate massive amounts of multivariate time series (MTS) data, such as continuous heart rate, step counts, and EEG signals. Visualizing this data to extract clinical insights is notoriously difficult. Traditional techniques like star charts or parallel coordinates often become cluttered and unreadable as dimensionality increases.

Standard dimensionality reduction techniques, such as PCA or standard t-SNE, often treat data points independently or rely on distance metrics like Euclidean distance or Dynamic Time Warping (DTW) that fail to capture the inherent correlations between multiple variables over time. This paper introduces m-TSNE, a framework designed to treat MTS data as a cohesive whole, preserving complex variable correlations that traditional methods miss.

The m-TSNE Framework

The authors propose a three-stage pipeline to project high-dimensional MTS data into interpretable 2D or 3D spaces:

  1. Preprocessing: Data is mean-centered, normalized, and segmented into discrete "MTS items" (e.g., a 24-hour matrix of vital signs).
  2. EROS Similarity Metric: Instead of raw distance, m-TSNE uses the Extended Frobenius norm (EROS). By applying PCA to each MTS item to extract eigenvectors, EROS calculates similarity as a weighted sum of cosine similarities. This explicitly preserves the structural relationships between different variables (e.g., how heart rate and step count correlate).
  3. Low-Dimensional Projection: Using a gradient descent optimization similar to standard t-SNE, the framework minimizes the mismatch between high-dimensional EROS similarities and low-dimensional distances.
The m-TSNE pipeline for distance-preserved visualization of multivariate time series.

Experimental Evaluation

The framework was evaluated on two distinct healthcare datasets:

  • ATOM-HP: Tracking cancer patients undergoing chemotherapy using wearable sensors (5 variables: steps, calories, and heart rate metrics).
  • EEG Dataset: Fine-grained brainwave data from 64 electrodes across control and alcoholic subjects.

Key Results and Clinical Insights

m-TSNE demonstrated significant qualitative and quantitative advantages over traditional methods. In the ATOM-HP dataset, the framework naturally clustered patient days into "active," "inactive," and "noisy sensor" categories. Crucially, the "inactive" clusters aligned perfectly with days immediately following chemotherapy sessions, providing an objective visual biomarker for treatment-induced fatigue.

m-TSNE visualization of the ATOM-HP dataset, revealing distinct clusters for active days, inactive post-chemo days, and noisy sensor data.

In a blind user study evaluating interpretability (scored 1 to 3), m-TSNE achieved a score of 2.48, significantly outperforming PCA (1.92) and DTW-based t-SNE (1.60). Furthermore, clinical validation by an oncologist confirmed that the generated clusters accurately represented real-world patient fatigue cycles.

Conclusion

m-TSNE provides a robust method for visualizing complex MTS data by prioritizing variable correlations over raw values. While the computational cost of calculating EROS similarities for very large datasets remains a factor, the framework offers a powerful tool for clinicians to identify trends and outliers. Future work will focus on developing interactive software to allow real-time exploration of these visualizations in clinical settings.

Summary updated

Abstract

Multivariate time series (MTS) have become increasingly common in healthcare domains where human vital signs and laboratory results are collected for predictive diagnosis. Recently, there have been increasing efforts to visualize healthcare MTS data based on star charts or parallel coordinates. However, such techniques might not be ideal for visualizing a large MTS dataset, since it is difficult to obtain insights or interpretations due to the inherent high dimensionality of MTS. In this paper, we propose 'm-TSNE': a simple and novel framework to visualize high-dimensional MTS data by projecting them into a low-dimensional (2-D or 3-D) space while capturing the underlying data properties. Our framework is easy to use and provides interpretable insights for healthcare professionals to understand MTS data. We evaluate our visualization framework on two real-world datasets and demonstrate that the results of our m-TSNE show patterns that are easy to understand while the other methods' visualization may have limitations in interpretability.
BibTeX
@misc{nguyen2017m,
  author = {Minh Nguyen and Sanjay Purushotham and Hien To and Cyrus Shahabi},
  title = {{m-TSNE: A Framework for Visualizing High-Dimensional Multivariate Time Series}},
  year = {2017},
  eprint = {1708.07942},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1708.07942},
}
Figure