Abstract
Reconstructing 3D surfaces from sparse or irregularly sampled point clouds remains a significant challenge in computer vision. While Implicit Neural Representations (INRs) have advanced geometric accuracy, they often fail to maintain topological consistency, leading to fragmented "islands" or structural "gaps." We present STITCH, a framework that integrates Persistent Homology (PH) into the training loop of INRs. By utilizing a differentiable topological loss, STITCH ensures the production of single, connected 2-manifold meshes, even in challenging scenarios like thin plant geometries and wireframes.
Introduction
Surface reconstruction—the process of transforming a set of raw 3D coordinates (a point cloud) into a continuous mathematical surface—is foundational for 3D printing, physical simulation, and digital archiving. Modern approaches typically employ Signed Distance Fields (SDFs) learned via Multi-Layer Perceptrons (MLPs). However, these geometric-first methods are prone to topological errors when data is sparse. As shown in Figure 1, variable spacing in the input point cloud often results in current reconstruction methods producing disconnected components or incomplete surfaces.
STITCH (Surface reconstrucTion using Implicit neural representations with Topology Constraints and persistent Homology) addresses this by treating connectivity as a hard mathematical constraint rather than a byproduct of geometric optimization.
Methodology
The core innovation of STITCH is the integration of Topological Data Analysis (TDA) into the gradient-based optimization of neural networks. The pipeline consists of several key stages:
- Implicit Representation: An MLP learns to predict the SDF value for any given query point in 3D space.
- Cubical Complex Construction: To analyze topology, the continuous SDF predictions are mapped onto a discrete grid, forming a cubical complex.
- Persistent Homology (PH): PH tracks the birth and death of topological features (like connected components) across different scale parameters. This identifies which features are "noise" (short-lived islands) and which are "significant" (the main object body).
- Differentiable Topological Loss: Traditionally, TDA is non-differentiable. STITCH overcomes this by using cofaces to map topological features back to specific grid cells. This allows the network to backpropagate gradients directly to the regions causing disconnections.
As illustrated in Figure 2, the total loss function balances a geometric term (pulling the surface toward input points) with a topological term that penalizes spurious components while encouraging the persistence of the primary structure.
Key Insights
Topology as a Prior
By enforcing connectivity through the loss function, STITCH can "fill in" regions where data points are missing. This makes the model exceptionally robust to sparsity, as the topological prior forces the network to find a connected solution that satisfies the sparse geometric constraints.
Theoretical Convergence
The authors provide a theoretical guarantee that optimizing their specific topological loss with stochastic gradient descent (SGD) converges to a solution containing exactly one connected component. This moves the field from heuristic-based cleaning of meshes to principled, constraint-based learning.
Experimental Results
STITCH was evaluated against state-of-the-art baselines including Neural-Pull (NP), DiGS, and GINN across several datasets:
- Surface Reconstruction Benchmark (SRB): STITCH achieved a significant reduction in "significant feature loss" (0.19–1.59) compared to DiGS (5.2–13.6), indicating far fewer topological artifacts.
- Plant Geometries: In a stress test involving thin leaves and narrow stalks, STITCH consistently outperformed PSR and NSH in Chamfer Distance, successfully maintaining the connection between stalks and foliage where other methods failed.
- Complex Structures: For high-genus or thin-walled models like the Eiffel Tower, STITCH maintained a sharp, single-piece structure, whereas baseline INRs often produced "blobby" or fragmented results.
Limitations and Future Work
While STITCH represents a major advancement in 0-dimensional topology (connectivity), it does not yet explicitly constrain higher-order features, such as the number of holes (1-dimensional homology) in a torus. Additionally, the computational cost of calculating PH on high-resolution 3D grids remains a bottleneck. Future research will focus on scaling these topological constraints to higher dimensions and improving the efficiency of the cubical complex analysis.
Conclusion
STITCH demonstrates that integrating algebraic topology into deep learning allows for the reconstruction of 3D surfaces that are not only geometrically accurate but also topologically sound. By "stitching" together fragmented data through persistent homology, this framework provides a robust solution for the most challenging sparse reconstruction tasks.
Summary updated