ArXiv TLDR

AHD Agent: Agentic Reinforcement Learning for Automatic Heuristic Design

🐦 Tweet
2605.08756

Haoze Lv, Ning Lu, Ziang Zhou, Shengcai Liu

cs.AIcs.NE

TLDR

AHD Agent introduces an agentic RL framework enabling LLMs to proactively design heuristics for combinatorial optimization, outperforming larger models with fewer evaluations.

Key contributions

  • Proposes AHD Agent, a tool-integrated, multi-turn framework for active heuristic design.
  • Empowers LLMs to dynamically decide between generating heuristics or using tools for evidence.
  • Utilizes an agentic RL system with a novel environment synthesis pipeline for generalizable AHD.
  • A 4B-parameter agent matches or surpasses larger SOTA models with significantly fewer evaluations.

Why it matters

This paper addresses the limitations of passive LLM-based heuristic design by introducing an active, agentic approach. It demonstrates that smaller models can achieve superior performance and efficiency in solving complex combinatorial optimization problems. This marks a significant step towards truly autonomous and generalizable heuristic discovery.

Original Abstract

Automatic heuristic design (AHD) has emerged as a promising paradigm for solving NP-hard combinatorial optimization problems (COPs). Recent works show that large language models (LLMs), when integrated into well-designed frameworks (i.e., LLM-AHD), can autonomously discover high-performing heuristics. However, existing LLM-AHD frameworks typically treat LLMs as passive generators within fixed workflows, where the model generates heuristics from manually designed, limited context. Such context may fail to capture state-dependent information (e.g., specific failure modes), leading to inefficient trial-and-error exploration. To overcome these limitations, we propose AHD Agent, a novel tool-integrated, multi-turn framework that empowers LLMs to proactively decide whether to generate heuristics or invoke tools to retrieve targeted evidence from the solving environment. To effectively train such a dynamic decision-making agent, we introduce an agentic reinforcement learning (RL) system, which leverages a novel environment synthesis pipeline to optimize a compact model's generalizable AHD capabilities. Experiments across eight diverse domains, including four held-out tasks, demonstrate that our 4B-parameter agent matches or surpasses state-of-the-art baselines using much larger models, while requiring significantly fewer evaluations. Model and inference scaling analysis further reveals that AHD Agent offers an effective trajectory toward truly autonomous heuristic design.

📬 Weekly AI Paper Digest

Get the top 10 AI/ML arXiv papers from the week — summarized, scored, and delivered to your inbox every Monday.