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

📅 2026-08-04
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
This work addresses a key limitation in traditional decomposition-based program synthesis: reliance on ground-truth subgoals that ignore the solver’s actual capabilities, often yielding logically correct but practically unsolvable subtasks. To overcome this, the authors propose Solver-Aware Decomposition (SAD), a framework that retains supervision from ground-truth subgoals while incorporating feedback signals from a frozen synthesizer to refine the decomposer. This approach reveals, for the first time, that decomposition quality depends more on the solver than on the task itself, demonstrating that ground-truth subgoals are not universally optimal. By combining supervised learning with reinforcement learning—using synthesizer loss as a reward signal—the method guides decomposition toward subgoals better aligned with the solver’s strengths. Experiments in two programming domains show substantial gains in synthesis success rate and end-to-end accuracy, even solving tasks previously intractable to existing methods.
📝 Abstract
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. Current approaches 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 via direct feedback from a frozen synthesizer. Subgoals are rewarded based on the synthesizer's loss on the target program - a 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. Moreover, SAD solves tasks that a GT decomposition oracle fails - empirical evidence that GT decompositions are not universally optimal for bounded solvers, and that decomposition quality is solver-relative, not intrinsic.
Problem

Research questions and friction points this paper is trying to address.

Programming-by-Example
task decomposition
solver-awareness
synthesis tractability
ground-truth subgoals
Innovation

Methods, ideas, or system contributions that make the work stand out.

Solver-Aware Decomposition
Programming-by-Example
Subgoal Optimization
Synthesizer Feedback
Decomposition Tractability
🔎 Similar Papers
2024-06-07Annual Meeting of the Association for Computational LinguisticsCitations: 6
J
Janis Zenkner
Clausthal University of Technology, Clausthal-Zellerfeld, Germany
T
Tobias Sesterhenn
Clausthal University of Technology, Clausthal-Zellerfeld, Germany
T
Tim Grams
Clausthal University of Technology, Clausthal-Zellerfeld, Germany
Christian Bartelt
Christian Bartelt
Clausthal University of Technology
Machine LearningCognitive Software