Subsampling, aligning, and averaging to find circular coordinates in recurrent time series

Andrew J. Blumberg, Mathieu Carrière, Jun Hou Fung, Michael A. MandellarXiv 2024 · DOI

This paper introduces a robust and efficient framework for mapping recurrent time series data onto circular coordinates ($S^1$). By integrating density-correction via rejection sampling with an "align and average" ensemble approach using Generalized Procrustes Analysis, the authors address the sensitivity of persistent cohomology to uneven data density and its high computational cost. Validated on synthetic and biological datasets, specifically C. elegans whole-brain imaging, the method demonstrates a 23x speedup and improved recovery of behavioral manifolds compared to standard topological data analysis (TDA) techniques.

1. Introduction

Recurrent systems, such as rhythmic neural activity or periodic physical movements, are ubiquitous in nature. Capturing the underlying structure of such systems often involves mapping high-dimensional data points to a circular manifold ($S^1$). While persistent cohomology is a standard tool for this task, it suffers from significant limitations: extreme sensitivity to non-uniform data density and prohibitive computational complexity ($O(N^3)$). This work presents a pipeline that overcomes these hurdles through subsampling, density uniformization, and coordinate alignment.

2. Methodology

The proposed pipeline consists of three primary stages:

2.1 Density Uniformization via Rejection Sampling

Non-uniform sampling can distort topological maps, as optimization processes often prioritize dense regions. The authors employ a density estimator to perform rejection sampling, thinning out crowded regions to create a more uniform "skeleton" of the underlying cycle. This step ensures that the resulting circular map is not "distracted" by regions where the system spends more time.

2.2 Subsampling and Persistent Cohomology

To mitigate computational costs, the algorithm operates on multiple smaller, uniformized subsamples rather than the full dataset. Persistent cohomology is applied to each subsample to identify the most prominent circular feature—represented by the "longest bar" in a persistence diagram.

2.3 Procrustes Alignment and Averaging

The core innovation lies in the ensemble approach. Coordinates derived from individual subsamples are extended back to the full dataset. Because these coordinates may differ by rotation or reflection, the authors utilize Generalized Procrustes Analysis (a technique from shape matching) combined with a hill-climbing refinement to align the subsamples into a single, consistent global coordinate system.

3. Experimental Results

The method was evaluated on synthetic datasets and real-world biological data from C. elegans brain activity (Kato et al., 2015; Yemini et al., 2021).

  • Computational Efficiency: On C. elegans datasets (approx. 3,000 time points), the new method achieved a 23.0x runtime reduction (8.17 seconds vs. 188 seconds for the standard approach).
  • Robustness and Resolution: Information-theoretic metrics (Mutual Information) confirmed that the density-corrected coordinates better preserve the original data's structure. Qualitatively, the method successfully resolved subtle behavioral loops, such as specific ventral turns, which were previously obscured by density-induced artifacts in standard TDA.

4. Discussion and Future Work

The "wisdom of the crowd" approach via ensemble averaging provides significant robustness against noise and outliers. While currently optimized for $S^1$ coordinates, future extensions could target more complex manifolds like tori ($S^1 \times S^1$) or spheres ($S^2$). Current limitations include the need for hyperparameter tuning (e.g., density bandwidth) and the lack of a formal global convergence proof for the hill-climbing optimization.

By combining subsampling with Procrustes-based alignment, this work provides a scalable and robust solution for topological manifold learning in recurrent systems, offering new insights into the low-dimensional dynamics of complex biological systems.

Summary updated

BibTeX
@misc{blumberg2024subsampling,
  author = {Andrew J. Blumberg and Mathieu Carrière and Jun Hou Fung and Michael A. Mandell},
  title = {{Subsampling, aligning, and averaging to find circular coordinates in recurrent time series}},
  year = {2024},
  eprint = {2412.18515},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2412.18515},
}
Figure