Rattan: Growing Meshes with Structured Discrete Flows

Dehao Hao, Kaiyi Zhang, Haohan Weng, Junliang Ye, Xiangjun Gao, Zibo Zhao, Zhuo Chen, Chunchao Guo, Long QuanarXiv 2026

TL;DR

Generating 3D meshes usually forces a painful choice: flatten a 3D graph into an awkward 1D sequence for an LLM-style model, or squash its sharp, discrete connections into a blurry continuous latent space. Rattan bypasses both compromises by literally growing meshes from scratch in parallel—branching out spatial octrees to place vertices, then weaving edges between them—using continuous-time Markov chains. The result is crisp, artist-ready 3D assets generated with higher fidelity and up to an order-of-magnitude faster training convergence.

Figure 1. Rattan generates compact, high-fidelity artistic meshes across characters, vehicles, and scenes by growing vertices and edges via structured discrete flows.

What Problem Does This Paper Address?

If you ask a modern 3D generative model for a dragon, it typically builds a continuous volumetric field and extracts a surface using Marching Cubes or Dual Contouring. You get great geometry, but the resulting mesh is an over-tessellated nightmare—hundreds of thousands of tiny, grid-aligned triangles. Game engines, animators, and editors want artistic meshes: compact layouts with clean edges and sharp creases, using just a few thousand vertices.

Generating artistic meshes directly is tricky because a mesh is an unordered graph with a variable number of vertices ($V$) and sparse combinatorial edges ($E$). Current solutions take one of two detours:

  1. Autoregressive models serialize the 3D graph into a 1D token sequence. Imposing an artificial reading order on a 3D object leads to slow sequential decoding, token-budget cutoffs, and cumulative error drift.
  2. Latent diffusion/flow models use specialized autoencoders (VAEs) to compress discrete mesh connectivity into continuous latent vectors. Decoding those continuous latents back into discrete edges inevitably introduces lossy defects, jagged facets, or small holes.

The authors ask: can we generate vertices and edges natively as discrete structures, in parallel, without serialization or continuous autoencoders?

Methods

Rattan decouples mesh generation into two stages—finding the vertices $p(V|c)$, then wiring the edges $p(E|V,c)$—and models both using a new formulation called Growth Flows.

Built on Discrete Flow Matching and Continuous-Time Markov Chains (CTMCs), Growth Flows model monotone discrete growth: starting from an empty state and progressively adding structural pieces. Crucially, the authors mathematically decouple the valid order of construction events from when they happen in continuous time, yielding simple, closed-form transition rates that can be trained without expensive trajectory simulations.

Overview of Rattan's two-stage generation pipeline and Transformer architectures.

Rattan instantiates two Growth Flows powered by 3D Transformers:

  • Octree Flow (Vertices): Mesh vertices are quantized onto a $1024^3$ grid, represented as leaf nodes of a depth-10 octree. Starting from a single root box, the model predicts two things for each frontier cell: an intensity $\lambda_v$ (how urgently it wants to split) and a categorical distribution $Q_v$ over the 255 possible ways its 8 child octants can be occupied. At inference, multiple cells across different depths split simultaneously via $\tau$-leaping.
  • Edge Flow (Connectivity): Starting with an edgeless point cloud of vertices, the Graph Transformer progressively inserts batches of edges. Instead of evaluating all $O(|V|^2)$ possible vertex pairs (most of which never connect), Rattan uses a vertex-centered parameterization: each vertex $i$ predicts how many missing edges it still needs ($\lambda_i$) and uses an attention-like pointer mechanism ($Q_i$) to rank candidate neighbors. Triangles are finally extracted as 3-cliques (closed loops of three edges).

Datasets

  • Training: ~1.17 million filtered artistic meshes (under 8,000 vertices) from Objaverse-XL.
  • Evaluation: Held-out splits of Toys4K (1,068 shapes) and Objaverse (500 shapes), plus Dense Mesh—a benchmark of 222 ultra-dense (~500K-face) meshes produced by off-the-shelf 3D generators (e.g., LATTICE, UltraShape) used to test whether Rattan can "retopologize" heavy AI outputs into clean, lightweight meshes.

Key Insights and Ideas

  • No depth barriers via subtree-proportional rates: When growing an octree, you might instinctively expand it level-by-level (breadth-first). Instead, Rattan places a uniform prior over all valid topological tree orderings. By a neat combinatorial trick (the hook-length formula), the optimal expansion rate of any node equals the exact size of its remaining unexpanded subtree! Detail-rich regions (like a character's face or fingers) naturally fire faster and resolve deeper early on, coexisting alongside coarse blocks without waiting for the rest of the tree to catch up.
  • Turning $O(N^2)$ link prediction into local competition: In a 3D mesh, a vertex connects to maybe 6 neighbors, not 6,000. Factorizing edge rates into per-vertex degree counts ($\lambda_i$) and softmax neighbor pointers ($Q_i$) transforms a massively imbalanced $O(N^2)$ pairwise regression problem into crisp local competitions among plausible neighbors.

Key Results

  • Geometry & Topology: Across Toys4K, Objaverse, and Dense Mesh, Rattan achieves the best score on every metric. Compared to the strongest autoregressive baselines, it cuts Chamfer Distance (CD) by 4.4$\times$–10.7$\times$. Compared to a controlled reimplementation of the state-of-the-art latent cascade method (Nexus), Rattan reduces CD by 34.8%–49.2% and worst-case Hausdorff Distance (HD) by 25.4%–49.4%.
  • Training Speedup: Because Rattan operates directly on octrees and graphs without waiting on continuous relaxations or pretrained topology VAEs, it converges dramatically faster—matching Nexus's 500K-step vertex performance 4.9$\times$–12.0$\times$ faster, and its 200K-step connectivity performance 7.3$\times$–10.3$\times$ faster (reaching a coherent 82.3% Edge F1 score in just 5K steps).
  • Versatility: Rattan cleanly converts 500K-face dense isosurfaces into sharp, compact meshes where autoregressive models hit sequence limits and truncate shapes, and generalizes smoothly to single-image-to-mesh generation.

Limitations and Future Work

  • No "Undo" Button: Because Edge Flow is a pure insertion process, if it hallucinates a false-positive edge early in sampling, it cannot delete it later. Developing reversible flows with edge deletions is left for future work.
  • 3-Clique Ambiguities: Extracting faces simply by finding 3-cycles of edges leaves surface normals (inside vs. outside orientation) unspecified and can occasionally turn hollow 3-sided tunnels (non-facial 3-cycles) into unwanted triangles. The authors note a lightweight post-processing network can filter and orient these faces.
  • Triangles Only: Rattan currently targets triangle meshes; extending discrete growth flows to quad-dominant meshes—which 3D animators love even more—remains an open frontier.

Summary updated

BibTeX
@misc{hao2026rattan,
  author = {Dehao Hao and Kaiyi Zhang and Haohan Weng and Junliang Ye and Xiangjun Gao and Zibo Zhao and Zhuo Chen and Chunchao Guo and Long Quan},
  title = {{Rattan: Growing Meshes with Structured Discrete Flows}},
  year = {2026},
  eprint = {2611.36991},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.36991},
}
Figure