Ballad:基于 Bandit 的 LLM 路由用于自动化启发式发现
Ballad: Bandit-Based LLM Routing for Automated Heuristic Discovery
AI 导读
arXiv 论文提出 Ballad,一种在线 bandit 算法,用 LLM 路由策略为自动化启发式发现(AHD)动态编排多个 LLM 组成集成。研究发现更大更贵的模型在多个 NP-hard 组合优化问题上并无一致优势;在 5 个问题、4 个模型池中,Ballad 匹配甚至超越任何单个模型,相比始终使用最强模型最多降低 65.6% 的 API 成本。
正文 · 原文
Abstract:Modern automated heuristic discovery (AHD) systems increasingly rival hand-crafted heuristics by leveraging Large Language Models (LLMs) to iteratively mutate and refine solutions. A natural assumption is that more powerful and more expensive models consistently yield better heuristics. We challenge this empirically: across multiple NP-hard combinatorial optimization problems, we find no consistent advantage for larger, costlier models. This raises a deeper question: given a pool of LLMs spanning frontier and freely hosted or open-weight models, how should one adaptively select which model to invoke at each step of the search? The challenge is non-trivial. The optimal LLM may shift over the course of a run, and because one LLM's output seeds the context for subsequent calls, each model's reward signal is non-stationary and entangled across the heuristic population, thus violating the independence assumptions of classical online decision-making settings. We address this through Ballad (Bandit-based LLM Routing for Automated Heuristic Discovery), an online bandit algorithm that learns to orchestrate a pool of LLMs into an ensemble that matches or exceeds what any soloist LLM achieves alone. This orchestration is powered by an LLM selection policy that favors rare, high-scoring heuristics over stable averages, a DAG-based credit propagation mechanism through the genealogy of the heuristic population, and discounting of stale observations to remain attuned to each model's current utility. Across five NP-hard combinatorial optimization problems and a pool of four models of varying capability and cost, Ballad not only matches the best individual LLM in hindsight but, in several cases, surpasses every individual model while reducing API cost by up to 65.6% relative to always using the strongest model.
| Subjects: | Artificial Intelligence (cs.AI) |
| Cite as: | arXiv:2611.17241 [cs.AI] |
| (or arXiv:2611.17241v1 [cs.AI] for this version) | |
| https://doi.org/10.48550/arXiv.2611.17241 arXiv-issued DOI via DataCite (pending registration) |
Submission history
From: Samidha Verma [view email]
[v1]
Thu, 12 Nov 2026 18:28:08 UTC (484 KB)
来源:arXiv cs.AI · arxiv.org