Reproduce “HeuriGym: An Agentic Benchmark for LLM-Crafted Heuristics in Combinatorial Optimization” on OpenResearch

Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Hongzheng Chen, Yingheng Wang, Yaohui Cai, Hins Hu, Jiajie Li, Shirley Huang, Chenhui Deng, Rongjian Liang and 5 more

HeuriGym introduces an agentic benchmark to evaluate Large Language Models (LLMs) on complex combinatorial optimization problems by having them iteratively generate and refine heuristic algorithms. This framework reveals a substantial performance disparity, with even top LLMs achieving only approximately 60% the effectiveness of expert-crafted solutions.

Key insights

  • LLMs demonstrate improved solution quality and pass rates through iterative refinement using execution feedback, with `SOLVE_III` rates for some models increasing significantly over multiple rounds.
  • A substantial 'reality gap' persists between LLM-generated heuristics and expert solutions, with top models achieving only about 60% QYI, indicating limitations in generating high-quality algorithms.
  • Common failure modes, such as hallucinated APIs, incorrect algorithmic logic, and constraint misunderstandings, highlight weaknesses in LLMs' tool-augmented reasoning and strict instruction following capabilities.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.