arrow
Return

ShapeCoder: Discovering Abstractions for Visual Programs from Unstructured Primitives

delete2023-07-26
delete2
delete
OA
AI
R
R. Kenny Jones *
P
Paul Guerrero
N
Niloy J. Mitra
D
Daniel Ritchie
DOI:10.1145/3592416delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
We introduce 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 a dataset, so that programs rewritten with these abstractions are more compact, and suppress spurious 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 captures high-level relationships, removes extraneous degrees of freedom, and achieves better dataset compression compared with alternative approaches. Finally, we investigate how programs rewritten to use discovered abstractions prove useful for downstream tasks.
Keywords:
procedural modeling
visual programs
shape analysis
shape abstraction
library learning
e-graph

Journal

ACM Transactions on Graphics cover
ACM Transactions on Graphics
IF:
9.5
Papers:
4.8K
Citations:
3.6W

Organization

B
Brown University
Scholars:
2.4W
Papers: 2.2W
Citations: 3.2W
U
university of london
Scholars:
21.5W
Papers: 19.7W
Citations: 305
Cited Papers

Cited Papers

Free2CAD: Parsing Freehand Drawings into CAD Commands
err2022-07-22
err22
errOAAI
errLi, Changjian; Pan, Hao; Bousseau, Adrien; Mitra, Niloy J.
errShare
errSave
Capacitance bridge detector and signal lock for ion cyclotron resonance spectrometry
err1987-08-01
err0
PREAI
errJeffrey Marks; Paul S. Drzaic; Robert F. Foster; Donna M. Wetzel; John I. Brauman; Jack S. Uppal; Ralph H. Staley
errShare
errSave
A novel three-stage treatment train for the remediation of trichloroethylene-contaminated groundwater
err2016-01-01
err0
PREAI
errYen-Ping Peng; Ku-Fan Chen; Wei-Han Lin; Yu-Chen Chang; Fei Wu
errShare
errSave
Inverse Procedural Modeling of Facade Layouts
err2014-07-27
err47
errOAAI
errWu, Fuzhang; Yan, Dong-Ming; Dong, Weiming; Zhang, Xiaopeng; Wonka, Peter
errShare
errSave
errShare
errSave
Sketch2CAD: Sequential CAD Modeling by Sketching in Context
err2020-11-27
err30
PREAI
errLi, Changjian; Pan, Hao; Bousseau, Adrien; Mitra, Niloy J.
errShare
errSave
Wavelength-scanning surface plasmon resonance imaging
err2005-06-10
err0
PREAI
errSoichi Otsuki; Kaoru Tamada; S. Wakida
errShare
errSave
researcher View more