Searching Latent Program Spaces
Summary
LPNs learn a continuous latent space of implicit programs and use gradient-based test-time search to adapt to new I/O tasks without LLMs or predefined DSLs; test-time search roughly doubles OOD ARC-AGI performance in reported results.
- Venue
- arXiv 2411.08706
- Publisher
- arXiv 2411.08706
- Source
- arxiv
- Access
- open arXiv PDF/abs
- License
- arXiv non-exclusive
- License family
- Other
- Purpose
- Latent Program Networks that search a continuous program space at test time
- Scale
- ARC-AGI / inductive program-synthesis experiments
- Domain
- program synthesis; latent programs; ARC-AGI
- Used for
- ARC-style reasoning; test-time program search
- Time period
- arXiv 2024-11; Discord LinkedIn mid 2024-11-23
- Author type
- academic
- Added
- Oct 2, 2026
- Found via
- #random-papers
From the source
- Published
- Nov 13, 2024
- Last revised
- Nov 25, 2025
- arXiv categories
- cs.LG, cs.AI
- Author comment
- NeurIPS 2025 spotlight. Code available at https://github.com/clement-bonnet/lpn
- Citations
- 23 (1 influential)
- References
- 0
Abstract (from arXiv)
General intelligence requires systems that acquire new skills efficiently and generalize beyond their training distributions. Although program synthesis approaches have strong generalization power, they face scaling issues due to the large combinatorial spaces that quickly render them impractical, requiring human-generated DSLs or pre-trained priors to narrow this search space. On the other hand, deep learning methods have had high successes, but they lack structured test-time adaptation and rely on heavy stochastic sampling or expensive gradient updates for fine-tuning. In this work, we propose the Latent Program Network (LPN), a novel architecture that builds in test-time search directly into neural models. LPN learns a latent space of implicit programs -- neurally mapping inputs to outputs -- through which it can search using gradients at test time. LPN combines the adaptability of symbolic approaches and the scalability of neural methods. It searches through a compact latent space at test time and bypasses the need for pre-defined domain-specific languages. On a range of programming-by-examples tasks, LPN either outperforms or matches performance compared to in-context learning and test-time training methods. Tested on the ARC-AGI benchmark, we demonstrate that LPN can both learn a compact program space and search through it at test time to adapt to novel tasks. LPN doubles its performance on out-of-distribution tasks when test-time search is switched on.
Tags
Topics
program synthesis; latent programs; ARC-AGI
Research notes
- Resolved from Clement Bonnet LinkedIn genuine-reasoning post (Discord mid 1309948451122974821).
Similar entries
- Other How I got the highest score on ARC-AGI again swapping Python for English
- Code ARC Lang Solver
- Paper Latent Reasoning in TRMs is Secretly a Policy Improvement Operator
- Paper Generative Recursive Reasoning
- Paper Vector Policy Optimization: Training for Diversity Improves Test-Time Search
- Paper Probabilistic Tiny Recursive Model