TOPFlow: Tree-Structured Occupancy Posterior Flow for Mesh Vertex Generation

Kaiyi Zhang, Dehao Hao, Haohan Weng, Xianghui Yang, Zhuo Chen, Long QuanarXiv 2026

TL;DR

Generating crisp, artist-like 3D meshes comes down to a classic real-estate problem: placing a limited budget of vertices in exactly the right spots. TOPFlow solves this by treating spatial subdivision not as isolated guesses, but as a coupled, miniature decision tree inside every voxel. By marrying exact discrete probability distributions with continuous flow matching—adding virtually zero extra parameters—it generates remarkably clean, detailed 3D geometries without missing spokes or torn sails.

Figure 1. Meshes generated by TOPFlow. Our results showcase fine geometric details and coherent structures across diverse objects.

What Problem Does This Paper Address?

Low-poly meshes are the backbone of games, graphics, and simulation—compact sets of vertices wired together to capture big silhouettes and tiny details simultaneously. Currently, generative 3D approaches split into two camps. Autoregressive models output vertices and faces one token at a time like sentences, which works until an early mistake cascades into missing limbs or fragmented parts. Diffusion and flow-matching models generate geometry in parallel, often refining coarse 3D grids into finer ones using octrees (where each cubic parent cell splits into eight smaller child cells).

Here’s the catch: deciding which of the eight child cells get vertices is a deeply coupled choice. Putting a vertex in the top-left corner changes whether you need one in the bottom-right. Standard continuous flow models regress directly toward an average target velocity, blurring competing spatial layouts together rather than modeling the joint, discrete combinatorial choices within each cell.

Methods

TOPFlow (Tree-Structured Occupancy Posterior Flow) generates mesh vertices conditioned on an input point cloud, progressively refining an octree up to a $1024^3$ resolution before handing the final vertices to an existing connectivity network (from a baseline called Nexus) to wire the faces.

Figure 2. TOPFlow overview. (a) Coarse-to-fine octree refinement generates vertices, followed by connectivity prediction. (b) A shared DiT supplies global context to a conditional MLP evaluated across candidate tree states. Branch normalization yields three-way proba- bilities; posterior composition multiplies selected factors along valid decision sequences to form the joint occupancy posterior. (c) The temperature-controlled posterior yields an exactly computed mean that drives continuous flow updates.

While using a standard Diffusion Transformer (DiT) backbone for global context and standard Euler integration for flow matching, TOPFlow’s secret sauce lies in a tiny, shared spatial conditional MLP at each octree level:

  • Intra-cell decision trees: Instead of predicting eight independent numbers for a parent cell's children, TOPFlow recursively bisects the cell along the X, Y, and Z axes. At each active region, it makes a three-way choice: is the left half occupied, the right half, or both? Crucially, each decision sees the entire breadth-first history of previous splits in that cell—even across sibling branches.
  • Exact discrete-to-continuous bridge: Multiplying these branch probabilities yields an exact, normalized joint probability distribution (posterior) over all $2^8 - 1 = 255$ valid nonempty child patterns. During training, the model maximizes the exact log-likelihood of ground-truth patterns. During generation, because 255 is a small finite number, TOPFlow explicitly sums over all patterns to compute the exact posterior mean, which mathematically supplies the continuous velocity needed for flow matching.
  • Multiscale temperature control: Because TOPFlow holds an explicit probability table over all 255 patterns, it can factorize that distribution at inference time into three intuitive knobs: how many children are occupied ($T_K$), coarse left-vs-right allocation ($T_C$), and fine arrangement ($T_F$).

Datasets

  • Training: Approximately 1.17 million filtered artistic meshes from Objaverse and Objaverse-XL.
  • Evaluation: Tested on held-out objects from Toys4K (1,068 objects) and Objaverse (500 objects), which represent existing artist-created mesh assets. The authors also evaluate on DenseMesh (222 objects), a benchmark composed of dense meshes synthesized by large-scale 3D generative models, specifically designed to test how well a method preserves fine detail when compressing dense geometry into compact low-poly meshes.

Key Insights and Ideas

  • Zero-temperature sharpens geometry: Standard regression averages over uncertain, competing vertex layouts. By cranking all three factored temperatures down to zero at inference time, TOPFlow forces each local decision to commit to its most probable count and layout rather than hedging its bets. Visually, this is the difference between a bicycle wheel with a floating hub and one with crisp, intact spokes.
Figure 4. Temperature control on Toys4K. Each panel shows a heatmap over TC and TF at a fixed TK. Panels for the same metric share a color scale; lower values are better. Outlined cells mark 000. Matched wheel close-ups compare 111, 011, and 000, illustrating improved spoke structure.
  • Discrete supervision alone isn't enough: In ablations, simply swapping continuous velocity regression for a flat 255-way classifier barely budged vertex layout metrics. The real leap happened only when combining the spatial decision tree with temperature control.
  • Branch normalization prevents sparsity bias: In a binary-style split tree, uniform random choices naturally favor sparser patterns (fewer active branches = fewer probability multiplications). Adding a fixed mathematical offset based on valid pattern completion counts ensures all 255 patterns start equally likely at initialization.

Key Results

Adding the shared spatial conditional head increases the vertex generator's parameter count by just 0.034% (367.039M vs. 366.913M parameters) over the controlled Nexus octree-flow baseline, yet delivers substantial gains:

  • Superior vertex layouts: With 40K input points, TOPFlow reduces Density-Aware Chamfer Distance (DCD) by 14.2–17.4% on Objaverse and Toys4K compared to Nexus. Even when starved of 60% of its input points (16K), TOPFlow still beats the 40K-point Nexus baseline across all vertex metrics.
  • State-of-the-art meshes: Across Toys4K, Objaverse, and DenseMesh, TOPFlow achieves the best final-mesh Chamfer Distance and Normal Consistency among all evaluated autoregressive and diffusion methods, slashing final-mesh Hausdorff Distance by 26.0–35.7% over Nexus.
  • Visual completeness: Qualitatively, it avoids the catastrophic missing pieces seen in autoregressive models (like fragmented motorcycles) and patches up thin surfaces (like boat sails and fences) where continuous baselines leave holes.
Figure 3. Qualitative mesh comparison across Toys4K, Objaverse, and DenseMesh. †Controlled reimplementation.

Limitations and Future Work

  • Lockstep octree refinement: TOPFlow refines the entire octree one depth level at a time. Flat, simple regions cannot stop early while intricate regions dive deeper; exploring adaptive, multi-rate refinement across spatial regions is a natural next step.
  • Sampling compute: Because continuous flow matching relies on numerical ODE integration (20 Euler steps per octree level), generating a mesh requires repeated passes through the network backbone. Future work aims to distill or accelerate this into fewer-step sampling without sacrificing geometric crispness.

Summary updated

BibTeX
@misc{zhang2026topflow,
  author = {Kaiyi Zhang and Dehao Hao and Haohan Weng and Xianghui Yang and Zhuo Chen and Long Quan},
  title = {{TOPFlow: Tree-Structured Occupancy Posterior Flow for Mesh Vertex Generation}},
  year = {2026},
  eprint = {2611.37005},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.37005},
}
Figure