The reviewed record of science sign in
Pith

arxiv: 2503.15540 · v1 · pith:YZQLAI2J · submitted 2025-03-12 · cs.PL · cs.SE

LLM-Guided Compositional Program Synthesis

Reviewed by Pithpith:YZQLAI2Jopen to challenge →

classification cs.PL cs.SE
keywords solvetaskprogramsubtaskssynthesisapproachcompositionaldifferent
0
0 comments X
read the original abstract

Program synthesis from input-output examples, also called programming by example (PBE), has had tremendous impact on automating end-user tasks. Large language models (LLMs) have the ability to solve PBE tasks by generating code in different target languages, but they can fail unpredictably. To recover for failure, most approaches, such as self-reflection, use the LLM to solve the same task, but with a richer context. We introduce a novel technique that recovers from failure by constructing simpler subtasks for the LLM to solve. Our approach performs compositional program synthesis using LLMs, where LLM not only guides the decomposition of the PBE task into subtasks, but also solves the subtasks. We present different strategies for decomposing the original task. We experimentally show that our approach can solve challenging task instances that are not solved by self-reflection alone.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Forward citations

Cited by 1 Pith paper

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score.

  1. From I/O to Code with Discovery Agent

    cs.LG 2026-05 unverdicted novelty 7.0

    DIO-Agent frames IO2Code as LLM-driven evolutionary search over programs with a Transformation Priority Premise to favor simple hypotheses, outperforming baselines on a new IO2CodeBench.