arXiv:2509.09707cs.NEcs.AI2025-09被引 1

用大模型为特定问题生成搜索引导,提升遗传算法求解效率。

LLM-Based Instance-Driven Heuristic Bias In the Context of a Biased Random Key Genetic Algorithm

  • 通过人机协作设计实例相关度量,让大模型生成定制化搜索指引。
  • 在1050个复杂实例上测试,最优混合模型显著优于基线算法。
  • 适合研究智能优化、大模型应用的科研人员和工程师参考。

将大语言模型(LLMs)融入元启发式算法,为解决复杂的组合优化问题开辟了新路径。现有方法多利用大模型生成代码以创建或改进特定启发式策略,但常忽视单个问题实例的结构特性。本文提出一种新框架,将大模型与有偏随机键遗传算法(BRKGA)结合,用于求解NP难的最长连续子序列问题。该方法扩展了实例驱动的启发式偏差范式,引入人-大模型协同流程,共同设计并实现一组计算高效的度量指标。大模型分析这些实例特异性指标,生成定制化的启发式偏差,引导BRKGA向搜索空间中更有希望的区域推进。我们进行了全面实验评估,包括严格的统计检验、收敛性与行为分析以及针对性消融研究,对比了所提方法与标准BRKGA基线在1050个不同复杂度生成实例上的表现。结果表明,最优混合模型BRKGA+Llama-4-Maverick在最复杂实例上相较基线取得统计显著提升。研究证实,利用大模型生成先验的、实例驱动的启发式偏差,是增强复杂优化领域元启发式算法的有效途径。

原文摘要 · Abstract (English)

Integrating Large Language Models (LLMs) within metaheuristics opens a novel path for solving complex combinatorial optimization problems. While most existing approaches leverage LLMs for code generation to create or refine specific heuristics, they often overlook the structural properties of individual problem instances. In this work, we introduce a novel framework that integrates LLMs with a Biased Random-Key Genetic Algorithm (BRKGA) to solve the NP-hard Longest Run Subsequence problem. Our approach extends the instance-driven heuristic bias paradigm by introducing a human-LLM collaborative process to co-design and implement a set of computationally efficient metrics. The LLM analyzes these instance-specific metrics to generate a tailored heuristic bias, which steers the BRKGA toward promising areas of the search space. We conduct a comprehensive experimental evaluation, including rigorous statistical tests, convergence and behavioral analyses, and targeted ablation studies, comparing our method against a standard BRKGA baseline across 1,050 generated instances of varying complexity. Results show that our top-performing hybrid, BRKGA+Llama-4-Maverick, achieves statistically significant improvements over the baseline, particularly on the most complex instances. Our findings confirm that leveraging an LLM to produce an a priori, instance-driven heuristic bias is a valuable approach for enhancing metaheuristics in complex optimization domains.

大模型优化算法遗传算法实例驱动

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。