Lune

ICCV2023Top-tier venue

Improving Unsupervised Visual Program Inference with Code Rewriting Families

Aditya Ganeshan, R. Kenny Jones, Daniel Ritchie

Abstract

Programs offer compactness and structure that makes them an attractive representation for visual data. We explore how code rewriting can be used to improve systems for inferring programs from visual data. We first propose Sparse Intermittent Rewrite Injection (SIRI), a framework for unsupervised bootstrapped learning. SIRI sparsely applies code rewrite operations over a dataset of training programs, injecting the improved programs back into the training set. We design a family of rewriters for visual programming domains: parameter optimization, code pruning, and code grafting. For three shape programming languages in 2D and 3D, we show that using SIRI with our family of rewriters improves performance: better reconstructions and faster convergence rates, compared with bootstrapped learning methods that do not use rewriters or use them naively. Finally, we demonstrate that our family of rewriters can be effectively used at test time to improve the output of SIRI predictions. For 2D and 3D CSG, we outperform or match the reconstruction performance of recent domain-specific neural architectures, while producing more parsimonious programs, that use significantly fewer primitives.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

5 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Can Large Language Models Understand Symbolic Graphics Programs? cites UCSG-NET- Unsupervised Discovering of Constructive Solid Geometry Tree
  • Can Large Language Models Understand Symbolic Graphics Programs? cites Fusion 360 gallery: a dataset and environment for programmatic CAD construction from human design sequences
  • Can Large Language Models Understand Symbolic Graphics Programs? cites DeepCAD: A Deep Generative Network for Computer-Aided Design Models
  • Fusion 360 gallery: a dataset and environment for programmatic CAD construction from human design sequences cites UCSG-NET- Unsupervised Discovering of Constructive Solid Geometry Tree
  • DeepCAD: A Deep Generative Network for Computer-Aided Design Models cites UCSG-NET- Unsupervised Discovering of Constructive Solid Geometry Tree
  • DeepCAD: A Deep Generative Network for Computer-Aided Design Models cites DeepSVG: A Hierarchical Generative Network for Vector Graphics Animation
  • GIFT: Bootstrapping Image-to-CAD Program Synthesis via Geometric Feedback cites DeepCAD: A Deep Generative Network for Computer-Aided Design Models
  • Learning to Edit Visual Programs with Self-Supervision cites UCSG-NET- Unsupervised Discovering of Constructive Solid Geometry Tree
  • Learning to Edit Visual Programs with Self-Supervision cites DeepCAD: A Deep Generative Network for Computer-Aided Design Models
  • Learning to Edit Visual Programs with Self-Supervision cites Learning to Infer Generative Template Programs for Visual Concepts
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers5

  1. Learning to Edit Visual Programs with Self-SupervisionR. Kenny Jones, Renhao Zhang, Aditya Ganeshan, Daniel RitchieNeurIPS 2024 · 9 citations
  2. ShapeWalk: Compositional Shape Editing Through Language-Guided ChainsHabib Slim, Mohamed ElhoseinyCVPR 2024 · 4 citations
  3. GIFT: Bootstrapping Image-to-CAD Program Synthesis via Geometric FeedbackGiorgio Giannone, Anna Doris, Amin Nobari, Kai Xu et al.ICML 2026 · 3 citations
  4. Learning to Infer Generative Template Programs for Visual ConceptsR. Kenny Jones, Siddhartha Chaudhuri, Daniel RitchieICML 2024 · 3 citations
  5. Can Large Language Models Understand Symbolic Graphics Programs?Zeju Qiu, Weiyang Liu, Haiwen Feng, Zhen Liu et al.ICLR 2025

Builds on18

  1. DeepCAD: A Deep Generative Network for Computer-Aided Design ModelsRundi Wu, Chang Xiao, Changxi ZhengICCV 2021 · 290 citations
  2. DeepSVG: A Hierarchical Generative Network for Vector Graphics AnimationAlexandre Carlier, Martin Danelljan, Alexandre Alahi, Radu TimofteNeurIPS 2020 · 247 citations
  3. Fusion 360 gallery: a dataset and environment for programmatic CAD construction from human design sequencesKarl D. D. Willis, Yewen Pu, Jieliang Luo, Hang Chu et al.SIGGRAPH 2021 · 197 citations
  4. egg: Fast and extensible equality saturationMax Willsey, Chandrakana Nandi, Yisu Remy Wang, Oliver Flatt et al.POPL 2021 · 170 citations
  5. UCSG-NET- Unsupervised Discovering of Constructive Solid Geometry TreeKacper Kania, Maciej Zieba, Tomasz KajdanowiczNeurIPS 2020 · 133 citations

Related papers

  1. ShapeCoder: Discovering Abstractions for Visual Programs from Unstructured PrimitivesR. Kenny Jones, Paul Guerrero, Niloy J. Mitra, Daniel RitchieSIGGRAPH 2023 · 19 citations
  2. Unsupervised Learning of Shape Programs with Repeatable Implicit PartsBoyang Deng, Sumith Kulal, Zhengyang Dong, Congyue Deng et al.NeurIPS 2022 · 18 citations
  3. D2CSG: Unsupervised Learning of Compact CSG Trees with Dual Complements and DropoutsFenggen Yu, Qimin Chen, Maham Tanveer, Ali Mahdavi-Amiri et al.NeurIPS 2023 · 61 citations
  4. ShapeMOD: macro operation discovery for 3D shape programsR. Kenny Jones, David Charatan, Paul Guerrero, Niloy J. Mitra et al.SIGGRAPH 2021 · 24 citations
  5. SfmCAD: Unsupervised CAD Reconstruction by Learning Sketch-based Feature Modeling OperationsPu Li, Jianwei Guo, Huibin Li, Bedrich Benes et al.CVPR 2024
Dusk over the sea between two cliffs drawn in fine vertical lines