LLM-Guided Compositional Program Synthesis
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). First posted on arXiv 12 Mar 2025.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2025: 4; 2026: 1.
5 papers.
- 2025SeRL: Self-Play Reinforcement Learning for Large Language Models with Limited Datacited by 51
- 2025A Survey of Inductive Reasoning for Large Language Modelscited by 8
- 2025Program Synthesis via Test-Time Transductioncited by 4
- 2026From I/O to Code with Discovery Agentcited by 1
- 2025From Benchmark Data To Applicable Program Repair: An Experience Reportcited by 0
- 2026From I/O to Code with Discovery Agent14 May 2026
- 2025A Survey of Inductive Reasoning for Large Language Models11 Oct 2025
- 2025Program Synthesis via Test-Time Transduction22 Sep 2025
- 2025From Benchmark Data To Applicable Program Repair: An Experience Report22 Aug 2025
- 2025SeRL: Self-Play Reinforcement Learning for Large Language Models with Limited Data25 May 2025