atlas

Research map / Large language models / Agents, code and math

Data-Efficient Learning with Neural Programs

NeurIPS 2024 · Large language models › Agents, code and math · approach: LLM-guided program synthesis · 0 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 ISED, a sampling-based algorithm that trains DNN components of neural programs (black-box Python or GPT-4 calls) end-to-end from input-output labels by estimating gradients over a sampled symbolic summary of the program.

Problem

Learning the parameters of a neural model whose outputs feed a black-box program (Python code or LLM API call) when only end-to-end input-output labels are available, without differentiable logic programs.

Approach

ISED samples symbols from the DNN's output distributions, executes the black-box program on each sample, and builds a partial symbolic summary (symbol-output pairs) that is differentiated via semiring aggregation (min-max or add-mult) and a loss over the output distribution, avoiding a learned surrogate and yielding stronger signals than REINFORCE.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use ISED instead of A-NeSIMNIST-R sum_3 · sum_3accuracy: 94.39 ± 0.77 -> 95.10 ± 0.95Helped
Use ISED instead of IndeCateRMNIST-R sum_4 · sum_4accuracy: 92.58 ± 0.80 -> 94.1 ± 1.6Helped
Use ISED instead of ScallopHWF · HWFaccuracy: 96.65 ± 0.13 -> 97.34 ± 0.26Helped
Use ISED instead of ScallopDT leaf · DT leafaccuracy: 81.13 ± 3.50 -> 82.32 ± 4.15Helped
Use ISED instead of A-NeSIGPT leaf · GPT leafaccuracy: 72.40 ± 12.24 -> 79.95 ± 5.71Helped
Use ISED instead of A-NeSIscene recognition · sceneaccuracy: 61.46 ± 14.18 -> 68.59 ± 1.95Helped
Use ISED instead of NASRVisual Sudoku · sudokuaccuracy: 82.78 ± 1.06 -> 80.32 ± 1.79Hurt
Use ISED instead of IndeCateR+ at k=80sum_8 · sum_8accuracy: 10.20 ± 1.12 -> 87.28 ± 0.76Helped
Use ISED instead of IndeCateR+ at k=120sum_12 · sum_12accuracy: 6.84 ± 2.06 -> 85.72 ± 2.15Helped
Use IndeCateR+ instead of ISED at k=1600sum_16 · sum_16accuracy: 83.52 ± 1.75 -> 8.13 ± 1.10Hurt
Increase ISED sample count from k=80 to k=800sum_8 · sum_8accuracy: 87.28 ± 0.76 -> 87.72 ± 0.86No clear effect
Increase ISED sample count from k=120 to k=1200sum_12 · sum_12accuracy: 85.72 ± 2.15 -> 86.72 ± 0.48No clear effect

Surprising findings

Limitations

Experimental setup

Datasets: MNIST-R MNIST HWF LEAF-ID Scene recognition dataset SatNet

Benchmarks: MNIST-R HWF LEAF-ID DT leaf LEAF-ID GPT leaf scene recognition Visual Sudoku

Metrics: accuracy standard deviation training time to accuracy sample efficiency

Baselines: DeepProbLog Scallop A-NeSI REINFORCE IndeCateR NASR IndeCateR+ CLIP NGS

Builds on: REINFORCE IndeCateR NASR A-NeSI DeepProbLog Scallop

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