acceptodds
Published as a conference paper at NeurIPS 2026

Teacher-Aware Evolution of Heuristic Programs from Learned Optimization Policies

Minyu Chen, Song Qin, Ling-I Wu, Jianxin Xue, Guoqiang Li

Abstract

LLM-based automatic heuristic design has shown promise for generating executable heuristics for combinatorial optimization, but existing methods mainly rely on delayed endpoint performance. We propose a teacher-aware evolutionary framework that uses independently trained learned optimization policies as behavioral teachers. Instead of deploying or imitating the teacher, our method queries it on states visited by candidate heuristic programs and uses its action preferences as local feedback for evolution. The resulting search discovers static executable heuristics guided by both task performance and teacher-derived behavioral signals. Experiments on scheduling, routing, and graph optimization benchmarks show that our method improves over performance-driven LLM heuristic evolution baselines while requiring no neural inference at deployment. These results suggest that learned optimization policies can be repurposed as behavioral feedback sources for automatic heuristic discovery.

Keywords:
Sydney, Main Track

Reviews

Among:
Shape:
123456this paper, Bottom 49%
Figure 1. Mean review rating of the reviewed papers at NeurIPS 2026. This paper averages 4.33 over 3 reviews, above 49% of the others.
Reviewer_ZPrFOpenReview ↗
Rating
4
Clarity
4
Confidence
3
Originality
3
Quality
3
Significance
3
Read review
Summary

The paper proposes a method for automatically designing heuristic programs using a large language model inside an evolutionary search loop. The authors address a main weakness of LLM-based automatic heuristic design, which consists of a delayed evaluation of the results: candidate programs are normally judged only by their final outcome after a full rollout (e.g., total makespan, total tour length), with no information about which specific decisions along the way were good or bad. The paper proposes reusing an independently trained neural policy originally built to solve the same problem, using it as a "teacher" rather than treating it as the solver. For each candidate heuristic program, the authors roll it out, examine the states it visits, and ask the teacher network what it would have done in those same states. The agreement/disagreement between the candidate's choices and the teacher's preferences becomes an additional, fine-grained ("local") feedback signal that is fed to an LLM ("analyzer") to guide three kinds of code revisions (structural rewrite, parameter calibration, mechanism fusion), and is also used as a second objective in a Pareto-style population-management scheme (final performance + teacher agreement). Critically, the final returned program is still selected by real task performance, not by similarity to the teacher; the teacher is a guide during search, not an imitation target. The method is evaluated on four classic combinatorial optimization benchmarks (JSSP, TSP, CVRP, MaxCut) against two LLM-evolution baselines (EoH, ReEvo), classical hand-designed heuristics, and the teacher networks themselves used as direct solvers.

Strengths and weaknesses

The manuscript is very well written and clear in most parts. As for the strengths, the core idea is simple to state, and the method description is easy to follow and consistent: states are sampled on-policy from the candidate's own rollout (not from the teacher's own trajectory), which is the methodologically correct way to expose behavioral mismatches at exactly the same states the candidate actually visits. The choice of "top-1 agreement" as the main alignment signal, rather than a score-calibrated metric, is reasonably justified. I really appreciated the ablation study in which the authors isolate the analyzer, the teacher-guided operators, the Pareto update, and each of the three revision modes individually, and show that removing the teacher signal entirely ("Performance-only") consistently degrades performance on both JSSP and TSP. This is the most direct evidence for the paper's central claim.

In my previous comment I stated that:

"On the other hand, the paper has several weaknesses, indicating that the research needs improvements and a deeper analysis of its results. No error bars, standard deviations, or any statistical significance tests are reported anywhere, despite the results being averaged over only three runs. Several reported improvements are very small in absolute terms (e.g., MaxCut on BA200w: 189.85 vs. 189.76 for EoH; JSSP ablation "w/o Pareto update": +4.09 in-domain). With only three runs and no variance reported, it is impossible to tell whether these differences are meaningful or noise. Runtime comparisons are not always clearly fair. On TSP/CVRP, the proposed method is both lower-quality and slower than the teacher network itself (e.g., TSP50: 6.387/0.28s for "Ours" vs. 5.739/0.10s for LEHD; TSPLIB70: 464.92s vs. 388.81s). The paper does not discuss whether the teacher's reported runtime benefits from GPU batching, whereas the generated heuristic runs sequentially as per-decision Python calls, which would make the comparison less informative about real deployment trade-offs than it appears. The ablation study is run on only two of the four benchmarks (JSSP, TSP); it is unclear whether the same conclusions (e.g., relative importance of the three revision operators) transfer to CVRP and MaxCut. Some ablation results are not internally consistent with the paper's narrative and are not discussed. For example, on JSSP, removing the single "structural rewrite" operator degrades the in-domain result by +125.77, which is worse than removing the entire teacher-feedback mechanism ("Performance-only", +87.64). It is counterintuitive that ablating a single component of the method should have a greater negative effect on the outcome than ablating the entire method, and this result requires an explanation or at least acknowledgment."

