mlsanityData to 14 Oct 2026

ShapeCoder: Discovering Abstractions for Visual Programs from Unstructured Primitives

arXiv 2305.05661 ↗First posted 9 May 2023cs.GR cs.AI cs.CVcited by 23

Not on the map. Why?

Abstract (arXiv)

Programs are an increasingly popular representation for visual data, exposing compact, interpretable structure that supports manipulation. Visual programs are usually written in domain-specific languages (DSLs). Finding "good" programs, that only expose meaningful degrees of freedom, requires access to a DSL with a "good" library of functions, both of which are typically authored by domain experts. We present ShapeCoder, the first system capable of taking a dataset of shapes, represented with unstructured primitives, and jointly discovering (i) useful abstraction functions and (ii) programs that use these abstractions to explain the input shapes. The discovered abstractions capture common patterns (both structural and parametric) across the dataset, so that programs rewritten with these abstractions are more compact, and expose fewer degrees of freedom. ShapeCoder improves upon previous abstraction discovery methods, finding better abstractions, for more complex inputs, under less stringent input assumptions. This is principally made possible by two methodological advancements: (a) a shape to program recognition network that learns to solve sub-problems and (b) the use of e-graphs, augmented with a conditional rewrite scheme, to determine when abstractions with complex parametric expressions can be applied, in a tractable manner. We evaluate ShapeCoder on multiple datasets of 3D shapes, where primitive decompositions are either parsed from manual annotations or produced by an unsupervised cuboid abstraction method. In all domains, ShapeCoder discovers a library of abstractions that capture high-level relationships, remove extraneous degrees of freedom, and achieve better dataset compression compared with alternative approaches. Finally, we investigate how programs rewritten to use discovered abstractions prove useful for downstream tasks.

Key facts. Cited by 23 papers in the map (data through 14 Oct 2026). Builds on 29 of its 65 references that are in the map. First posted on arXiv 9 May 2023.

Builds on

29 of 65 references.

References · 29

  1. 2017Attention Is All You Needcited by 60,361
  2. 2015ShapeNet: An Information-Rich 3D Model Repositorycited by 2,897
  3. 2018PartNet: A Large-scale Benchmark for Fine-grained and Hierarchical Part-level 3D Object Understandingcited by 526
  4. 2021DeepCAD: A Deep Generative Network for Computer-Aided Design Modelscited by 271
  5. 2020DeepSVG: A Hierarchical Generative Network for Vector Graphics Animationcited by 159
  6. 2022SkexGen: Autoregressive Generation of CAD Construction Sequences with Disentangled Codebookscited by 125
  7. 2021Im2Vec: Synthesizing Vector Graphics without Vector Supervisioncited by 116
  8. 2017CSGNet: Neural Shape Parser for Constructive Solid Geometrycited by 106
  9. 2019Write, Execute, Assess: Program Synthesis with a REPLcited by 93
  10. 2021Computer-Aided Design as Languagecited by 82
  11. 2020UCSG-Net -- Unsupervised Discovering of Constructive Solid Geometry Treecited by 78
  12. 2017Learning to Infer Graphics Programs from Hand-Drawn Imagescited by 74
17 more
  1. 2019Learning to Infer and Execute 3D Shape Programscited by 68
  2. 2021SketchGen: Generating Constrained CAD Sketchescited by 68
  3. 2021Vitruvion: A Generative Model of Parametric CAD Sketchescited by 66
  4. 2021CAPRI-Net: Learning Compact CAD Shapes with Adaptive Primitive Assemblycited by 62
  5. 2022Top-Down Synthesis for Library Learningcited by 58
  6. 2021CSG-Stump: A Learning Friendly CSG-Like Representation for Interpretable Shape Parsingcited by 51
  7. 2021Inferring CAD Modeling Sequences Using Zone Graphscited by 50
  8. 2021Unsupervised Learning for Cuboid Shape Abstraction via Joint Segmentation from Point Cloudscited by 44
  9. 2022ExtrudeNet: Unsupervised Inverse Sketch-and-Extrude for Shape Parsingcited by 38
  10. 2023Neurosymbolic Models for Computer Graphicscited by 28
  11. 2021An Inverse Procedural Modeling Pipeline for SVBRDF Mapscited by 24
  12. 2022babble: Learning Better Abstractions with E-Graphs and Anti-Unificationcited by 23
  13. 2021A Multi-Implicit Neural Representation for Fontscited by 21
  14. 2020PLAD: Learning to Infer Shape Programs with Pseudo-Labels and Approximate Distributionscited by 19
  15. 2022GeoCode: Interpretable Shape Programscited by 16
  16. 2013Inverse Procedural Modeling of Facade Layoutscited by 8
  17. 2022Photo-to-Shape Material Transfer for Diverse Structurescited by 5

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2023: 2; 2024: 8; 2025: 7; 2026: 6.

23 papers.

Sort:

By area:

  1. 2024Img2CAD: Reverse Engineering 3D CAD Models from Images through VLM-Assisted Conditional Factorizationcited by 35
  2. 2025LL3M: Large Language 3D Modelerscited by 20
  3. 2025MeshCoder: LLM-Powered Structured Mesh Code Generation from Point Cloudscited by 19
  4. 2024Design2GarmentCode: Turning Design Concepts to Tangible Garments Through Program Synthesiscited by 18
  5. 2023CADTalk: An Algorithm and Benchmark for Semantic Commenting of CAD Programscited by 15
  6. 20263DCodeBench: Benchmarking Agentic Procedural 3D Modeling Via Codecited by 15
  7. 2024Text-to-3D Shape Generationcited by 13
  8. 2024DiffCSG: Differentiable CSG via Rasterizationcited by 7
  9. 2024ParSEL: Parameterized Shape Editing with Languagecited by 6
  10. 2025ArcPro: Architectural Programs for Structured 3D Abstraction of Sparse Pointscited by 6
  11. 2025From Programs to Poses: Factored Real-World Scene Generation via Learned Program Librariescited by 6
  12. 2025ShapeLib: Designing a library of programmatic 3D shape abstractions with Large Language Modelscited by 5
11 more
  1. 2025CADReview: Automatically Reviewing CAD Programs with Error Detection and Correctioncited by 4
  2. 2026Gesturing Toward Abstraction: Multimodal Convention Formation in Collaborative Physical Taskscited by 4
  3. 2026Mamba-CAD: State Space Model For 3D Computer-Aided Design Generative Modelingcited by 3
  4. 2024AbstractBeam: Enhancing Bottom-Up Program Synthesis using Library Learningcited by 2
  5. 2023StructRe: Rewriting for Structured Shape Modelingcited by 1
  6. 2024Parameterize Structure with Differentiable Template for 3D Shape Generationcited by 1
  7. 2025Synthesizing 3D Abstractions by Inverting Procedural Buildings with Transformerscited by 1
  8. 2026PLLM: Pseudo-Labeling Large Language Models for CAD Program Synthesiscited by 1
  9. 2024Pattern Analogies: Learning to Perform Programmatic Image Edits by Analogycited by 0
  10. 2026FACT: Fidelity-Aware Construction of Articulated Twinscited by 0
  11. 2026Co-DSL: Human-LLM Co-design of Reusable Spatial Concepts for Layout Generationcited by 0