NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Residual Primitive Fitting of 3D Shapes with SuperFrusta

Aditya Ganeshan, Matheus Gadelha, Thibault Groueix, Zhiqin Chen, Siddhartha Chaudhuri, Vladimir Kim, Wang Yifan, Daniel Ritchie

TL;DR

This paper introduces SuperFrustum, a highly expressive 8-parameter analytic primitive, and ResFit, an iterative fitting algorithm that "peels" a 3D shape layer by layer. Together, they achieve state-of-the-art reconstruction accuracy while using nearly half as many primitives as previous methods, effectively shifting the Pareto frontier between shape fidelity and model parsimony.

What Problem Does This Paper Address?

In 3D computer vision and graphics, there is a persistent trade-off between reconstruction fidelity (how accurately a model represents a shape) and parsimony (how simple and editable that model is).

Dense representations like meshes or point clouds are accurate but structurally unorganized, making them a nightmare for downstream tasks like animation or interactive editing. Conversely, primitive-based representations—which represent objects as assemblies of simple shapes like boxes or spheres—are highly editable and interpretable. However, standard primitives are often too rigid to capture complex, curved, or organic geometry without using an excessive number of parts. Existing inference methods also struggle; they either commit to a fixed segmentation too early or get stuck in poor local minima during optimization.

Methods

The authors propose a two-pronged solution: a new geometric building block and a robust way to assemble them.

1. The SuperFrustum

The SuperFrustum is a unified analytic primitive defined by just 8 parameters. Unlike a simple box or cylinder, a single SuperFrustum can morph into cones, spheres, tori, and even bent or hollowed "onion" shells. SuperFrustum variations showing the range of shapes possible with 8 parameters. Crucially, its Signed Distance Field (SDF) is differentiable almost everywhere, allowing it to be refined using standard gradient-based optimization.

SuperFrustum variations showing the range of shapes possible with 8 parameters.

2. Residual Primitive Fitting (ResFit)

Instead of trying to fit all primitives at once, ResFit uses an iterative "residual" approach. The ResFit iterative loop: Shape Decomposition, Initialization, Optimization, and Residual extraction. The process works in cycles:

  1. Shape Decomposition: It uses Morphological Shape Decomposition (MSD) to identify the "thickest" unexplained parts of the input shape.
  2. Initialization: New SuperFrusta are seeded into these regions.
  3. Optimization: The parameters of all primitives are refined to minimize a reconstruction loss that accounts for curvature and encourages parsimony (using a Gumbel-Softmax existence variable to prune redundant parts).
  4. Residual Extraction: The current assembly is subtracted from the target, and the remaining "unexplained" volume becomes the input for the next round.
Figure 3. ResFit infers parsimonious assemblies by interleaving shape analysis and primitive optimization. Shape decomposition provides initial primitives, which are refined with decomposition- aware optimization. Residual unexplained volumes are then ex- tracted and seeded with new primitives.

Datasets

The authors evaluated their framework on three main benchmarks:

  • 3DGen-Prim: A set of 510 shapes generated from text prompts (recreated from 3DGen-Bench) to test performance on modern AI-generated assets.
  • Toys4K: A collection of 500 geometrically diverse, high-quality 3D toy models.
  • ABC Dataset: Used specifically for testing the model's ability to infer structured Constructive Solid Geometry (CSG) programs.

Key Insights and Ideas

  • The Power of "Peeling": By focusing on the residual volume in each iteration, ResFit avoids the "soup of primitives" problem where optimization gets lost in a high-dimensional space. It ensures that every new primitive added actually explains a new part of the geometry.
  • MSD > ACD: The authors found that Morphological Shape Decomposition (MSD) is superior to the popular Approximate Convex Decomposition (ACD) for this task. Because SuperFrusta can represent non-convex shapes (like hollow bowls or curved tubes), ACD’s insistence on convex parts leads to unnecessary over-segmentation.
  • Differentiable Parsimony: By treating primitive existence as a stochastic variable, the system can "softly" decide to remove a part during optimization if it doesn't significantly contribute to the shape, leading to much cleaner final assemblies.

Key Results

ResFit sets a new state-of-the-art across the board. Reconstruction Error vs. Assembly Complexity. ResFit achieves lower error with fewer primitives than MPS or PA.

  • Accuracy: It improves Voxel IoU by over 9 points on the Toys4K dataset compared to prior work.
  • Efficiency: It achieves these higher-fidelity results using nearly half the number of primitives as the previous best methods (e.g., Marching Primitives).
  • Redundancy: The method reduces volumetric overlap between primitives by over 3x, resulting in assemblies that are much more semantically meaningful and easier for a human to edit.
Figure 1. (Left) Primitive assemblies inferred by our method capture a wide range of shapes, including hollow forms (vase), curved toroidal parts (bike), intricate geometry (ladder, robot), and smooth organic shapes (crab). (Right) Our approach shifts the reconstruction–parsimony Pareto frontier: compared to state-of-the-art methods, Marching Primitives [18] (MPS) and Primitive Anything [44] (PA), we achieve markedly lower reconstruction error using significantly fewer primitives.

Limitations and Future Work

While highly expressive, the current framework is primarily additive. It struggles with shapes that are best described through subtraction (e.g., a hole drilled through a block), as the SuperFrustum's "onion" operator only handles specific types of hollowing.

The authors also note that the iterative optimization is currently slow (averaging ~650s per shape for a full 10-round fit), suggesting that future work could involve developing dedicated CUDA kernels for the SuperFrustum SDF to speed up the process. Finally, extending the decomposition strategy to a "tree-of-shapes" could allow for even more complex CSG modeling.

Summary updated

BibTeX
@inproceedings{ganeshan2026residual,
  author = {Aditya Ganeshan and Matheus Gadelha and Thibault Groueix and Zhiqin Chen and Siddhartha Chaudhuri and Vladimir Kim and Wang Yifan and Daniel Ritchie},
  title = {{Residual Primitive Fitting of 3D Shapes with SuperFrusta}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2026},
  url = {https://openreview.net/forum?id=hlDGlchwHI},
}
Figure