The authors have increased the number of experiments and improved the paper from this viewpoint.

Questions

These were my requests in the first version of my review:

1)​ Can the authors report standard deviations or confidence intervals across the three runs for all main tables, considering how small some of the reported gaps are (especially on MaxCut)?

2)​ What hardware/batching setup was used to measure LEHD's and LKH's runtimes in Tables 5–6? Is the generated heuristic evaluated per-decision (sequential Python calls) while LEHD/LKH benefit from GPU batching across the whole instance? If so, how much of the reported runtime gap on TSP/CVRP is attributable to this implementation asymmetry rather than to the algorithm itself?

3)​ Can the authors explain why removing a single revision operator ("w/o structural rewrite") on JSSP hurts more than removing the entire teacher-feedback mechanism ("Performance-only")? This is counterintuitive given the paper's framing, which considers that each component contributes incrementally.

Most of them have been addressed, so I have upgraded my recommendation.

The specific ratings do not change.

Limitations

The paper's own "Limitations" paragraph (Sec. 5) is brief but honest, acknowledging the need for an "alignable" learned teacher, task interface adapters, and analyzer calls. It does not, however, discuss the absence of reporting of statistical significance and the uneven significance of the "lightweight deployment" claim across tasks, and probably the potential unfairness in runtime comparisons against batched neural baselines. I recommend the authors substantially expand this section.

Paper formatting concerns

The NeurIPS checklist itself (Question 7, "Experiment statistical significance") is answered [N/A] with an empty justification, even though the paper's own checklist guidelines (quoted verbatim in the appendix) state that [N/A] is only appropriate when "the paper does not include experiments" — which is not the case here. The paper should have answered "No" (with a frank admission of the limitation) or, ideally, should have addressed it with at least basic variance reporting. No major issues noted regarding formatting, anonymity, or page limits.

Final justification

As stated in my reply to the authors' rebuttal, the additional experiments they carried out have increased my confidence in the soundness and reliability of the results. Considering both its strengthened empirical evidence and its limited novelty, I now believe a Borderline Accept recommendation is the most appropriate.

Reviewer_qo8bOpenReview ↗
Rating
5
Clarity
3
Confidence
3
Originality
3
Quality
3
Significance
3
Read review
Summary

This paper proposes a teacher-aware framework for automatic heuristic design with LLM-based evolutionary search. The key idea is to use an independently trained neural optimization policy as a behavioral teacher during the search for executable heuristic programs. For each candidate heuristic, the method rolls out the heuristic on design instances, samples the states visited by that heuristic, queries the teacher on those states, and computes local behavioral diagnostics such as action agreement, normalized teacher value, and percentile rank. These diagnostics, together with representative agreement and disagreement cases, are passed to an analyzer LLM, which produces revision briefs for improving the heuristic program. The authors introduce three teacher-guided revision modes: structural rewrite, parameter calibration, and mechanism-level fusion. The population is maintained using both task objective and teacher alignment, while the final returned heuristic is selected by task objective rather than by teacher fidelity.

The method is evaluated on JSSP, TSP, CVRP, and MaxCut. Across these benchmarks, the proposed method generally improves over performance-driven LLM heuristic evolution baselines such as EoH-style and ReEvo-style methods. The paper’s main contribution is to show that learned optimization policies can be repurposed as local behavioral feedback sources for discovering static executable heuristics, rather than being used directly as solvers or as imitation targets.

Strengths and weaknesses

Overall, I find this submission to be a positive contribution. The paper is well motivated and proposes a useful way to connect learned neural optimization policies with LLM-based automatic heuristic design.

Strength:

  • The paper addresses an important limitation of current LLM-based heuristic evolution methods: they mostly rely on delayed final objective values, which provide weak guidance about which local decisions were good or bad.
  • The proposed teacher-aware evolution framework is conceptually clear and novel: roll out candidate heuristics, query a learned teacher on candidate-induced states, summarize agreement/disagreement, and use these signals to guide program revision.
  • The proposed method consistently improves over EoH-style and ReEvo-style performance-only heuristic evolution baselines, which supports the claim that teacher-derived feedback is useful.

Weakness:

  • The method assumes access to a learned optimization policy that can provide meaningful preferences over feasible actions. This may limit applicability to new, non-standard, or industrial optimization problems where no teacher policy has been trained.
  • The framework requires the problem-solving process to be expressed as repeated selection from a well-defined feasible action set. This may not naturally cover many important heuristic paradigms, such as Benders decomposition, Lagrangian relaxation, branch-and-cut, or solver warm-start construction.
  • The paper does not sufficiently clarify whether the teacher policies are retrained, reused from public checkpoints, or adapted from existing implementations. It would also be helpful to report the data and compute cost required to obtain the teachers.
  • Since each heuristic visits its own states, two programs may have different alignment scores partly because they induce different state distributions. This makes alignment less directly comparable across candidates during Pareto population management.
