Toroidal Coordinates: Decorrelating Circular Coordinates with Lattice Reduction

Luis Scoccola, Hitesh Gakhar, Johnathan Bush, Nikolas Schonsheck, Tatum Rask, Ling Zhou, Jose A. Perea

TL;DR

When topological data analysis is used to extract multiple circular coordinates from a dataset, the resulting coordinates are often redundant or tangled together—even when the underlying topological features are linearly independent. This paper introduces the Toroidal Coordinates Algorithm, which formalizes geometric correlation between circle-valued maps via the Dirichlet form and uses lattice basis reduction (the LLL algorithm) to systematically disentangle them into low-energy, mutually independent coordinates.

What Problem Does This Paper Address?

Persistent cohomology allows data scientists to discover 1-dimensional "holes" (periodic or circular structures) in complex, high-dimensional datasets. The classical circular coordinates algorithm takes a cohomology class representing such a hole and constructs an energy-minimizing map from the data into the circle $\mathbb{S}^1$.

However, when an analyst tries to extract multiple circular coordinates simultaneously to map data to a $k$-dimensional torus $\mathbb{T}^k = (\mathbb{S}^1)^k$, the coordinates often end up geometrically correlated. For example, on a two-holed torus, two separately computed coordinates might both wrap around the exact same physical feature instead of separating into distinct longitude/meridian cycles. While previous work noted that integer linear combinations of cohomology classes could fix this, choices had to be made manually by visual inspection. This paper automates and formalizes that process.

Methods

The authors bridge algebraic topology, Riemannian geometry, and algorithmic number theory:

  • Formalizing Geometric Correlation via the Dirichlet Form: On a Riemannian manifold $M$, the correlation between two smooth maps $f, g: M \to \mathbb{S}^1$ is defined using the Dirichlet bilinear form $D(f, g) = \frac{1}{2} \int_M \langle df_p, dg_p \rangle_F \, d\mu(p)$. Zero correlation corresponds to orthogonal gradients (geometric independence).
  • Isometry to Cocycles: The authors prove that integrating 1-cocycles on a simplicial cover induces an inner product on cocycles that is isometric to the continuous Dirichlet form (Theorem 15).
  • Lattice Reduction for Optimization: Minimizing the total Dirichlet energy across integer combinations of cohomology classes is framed as finding a minimal basis for a lattice. Because exact lattice shortest basis problems are generally hard, the authors apply the Lenstra–Lenstra–Lovász (LLL) algorithm to find an approximation guaranteed to be within a factor of $2^{(k-1)/2}$ in Frobenius norm ($2^{k-1}$ in squared norm) of the optimal solution.
  • Sparse Toroidal Coordinates: To scale to large datasets and allow out-of-sample extension, they integrate this reduction into a partition-of-unity framework based on landmark subsampling (maxmin sampling).

Datasets

The authors evaluated the Sparse Toroidal Coordinates Algorithm across four benchmarks:

  1. Synthetic Genus-Two Surface: A densely sampled double-torus mesh with four persistent 1-cycles.
  2. Lederman–Talmon Rotating Figurine Dataset: Video image sequences of two figurines ("Yoda" and "Dog") rotating on platforms at differing, incommensurate speeds.
  3. Kuramoto–Sivashinsky (KS) Dynamical System: A numerical simulation of the 1D Kuramoto–Sivashinsky PDE exhibiting spatiotemporal chaos with combined spatial traveling wave and temporal oscillation dynamics.
  4. Synthetic Bat Head-Direction Neurons: Simulated firing rate time series of three distinct neuronal populations tuned to bat 3D head movement (azimuth, pitch, and roll).

Key Insights and Ideas

  • Topology vs. Geometry: Linearly independent cohomology classes in $H^1(K; \mathbb{Z})$ ensure topological independence, but they carry no inherent guarantee of geometric orthogonality. The choice of basis in the integer lattice determines whether coordinates isolate distinct physical cycles or mix them together.
  • Total Energy Minimization Promotes Decorrelation: By minimizing the sum of squared norms $\sum_{j=1}^k \|\theta_j\|^2$, the trace bound $\|A^* A\|_F \le \|A\|_F^2$ guarantees that the pairwise off-diagonal inner products (the cross-correlations) remain small.
  • The Standard Inner Product is Surpassingly Good: The authors discovered empirically that the simple combinatorial inner product from de Silva, Morozov, and Vejdemo-Johansson ($\langle \theta, \eta \rangle_{\mathrm{dSMV}} = \sum \theta_{ij}\eta_{ij}$) yields results virtually indistinguishable from a discrete metric-aware estimation of the continuous Riemannian Dirichlet form.

Key Results

In all experiments, the Sparse Toroidal Coordinates Algorithm produced near-diagonal Dirichlet correlation matrices ($D_{\mathrm{STC}}$), successfully decorrelating mixed signals:

  • Genus-Two Surface: Reduced strong cross-correlations (off-diagonals dropping from $2.4$ and $11.2$ down to $-0.6$ and $3.5$) and significantly lowered high energy values (from $22.6$ to $14.9$).
  • Lederman–Talmon Figurine Dataset: The circular coordinates pipeline returned mixed coordinates where one axis tracked Dog's rotation while the other tracked a mixture of Dog and Yoda ($D_{\mathrm{SCC}}$ off-diagonal was $-3.08$). The toroidal algorithm applied a change-of-basis matrix $M = \begin{pmatrix} 1 & 0 \\ 1 & 1 \end{pmatrix}$, completely isolating Yoda's and Dog's separate rotations ($D_{\mathrm{STC}}$ off-diagonal dropped to $0$).
  • Kuramoto–Sivashinsky System: Uncoupled the temporal oscillation from the spatial traveling wave (off-diagonal dropped from $6.1$ to $1.0$, while the larger energy coordinate dropped from $112.3$ to $76.6$).
  • Neuroscience Simulation: Fully separated the three mixed neural angles (recovering azimuth, pitch, and roll cleanly on every run), whereas standard sparse circular coordinates frequently failed to separate the components.

Limitations and Future Work

  • Theoretical Complexity: The paper leaves open whether the exact lattice reduction objective (Problem 6) is NP-hard or inapproximable within small constants.
  • Metric Estimation Theory: While heuristics for estimating the continuous Dirichlet form from finite point clouds were provided, proving their statistical consistency (convergence in probability as sample size $N \to \infty$) remains an open theoretical problem.
  • Beyond Tori: The framework is currently restricted to abelian representations ($\mathbb{T}^k$). The authors suggest exploring extensions to non-abelian representations such as non-trivial Lie groups.

Summary updated

BibTeX
@inproceedings{scoccola2023toroidal,
  author = {Luis Scoccola and Hitesh Gakhar and Johnathan Bush and Nikolas Schonsheck and Tatum Rask and Ling Zhou and Jose A. Perea},
  title = {{Toroidal Coordinates: Decorrelating Circular Coordinates with Lattice Reduction}},
  booktitle = {SoCG},
  year = {2023},
  url = {https://openreview.net/forum?id=PnpqMukVpn},
}
Figure