# Reinforcement Learning for Block Decomposition of CAD Models

arXiv: https://arxiv.org/abs/2302.11066 · HTML: https://mlsanity.com/paper/2302.11066/

## Key facts

- Cited by 2 papers in the map (data through 14 Oct 2026).
- Builds on 11 of its 56 references that are in the map.
- First posted on arXiv 21 Feb 2023.

## Builds on (most cited first, 11 of 11)

- [PyTorch: An Imperative Style, High-Performance Deep Learning Library](https://mlsanity.com/paper/1912.01703/) (2019)
- [Soft Actor-Critic: Off-Policy Maximum Entropy Deep Reinforcement Learning with a Stochastic Actor](https://mlsanity.com/paper/1801.01290/) (2018)
- [Fast Graph Representation Learning with PyTorch Geometric](https://mlsanity.com/paper/1903.02428/) (2019)
- [Geometric deep learning: going beyond Euclidean data](https://mlsanity.com/paper/1611.08097/) (2016)
- [DeepCAD: A Deep Generative Network for Computer-Aided Design Models](https://mlsanity.com/paper/2105.09492/) (2021)
- [SplineCNN: Fast Geometric Deep Learning with Continuous B-Spline Kernels](https://mlsanity.com/paper/1711.08920/) (2017)
- [Reinforcement Learning for Adaptive Mesh Refinement](https://mlsanity.com/paper/2103.01342/) (2021)
- [MeshingNet: A New Mesh Generation Method based on Deep Learning](https://mlsanity.com/paper/2004.07016/) (2020)
- [Modeling 3D Shapes by Reinforcement Learning](https://mlsanity.com/paper/2003.12397/) (2020)
- [Reinforcement learning for automatic quadrilateral mesh generation: a soft actor-critic approach](https://mlsanity.com/paper/2203.11203/) (2022)
- [Dynamic Face Video Segmentation via Reinforcement Learning](https://mlsanity.com/paper/1907.01296/) (2019)

## Built on by (most cited first, 2 of 2)

- [Learning topological operations on meshes with application to block decomposition of polygons](https://mlsanity.com/paper/2309.06484/) (2023)
- [Dmsh: A Multi-Agent Reinforcement Learning Framework for All-Quad Mesh Generation](https://mlsanity.com/paper/2606.10601/) (2026)

## Abstract (arXiv)

We present a novel AI-assisted method for decomposing (segmenting) planar CAD (computer-aided design) models into well shaped rectangular blocks as a proof-of-principle of a general decomposition method applicable to complex 2D and 3D CAD models. The decomposed blocks are required for generating good quality meshes (tilings of quadrilaterals or hexahedra) suitable for numerical simulations of physical systems governed by conservation laws. The problem of hexahedral mesh generation of general CAD models has vexed researchers for over 3 decades and analysts often spend more than 50% of the design-analysis cycle time decomposing complex models into simpler parts meshable by existing techniques. Our method uses reinforcement learning to train an agent to perform a series of optimal cuts on the CAD model that result in a good quality block decomposition. We show that the agent quickly learns an effective strategy for picking the location and direction of the cuts and maximizing its rewards as opposed to making random cuts. This paper is the first successful demonstration of an agent autonomously learning how to perform this block decomposition task effectively thereby holding the promise of a viable method to automate this challenging process.
