TL;DR
MeshFlow introduces a non-autoregressive approach to 3D mesh generation by mapping continuous vertex positions and discrete connectivity into a compact, continuous latent space via a novel MeshVAE. By pairing this representation with a parallel Rectified Flow transformer, it generates high-fidelity, artist-like meshes in roughly 1 second—achieving an 18× speedup over the fastest autoregressive models while setting new state-of-the-art accuracy benchmarks.
What Problem Does This Paper Address?
Generating high-quality, artist-grade 3D meshes directly is notoriously difficult because meshes combine continuous geometric data (vertex coordinates) with discrete topological data (how vertices connect to form edges and faces).
Most recent state-of-the-art mesh generators borrow techniques from Large Language Models (LLMs), treating mesh generation as an Auto-Regressive (AR) next-token prediction task. However, AR approaches suffer from severe drawbacks:
- Poor Scaling: Their inference cost scales quadratically with mesh size, making large meshes impractical to generate.
- Incomplete Geometry: They can terminate sequences prematurely, leaving meshes incomplete.
- Quantization Errors: They require discretizing vertex coordinates into a small number of bins (typically 128 levels) for efficiency, which introduces geometric errors and causes vertices to collapse or faces to overlap.
MeshFlow aims to bypass these limitations entirely by generating vertices and edges in parallel without any coordinate quantization.
Methods
MeshFlow replaces the standard discrete tokenization pipeline with a non-autoregressive framework consisting of two core components:
- MeshVAE: A novel variational autoencoder that maps a mesh's geometry and topology into a continuous, discretization-free latent space. Instead of tokenizing faces directly, it assigns a continuous feature vector (an edge embedding) to each vertex. Two vertices are considered connected if the distance between their embeddings falls below a learned threshold, optimized via contrastive learning. Face orientation (winding order) is handled simply by predicting outward vertex normals. MeshVAE downsamples the mesh representation by 4× using custom
TokenMergeandTokenSplitoperators. - Rectified Flow Transformer (DiT): A diffusion-based transformer that generates all mesh vertices and edges in parallel within the continuous latent space. It uses logit-normal sampling to focus the denoising process on fine geometric details during low-noise timesteps.
A final post-processing step detects boundary edges and applies local triangulation to repair minor holes or artifacts in the generated topology.
Datasets
- Training: The model was trained on a proprietary dataset containing approximately 600,000 high-quality, artist-created 3D models (similar to the Objaverse dataset).
- Evaluation: The standard Toys4K dataset was used to evaluate zero-shot generalization, ensuring none of the tested models had seen these specific shapes during training.
Key Insights and Ideas
- Continuous Topology: Discrete mesh connectivity can be effectively sidestepped by treating edge creation as a continuous distance-matching problem between vertex embeddings.
- Normals for Winding Order: Instead of utilizing complex half-edge data structures to track face winding orders, simply predicting vertex normals provides enough geometric context to orient faces correctly.
- Parallelism Wins: Moving from sequential token prediction to parallel latent denoising changes the inference scaling from quadratic to linear, making the generation of large, detailed meshes practical.
Key Results
- Massive Speedup: MeshFlow generates high-fidelity meshes in approximately 1 second. This represents an 18× speedup over FastMesh (the fastest AR baseline) and makes it orders of magnitude faster than traditional AR models like TreeMeshGPT or MeshAnything.
- State-of-the-Art Quality: On the Toys4K benchmark, MeshFlow achieved the lowest Chamfer Distance (2.45) and Hausdorff Distance (6.40), outperforming all autoregressive competitors.
- Extreme Compression: MeshVAE represents meshes with 72× fewer tokens than naive tokenizers and 16× fewer than the most efficient prior tokenizers, all while avoiding coordinate quantization.
Limitations and Future Work
- Triangles Only: The current method assumes triangular faces, whereas 3D artists frequently prefer quad-based topologies for animation and subdivision modeling.
- Minor Topological Artifacts: Inaccurate diffusion predictions can still cause minor holes, requiring heuristic post-processing.
- Evaluation Metrics: The authors note that standard metrics like Chamfer and Hausdorff distances fail to penalize topological defects (like flipped normals or holes) accurately, highlighting the need for better topology-aware evaluation metrics.
- No Textures: The model currently focuses solely on geometry and does not generate UV mappings or textures.
Summary updated