An algorithm for calculating top-dimensional bounding chains

J. Frederico Carvalho, Mikael Vejdemo-Johansson, Danica Kragic, Florian T. Pokorny

TL;DR

Researchers have developed the COEFFICIENT-FLOW algorithm, which calculates the "bounding chain" (the surface enclosed by a loop) in linear time for manifold-like shapes. By moving away from traditional, heavy linear algebra and toward a graph-traversal approach, they achieved speedups of over 80x on complex 3D models.

What Problem Does This Paper Address?

In the field of Topological Data Analysis (TDA), researchers often look for "cycles"—closed loops or holes in data. However, simply knowing a hole exists isn't always enough. Often, we want to find the "filling" of that hole, known as a bounding chain. For example, if you have a wire loop (a 1-cycle), the soap film that stretches across it is the bounding chain (a 2-chain).

Finding these chains is computationally expensive. Traditionally, this is treated as a linear algebra problem: solving $dc = p$, where $d$ is a boundary operator matrix, $p$ is your known cycle, and $c$ is the unknown chain. For large 3D meshes or high-dimensional data, the matrices become massive. Even with optimized sparse solvers, the time complexity remains high (roughly $O(n^{1.7})$ or worse), creating a significant bottleneck for real-time applications in robotics or large-scale data visualization.

Methods

The authors introduce the COEFFICIENT-FLOW algorithm. The key innovation is moving away from global matrix inversion and toward a local, "flow-based" propagation.

The algorithm relies on a specific geometric property of $n$-manifold-like simplicial complexes. In these structures, every $(n-1)$-dimensional face (like an edge in a 2D surface) is a "border" between at most two $n$-dimensional faces (like the triangles making up that surface).

Because of this structure, if you know the coefficient of the chain for one $n$-face, you can "flow" that information to its neighbor across a shared $(n-1)$-face using a simple local formula. The algorithm essentially performs a traversal of the dual graph of the complex, starting from a seed face and propagating coefficients until the entire bounding chain is identified.

Datasets

The authors evaluated their algorithm using well-known 3D mesh benchmarks:

  • The Stanford Bunny: A classic computer graphics model with ~70k faces.
  • Eulaema meriana (Bee): A high-resolution 3D model from the Smithsonian 3D collection, tested in both sub-sampled (~500k faces) and full-resolution (~1M faces) versions.
  • Randomized 2D Squares: Used to empirically verify the complexity scaling by varying the number of sampled points.

Key Insights and Ideas

  • Geometry over Algebra: The "aha moment" is realizing that the boundary operator for a manifold is so structured that you don't need the full power of a linear solver. You can treat the problem as a graph traversal.
  • Linear Complexity: While standard solvers struggle with scaling, COEFFICIENT-FLOW has a computational time complexity of $O(|S^{(n-1)}|)$. This means if you double the number of faces in your mesh, the time it takes to find the bounding chain only doubles, rather than quadrupling or worse.
  • The Dual Graph Traversal: By viewing the simplices as nodes in a dual graph, the problem of finding a chain becomes akin to a "flood fill" operation, but one that accounts for the orientation and boundary values of the faces.

Key Results

The performance gains were dramatic when compared to the Eigen library’s sparse linear solver:

  • Speed: For the full Bee model (~1M faces), the traditional solver took 595 seconds, while COEFFICIENT-FLOW finished in just 7.15 seconds.
  • Scaling: Experimental results confirmed the theoretical linear complexity. On a log-log plot, the algorithm showed a slope of 1.0 (linear), whereas the sparse solver showed a slope of ~1.7.
  • Efficiency: The algorithm is easily parallelized using a thread pool, making it even more viable for modern multi-core processors.

Limitations and Future Work

The primary limitation is the codimension-1 constraint. The algorithm is specifically designed to find $n$-chains that bound $(n-1)$-cycles in an $n$-manifold. It cannot currently find "minimal" surfaces (like the smallest possible soap film) if multiple solutions exist, nor does it handle cases where the cycle is "far away" from the top dimension of the complex.

Future directions include: 1. Optimality: Generalizing the algorithm to find the minimal bounding chain according to a cost function. 2. Cohomology: Adapting the "flow" logic to work with cobounding cochains. 3. Higher Codimension: Exploring if similar traversal-based logic can be applied to cycles of much lower dimensions than the complex itself.

Summary updated

BibTeX
@inproceedings{carvalho2018algorithm,
  author = {J. Frederico Carvalho and Mikael Vejdemo-Johansson and Danica Kragic and Florian T. Pokorny},
  title = {{An algorithm for calculating top-dimensional bounding chains}},
  booktitle = {PeerJ Comput. Sci},
  year = {2018},
  url = {https://openreview.net/forum?id=OFAEKWKHD7},
}
Figure