Manuscript Offprint
arXiv:2610.31803StackGen3D: Stable 3D Block Stack Generation from Multiview Silhouettes
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
I. INTRODUCTION
Creative assembly often begins from an incomplete specification rather than a fully defined 3D target: a user may provide a sketch, silhouette, or other abstract description of what the final structure should look like [1], [2]. We study a concrete instance of this problem: given a fixed set of primitive blocks and three orthographic silhouettes, generate a physically stable 3D structure that matches the specified views.
This setting presents two coupled challenges. First, silhouette-to-3D generation is inherently underdetermined. Many block-pose configurations can produce nearly identical projections, while only a subset avoid interpenetration and remain stable. The goal is therefore to model a multimodal distribution over physically feasible structures consistent with the visual specification. Second, learning such a distribution requires a diverse dataset of stable 3D structures paired with silhouettes. Obtaining this data is difficult: physical feasibility must be evaluated for each candidate structure, while repeatedly searching and validating configurations with a physics simulator is expensive and difficult to scale. Simple procedural stacking heuristics provide stable examples, but cover only a limited portion of the space of possible structures.
We propose StackGen3D to address these challenges. First, we construct a scalable dataset of physically stable structures. We train a physics-informed graph neural network (PI-GNN) over block support relations as a fast surrogate for stability evaluation, and use it to curate diverse stable structures that are paired with multiview silhouettes. Second, using this dataset, we train a conditional flow-matching model to capture the multimodal distribution of block poses conditioned on the block inventory and target silhouettes. At inference time, lightweight AABB-based Best-of-N selection or Remove-then-Rerun refinement reduces residual inter-block collisions without physics simulation.
Our preliminary results support both stages of the approach. First, our data-generation pipeline provides a strong basis for scalable curation of physically stable structures. A PI-GNN trained only on simple structures transfers substantially better to complex structures than a parameter-matched MLP (92.66% vs. 46.86% accuracy), indicating that support-relation reasoning generalizes across structural complexity and can serve as an effective stability model. Second, the generative model trained on the resulting stable-structure

Fig. 1. PI-GNN Training Process.
dataset learns to produce structures that satisfy the target silhouettes while capturing useful physical regularities. A single flow-matching sample achieves 0.967 silhouette IoU, and simulator-free Best-of-10 selection increases post-hoc physical stability from 45.3% to 72.4% while preserving silhouette fidelity. Together, these results provide preliminary evidence that scalable stable-data generation can enable learned generative models for underdetermined creative structure.
A. Relational Stability and Dataset Curation
Physical stability is inherently relational: whether a block remains stable depends on how it is supported by neighboring blocks and on the load transmitted through those supports. We therefore represent each structure as a directed support graph and use a PI-GNN [3], [4] to predict block-level stability and displacement. Nodes encode block geometry, pose, mass, and accumulated supported mass, while edges encode geometric support relations such as contact area and relative displacement. Message passing allows these local support interactions to propagate through the structure.
The larger challenge is obtaining diverse stable structures for generative-model training. As shown in Fig. 1, we first train an initial PI-GNN on balanced simple stacks generated by a COM-based heuristic. We then construct more complex candidates by randomly removing blocks from dense Filler3D structures and use MuJoCo [5] to obtain stability supervision. Combining these examples with the simple-stack data yields a predictor , which efficiently filters candidate structures during dataset construction. The stable
A poster of this work is publicly available on the website of the Creativity in Assembly Workshop at IROS 2026 (non-archival).
TABLE I BEST-OF-N GENERATION (MEAN ± STD. OVER 10 FOLDS).
| Inference method | Stability (%) | IoU | Penetration |
|---|---|---|---|
| Single sample (N = 1) | 45.30±4.10 | .967±.002 | .711±.066 |
| Best-of-5 | 66.70±4.61 | .970±.002 | .134±.026 |
| Best-of-10 | 72.40±4.63 | .970±.002 | .064±.016 |
| Best-of-25 | 67.80±5.15 | .970±.002 | .034±.005 |
| Best-of-50 | 69.30±4.94 | .969±.002 | .028±.003 |
| Best-of-100 | 66.00±4.05 | .969±.003 | .025±.002 |
| Remove-then-Rerun | 64.60±4.13 | .953±.004 | .099±.009 |
structures are paired with multiview silhouettes, forming the training data.
B. Conditional Flow Matching and Geometric Inference
We next ask whether a generative model can learn the distribution of stable 3D structure compatible with a silhouette specification. Because the mapping is inherently one-to-many, we use conditional flow matching rather than predicting a single deterministic pose configuration. Let denote the block poses in a simulator-verified stable structure, with each pose represented by a position and quaternion. Given and , conditional flow matching uses , .
At inference, we integrate the learned Transformer-based velocity field [6] from with an ODE solver [7], conditioning on the block inventory and silhouettes . Generated structures may nevertheless contain inter-block penetration. Best-of- draws samples and selects the one with the smallest maximum pairwise AABB penetration. Remove-then-Rerun uses the largest AABB overlap to select one block for removal, updates , and resamples poses for the reduced block set until no overlap exceeds a threshold or removing all blocks. Neither procedure guarantees physical stability; physics simulation is used only afterward for evaluation.
III. EXPERIMENTS
A. PI-GNN Stability Prediction
We first evaluate whether relational stability reasoning can support our data-generation pipeline. We compare with a parameter-matched trained on the same simple structures, and with , which uses the same PI-GNN architecture but is trained directly on complex structures. The PI-GNN and MLP contain 261,576 and 261,383 parameters, respectively. Because 85.1% of blocks in the complex data are stable, we additionally report balanced accuracy, . Despite similar performance on simple structures, transfers substantially better to complex structures than the parameter-matched MLP (92.66% vs. 46.86% accuracy), supporting the importance of explicitly modeling support relations. On the same complex test set, approaches (92.66% vs. 97.58%), although the balanced-accuracy gap shows that direct complex-domain training remains beneficial for identifying unstable blocks. Fig. 2 provides qualitative examples of this transfer, showing that the PI-GNN can identify stable and unstable blocks in structurally complex structures. For reference, , trained on the combination of simple and Filler3D/remove structures, achieves 96.32% accuracy, 92.87% balanced accuracy, and 93.90% macro-F1 on its combination validation set. We report this as a reference rather than as part of the controlled baselines.

