Noisy Data Visualization using Functional Data Analysis

Haozhe Chen, Andres Felipe Duque Correa, Guy Wolf, Kevin R. MoonarXiv 2024 · DOI

Abstract

Functional Information Geometry (FIG) is a novel visualization method designed to uncover the true structure of data buried under heavy noise. By replacing traditional, high-dimensional histograms with a functional data analysis approach, FIG bypasses the "curse of dimensionality," making it significantly faster, more robust, and more accurate than previous noise-resilient techniques.

Introduction

In fields like neuroscience or finance, researchers often deal with high-dimensional "noisy" data that follows a simple, low-dimensional path or manifold. While tools like t-SNE and UMAP are popular for visualizing these paths, they often struggle when the noise level is high, resulting in uninformative "blobs" rather than meaningful structures.

Previous attempts to solve this, such as Empirical Intrinsic Geometry (EIG) and Dynamical Information Geometry (DIG), are theoretically "noise-free" because they compare the probability distributions of data points rather than the points themselves. However, these methods rely on building multi-dimensional histograms. As the number of dimensions grows, these histograms become incredibly sparse and computationally expensive—a classic "curse of dimensionality." The authors of this paper propose Functional Information Geometry (FIG) to maintain noise-resilience while eliminating the need for problematic histograms.

Methods

The core innovation of FIG is treating local data clusters as "functions" (specifically, probability densities) and applying Functional Data Analysis (FDA). The process involves three main steps:

  1. Basis Expansion: Instead of counting points in bins (histograms), FIG projects the data onto a set of basis functions, such as Fourier series or splines.
  2. Bypassing Density Estimation: The authors derived a mathematical shortcut showing that the Mahalanobis distance between local densities can be calculated using only the empirical averages of the basis functions. This avoids full probability density estimation, making the method efficient in high dimensions.
  3. Diffusion Embedding: These noise-resilient distances are then processed by the PHATE algorithm, which uses diffusion steps to learn the global structure and project it into a lower-dimensional space.
Algorithm 1: The FIG Algorithm for time series data

Experimental Setup

The paper evaluates FIG using two primary sources:

  • Simulated 3D Sphere: A synthetic dataset mimicking an object moving across a sphere, governed by two hidden parameters (azimuth and elevation). This provides a "ground truth" for comparison.
  • EEG Sleep Data: A real-world multivariate time series with 18 dimensions tracking brain activity across six sleep stages (REM, Awake, S1-S4). This dataset serves as a high-dimensional stress test.

Key Insights

  • Noise Cancellation: By projecting data into a functional space, the "linear" nature of noise allows it to be cancelled out during distance calculations without needing to know the exact noise distribution.
  • Hyperparameter Robustness: FIG is remarkably stable across different window sizes. Unlike DIG, which loses structural detail as window size increases, FIG maintains consistent visualizations.
  • Efficiency and Accuracy: Avoiding histograms prevents sparse-data issues, providing a cleaner representation of trajectories, which is vital for time-series analysis.

Results

FIG demonstrates significant improvements over existing methods in both quantitative and qualitative measures:

  • Superior Noise Resilience: In simulations, FIG maintained a high Mantel correlation (matching underlying parameters) even as noise levels increased. At high noise levels, FIG significantly outperformed t-SNE, UMAP, and DIG.
  • Computational Speedup: FIG was approximately 5x faster than DIG in head-to-head tests (e.g., ~30 seconds vs ~165 seconds).
  • Qualitative Clarity: On EEG data, FIG produced clear, branching structures representing sleep stage transitions, whereas standard PHATE and Diffusion Maps failed to capture meaningful structure.
Mean correlation vs noise level for various visualization methods

Limitations and Future Work

Currently, FIG is optimized for time-series data where neighbors are defined by a time window. While the mathematical framework allows for other neighborhood definitions, these have not yet been extensively tested. Future work will focus on extending FIG to non-sequential datasets and exploring various basis functions to optimize performance for different data types.

Summary updated

BibTeX
@misc{chen2024noisy,
  author = {Haozhe Chen and Andres Felipe Duque Correa and Guy Wolf and Kevin R. Moon},
  title = {{Noisy Data Visualization using Functional Data Analysis}},
  year = {2024},
  eprint = {2406.03396},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2406.03396},
}
Figure