Scaling Mesh Generation via Compressive Tokenization

Haohan Weng, Zibo Zhao, Biwen Lei, Xianghui Yang, Jian Liu, Zeqiang Lai, Zhuo Chen, Yuhong Liu, Jie Jiang, Chunchao Guo, Tong Zhang, Shenghua Gao, C. L. Philip Chen

Abstract

We propose a compressive yet effective mesh tokenization, Blocked and Patchified Tokenization (BPT), facilitating the generation of meshes exceeding 8k faces. BPT compresses mesh sequences by employing block-wise indexing and patch aggregation, reducing their length by approximately 75% compared to the vanilla sequences. This compression milestone unlocks the potential to utilize mesh data with significantly more faces, thereby enhancing detail richness and improving generation robustness. Empowered with the BPT, we have built a foundation mesh generative model training on scaled mesh data to support flexible control for point clouds and images. Our model demonstrates the capability to generate meshes with intricate details and accurate topology, achieving SoTA performance on mesh generation and reaching the level for direct product usage.

Introduction

In the domain of 3D generative AI, meshes are the gold standard for high-fidelity applications such as gaming and simulation. However, direct mesh generation remains a significant challenge. Most current state-of-the-art models utilize auto-regressive Transformers, which require converting a 3D mesh into a one-dimensional sequence of tokens.

The primary bottleneck in this process is the Transformer's context window. Standard tokenization methods, which represent every vertex of every face, produce extremely long sequences. For instance, a mesh with only a few thousand faces can result in a sequence tens of thousands of tokens long, quickly exhausting the memory of even the largest Transformers. Consequently, previous models were restricted to "low-poly" outputs, typically struggling to generate meshes with more than 4,000 faces or intricate geometric details.

Methods: Blocked and Patchified Tokenization (BPT)

To address the sequence length problem, we introduce Blocked and Patchified Tokenization (BPT). This technique achieves a 75% reduction in sequence length through two main stages:

  1. Block-wise Indexing (Vertex Level): Instead of using raw Cartesian coordinates, the 3D space is partitioned into a grid of blocks. Each vertex is represented by a block index and a local offset. Because adjacent vertices often share the same block, the model can "compress" these shared indices, significantly shortening the sequence at the vertex level.
  2. Patchified Aggregation (Face Level): In a standard "triangle soup" representation, vertices are repeated every time they appear in a new face. BPT identifies a "patch center" (the vertex connected to the most faces) and aggregates all surrounding faces into a single patch. This reduces vertex repetition by roughly 50%.
The Block-wise indexing process partitions 3D space into blocks to compress vertex coordinates.

By combining these methods, BPT achieves a compression ratio of 0.74, allowing a 500M-parameter Transformer to generate four times as much geometric detail as previous architectures.

Datasets and Scaling

The model was trained on a massive scale to leverage the efficiency of BPT:

  • Training Mix: A combination of ShapeNetV2, 3D-FUTURE, Objaverse, and Objaverse-XL, supplemented by internal high-quality 3D data.
  • Scale: The model was first pre-trained on 1.5 million meshes and then fine-tuned on a curated set of 0.3 million high-quality meshes.
  • Scaling Law: We observed a positive correlation between data complexity and model performance: training on meshes with higher face counts actually improved the model's understanding of topology and overall generation robustness.

Key Results

BPT demonstrates state-of-the-art performance across both quantitative and qualitative metrics. On point-cloud-to-mesh tasks, our model achieved a Hausdorff Distance of 0.166, significantly outperforming MeshAnything (0.301).

Comparison of training data scope and the correlation between data scale and performance (Hausdorff Distance).

Qualitatively, the model successfully generates complex shapes—like intricate animal fur, mechanical parts, and "watertight" topologies—that previous models would typically "hallucinate" as broken or incomplete geometry. This level of detail and topological accuracy brings AI-generated meshes to a "product-ready" level.

Conclusion and Future Work

By shrinking the sequence length of 3D meshes, BPT enables the scaling of mesh generation to unprecedented levels of detail. Future work will involve exploring larger parameter counts to see if the scaling laws of text apply equally to 3D meshes and investigating non-Transformer architectures that might better utilize inherent geometric biases.

Summary updated

BibTeX
@inproceedings{weng2025scaling,
  author = {Haohan Weng and Zibo Zhao and Biwen Lei and Xianghui Yang and Jian Liu and Zeqiang Lai and Zhuo Chen and Yuhong Liu and Jie Jiang and Chunchao Guo and Tong Zhang and Shenghua Gao and C. L. Philip Chen},
  title = {{Scaling Mesh Generation via Compressive Tokenization}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2025},
  url = {https://openreview.net/forum?id=ZfR1dA3qrV},
}
Figure