Fig. 2. Qualitative PI-GNN stability predictions on complex structures. Block-level predictions are compared with MuJoCo labels, illustrating how learned support reasoning transfers from simple structures to complex.
Conditional generation from three views

Fig. 3. Qualitative conditional flow-matching generations. Each example shows the input orthographic silhouettes, reference structure, generated structure before simulation, and its configuration after post-hoc physics simulation.
TABLE II BLOCK-LEVEL STABILITY-PREDICTION BASELINES.
| Exp. | Training domain / model | Test domain | Acc. (%) | BAcc. (%) | F1 (%) |
|---|---|---|---|---|---|
| A | Simple / MLP | Simple | 89.81 | 89.60 | 89.16 |
| Simple / | Simple | 90.01 | 87.81 | 88.90 | |
| Simple / MLP | Complex | 46.86 | 67.22 | 45.05 | |
| Simple / | Complex | 92.66 | 86.12 | 85.65 | |
| B | Simple / | Complex | 92.66 | 86.12 | 85.65 |
| Complex / | Complex | 97.58 | 93.76 | 95.07 | |
| Ref. | Combination / | Combination val. | 96.32 | 92.87 | 93.90 |
B. Structure Generation without Online Simulation
We next evaluate whether the conditional flow model trained on the curated stable-structure dataset can generate structures that satisfy the target silhouettes while retaining useful physical regularities. We evaluate 10 folds with 100 samples per fold. Inference uses only AABB overlap, while PyBullet [8] is used afterward to evaluate physical stability. As shown qualitatively in Fig. 3, the generated structures closely follow the input silhouettes, while post-hoc simulation reveals the remaining physical failure modes. Quantitatively, a single sample already achieves 0.967 silhouette IoU (Tab. I), indicating that the learned conditional distribution strongly captures the geometric specification. Best-of-10 improves stability by over a single sample while leaving silhouette IoU essentially unchanged, showing that the learned distribution contains substantially more physically viable modes than are exposed by one sample. Remove-then-Rerun similarly improves stability with only a modest reduction in IoU. Beyond , penetration continues to decrease while stability does not improve monotonically, indicating that AABB overlap is a useful but incomplete proxy for physical stability.
REFERENCES
[1] L. Sun, T. Yoneda, S. W. Wheeler, T. Jiang, and M. R. Walter, "Stackgen: Generating stable structures from silhouettes via diffusion," 2025. [Online]. Available: https://arxiv.org/abs/2409.18098
[2] Y. Xu, J. Mao, L. Li, Y. Du, T. Lozano-Pérez, L. P. Kaelbling, and D. Hsu, “”set it up”: Functional object arrangement with compositional generative models (journal version),” 2025. [Online]. Available: https://arxiv.org/abs/2508.02068
[3] J. Gilmer, S. S. Schoenholz, P. F. Riley, O. Vinyals, and G. E. Dahl, "Neural message passing for quantum chemistry," in International Conference on Machine Learning (ICML), 2017.
[4] M. Fey and J. E. Lenssen, “Fast graph representation learning with PyTorch Geometric,” in ICLR Workshop on Representation Learning on Graphs and Manifolds, 2019.
[5] E. Todorov, T. Erez, and Y. Tassa, “MuJoCo: A physics engine for model-based control,” in IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), 2012.
[6] A. Vaswani, N. Shazeer, N. Parmar, J. Uszkoreit, L. Jones, A. N. Gomez, L. Kaiser, and I. Polosukhin, “Attention is all you need,” in Advances in Neural Information Processing Systems (NeurIPS), 2017.
[7] R. T. Q. Chen, Y. Rubanova, J. Bettencourt, and D. Duvenaud, “Neural ordinary differential equations,” in Advances in Neural Information Processing Systems (NeurIPS), 2018.
[8] E. Coumans and Y. Bai, "PyBullet, a Python module for physics simulation for games, robotics and machine learning," http://pybullet.org, 2016–2021.