atlas

Research map / Label-efficient and robust learning / Test-time adaptation

Searching Latent Program Spaces

NeurIPS 2025 · Label-efficient and robust learning › Test-time adaptation · approach: Extrapolation and single-sample adaptation · 2 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes the Latent Program Network (LPN), which learns a continuous latent space of implicit programs and performs gradient-based latent search at test time, evaluated on a pattern task, a string task, and ARC-AGI.

Problem

Program synthesis from input-output examples struggles with huge combinatorial search spaces and requires hand-made DSLs or priors, while in-context neural approaches lack test-time search and specification consistency and scale poorly with specification size.

Approach

Factorize inference into an encoder that maps I/O pairs to a latent program distribution, gradient ascent in that latent space at test time to best explain the examples, and a decoder that executes the refined latent on a new input; trained end-to-end with a reconstruction loss over held-out pairs and a KL term.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
increase LPN test-time FLOPs from 2E+11 to 2E+13LPN · ARC-AGI out-of-distributionexact match accuracy: 7.75 -> 15.25Helped
increase LPN test-time FLOPs from 2E+11 to 2E+15LPN · ARC-AGI out-of-distributionexact match accuracy: 7.75 -> 15.50Helped
increase TTT test-time FLOPs from 2E+13 to 2E+14TTT · ARC-AGI out-of-distributionexact match accuracy: 13.50 -> 16.00Helped
train LPN with one latent gradient step rather than no latent optimization (ablation)LPN · Pattern, 100 inference gradient stepsexact match accuracy: 67.5% -> 99.5%Helped
use gradient ascent rather than sampling-based latent search (ablation)LPN · Patternexact match accuracyHelped
stop the decoder gradient through the latent optimization update (ablation)LPN · Patternexact match accuracyHelped
add one latent gradient step during training (ablation)LPN · String manipulation test set, 10 inference stepsexact match accuracy: 83.3 (0.8) -> 86.1 (1.5)Helped
increase TTT test-time parameter updates from 0 to 100 (ablation)TTT · String manipulation test setexact match accuracy: 78.1 (1.1) -> 11.8 (1.9)Hurt
use one training-time latent gradient step instead of none (ablation)LPN · Strongly OOD Pattern, 100 inference stepsexact match accuracy: 41.1 (29.6) -> 88.0 (5.3)Helped
initialize gradient search from the encoder rather than the Gaussian prior (ablation)LPN inference · ARC-AGI evaluation, 400 search stepsexact match accuracy: 10.75% -> 15.50%Helped
use gradient search rather than encoder sampling (ablation)LPN inference · ARC-AGI evaluation, 400 search stepsexact match accuracy: 10.62% -> 15.50%Helped
replace gradient search with local search from encoder initialization (ablation)LPN inference · ARC-AGI evaluation, 400 search stepsexact match accuracy: 15.50% -> 10.75%Hurt

Surprising findings

Limitations

Experimental setup

Datasets: re-arc Pattern task (synthetic) String manipulation synthetic task

Benchmarks: ARC-AGI 2024 evaluation set ARC-AGI training set (in-distribution) Pattern task String manipulation task

Metrics: exact match accuracy top-2 accuracy

Baselines: In-context learning transformer Test-time training (TTT) CodeIt Mirchandani et al. (ARC LLM approach) CodeT5 text-davinci

Builds on: test-time training Neural Processes LEAPS CodeIt MAML

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy