mlsanityData to 7 Oct 2026

Solver-Aware Decompositions for Programming-by-Example: When Dividing Requires Knowing how to Conquer

arXiv 2608.03461 ↗First posted 4 Aug 2026cs.AIcited by 0

Not on the map. Why?

Abstract (arXiv)

Decomposition-based Programming-by-example (PBE) scales performance by splitting tasks into subtasks that a learned synthesizer solves: a decomposer predicts intermediate subgoals, and a synthesizer generates programs conditioned on them. Execution-decomposition approaches such as ExeDec train the decomposer to imitate ground-truth (GT) subgoals, implicitly treating decomposition quality as intrinsic to the task. We challenge this assumption: for bounded solvers with fixed inductive biases, GT decompositions reflect the annotator's factorization choices - not the solver's search dynamics. A decomposer trained to match GT decompositions may therefore propose subgoals that are logically valid yet intractable for the solver. We propose Solver-Aware Decomposition (SAD), a training framework that retains supervised training on GT subgoals as a structural scaffold, while additionally optimizing the decomposer online with policy gradients against a frozen learned synthesizer. Each sampled subgoal is rewarded by the synthesizer's cross-entropy loss on the target program - a continuous signal of subtask difficulty that encourages decompositions the solver can act on. Our experiments reveal an accuracy paradox: higher agreement with GT decompositions does not improve synthesis success - even though the synthesizer was trained on the very same GT data the decomposer is optimized to mimic. SAD instead learns decompositions that trade GT alignment for solver tractability, yielding consistent gains in synthesis and end-to-end task accuracy across two PBE domains and under zero-shot transfer to an external list-processing benchmark. Moreover, SAD solves tasks that a GT decomposition oracle fails - empirical evidence, under an identical synthesizer and search procedure, that GT decompositions are not universally optimal for bounded solvers.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 26 of its 40 references that are in the map. First posted on arXiv 4 Aug 2026.

Builds on

26 of 40 references.

References · 26

  1. 2023Self-Refine: Iterative Refinement with Self-Feedbackcited by 3,317
  2. 2015Sequence Level Training with Recurrent Neural Networkscited by 568
  3. 2016Self-critical Sequence Training for Image Captioningcited by 544
  4. 2022CodeRL: Mastering Code Generation through Pretrained Models and Deep Reinforcement Learningcited by 342
  5. 2017Automated Curriculum Learning for Neural Networkscited by 251
  6. 2017Teacher-Student Curriculum Learningcited by 197
  7. 2023Is Self-Repair a Silver Bullet for Code Generation?cited by 191
  8. 2023Planning with Large Language Models for Code Generationcited by 179
  9. 2023ADaPT: As-Needed Decomposition and Planning with Language Modelscited by 172
  10. 2016DeepCoder: Learning to Write Programscited by 145
  11. 2020Automatic Curriculum Learning For Deep RL: A Short Surveycited by 141
  12. 2017RobustFill: Neural Program Learning under Noisy I/Ocited by 124
14 more
  1. 2023Phenomenal Yet Puzzling: Testing Inductive Reasoning Capabilities of Language Models with Hypothesis Refinementcited by 89
  2. 2020Compositional Generalization via Neural-Symbolic Stack Machinescited by 80
  3. 2021Learning to Synthesize Programs as Interpretable and Generalizable Policiescited by 59
  4. 2019Learning to Infer Program Sketchescited by 44
  5. 2024Is Programming by Example solved by LLMs?cited by 27
  6. 2024Doing Experiments and Revising Rules with Natural Language and Probabilistic Reasoningcited by 23
  7. 2023Hierarchical Programmatic Reinforcement Learning via Learning to Compose Programscited by 20
  8. 2020Latent Programmer: Discrete Latent Codes for Program Synthesiscited by 18
  9. 2023ExeDec: Execution Decomposition for Compositional Generalization in Neural Program Synthesiscited by 17
  10. 2019Synthetic Datasets for Neural Program Synthesiscited by 15
  11. 2023A Divide-Align-Conquer Strategy for Program Synthesiscited by 7
  12. 2023LambdaBeam: Neural Program Search with Higher-Order Functions and Lambdascited by 6
  13. 2025Generating Planning Feedback for Open-Ended Programming Exercises with LLMscited by 4
  14. 2026HIPO: Instruction Hierarchy via Constrained Reinforcement Learningcited by 2

Built on by

Not cited yet.