paper-with-me

Papers

Searching Latent Program Spaces

2024-11-13 · Clément Bonnet, Matthew V Macfarlane

Program synthesis methods aim to automatically generate programs restricted to a language that can explain a given specification of input-output pairs. While purely symbolic approaches suffer from a combinatorial search space, recent methods leverage neural networks to learn distributions over program structures to narrow this search space significantly, enabling more efficient search. However, for challenging problems, it remains difficult to train models to perform program synthesis in one shot, making test-time search essential. Most neural methods lack structured search mechanisms during inference, relying instead on stochastic sampling or gradient updates, which can be inefficient. In this work, we propose the Latent Program Network (LPN), a general algorithm for program induction that learns a distribution over latent programs in a continuous space, enabling efficient search and test-time adaptation. We explore how to train these networks to optimize for test-time computation and demonstrate the use of gradient-based search both during training and at test time. We evaluate LPN on ARC-AGI, a program synthesis benchmark that evaluates performance by generalizing programs to new inputs rather than explaining the underlying specification. We show that LPN can generalize beyond its training distribution and adapt to unseen tasks by utilizing test-time computation, outperforming algorithms without test-time adaptation mechanisms.

📄 PDF Abstract BibTeX arXiv:2411.08706

Code (1)

clement-bonnet/lpn 공식 구현 jax

Tasks

ARCProgram inductionProgram SynthesisTest-time Adaptation

Similar Papers 제목 키워드 기반

Reclaiming the Source of Programmatic Policies: Programmatic versus Latent Spaces

2024-10-16 · Tales H. Carvalho, Kenneth Tjhia, Levi H. S. Lelis

Recent works have introduced LEAPS and HPRL, systems that learn latent spaces of domain-specific languages, which are used to define programmatic policies for partially observable Markov decision processes (POMDPs). Thes…

Searching for Programmatic Policies in Semantic Spaces

2024-05-08 · Rubens O. Moraes, Levi H. S. Lelis

Syntax-guided synthesis is commonly used to generate programs encoding policies. In this approach, the set of programs, that can be written in a domain-specific language defines the search space, and an algorithm searche…

Searching for Spaceships

2000-04-10 · David Eppstein

We describe software that searches for spaceships in Conway's Game of Life and related two-dimensional cellular automata. Our program searches through a state space related to the de Bruijn graph of the automaton, using …

Latent Programmer: Discrete Latent Codes for Program Synthesis

2020-12-01 · Joey Hong, David Dohan, Rishabh Singh, Charles Sutton 외

In many sequence learning tasks, such as program synthesis and document summarization, a key problem is searching over a large space of possible output sequences. We propose to learn representations of the outputs that a…

Document SummarizationProgram SynthesisSelf-Supervised Learning

Towards best practices in low-dimensional semi-supervised latent Bayesian optimization for the design of antimicrobial peptides

2025-10-20 · Jyler Menard, R. A. Mansbach arxiv

Generative deep learning techniques have demonstrated an impressive capacity for tackling biomolecular design problems in recent years. Despite their high performance, however, they still suffer from a lack of interpreta…