{
  "id": 926,
  "kind": "paper",
  "title": "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.",
  "body": "",
  "notes": "Resolved from Clement Bonnet LinkedIn genuine-reasoning post (Discord mid 1309948451122974821).",
  "url": "https://arxiv.org/abs/2411.08706",
  "links": [],
  "authors": [
    "Clement Bonnet",
    "Matthew Macfarlane"
  ],
  "tags": [
    "lpn",
    "latent-program",
    "arc-agi",
    "test-time-search",
    "arxiv:2411.08706"
  ],
  "topics": "program synthesis; latent programs; ARC-AGI",
  "venue": "arXiv 2411.08706",
  "publisher": "arXiv 2411.08706",
  "source": "arxiv",
  "language": "",
  "access": "open arXiv PDF/abs",
  "license": "arXiv non-exclusive",
  "published_year": 2024,
  "added_at": "2026-10-02T23:40:42.683Z",
  "verified_at": null,
  "attrs": {
    "scale": "ARC-AGI / inductive program-synthesis experiments",
    "domain": "program synthesis; latent programs; ARC-AGI",
    "purpose": "Latent Program Networks that search a continuous program space at test time",
    "used_for": "ARC-style reasoning; test-time program search",
    "author_type": "academic",
    "time_period": "arXiv 2024-11; Discord LinkedIn mid 2024-11-23"
  },
  "enrichment": {
    "s2": {
      "venue": "arXiv.org",
      "paper_id": "4e37aca25b7b4b6a1b93f1e47bbc7c6af9debce1",
      "published": "2024-11-13",
      "fetched_at": "2026-10-03T14:59:06.911Z",
      "citation_count": 23,
      "reference_count": 0,
      "influential_citation_count": 1
    },
    "arxiv": {
      "id": "2411.08706",
      "title": "Searching Latent Program Spaces",
      "authors": [
        "Matthew V Macfarlane",
        "Clement Bonnet"
      ],
      "comment": "NeurIPS 2025 spotlight. Code available at https://github.com/clement-bonnet/lpn",
      "updated": "2025-11-25",
      "abstract": "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.",
      "published": "2024-11-13",
      "categories": [
        "cs.LG",
        "cs.AI"
      ],
      "fetched_at": "2026-10-03T14:59:06.911Z"
    }
  },
  "enriched_at": "2026-10-03T14:59:06.948Z",
  "license_class": "other",
  "langs": [],
  "modalities": [],
  "size_class": null,
  "provenance": {
    "channel": "random-papers",
    "legacy_paper_id": "1315"
  },
  "visibility": "public",
  "status": "active",
  "duplicate_of": null,
  "origin": "legacy",
  "created_at": "2026-10-03T12:29:06.561Z",
  "updated_at": "2026-10-03T12:29:06.561Z",
  "page": "https://papers.projxon.ai/entries/926",
  "markdown": "https://papers.projxon.ai/entries/926.md",
  "api": "https://papers.projxon.ai/api/entries/926",
  "relations": [],
  "duplicates": [],
  "similar": [
    {
      "id": 613,
      "kind": "other",
      "title": "How I got the highest score on ARC-AGI again swapping Python for English",
      "summary": "Sep 2025 writeup of Berman second ARC-AGI-Pub run. Same evolutionary test-time architecture as Dec 2024 v1 (53.6 percent on ARC-AGI-1 with Sonnet 3.5) but evolves natural-language instructions rather than Python transforms because v2 grids are too awkward to code. Grok-4 generates up to 30 instructions; subagents apply them to training grids for a cell-accuracy fitness score; top-5 get individual then pooled revisions (worst case 40 candidates per task). Reports 79.6 percent on ARC-AGI-1 at $8.42/task and 29.4 percent SoTA on ARC-AGI-2 (prior 25 percent). Code already cataloged as papers_local id 616.",
      "url": "https://jeremyberman.substack.com/p/how-i-got-the-highest-score-on-arc-agi-again",
      "authors": [
        "Jeremy Berman"
      ],
      "tags": [
        "blog",
        "arc-agi",
        "grok-4",
        "evolutionary-search",
        "test-time-compute",
        "multi-agent",
        "jeremy-berman"
      ],
      "venue": "Jeremy’s Substack",
      "source": "web",
      "license": "",
      "published_year": null,
      "added_at": "2026-08-14T18:56:35.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/613",
      "markdown": "https://papers.projxon.ai/entries/613.md",
      "api": "https://papers.projxon.ai/api/entries/613"
    },
    {
      "id": 597,
      "kind": "code",
      "title": "ARC Lang Solver",
      "summary": "jerber/arc-lang-public generates instruction programs for ARC-AGI grids, scores them by leave-one-out application on training examples (another LLM call follows the instructions onto the grid), then revises top instructions (StepRevision) or synthesizes a pooled plan (StepRevisionPool) before emitting up to two diverse test-grid guesses. Async orchestration with a monitored API semaphore; presets for Grok, GPT, mini, and open-source providers. Optional Neon/Postgres persistence of instruction scores. Bundles public ARC-Prize JSON under data/. No LICENSE / SPDX on the GitHub API. Python ≥3.10 (Ruff target 3.12).",
      "url": "https://github.com/jerber/arc-lang-public",
      "authors": [
        "Jeremy Berman"
      ],
      "tags": [
        "arc-agi",
        "arc-lang",
        "instruction-synthesis",
        "grok",
        "program-synthesis",
        "jeremy-berman"
      ],
      "venue": "jerber (GitHub)",
      "source": "github",
      "license": "",
      "published_year": 2025,
      "added_at": "2026-08-14T18:35:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": 316,
      "page": "https://papers.projxon.ai/entries/597",
      "markdown": "https://papers.projxon.ai/entries/597.md",
      "api": "https://papers.projxon.ai/api/entries/597"
    },
    {
      "id": 488,
      "kind": "paper",
      "title": "Latent Reasoning in TRMs is Secretly a Policy Improvement Operator",
      "summary": "Interprets a TRM step as mapping a pre-reasoning policy to a post-reasoning policy whose log-ratio is an advantage-like score. Deep Improvement Supervision (DIS) trains each of N_sup=6 steps toward a less-corrupted discrete-masking target, dropping ACT/halting (T=1, n=2 vs TRM T=3, n=6, 16 steps; ~18x fewer forwards). DIS-compact 0.8M: ARC-AGI-1 24% vs TRM-compact 12%. DIS 7M: ARC-1 41.3 / ARC-2 6.0 vs reported TRM 40.4 / 3.3. Matched 0.69 on N-Queens. No official code on the abs page.",
      "url": "https://arxiv.org/abs/2511.16886",
      "authors": [
        "Arip Asadulaev",
        "Rayan Banerjee",
        "Fakhri Karray",
        "Martin Takac"
      ],
      "tags": [
        "trm",
        "dis",
        "arc-agi",
        "latent-reasoning",
        "policy-improvement",
        "mbzuai"
      ],
      "venue": "arXiv / MBZUAI",
      "source": "arxiv",
      "license": "CC BY 4.0",
      "published_year": 2025,
      "added_at": "2026-08-14T17:02:26.000Z",
      "has_dataset_profile": false,
      "license_class": "permissive",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 6,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/488",
      "markdown": "https://papers.projxon.ai/entries/488.md",
      "api": "https://papers.projxon.ai/api/entries/488"
    },
    {
      "id": 521,
      "kind": "paper",
      "title": "Generative Recursive Reasoning",
      "summary": "GRAM adds learned stochastic residual guidance ε~N(μθ,σθ²I) on the high-level latent of an HRM/TRM-style hierarchy and trains via a truncated ELBO. Width scaling samples N trajectories and ranks them with an LPRM or majority vote. Sudoku-Extreme 97.0% vs TRM 87.4% at 16 steps; N=20 at 16 iters beats TRM at 320 (97.0 vs 90.5). ARC-1/2 52.0/11.1 vs TRM 44.6/7.8. N-Queens 8×8 accuracy 99.7% / coverage 90.3% vs TRM 66.8/36.1. Unconditional Sudoku 99.05% validity (10.9M, 16 steps) vs D3PM-Big 91.33% (55.1M, 1000 steps); binarized MNIST FID 73.34 at 256 steps vs TRM collapse 303. Project https://ahn-ml.github.io/gram-website/.",
      "url": "https://arxiv.org/abs/2605.19376",
      "authors": [
        "Junyeob Baek",
        "Mingyu Jo",
        "Minsu Kim",
        "Mengye Ren",
        "Yoshua Bengio",
        "Sungjin Ahn"
      ],
      "tags": [
        "gram",
        "recursive-reasoning",
        "trm",
        "hrm",
        "variational-inference",
        "sudoku",
        "arc-agi",
        "n-queens",
        "kaist",
        "mila",
        "bengio"
      ],
      "venue": "arXiv / KAIST / Mila / NYU / Université de Montréal",
      "source": "",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-10-01T16:45:05.207Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [],
      "modalities": [],
      "size_class": null,
      "citation_count": 8,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/521",
      "markdown": "https://papers.projxon.ai/entries/521.md",
      "api": "https://papers.projxon.ai/api/entries/521"
    },
    {
      "id": 673,
      "kind": "paper",
      "title": "Vector Policy Optimization: Training for Diversity Improves Test-Time Search",
      "summary": "MIT Improbable AI / Sakana (cite Bahlous-Boldi et al.; arXiv 2605.22817). Argues scalar GRPO collapses entropy so extra samples become near-duplicates; when test-time search (best@k, AlphaEvolve) handles exploitation, training should preserve reward diversity. VPO: emit m answers in one chain; score the set as E_w[max_y w·r] with w~Dirichlet(1); drop-in GRPO advantage on the set reward. Beats GRPO/Multi-RLVR/Max-at-k/MaxRL/random-w/goal-conditioned GRPO on Maze, MuSiQue, EUREQA, ToolRL as k grows. LiveCodeBench Qwen2.5-Coder-7B: GRPO wins pass@1 but VPO wins best@k and OpenEvolve on 32 hard problems GRPO never solves. Helps when reward components are non-collinear; UltraFeedback ArmoRM dims are near-collinear and VPO does not beat scalar GRPO.",
      "url": "https://arxiv.org/abs/2605.22817",
      "authors": [
        "Ryan Bahlous-Boldi",
        "Isha Puri",
        "Idan Shenfeld",
        "Akarsh Kumar",
        "Mehul Damani",
        "Sebastian Risi",
        "Omar Khattab",
        "Zhang-Wei Hong",
        "Pulkit Agrawal"
      ],
      "tags": [
        "vpo",
        "grpo",
        "diversity",
        "test-time-search",
        "pass-at-k",
        "alphaevolve",
        "mit"
      ],
      "venue": "arXiv / MIT Improbable AI Lab",
      "source": "arxiv",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-08-14T20:26:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 8,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/673",
      "markdown": "https://papers.projxon.ai/entries/673.md",
      "api": "https://papers.projxon.ai/api/entries/673"
    },
    {
      "id": 520,
      "kind": "paper",
      "title": "Probabilistic Tiny Recursive Model",
      "summary": "PTRM injects Gaussian noise into the TRM latent at each deep recursion step, runs K parallel rollouts, and selects the candidate with highest Q-head score (the ACT correctness classifier unused at standard TRM inference). No retraining or task-specific test-time augmentation. PPBench golden 62.6%→91.2% (K=100, D=48, σ=0.2), beating a 7-LLM ensemble with oracle verifier (55.1%) at ~$0.001 vs $38.51 per correct. Sudoku-Extreme 87.4%→98.75%; Maze-Hard 83.8%→86.73%; ARC-AGI-2 pass@1 7.36%→8.47%. Width scaling dominates depth; Q nearly matches pass@K on PPBench/Sudoku but lags on Maze-Hard.",
      "url": "https://arxiv.org/abs/2605.19943",
      "authors": [
        "Amin Sghaier",
        "Ali Parviz",
        "Alexia Jolicoeur-Martineau"
      ],
      "tags": [
        "ptrm",
        "trm",
        "recursive-reasoning",
        "test-time-scaling",
        "q-head",
        "ppbench",
        "sudoku",
        "arc-agi",
        "mila"
      ],
      "venue": "arXiv / Mila / ILLS & ETS Montreal",
      "source": "",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-10-01T16:45:04.296Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [],
      "modalities": [],
      "size_class": null,
      "citation_count": 13,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/520",
      "markdown": "https://papers.projxon.ai/entries/520.md",
      "api": "https://papers.projxon.ai/api/entries/520"
    }
  ]
}
