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

EPOCH: Coverage-Aware Evolution with Experiential Preference Optimization for LLM-based Automated Heuristic Design

Oguzhan Gungordu, Ayse Tursucular, Siheng Xiong, Faramarz FekriarXiv 2026

TL;DR

EPOCH is a new framework for automated heuristic design that moves beyond simple "average performance" by making an LLM-based generator aware of how well it covers specific problem instances. By combining evolutionary search with a novel Reflective Self-Distillation (RSD) objective, EPOCH fine-tunes the generator to internalize natural-language critiques, ultimately producing ensembles of specialized "expert" heuristics that significantly outperform existing state-of-the-art methods.

What Problem Does This Paper Address?

Combinatorial Optimization Problems (COPs)—like routing delivery trucks or packing bins—are notoriously difficult (NP-hard). Traditionally, experts hand-design "heuristics" (rules of thumb) to find good solutions quickly. Recently, researchers have used Large Language Models (LLMs) to automate this design process (Automated Heuristic Design, or AHD).

However, existing LLM-based AHD methods have two major flaws:

  1. Scalar Bottleneck: They usually rank heuristics based on a single average score. This hides the fact that one heuristic might be great for small problems but terrible for large ones. It drives the search toward a "jack of all trades, master of none."
  2. Prompt-Only Reflection: While some methods use LLMs to "reflect" on why a piece of code failed, this feedback usually stays in the prompt. It never actually updates the model's underlying weights, meaning the model doesn't "learn" from its mistakes over the long term.

Methods

EPOCH (Experiential Preference Optimization for Coverage-aware Heuristic Design) introduces a two-pronged solution:

1. Coverage-Aware Evolution

Instead of a single fitness score, EPOCH represents every heuristic by a per-instance gap vector. This vector tracks how far the heuristic is from the optimal solution for every single instance in the training set.

  • Expert-Aware Selection: The system specifically picks "parent" heuristics that are "experts" (uniquely best) on certain instances to create new offspring.
  • Adaptive Bandit: It uses a multi-armed bandit to favor evolutionary operators (like "Crossover" or "Refine") that actually improve the overall coverage of the training set.

2. Experiential Preference Optimization & RSD

EPOCH fine-tunes the generator during the search using a teacher-student setup.

  • Reflective Rollout: For a given prompt, the generator produces a first round of heuristics. A "teacher" LLM critiques these, providing a natural-language insight. The generator then tries again using that insight.
  • Reflective Self-Distillation (RSD): This is the "secret sauce." Standard Direct Preference Optimization (DPO) just teaches the model to rank the "hinted" version higher than the "unhinted" one. RSD adds a loss term that forces the model to increase the probability of generating the better, "hinted" solution without needing the hint. This internalizes the teacher's wisdom directly into the generator's weights.
Figure 1: Overview of EPOCH, illustrating one training iteration. (1) Heuristics are represented by per-instance gap vectors, whose minima define expert heuristics and the coverage gap ρ(P). (2) These drive parent selection, operator allocation, and coverage-aware population management. (3) The policy πθ samples rollouts from the operator prompt q, the teacher πT returns an insight z on the best and worst valid ones, and πθ regenerates from q ⊕z. (4) Responses form within-batch and cross-round preference pairs; periodic DPO bursts add an RSD term internalizing the hint-guided improvement into the unhinted policy.

Datasets

The authors evaluated EPOCH on three classic COPs:

  • Traveling Salesman Problem (TSP): Finding the shortest route through a set of cities.
  • Online Bin Packing (OBP): Packing items of different sizes into the fewest possible bins as they arrive.
  • 0-1 Knapsack Problem (KP): Selecting the most valuable items to fit in a weight-limited bag.

Testing included both In-Distribution (ID) instances (same size as training) and Out-of-Distribution (OOD) instances (much larger scales) to test generalization.

Key Insights and Ideas

  • Ensembles > Single Heuristics: Because no single heuristic is best for every instance, EPOCH focuses on building a "portfolio" of experts. This approach yields much lower error rates than trying to find one perfect algorithm.
  • Internalizing Reflection is Key: The paper demonstrates that without RSD, the model learns to rank good code but doesn't necessarily get better at generating it from scratch. RSD bridges this gap.
  • Robustness to "Weak Seeds": Unlike other fine-tuning methods that fail if they start with a bad initial heuristic, EPOCH's coverage-aware mechanisms allow it to recover and find strong solutions even from uninformative starting points.
Motivation for RSD: showing how plain DPO fails to raise the probability of winners, while RSD successfully internalizes gains.

Key Results

EPOCH outperformed all major baselines, including both frozen LLMs (like ReEvo and EoH-S) and fine-tuned ones (like CALM).

  • TSP: EPOCH's top-10 ensemble reduced the optimality gap by 38–40% compared to the strongest fine-tuned baseline (CALM) and outperformed GPT-4o-mini-based methods despite using much smaller open-source models (Llama-3.1-8B and Qwen2.5-7B).
  • OBP: The top-4 ensemble achieved an average gap 44–55% lower than CALM.
  • Generalization: The heuristics discovered on small problems (e.g., TSP with 50 cities) generalized remarkably well to much larger problems (up to 200 cities).

Limitations and Future Work

  • Generator-Only Tuning: Currently, only the generator is fine-tuned. The "teacher" LLM remains fixed. Future work could involve co-training both models.
  • Framework Scope: The study focused on "step-by-step construction" frameworks. The authors suggest that extending EPOCH to "solver-driven" frameworks (like Ant Colony Optimization) is a promising next step.
  • Computational Cost: While more efficient than some tree-search methods, fine-tuning an LLM during an evolutionary search still requires significant GPU resources (the authors used two NVIDIA RTX 6000 Ada GPUs).

Summary updated

BibTeX
@misc{gungordu2026epoch,
  author = {Oguzhan Gungordu and Ayse Tursucular and Siheng Xiong and Faramarz Fekri},
  title = {{EPOCH: Coverage-Aware Evolution with Experiential Preference Optimization for LLM-based Automated Heuristic Design}},
  year = {2026},
  eprint = {2610.17379},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2610.17379},
}
Figure