Property-Guided LLM Program Synthesis for Planning
André Grahl Pereira, Augusto B. Corrêa, Jendrik Seipp
NeurIPS 2026
TL;DR. Counterexample-guided LLM synthesis produces planning heuristics that outperform the state of the art with 7x fewer LLM calls and 40x less candidate evaluation time.
Abstract. LLMs have shown impressive success in program synthesis, discovering programs that surpass previously known solutions. However, these approaches rely on simple numeric scores to signal program quality, such as the value of the solution or the number of passed tests. Because such a score offers no guidance on why a program failed, the system must generate and evaluate many candidates per problem in the hope that some succeed, increasing both LLM inference and evaluation costs. We study a different approach: property-guided LLM program synthesis. Instead of scoring programs after evaluation, we check whether a candidate satisfies a formally defined property. When the property is violated, we stop the evaluation early and provide the LLM with a concrete counterexample showing exactly how the program failed. In our experiments, this feedback reduces both the number of program generations and the evaluation cost, and guides the LLM to stronger programs. We evaluate this approach on PDDL planning domains, asking the LLM to synthesize direct heuristic functions: every non-goal state reachable from the initial state by strictly improving transitions has a strictly improving successor. A heuristic with this property leads the hill-climbing algorithm directly to a goal state. A counterexample-guided repair loop generates one candidate program, checks the property over a training set, and returns the first case that violates the property. On the ten IPC 2023 Learning Track domains, our approach with Gemini 3.1 Pro generates seven times fewer programs than the best prior generation method, spends about 40 times less time evaluating candidates on training tasks, and solves more out-of-distribution test tasks using only hill climbing. Although the property is checked only on small training tasks, hill climbing with the synthesized heuristics gets stuck in only one of 2,700 test runs. The coverage advantage also holds with GPT-5.5 and the small open-weight Gemma 4 31B. On three newly created domains that were not publicly available when Gemini 3.1 Pro was trained, the synthesized heuristics expand about 3.5 times fewer states than the best prior generation method, and hill climbing never encounters a property violation on the test tasks. Our results show that property-guided LLM program synthesis can reduce the synthesis and evaluation cost of heuristic functions while improving their quality.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
NeurIPS 2026
Accept (poster) · 3 reviews · OpenReview
Updated 25 Nov 2026, 03:47 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
The paper presents an architecture for synthesizing search guidance heuristics for PDDL planning through an LLM-based CEGIS-style loop.
The reviews pointed out:
- Novelty and relation to prior works: CEGIS-style code generation has been heavily investigated in the past. The concrete contributions of this paper and the relation to those prior works had not been sufficiently clarified.
- The text had a tendency to exaggerate/overclaim contributions and results.
- The experimental evaluation was a bit shallow: only a single LLM, actually a frontier LLM, had been considered; important parameters (such as heuristic generation time) had not been reported; training/test set differences and the benchmark selection limited the generalizability of the results.
The rebuttal clarified most of those points.
There remain some concerns regarding novelty and the applicability of the developed method.
The CR should
- Include the new empirical results (additional benchmarks, additional models, additional metrics).
- Be more concrete on what are the contributions of this paper (primarily the application of the existing CEGIS-style code generation idea to a novel application context).
- Discuss the relation to previous CEGIS-style works.
- Significantly downtone statements regarding the generalizability of the architecture.
- Discuss the requirements and limitations of the current method (such as solvability).
Final justification
The rebuttal addressed most concerns of the reviewers. Two important points however remain, and need to be clarified in particular in the CR: (1) the novelty is mainly the application, not the CEGIS-style approach itself; (2) applicability is limited and makes certain requirements. Statements regarding the generalizability need to be downtoned or removed entirely.
Read meta-review
Meta-review
The paper presents an architecture for synthesizing search guidance heuristics for PDDL planning through an LLM-based CEGIS-style loop.
The reviews pointed out:
- Novelty and relation to prior works: CEGIS-style code generation has been heavily investigated in the past. The concrete contributions of this paper and the relation to those prior works had not been sufficiently clarified.
- The text had a tendency to exaggerate/overclaim contributions and results.
- The experimental evaluation was a bit shallow: only a single LLM, actually a frontier LLM, had been considered; important parameters (such as heuristic generation time) had not been reported; training/test set differences and the benchmark selection limited the generalizability of the results.
The rebuttal clarified most of those points.
There remain some concerns regarding novelty and the applicability of the developed method.
The CR should
- Include the new empirical results (additional benchmarks, additional models, additional metrics).
- Be more concrete on what are the contributions of this paper (primarily the application of the existing CEGIS-style code generation idea to a novel application context).
- Discuss the relation to previous CEGIS-style works.
- Significantly downtone statements regarding the generalizability of the architecture.
- Discuss the requirements and limitations of the current method (such as solvability).
Final justification
The rebuttal addressed most concerns of the reviewers. Two important points however remain, and need to be clarified in particular in the CR: (1) the novelty is mainly the application, not the CEGIS-style approach itself; (2) applicability is limited and makes certain requirements. Statements regarding the generalizability need to be downtoned or removed entirely.
- Rating
- 4/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 4/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper introduces a technique of synthesizing heuristic functions for planning leveraging LLMs and validation / verification feedbacks on a given property. The verifier focuses on checking the direct property of heuristic functions, where a state must have at least one successor state with a better heuristic score. The LLM is initially prompted to generate a heuristic function and the verifier checks the direct property given the synthesized function and the task, and it reports concrete counter-examples when finding a property violation. The counter-example will be used to construct repair prompts for the LLM for iterative refinement. The evaluation shows that the proposed technique incurs lower inference-time cost and can solve more tasks than the baseline approaches.
Strengths and weaknesses
Strengths
- The proposed approach combines classic technique (CEGIS) with LLM-based synthesizer for planning. The approach is grounded with a well-studied program synthesis approach.
- Having a formally defined property and a verifier that checks it guards the LLM-based synthesis. The counter-example provides effective feedbacks to the LLMs, making the refinement loop converge faster.
- The evaluation shows that the proposed approach can solve many more out-of-distribution tasks with synthesized and validated heuristic functions
Weaknesses
- There are previous works on LLM-based iterative program synthesis and verification (e.g., Lemur [1]) that formally describes the repair loop. The proposed technique is an instantiation of these approaches for a specific domain (i.e., planning). The verification in the proposed technique is tied to a specific property.
- The experiments did not report the time to get the first validated heuristic. This makes it unclear whether the proposed technique is applicable for time-sensitive applications.
- The evaluations is only done with a strong frontier Gemini model. It does not show the performance on weaker models, which may not scale well on the iterative repair loops.
[1] Haoze Wu, Clark Barrett, & Nina Narodytska. (2024). Lemur: Integrating Large Language Models in Automated Program Verification.
Questions
- Does the proposed technique assume certain structural property of the state transition system? For example, how does it support cyclic transition graphs, where the monotonicity of the heuristic function might need to be checked with respect to a certain ranking function of the cycles. Does the evaluation contain such cases?
- Following on the previous question: the validation in the proposed method uses a DFS, but the paper does not describe how cycles are handled. Have you tried any symbolic approach for verification? For example, encoding both the task and heuristic functions as programs, making the check of the direct property as program specifications.
Limitations
yes
Final justification
The paper proposes an LLM-based heuristic function synthesis technique that leverages verifier feedback. While the LLM-based code generation has been extensively studied, the application to planning domain and their formalization of the foundational theory adds unique values to the technique, and the author agreed to add more discussions to distinguish their position from the existing body of work. Therefore, I keep my score of 4.
Formatting concerns
No major issue
4 comments
Rebuttal 2
W3 (weaker models, other frontier models and novel domains).
Gemma 4 31B. We ran the complete pipeline with Gemma 4 31B to evaluate whether the repair loop also works with a weaker model. The table reports total coverage over the 900 IPC test tasks, with Direct averaged across three independent runs.
| S&S GBFS | Direct HC | |
|---|---|---|
| Total (900) | 463 | 494.7 |
The repair loop converges within the iteration budget in all three runs for six of the ten domains and in at least one run for two additional domains. Only Sokoban and Floortile fail to converge in any run. Our pipeline generates more candidates with Gemma 4 31B than with Gemini 3.1 Pro (6.57 versus 3.37 candidates per run). Because the loop evaluates more candidates, evaluation time increases from 10.75 to 13.6 minutes per domain. Nevertheless, the findings remain similar. The main conclusion is unchanged: property-guided repair with HC solves 494.7 tasks, while sample-and-select with GBFS solves 463.
GPT-5.5. To verify that the results also replicate across frontier-model families, we repeated the complete IPC experiment with GPT-5.5 under the same protocol, including the sample-and-select baseline with 25 candidates per domain.
| S&S GBFS | Direct HC | |
|---|---|---|
| Total (900) | 570 | 594.7 |
Direct again outperforms sample-and-select. The same ranking with Gemma 4 31B, GPT-5.5, and Gemini 3.1 Pro indicates that the benefit comes from property-guided feedback rather than from one particular model.
New Domains. We also evaluated whether the repair loop can synthesize effective heuristics for domains that the LLM cannot have encountered during training. We created three novel domains that have never been made available online, each with 99 training and 90 test tasks, and ran the pipeline with Gemini 3.1 Pro. The repair loop converges in all three runs for all three domains.
| FF GBFS | Direct HC | |
|---|---|---|
| Total (270) | 150 | 202.4 |
On these novel domains, our direct heuristics with HC solve 202.4 tasks, while FF with GBFS solves 150. The direct heuristics do not violate the property in any of their 810 test evaluations. This experiment shows that the repair loop can synthesize heuristics from the domain description and property feedback.
Overall, the weaker Gemma results show that the iterative repair loop does not require a frontier model, while the GPT-5.5 and novel-domain experiments confirm robustness across model families and previously unseen domains. The complete per-domain results for GPT-5.5 and the novel domains, together with descriptions of the new domains, appear in our response to Reviewer HYQy. We will add the complete Gemma 4 31B, GPT-5.5, and novel-domain results to the paper.
Q1 (properties of the state transition systems)
Our evaluation includes several domains with cyclic transition systems. For example, Blocksworld, Sokoban, and Transport all contain reversible actions and cyclic state-transition graphs. Our method does not assume that the underlying state-transition system is acyclic.
The validator follows only strictly improving transitions, from a state to a successor satisfying . Consequently, the subgraph explored by the validation DFS cannot contain a cycle. Such a cycle would require the heuristic value to decrease strictly along every transition and eventually return to its original value, implying . The heuristic itself therefore serves as a ranking function for the explored subgraph. The underlying transition system may still contain cycles involving non-improving transitions, but these transitions are not followed by the validator or by hill climbing. We will clarify this point in Section 3.3.
Q2 (symbolic verification)
We considered it, and it is an attractive direction. However, verifying descent properties is PSPACE-complete even for the restricted class of potential heuristics (Helmert et al. 2022), and our heuristics are unrestricted Python programs, which makes a symbolic encoding substantially more difficult. We therefore use an explicit-state validator that stops at the first violation and returns an actionable counterexample. The limitations section discusses theorem-prover-assisted verification as future work, and recent progress in LLM-based theorem proving makes us optimistic about that direction.
We hope the new timing measurements, weaker-model results, and clarifications on cyclic transition systems and verification address the remaining concerns.
Firstly, I thank the authors for their detailed response, clarifications and additional experimental results.
Here are my follow-up comments:
W1: novelty and related work
While I generally agree that this work is different from those that sample from candidate pools, as the authors pointed out that their technique is not limited to planning, the proposed approach is pretty close to many techniques/evaluations of LLM-assisted code generation that leverages verifier feedbacks (e.g., [1, 2]). Here in this paper, instead of Lean, the verifier is customized and specialized to check the LLM-generated heuristic functions against a domain-specific property. I appreciate the novelty on the application's point-of-view, but I would suggest including some more discussions on related techniques that does "vertical scaling" (i.e., iterative repair based on verifier / validator feedbacks), so that this novelty stands out, not just as an instance of LLM-based program synthesis guided by verifier feedbacks.
W2: synthesis times
Thanks for the additional measurements. The paper would benefit from having (either in main text or appendix) a breakdown of synthesis time (on LLM calling) vs. verification time (induced by the custom verifier), and a figure to demonstrate the scalability of the verifier (e.g., # of states vs verification time). This will help readers better understand whether the proposed technique can be efficiently applied on their tasks.
W3: planning with weaker models
Thanks for the new results. The experiments on weaker models look reasonable.
Q1 & Q2.
Thanks for the clarifications. The paper could make the assumptions/non-assumptions more explicit. Second, symbolic techniques could potentially enable verification of infinite state systems (e.g., via inductive invariants) or scaling up (in terms of expressiveness) the verification via, e.g., abstract interpretation [3]. I recommend including some discussions on that aspect and state the requirements clearly, since the proposed technique, to my understanding, requires a finite state space with a concrete heuristic functions instead of a class of heuristics.
Based on the discussions, I would like to keep my original score. I thank the authors again for the detailed clarifications.
[1] Zhe Ye, , Zhengxu Yan, Jingxuan He, Timothe Kasriel, Kaiyu Yang, Dawn Song. "VERINA: Benchmarking Verifiable Code Generation." (2026).
[2] Zenan Li, , Ziran Yang, Deyuan He, Haoyu Zhao, Andrew Zhao, Shange Tang, Kaiyu Yang, Aarti Gupta, Zhendong Su, Chi Jin. "Goedel-Code-Prover: Hierarchical Proof Search for Open State-of-the-Art Code Verification." (2026).
[3] Cousot, P. (1996). Abstract interpretation. ACM Comput. Surv., 28(2), 324–328.
We thank the reviewer for the constructive feedback and for their positive assessment of the additional results. We will incorporate the suggested discussion and recent papers into the revised paper, including the connection to vertical scaling, the method’s assumptions, and the potential use of symbolic verification. We will also add a breakdown of LLM and validation time and discuss verifier scalability.
- Rating
- 5/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The authors propose leveraging LLMs to extract direct heuristic functions which can help Pyperlan solve automated planning problems. Interestingly, their procedure involves providing counter-examples that can be exploited by the LLM to provide a better heuristic. Their evaluation is conducted considering several classing planning domains, and in particular the benchmark problems released in the IPC 2023 Learning Track. In this benchmark dataset, the training problems are significantly smaller than those in the test set.
Strengths and weaknesses
Strengths: *The paper presents an interesting contribution in an important field, such as the application of LLMs for automated planning. *The experimental evaluation is sound and extensive, and the performance is better than both baseline planning approaches, and a similar LLM-based approach for calculating heuristic functions (S&S by Correa et al.). *The experimental evaluation is conducted exploiting a standard benchmark (the IPC 2023 Learning Track), rather than a custom dataset. Importantly, this benchmark focuses on generalization capabilities, presenting small problems (with a few objects for each problem) in the training set, and bigger problems (with even hundreds of objects) in the test set. *Overall, the paper is clear in presenting both the automated planning and LLM aspects.
Weaknesses: *In their experimental evaluation, the authors consider only one LLM (Gemini 3.1 Pro), which limits the generalizability of the approach and the significance of the results. *Although the IPC 2023 Learning Track focuses on generalization, I think this contribution is not presented adequately in the paper. The authors present significant evidence for highlighting the differences between training and test problems in terms of size, but they do not do the same in terms of structure, simply stating that the problems “may differ significantly from training tasks”. Given the importance of these results, which can highlight how the LLM learns about the domain mechanics and the overall reasoning process, this analysis would be very useful. *Similarly, other problems such as data contamination, obfuscated tasks and evaluating LLMs on domains absent from the training data are relegated to the previous experiments conducted by Correa et al. and Chen et al. Considering that Correa et al. seem to present mostly qualitative results on these subjects, and that the approach by Chen et al. seem quite different (involving Reinforcement Learning, rather than simply generating the heuristic function), I think the authors should expand the discussion and the experimental evaluation on data contamination, obfuscated tasks and novel domains.
Questions
Q1. Why did the authors choose specifically Gemini 3.1 Pro in their experimental evaluation, and not consider other models? Q2. The authors state that their approach is inspired by CEGIS (Counterexample-guided inductive synthesis), from an external point of view other prompt engineering approaches (such as ReAct, or the works in [1], and [2]), perhaps mostly applied in code generation, seem quite similar. Can the authors please highlight their main contribution from this perspective? Q3. Can the authors please provide more information regarding the structural difference between training and test problems in the IPC 2023 Learning Track? Q4. Please answer Weakness 3.
[1] Zhibin Gou, Zhihong Shao, Yeyun Gong, Yelong Shen, Yujiu Yang, Nan Duan, and Weizhu Chen. Critic: Large language models can self-correct with tool-interactive critiquing, ICLR 2024 [2] Xinyun Chen, Maxwell Lin, Nathanael Schärli, and Denny Zhou. Teaching large language models to self-debug, ICLR 2024.
Limitations
yes
Final justification
The additional experiments with GPT-5.5, Gemma 4 31B, and the three novel domains substantially address my concerns about model dependence, structural generalization, and data contamination. The distinction from self-correction methods is also clearer.
My remaining reservation is that applicability beyond planning is still argued rather than empirically demonstrated, so the broader claims should be moderated and the relation to CEGIS and verifier-guided repair clarified.
Formatting concerns
No concerns
4 comments
Rebuttal 1
We thank the reviewer for the careful reading. Below, we report replications with GPT-5.5 and Gemma 4 31B, clarify how property-guided repair differs from existing self-correction methods, describe the structural differences between training and test tasks, and present results on three domains that were never available online.
Q1 (other models).
We selected Gemini 3.1 Pro as a representative frontier model because our research question concerns the effect of property-guided feedback, rather than differences between LLMs. To verify that our conclusions do not depend on this model, we repeated the complete pipeline with GPT-5.5 on all ten IPC domains under the same protocol, including the sample-and-select baseline with 25 candidates per domain. The table reports coverage on the 90 test tasks per domain, with Direct averaged across three independent runs.
| Domain | S&S GBFS | Direct HC |
|---|---|---|
| Blocksworld | 76 | 77.3 |
| Childsnack | 58 | 71.3 |
| Ferry | 67 | 71.7 |
| Floortile | 31 | 30.3 |
| Miconic | 81 | 69.0 |
| Rovers | 32 | 49.7 |
| Satellite | 56 | 56.0 |
| Sokoban | 32 | 28.0 |
| Spanner | 66 | 75.0 |
| Transport | 71 | 66.3 |
| Total (900) | 570 | 594.7 |
With GPT-5.5, Direct with HC solves 594.7 tasks, while sample-and-select with GBFS solves 570. The repair loop generates 3.37 candidates per run on average, compared with the fixed budget of 25 used by sample-and-select. Candidate evaluation takes 28.48 minutes per domain, while the sample-and-select protocol allows up to 206.25 CPU-hours per domain.
We also repeated the complete pipeline with the weaker Gemma 4 31B model. The table reports total coverage over the 900 IPC test tasks, with Direct averaged across three independent runs.
| S&S GBFS | Direct HC | |
|---|---|---|
| Total (900) | 463 | 494.7 |
Direct with HC again outperforms sample-and-select with GBFS. Together, the GPT-5.5 and Gemma 4 31B results reproduce our central finding across a second frontier-model family and a weaker model. The improvement from property-guided repair therefore does not depend on Gemini 3.1 Pro alone. Further details about the Gemma results, including convergence and synthesis cost, appear in our response to Reviewer gJ4E. We will add the complete GPT-5.5 and Gemma 4 31B results, including the ablations and standard deviations to the paper.
Q2 (related work and proposed approach).
ReAct interleaves reasoning with actions and environment observations while solving an individual task at inference time, but it does not synthesize a reusable program. CRITIC iteratively revises model outputs using LLM-generated critiques grounded in external tools. Self-Debugging repairs generated code using model-generated explanations and, when available, unit-test results.
Our contribution focuses on program synthesis, using a formally defined property and its counterexamples to guide LLM program generation and repair. Although our loop shares the iterative structure of these methods, its feedback comes from a validator that checks the target property. When a candidate fails, the validator returns a sound counterexample containing the failing state, its heuristic value, and the values of its successors. This is a direct witness of a property violation, rather than a critique or explanation generated by the LLM. The repaired output is a domain-level heuristic that is reused across all tasks from that domain.
This distinction has two consequences. The validator can stop at the first violation, making failed candidates inexpensive to reject. Moreover, repair targets a structural condition that is sufficient for hill climbing to reach a goal, rather than success on individual executions or unit tests. This property generalizes empirically, with only one of the 2,700 out-of-distribution test evaluations stopping because of a property violation.
More broadly, systems such as AlphaCode, FunSearch, and AlphaEvolve generate many candidate programs and select them using numeric scores. Our results show that, when a synthesis problem admits a checkable property, the verifier can provide structured counterexamples that guide the repair of each candidate instead of only ranking candidates after evaluation. This property-guided interface reduces the number of programs that must be generated and evaluated, and it applies beyond planning whenever property violations produce actionable counterexamples.
We will cite ReAct, CRITIC, and Self-Debugging and clarify these distinctions in the related work section.
Rebuttal 2
Q3 (structural differences).
The test tasks differ from training tasks in size and structure. Figure 3 shows that the main domain parameter often grows by one or two orders of magnitude, but object counts alone do not capture the full difference. The test tasks also contain different initial states, goal configurations, resource assignments, relational structures, maze layouts and sizes, and graph sizes and connectivity patterns. We will add the following per-domain descriptions to the appendix.
- Blocksworld. Different initial and goal tower structures change the depth and interaction of support dependencies.
- Childsnack. Different ratios of allergic children to gluten-free ingredients, together with different tray and table distributions, change how scarce resources must be allocated.
- Ferry. Different distributions of car origins and destinations across locations change the sequence of trips required from the single-capacity ferry.
- Floortile. Different grid dimensions, aspect ratios, and robot placements change painting order and robot interference.
- Miconic. Different overlaps and directions of passenger trips across floors change which passengers can be served together.
- Rovers. Different waypoint graphs, traversability relations, visibility relations, equipment assignments, and communication links change how scientific tasks must be allocated among rovers.
- Satellite. Different instrument-to-satellite and instrument-to-mode capability graphs, together with calibration dependencies, change which satellites and instruments can achieve each image goal.
- Sokoban. Different and substantially larger mazes contain unseen wall layouts, corridors, bottlenecks, dead ends, and box-to-goal configurations.
- Spanner. Different corridor lengths, tool locations, and ratios of spanners to nuts change how many mistakes can be recovered from before reaching the workshop.
- Transport. Different road graphs, package routes, vehicle placements, and capacity distributions change the routing and allocation decisions required to deliver all packages.
The evaluation therefore measures more than extrapolation in object count. The synthesized heuristics must transfer their reasoning about domain mechanics to unseen relational configurations in test tasks. We will make this aspect explicit in the revised paper.
Q4/W3 (novel domains).
To directly test data contamination, we created three domains specifically for this rebuttal and did not make them available online before running the experiments. They therefore could not have appeared in the training data of Gemini 3.1 Pro.
- Cisterns. Water is distributed unevenly across cisterns connected by siphons. Transfers are allowed only under level constraints, and the goal prescribes the final levels of selected cisterns.
- Orrery. Coupled wheels display one of marks, and each action advances one wheel while retreating another. The goal is to return every wheel to its reference mark while respecting the conserved total position.
- Qubit Routing. Logical qubits must be swapped across a hardware connectivity graph so that the operands of each gate become adjacent and the gates can be executed in order.
Each domain contains 99 training and 90 out-of-distribution test tasks. We ran the complete pipeline with Gemini 3.1 Pro, and the repair loop converged in all three runs for all three domains. Since this experiment tests whether the pipeline can synthesize direct heuristics for previously unseen domains, we report FF as a reference point. Direct is averaged across three runs, while FF is deterministic.
| Domain | FF GBFS | Direct HC |
|---|---|---|
| Cisterns (90) | 31 | 26.7 |
| Orrery (90) | 58 | 90.0 |
| Qubit Routing (90) | 61 | 85.7 |
| Total (270) | 150 | 202.4 |
Direct with HC solves 202.4 of the 270 test tasks, while FF with GBFS solves 150. None of the direct heuristics violates the property in any of the 810 test evaluations, and every unsolved run reaches the time limit. Cisterns is a useful boundary case. Although Direct solves slightly fewer tasks than FF, it never stops because of a property violation, showing that computational cost limits coverage in this domain and that the direct property still generalizes to the test set.
We use novel domains instead of obfuscated IPC tasks because they provide a more direct test of contamination. Obfuscation changes names and surface representations while preserving the mechanics of a known domain, which an LLM may still recognize. The novel domains remove the possibility of recalling an existing domain formulation and require the LLM to reason from the new PDDL descriptions and property counterexamples.
We will add the complete results, domain descriptions, and contamination discussion to the paper. We hope the additional-model results, structural analysis, and novel-domain experiments address the reviewer's concerns.
Dear Reviewer HYQy,
We thank you again for your constructive review. Our rebuttal includes new experiments with another frontier model, a weaker model, and three novel domains. As the discussion period approaches its conclusion, we would appreciate knowing whether these results and our clarifications addressed your concerns. If any concern remains, we would be glad to provide further clarification or run feasible additional experiments. If the concerns have been resolved, we kindly ask you to consider updating your score to reflect the additional evidence.
Thank you for the detailed rebuttal. The additional experiments with GPT-5.5, Gemma 4 31B, and the three novel domains substantially address my concerns about model dependence, structural generalization, and data contamination. The distinction from self-correction methods is also clearer.
My remaining reservation is that applicability beyond planning is still argued rather than empirically demonstrated, so the broader claims should be moderated and the relation to CEGIS and verifier-guided repair clarified.
Overall, I consider my concerns sufficiently addressed
- Rating
- 1/6
- Confidence
- 4/5
- Quality
- 1/4
- Clarity
- 2/4
- Significance
- 1/4
- Originality
- 1/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The paper presents an LLM-based heuristic synthesis approach that works under the guidance of a direct property. Case studies with IPC benchmarks demonstrate its effectiveness and efficiency within out-of-distribution settings.
Strengths and weaknesses
Strengths
- Counterexample guided heuristic generation pipeline for solvable cases.
Weakness
- Limited novelty in LLM-based program synthesis, where this work intends to stand. However, it just addresses domain-specific programs that implement heuristics for planning, following a typical feedback paradigm with LLMs in the loop.
- Limited novelty in LLM-based heuristic synthesis, because it assumes only solvable cases, for which direct heuristics exist anyway. Thus, it is not clear how this approach would perform for unsolvable cases, or more generally, for cases with unknown solvability.
- Limited discussions with related work (especially those mentioned in the LLM-based heuristic generation, learning search control, and LLMs for planning parts) either theoretically or empirically.
- Limited ablation studies, e.g., the contribution of wet DDA in comparison with DDA.
- Overclaims or inconsistent claims: a) Lines 239 and 243 suggest this direct approach succeeds "without any search", but the validation subsection shows clearly the use of DFS in this approach; b) Line 348 indicates the synthesized heuristics are harder to interpret and verify, then how the qualitative analysis part interprets and verifies the outcomes for the two domains.
Questions
Additional questions:
- How about the training performance of this approach, in comparison with the baselines?
- Does the baseline [16] have to fix the budget of 25 candidates per domain? If not, the gains in inference and evaluation costs may be overstated.
- Please clarify the settings of both in-distribution and out-of-distribution scenarios, which lay the foundation for the generalizability of the synthesized heuristics.
Limitations
I would agree with the authors on the limitations discussed in this paper.
Final justification
My main concerns remain. The paper tends to overclaim its novelty and advantages, which should not be encouraged. My rating remains unchanged.
Formatting concerns
N/A
7 comments
Rebuttal 1
We thank the reviewer for the careful reading. Below, we clarify the contribution and scope of property-guided synthesis, address the apparent inconsistencies, and report new results with two additional LLMs and three previously unpublished domains.
W1 (relation to existing work).
The reviewer is right that LLM-in-the-loop feedback is common. Our contribution focuses on property-guided LLM program synthesis. The LLM generates an executable heuristic, while a validator checks whether that program satisfies the formally defined direct property. When the property fails, the validator returns a sound counterexample containing the failing state and the heuristic values of its successors, which directly guides the next program repair.
This feedback differs from the numeric scores used by prominent LLM program synthesis systems such as AlphaCode, FunSearch, and AlphaEvolve, and from execution traces or model-generated critiques used by self-repair methods. A numeric score indicates how well a candidate performed, while our counterexample identifies where and how the synthesized program violates its target property. This allows candidate evaluation to stop at the first violation and guides synthesis toward a domain-level heuristic that can be reused across all tasks from that domain.
Planning provides the direct property used in our experiments, but the synthesis loop is not tied to planning or directness. The same procedure applies whenever a synthesis problem admits a checkable property whose violations produce actionable counterexamples. Our ablation isolates this contribution by replacing property feedback with numeric coverage feedback while keeping the repair loop fixed. Under HC, coverage feedback solves 412.3 tasks, while property-guided repair solves 623.3. The improvement therefore comes from the formally defined property and its counterexamples, rather than from LLM-in-the-loop feedback alone.
W2 (existence of a direct heuristic and unsolvable states).
The reviewer is correct that the direct property applies only to solvable tasks. If an unsolvable task were included in the training set, no direct heuristic could exist for that task, and the repair loop could not converge. Our experiments follow the IPC 2023 Learning Track, where all training and test tasks are solvable.
However, the existence of a direct heuristic does not make its synthesis trivial. The perfect heuristic is direct, but computing it is as hard as solving the task itself, and deciding plan existence for PDDL is EXPSPACE-hard. Sokoban provides a concrete example. Since Sokoban is PSPACE-complete, a polynomial-time computable direct heuristic with polynomially bounded values for all Sokoban tasks would allow HC to solve the domain in polynomial time, contradicting standard complexity assumptions. Our goal is therefore to synthesize one compact, domain-level Python program from small training tasks and evaluate how far it generalizes to much larger out-of-distribution tasks.
Moreover, although the benchmark tasks are solvable, domains such as Sokoban, Spanner, and Floortile contain many unsolvable states. A direct heuristic must avoid entering these dead ends along improving paths. Across 2,700 test evaluations, only one run stops because of a property violation. No Sokoban run stops for this reason.
At test time, solvability does not need to be known before running HC. If the task is solvable and the synthesized heuristic remains direct, HC reaches a goal. Finally, the pipeline itself is not tied to the direct property. Property-guided synthesis requires a property that a verifier can check and whose violations produce concrete counterexamples. Handling unsolvable tasks directly would require a different synthesis target, such as sound dead-end detection, which we consider an important direction for future work.
Rebuttal 2
W3 (comparison with existing methods).
We will expand the related work section to make the theoretical differences explicit. Chen et al. focus on generalized policies, while their heuristic experiments follow the sample-and-select protocol of [16], which we compare against directly. Tuisov et al. use hand-written successor-generator code rather than PDDL. The generalized potential heuristics of Francés et al. (2019) are restricted to domains that admit a DDA heuristic in their description-logic feature class, whereas we synthesize unrestricted Python programs through property-guided repair.
Empirically, we compare against sample-and-select [16], the state of the art in LLM-based heuristic generation, using the same model and experimental protocol. We also repeated the complete pipeline with two additional models.
GPT-5.5.
| S&S GBFS | Direct HC | |
|---|---|---|
| Total (900) | 570 | 594.7 |
Gemma 4 31B.
| S&S GBFS | Direct HC | |
|---|---|---|
| Total (900) | 463 | 494.7 |
Direct outperforms sample-and-select with both GPT-5.5 and Gemma 4 31B. With GPT-5.5, the repair loop generates 3.37 candidates per run on average, compared with the fixed budget of 25 used by sample-and-select, and candidate evaluation takes 28.48 minutes per domain, while the sample-and-select protocol allows up to 206.25 CPU-hours per domain. The complete per-domain results and synthesis statistics appear in our responses to Reviewers HYQy and gJ4E.
We also created three domains that were never available online before our experiments and therefore could not have been part of the training data for Gemini 3.1 Pro. Each domain contains 99 training and 90 out-of-distribution test tasks, and the repair loop converges in all three runs for all three domains.
| FF GBFS | Direct HC | |
|---|---|---|
| Total (270) | 150 | 202.4 |
Direct with HC solves 202.4 of the 270 novel-domain test tasks, while FF with GBFS solves 150. This experiment shows that the pipeline can synthesize direct heuristics for previously unseen domains. The complete per-domain results and domain descriptions appear in our response to Reviewer HYQy.
We will add the expanded related-work discussion and the complete GPT-5.5, Gemma 4 31B, and novel-domain results to the paper.
W4 (DDA and ablation).
Full DDA is not a practical alternative for validation. Checking it requires enumerating every alive state, which entails computing full reachability and checking solvability from each state. Moreover, verifying DDA is PSPACE-complete even for potential heuristics (Helmert et al., 2022). The direct property provides a sufficient condition that can be checked by traversing only strictly improving paths.
We perform two ablations, one for each of the two design choices in our method. First, replacing property feedback with coverage feedback while keeping the repair loop fixed isolates the feedback signal. Second, comparing against sample-and-select isolates iterative repair. We will clarify this in the paper.
W5 (DFS and hill climbing).
Both statements are correct because they refer to different phases of the pipeline. During synthesis, the validator uses DFS to check the direct property and produce counterexamples. During evaluation, the planner uses hill climbing and follows a single greedy trajectory to the goal without exploring alternative paths. We agree that the current wording is ambiguous and will replace "without any search" with "without any combinatorial search."
W6 (interpretability and verification).
Both statements are consistent because the limitation is comparative. Unrestricted Python programs are harder to interpret and verify than structured representations such as linear potential heuristics, for which directness can sometimes be proved over an entire domain. The qualitative analysis in Section 5 is exactly the kind of manual effort that motivates this limitation. We will make the sentence explicitly comparative.
Rebuttal 3
Q1 (training performance).
On the training set, our repair loop converged in all 30 Gemini 3.1 Pro runs. Each final heuristic therefore passes the direct-property check on every training task, which also means that HC solves all 99 tasks in its domain. In contrast, sample-and-select chooses the candidate with the highest GBFS coverage and provides no guarantee of solving the complete training set.
Reaching this guarantee also requires few LLM calls. Our loop makes 3.4 LLM calls per run on average, compared with the fixed budget of 25 LLM calls per domain used by sample-and-select. Candidate evaluation takes 10.75 minutes per domain for our loop, while the sample-and-select protocol allows up to 206.25 CPU-hours per domain.
Q2 (comparison with baseline).
Sample-and-select [16] fixes a budget of 25 candidates per domain. Its published protocol independently generates all 25 candidates, evaluates them on the training set, and selects the one with the highest GBFS coverage. Our rerun follows this protocol exactly. In contrast, our repair loop does not generate a fixed number of candidates and stops as soon as one passes the direct-property check, requiring 3.4 LLM calls per run on average. The reported inference and evaluation gains therefore compare our method directly with the published baseline under its original setting.
Q3 (in-distribution and out-of-distribution scenarios).
We follow the IPC 2023 Learning Track split. For each of the ten domains, synthesis and validation use 99 small training tasks, which constitute the in-distribution setting, while final evaluation uses 90 held-out competition test tasks. The LLM and validator receive only the training tasks during synthesis.
The test tasks are out-of-distribution in both size and structure. As Figure 3 shows, the main size parameter often increases by one or two orders of magnitude. The test tasks also contain different initial states, goal configurations, resource assignments, relational structures, maze layouts and sizes, and graph sizes and connectivity patterns.
Sokoban. The test tasks use different and substantially larger mazes, with unseen wall layouts, corridors, bottlenecks, dead ends, and box-to-goal configurations.
Rovers. The test tasks use different waypoint graphs, together with new rover-specific traversability, visibility, equipment, and communication relations.
Transport. The test tasks use different strongly connected road graphs, package routes, vehicle placements, and capacity distributions.
Satellite. The test tasks vary the instrument-to-satellite and instrument-to-mode capability graphs, together with calibration dependencies.
A more detailed description of the structural differences in all ten domains appears in our response to Reviewer HYQy, and we will add it as a per-domain appendix table.
In summary, we address each of the points raised in the review and clarify the contribution and scope of property-guided synthesis. The new results with two additional LLMs and three previously unpublished domains further strengthen our empirical findings. We ask the reviewer to reconsider their assessment in light of these clarifications and results, and we are glad to answer any remaining questions.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Rebuttal 1
We thank the reviewer for the careful reading. Below, we distinguish our synthesis loop from prior verification work, report synthesis times and new results with a weaker LLM, and clarify how validation handles cyclic transition systems and the prospects for symbolic verification.
W1 (related work and proposed approach).
We will cite Lemur and discuss it in the related work section. Lemur combines an LLM with automated reasoners to verify a property of a given program. The LLM proposes or repairs auxiliary invariants, which the automated verifier checks, while the original program remains unchanged.
Our method addresses program synthesis. The LLM generates the executable heuristic and repairs that program in every iteration, guided by a concrete counterexample containing the failing state and the heuristic values of its successors. Our contribution is therefore the use of a formally checked property as actionable feedback for LLM program synthesis.
More broadly, prominent LLM program synthesis systems such as AlphaCode, FunSearch, and AlphaEvolve generate many candidate programs and select them through numeric scores. Property-guided repair provides a different synthesis interface in which a verifier identifies a concrete property violation and uses it to guide the next candidate. Although we demonstrate this approach on planning, the synthesis loop is not tied to planning or directness. It applies whenever a synthesis problem admits a checkable property whose violations produce concrete counterexamples.
W2 (synthesis times).
We measured the wall-clock time from launching the repair loop to obtaining the first heuristic that passes the full training set. Across our Gemini 3.1 Pro runs, this takes 47 minutes on average (median 40), ranging from 9 minutes for the fastest run to 188 minutes for the hardest Sokoban run. The per-domain averages are 13 minutes for Spanner, 20 for Miconic, 27 for Ferry, 29 for Blocksworld, 42 for Satellite, 44 for Rovers, 48 for Childsnack, 50 for Transport, 91 for Floortile, and 108 for Sokoban.
These measurements include LLM latency and therefore depend partly on the model provider. A faster provider could reduce the end-to-end synthesis time without changing our method. When considering only candidate-program evaluation, our repair loop takes 10.75 minutes per domain on average, compared with the 206.25 CPU-hours allowed by the sample-and-select protocol per domain.
For time-sensitive applications, synthesis can be performed offline because we generate and validate one heuristic per domain and reuse it across all future tasks. Once deployed, solving a task requires neither LLM inference nor property validation. Moreover, on tasks solved by both approaches, our direct heuristics expand far fewer states than sample-and-select, sometimes by several orders of magnitude, which generally translates into faster planning. We will add the per-domain synthesis times to the appendix.