NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Guiding Large Language Models with Genetic Programming-Evolved Heuristic Knowledge for Dynamic Multi-Mode Project Scheduling

Yuan Tian, Yi Mei, Mengjie ZhangarXiv 2026

TL;DR

While most hybrid AI research uses Large Language Models (LLMs) to optimize evolutionary algorithms, this paper flips the script. By extracting symbolic heuristic knowledge from Genetic Programming (GP) and injecting it into an LLM, the authors create a highly stable, token-efficient, and high-performing online project scheduler that can explain its decisions in plain English.

What Problem Does This Paper Address?

Managing complex projects dynamically is a logistical nightmare. In the Dynamic Multi-Mode Resource-Constrained Project Scheduling Problem (DM-RCPSP), activities have multiple execution modes (e.g., fast but resource-heavy vs. slow and lean), compete for limited resources, and have highly uncertain durations. Decisions must be made on the fly as the project unfolds.

Traditionally, engineers use Genetic Programming (GP) to automatically evolve mathematical "priority rules" that rank which task to do next. While GP rules are lightning-fast and effective, they are rigid mathematical expressions that lack context-awareness and cannot explain why a decision was made.

On the other hand, LLMs are fantastic at contextual reasoning and generating human-readable rationales. However, if you throw an unguided LLM into a zero-shot scheduling task, it struggles with the math, hallucinates inconsistent choices, and burns through a massive, costly number of tokens. The authors bridge this gap by using offline GP to teach the online LLM how to schedule effectively.

Methods

The authors introduce a GP-to-LLM knowledge transfer framework. Instead of using the LLM during the evolutionary loop, GP training is completed first. High-quality rules are collected into an elite repository, and knowledge is extracted at two distinct levels of abstraction to guide an online LLM decision-maker (deepseek-v4-flash):

Fig. 3. Overview of the heuristic-guided LLM decision-making framework for dynamic multi-mode project scheduling.

1. Feature-Level Guidance

The framework analyzes top-performing GP rules to see which scheduling features (e.g., Slack, Latest Finish Time) they use most frequently. This knowledge is applied in two ways:

  • Feature Selection: The prompt is strictly pruned to only include the top features identified by GP, removing distracting information.
  • Feature Hint: The LLM receives all features but gets an explicit text hint pointing out which ones are critical.

2. Rule-Level Guidance

A compact, high-quality symbolic mathematical rule is selected from the GP repository and embedded directly into the LLM's prompt:

  • Rule Reference (Advisory): The LLM is given the rule as a "soft" recommendation but can deviate if other contextual factors look stronger.
  • Rule Follow (Prescriptive): The LLM is explicitly instructed to calculate priorities using the GP formula and pick the mathematically optimal candidate.

Datasets

The framework was evaluated on synthetic dynamic multi-mode project scheduling instances.

  • Scale: Each project instance contained 30 activities, with each activity having 3 alternative execution modes.
  • Complexity Scenarios: The instances were categorized by Order Strength (OS)—0.75 (highly constrained, fewer choices), 0.50 (medium), and 0.25 (low constraints, massive candidate tables).
  • Setup: GP was trained 30 times per scenario. The LLM variants were tested across 5 distinct test instances per scenario, with each instance run 10 independent times to evaluate decision stability under identical conditions.

Key Insights and Ideas

  • Information Restriction Beats Attention Guidance: Simply telling the LLM what to look at (Feature Hint) yielded inconsistent performance gains. However, physically hiding irrelevant features (Feature Selection) forced the LLM to focus, drastically improving scheduling quality while slashing token costs.
  • LLMs Can Reconstruct Missing Concepts: In Feature Selection tests where the explicit "Slack" feature was deleted from the prompt, the LLM frequently still mentioned "slack" or flexibility in its text rationales. It successfully reconstructed the concept implicitly by combining remaining temporal features like Latest Finish Time (LFT) and Earliest Finish Time (EFT).
  • The Thinking Token Trade-Off: Forcing the LLM to strictly compute mathematical rules (Rule Follow) yields excellent schedules but causes a massive spike in "thinking tokens" as the model reasons through the math step-by-step.

Key Results

The experiments compared an unguided Basic LLM against the four guided variants and the standalone GP Rule:

  • Scheduling Performance: Feature Selection, Rule Reference, and Rule Follow all significantly outperformed the unguided baseline. Rule Follow dominated in highly constrained scenarios, matching the pure GP rule's efficiency.
  • Token Efficiency: Feature Selection emerged as the clear winner for efficiency, achieving a lower project makespan than the baseline while consuming the fewest total tokens.

Token–makespan trade-off across different LLM strategies (See Figure 5 in the paper for the explicit token-makespan Pareto frontier).

Fig. 3. Overview of the heuristic-guided LLM decision-making framework for dynamic multi-mode project scheduling.
  • Decision Stability: Unguided LLMs often pick different tasks when asked the exact same question repeatedly. Injecting GP knowledge significantly reduced prompt entropy, making the LLM's choices highly stable and reliable.

Limitations and Future Work

While a powerful proof of concept, the paper notes a few areas for improvement:

  1. Static Rule Selection: The framework currently selects a single compact GP rule offline. Real-world deployment would benefit from dynamically selecting different GP rules from the repository depending on the shifting state of the project.
  2. Scalability to Large Projects: For projects with hundreds of activities, the candidate table would exceed the LLM's context window or become too expensive to process. The authors suggest a multi-stage candidate filtering approach for future iterations.
  3. Model Dependency: The study relies entirely on deepseek-v4-flash; how these guidance mechanisms perform across other open-source or proprietary LLMs remains an open question.

Summary updated

BibTeX
@misc{tian2026guiding,
  author = {Yuan Tian and Yi Mei and Mengjie Zhang},
  title = {{Guiding Large Language Models with Genetic Programming-Evolved Heuristic Knowledge for Dynamic Multi-Mode Project Scheduling}},
  year = {2026},
  eprint = {2607.27698},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2607.27698},
}
Figure