Circular Coordinates: Parameterising Periodic Structure in Data
Published:
From Detection to Parameterisation
Standard TDA asks: “does the data have a loop?” But for a point cloud living near a circle — e.g., motion capture data in a gait cycle — we want more: a continuous function \(f: P \to S^1\) that assigns each data point a phase in the cycle.
This requires:
- Detecting the loop via persistent \(H_1\) (a long-lived bar).
- Extracting a representative 1-cocycle \(\varphi\) for that class.
- Making \(\varphi\) harmonic (smooth/consistent across the complex).
- Integrating \(\varphi\) to a map \(f: P \to S^1\).
Step 1: Persistent 1-Cocycle
Compute persistent cohomology \(H^1\) of the Rips filtration \(\mathrm{Rips}(P, r)\) at the scale \(r^*\) where the longest bar is born. The corresponding cocycle \(\varphi \in Z^1\) assigns a value in \(\mathbb{Z}\) (or \(\mathbb{R}/\mathbb{Z}\)) to each edge.
Over \(\mathbb{R}\): \(\varphi([p_i, p_j]) \in \mathbb{R}\) with \(\delta \varphi = 0\) (cocycle condition: \(\varphi([p_j,p_k]) - \varphi([p_i,p_k]) + \varphi([p_i,p_j]) = 0\) on all triangles).
Step 2: Harmonic Smoothing
A cocycle \(\varphi\) is not unique in its cohomology class (adding any coboundary \(\delta \psi\) gives an equivalent cocycle). Choose the harmonic representative: the unique cocycle in its cohomology class that minimises the \(\ell^2\) norm.
Practically: solve the Laplacian system \(\Delta \varphi = 0\) subject to \(\varphi\) representing the correct cohomology class. This gives a smooth, geometrically meaningful cocycle.
Step 3: Integration to Circle
With the harmonic cocycle, define the circular coordinate \(f: P \to S^1 = \mathbb{R}/\mathbb{Z}\) by:
Fix \(f(p_0) = 0\) and propagate consistently around any spanning tree. The map is well-defined modulo 1 because \(\varphi\) is a cocycle.
Applications
- Gait analysis: motion capture data of human walking lives near \(S^1\); circular coordinates give a clean phase parameter.
- Gene expression cycles: circadian or cell-cycle data. Singh et al. (2008) found \(S^1\) structure in human primary visual cortex data.
- Neural data: place cells in the hippocampus encode spatial position; their joint firing patterns have the topology of a torus \(T^2 = S^1 \times S^1\). Circular coordinates on each \(S^1\) factor give spatial coordinates.
References
- V. de Silva, D. Vejdemo-Johansson, G. Carlsson, “Persistent Cohomology and Circular Coordinates,” Discrete & Computational Geometry, 2011. arXiv:0905.4887.
- G. Singh, F. Mémoli, G. Carlsson, “Topological Methods for the Analysis of High Dimensional Data Sets,” SPBG, 2007.