Questions
  • Are the teacher policies reused from public checkpoints, retrained by the authors, or adapted from official implementations?
  • How does the method perform with weaker, noisy, mismatched, or partially corrupted teachers?
  • The current benchmarks all have natural action sets: dispatch an operation, choose a next node, choose a customer, or flip a vertex. How would the method apply to heuristics based on decomposition, relaxation-and-rounding, column generation, branch-and-cut, large-neighborhood search, or solver warm-start generation?
Limitations

The authors discuss some limitations, but they should more explicitly address the dependence on available trained teachers, the limited applicability to problems without a natural action-selection interface, and the full cost of teacher training and teacher-aware search.

Paper formatting concerns

No significant issues found

Final justification

The authors addressed my main clarification questions by explaining the provenance and cost of the teacher policies, clarifying that candidate-dependent alignment is an intended on-policy behavioral signal rather than a shared fidelity metric, and discussing how the framework could extend beyond the current action-selection benchmarks. While some scope limitations remain, especially the reliance on an alignable teacher and a well-defined decision interface for non-standard optimization methods, but the response makes these assumptions clearer and the empirical contribution remains solid, so I would be happy to maintain my positive score.

Reviewer_i5EjOpenReview ↗
Rating
4
Clarity
3
Confidence
3
Originality
3
Quality
2
Significance
3
Read review
Summary

This paper proposes a teacher-aware evolution framework for automated algorithm design, which leverages action-level supervision information from a learned policy to facilitate the optimization of sequential algorithm design. Several enhancement mechanisms, including structural rewrite, parameter calibration, and fusion, are designed to improve alignment ability. Experiments on three combinatorial optimization problems show that the proposed method outperforms existing unsupervised methods.

Strengths and weaknesses

Strengths:

  1. The paper is clearly written and easy to follow.
  2. The experiments cover three hard combinatorial optimization problems and demonstrate notable improvements over existing unsupervised methods.

Weaknesses:

  1. The motivation for introducing the teacher policy is unclear. If a strong policy has already been designed or trained, why is an evolved program still needed to solve the same problem? As evidence, the experiments on routing and MaxCut show that the proposed teacher-aware evolution method lags behind the teacher in both effectiveness and efficiency. The improvements over unsupervised methods are less compelling unless the imitated teacher can ultimately be surpassed.
  2. The scope of targeted heuristics is too narrow, as only sequential heuristics are considered in this paper. Other algorithmic paradigms, such as iterative local search and evolutionary algorithms, cannot be imitated by the proposed method, at least in its current form.
  3. The experiments lack an imitation-only baseline. As discussed in the Related Work section, some policy distillation methods could serve as suitable baselines for experimental comparison.
Questions

If the teacher policy is non-sequential or even black-box, can the proposed method still be useful by leveraging only the output solutions to improve the evolution framework?

Limitations

yes

Paper formatting concerns

N/A

Final justification

I am now convinced that the method has a broad application scope and that the teacher-aware formulation is valuable for certain problems.

Comments on the paper

1 comment
Meta-review

The key contributions of the paper are (a) a teacher-aware framework for automatic heuristic design using large language models and (b) a behavioral feedback mechanism based on learned optimization policies. The proposed approach queries a learned policy during heuristic generation to provide local guidance for the evolutionary search. This allows the framework to generate heuristics that are optimized using both task performance and teacher-derived behavioral signals. The paper provides computational experiments on scheduling, routing, and graph optimization benchmarks.

The reports are generally mixed. On one hand, there is a consensus that the teacher-based framework is innovative and well motivated, a view that I also share based on my own reading. The paper is also clearly written and easy to follow. There are, however, several important concerns that lead to the current more negative rating of the paper:

(a) Reviewers i5Ej and ZPrF correctly note that the proposed approach produces lower-quality solutions than the teacher policy on several instances, or the gains over existing heuristic-generation baselines are sometimes relatively modest. Moreover, the number of teacher policies that can be incorporated into the framework may be limited. I believe these trade-offs are not discussed in sufficient detail. For example, the proposed approach appears to offer substantially better times than the teacher policy in some cases but not others, and it would be helpful to more clearly characterize the settings in which this trade-off is most advantageous.

(b) Reviewer qo8b also raises several concerns regarding the ablation studies and the statistical significance of the reported results. In particular, I share the view that three replications per parameterization are insufficient to capture performance variability. The discussion surrounding the "structural rewrite" sensitivity analysis is somewhat difficult to interpret and would benefit from further clarification.

(c) Finally, several technical aspects highlighted throughout the reviews, such as teacher retraining and alignment, are relatively minor but nevertheless deserve additional discussion and clarification.

Given these concerns, the paper is currently leaning toward rejection, as there is a perception that the empirical evaluation is still somewhat preliminary. Nonetheless, the underlying idea is interesting and well motivated. I would invite the authors to write a rebuttal to approach these questions and concerns, which would be quite helpful for our discussion.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Related papers

Loading the map…

Discussion (0)

Sign in to comment.