Learning to Infer Generative Template Programs for Visual Concepts

R. Kenny Jones, Siddhartha Chaudhuri, Daniel Ritchie
3/20/2024
cs.CVcs.AIcs.GR

No official code found. Best implementation: rkjones4/TemplatePrograms (8 stars, last commit 2025-02-06).

Abstract

People grasp flexible visual concepts from a few examples. We explore a neurosymbolic system that learns how to infer programs that capture visual concepts in a domain-general fashion. We introduce Template Programs: programmatic expressions from a domain-specific language that specify structural and parametric patterns common to an input concept. Our framework supports multiple concept-related tasks, including few-shot generation and co-segmentation through parsing. We develop a learning paradigm that allows us to train networks that infer Template Programs directly from visual datasets that contain concept groupings. We run experiments across multiple visual domains: 2D layouts, Omniglot characters, and 3D shapes. We find that our method outperforms task-specific alternatives, and performs competitively against domain-specific approaches for the limited domains where they exist.

View on arXivView PDF

Code Implementations(1)

Learning to Infer Generative Template Programs for Visual Concepts -- ICML 2024

84PythonMay 25, 20241 years agoNOASSERTION
concept-learninginverse-graphicsprocedural-modelingvisual-programs

Similar Papers

Cite this paper

@article{jones2024learning,
  title  = {Learning to Infer Generative Template Programs for Visual Concepts},
  author = {R. Kenny Jones and Siddhartha Chaudhuri and Daniel Ritchie},
  year   = {2024},
  eprint = {2403.15476},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2403.15476v2},
  journal = {ICML 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2403.15476.svg)](https://codeofpaper.com/paper/2403.15476)

Discussion