Jones, R Kenny;
Guerrero, Paul;
Mitra, Niloy J;
Ritchie, Daniel;
(2023)
ShapeCoder: Discovering Abstractions for Visual Programs from Unstructured Primitives.
ACM Transactions on Graphics
, 42
(4)
, Article 49. 10.1145/3592416.
Preview |
Text
shapeCoder.pdf - Published Version Download (3MB) | Preview |
Abstract
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.
Type: | Article |
---|---|
Title: | ShapeCoder: Discovering Abstractions for Visual Programs from Unstructured Primitives |
Open access status: | An open access version is available from UCL Discovery |
DOI: | 10.1145/3592416 |
Publisher version: | https://doi.org/10.1145/3592416 |
Language: | English |
Additional information: | © 2023 Copyright held by the owner/author(s). Publication rights licensed to ACM. |
Keywords: | Science & Technology, Technology, Computer Science, Software Engineering, Computer Science, procedural modeling, visual programs, shape analysis, shape abstraction, library learning, e-graph |
UCL classification: | UCL UCL > Provost and Vice Provost Offices > UCL BEAMS UCL > Provost and Vice Provost Offices > UCL BEAMS > Faculty of Engineering Science UCL > Provost and Vice Provost Offices > UCL BEAMS > Faculty of Engineering Science > Dept of Computer Science |
URI: | https://discovery.ucl.ac.uk/id/eprint/10178166 |
Archive Staff Only
View Item |