TL;DR
Native 3D mesh generators can now output explicit vertices and faces directly, but their meshes often suffer from surface gaps and missing details. TopoRefine fixes these defects by first correcting where vertices are placed and how many exist in each local region, and only then reconstructing the mesh faces. The result is cleaner geometry and better connectivity—even on meshes from generators it was never trained on.
What Problem Does This Paper Address?
If you want a 3D asset for animation, editing, or simulation, you need a mesh with both accurate geometry and clean topology (how vertices connect into faces). Recent "native" 3D generators skip intermediate representations like neural fields and directly output vertices and faces. However, their outputs often have holes, distorted edges, or missing thin structures.
The authors' key observation is that you cannot fix a bad vertex set just by rewiring its faces. If a vertex on a roof ridge is misplaced, any triangulation using it will still look bent. If a region simply doesn't have enough vertices, no amount of clever connectivity can conjure a missing shelf. Existing repair tools either patch holes locally without moving vertices (like PyMeshLab's Close Holes), delete defective regions outright (like MeshFix), or edit faces while keeping original vertex positions fixed (like MeshRepair). TopoRefine tackles the root cause at the vertex level before rebuilding connectivity.
Methods
TopoRefine splits mesh refinement into two sequential stages: vertex correction followed by topology reconstruction.
- Vertex Correction:
- Global Shape Context: An encoder ($E_\theta$) takes the flawed input vertices and maps them into a fixed-size set of shared latent tokens. This gives local fixes awareness of the overall 3D shape.
- Local Vertex Allocation: The 3D space is divided into coarse cells. A count decoder ($C_\phi$) predicts how many vertices should occupy each cell using "prefix selection"—activating the first $k$ ordered slots out of a maximum $K$ slots. This lets the model add missing vertices or remove extraneous ones.
- Coordinate Reconstruction: A coordinate decoder ($D_\psi$) predicts offsets from each cell center to place the newly allocated vertices, conditioned on both the global latent tokens and the predicted local count.
- Topology Reconstruction:
- Once the vertex set is refined, a vertex-to-face module (following TaoFlowForge's latent flow formulation) reconstructs oriented triangles solely from the corrected vertices, predicting symmetric edge scores and vertex normals to get face winding right.
Training Strategy: What is particularly clever here is the two-step training. First, the encoder and decoders are trained together on clean reference meshes to learn a vertex-level autoencoding mapping (using ground-truth counts as teacher forcing). Second, to adapt to real generator errors, the authors freeze both decoders and fine-tune only the encoder on flawed-versus-clean pairs, using a frozen teacher encoder for latent alignment alongside reconstruction losses.
Datasets
- Reconstruction Training: ~900k curated meshes from in-house collections and public datasets, including Objaverse and TexVerse.
- Adaptation Training: A mix of synthesized pairs (clean meshes with perturbed vertices) and ~400k generated–reference pairs produced by TaoFlowForge.
- Evaluation: 300 generated meshes from TaoFlowForge and 300 from MeshFlow (which was unseen during adaptation), sharing the same held-out reference asset set.
Key Insights and Ideas
- Vertices constrain topology: Ablation studies show that reconstructing faces on unrefined vertices barely changes geometric error. Moving vertices to better positions helps, and adjusting local vertex counts improves accuracy even further.
- Freeze the decoders during adaptation: Updating the decoders alongside the encoder on flawed data actually leaves surface gaps. Keeping the decoders frozen forces the encoder to map messy inputs into a clean latent space that the decoders already know how to reconstruct reliably.
- Synthetic + real errors beat either alone: Mixing synthetic vertex perturbations with real generator outputs during adaptation yields better vertex recovery than training on either source by itself.
Key Results
Across both TaoFlowForge and unseen MeshFlow outputs, TopoRefine outperforms the unrefined meshes, MeshFix, and PyMeshLab Close Holes on all four geometric metrics: Chamfer distance (CD-L1), Hausdorff distance (HD), edge Chamfer distance (ECD), and normal consistency (NC).
- On TaoFlowForge: Hausdorff distance drops by 18.7% (from $2.481$ to $2.018 \times 10^{-1}$), and Euler error drops by 29.3% (from $7.035$ to $4.974 \times 10^{-2}$).
- On MeshFlow (unseen): Euler error drops by 3.9% ($1.259$ to $1.210 \times 10^{-2}$), with consistent gains across all geometric metrics.
- Baselines: MeshFix achieves the lowest Euler error overall, but only by deleting large portions of the mesh, which causes huge geometric errors. PyMeshLab Close Holes offers minimal geometric improvement.
Limitations and Future Work
To respect the capacity of the count decoder, training pairs are discarded if either the generated or reference mesh exceeds $K$ unique fine-grid vertices in any coarse cell. Beyond this architectural capacity constraint, explicit limitations and future directions are not discussed in the paper.
Summary updated