Skip to main content
QUICK REVIEW

[論文レビュー] In-the-loop Hyper-Parameter Optimization for LLM-Based Automated Design of Heuristics

Niki van Stein, Diederick Vermetten|arXiv (Cornell University)|Oct 7, 2024
Real-time simulation and control systemsEngineering被引用数 3
ひとこと要約

本論文では、LLaMEA LLMベースの進化的アルゴリズムとSMACベースのハイパーパramータ最適化(HPO)を統合したハイブリッドフレームワーク、LLaMEA-HPOを提案する。HPO手順にハイパーパramータチューニングをオフロードすることで、LLMは新しいアルゴリズム的構造の生成に集中でき、オンラインバインディングパッキング、ブラックボックス最適化、TSPベンチマークにおいて、顕著に少ないLLMクエリ数と低い計算コストで最先端のパフォーマンスを達成した。

ABSTRACT

Large Language Models (LLMs) have shown great potential in automatically generating and optimizing (meta)heuristics, making them valuable tools in heuristic optimization tasks. However, LLMs are generally inefficient when it comes to fine-tuning hyper-parameters of the generated algorithms, often requiring excessive queries that lead to high computational and financial costs. This paper presents a novel hybrid approach, LLaMEA-HPO, which integrates the open source LLaMEA (Large Language Model Evolutionary Algorithm) framework with a Hyper-Parameter Optimization (HPO) procedure in the loop. By offloading hyper-parameter tuning to an HPO procedure, the LLaMEA-HPO framework allows the LLM to focus on generating novel algorithmic structures, reducing the number of required LLM queries and improving the overall efficiency of the optimization process. We empirically validate the proposed hybrid framework on benchmark problems, including Online Bin Packing, Black-Box Optimization, and the Traveling Salesperson Problem. Our results demonstrate that LLaMEA-HPO achieves superior or comparable performance compared to existing LLM-driven frameworks while significantly reducing computational costs. This work highlights the importance of separating algorithmic innovation and structural code search from parameter tuning in LLM-driven code optimization and offers a scalable approach to improve the efficiency and effectiveness of LLM-based code generation.

研究の動機と目的

  • LLMを用いた自動ヒューリスティック設計におけるハイパーパramータチューニングの高い計算コストと財務的コストを低減すること。
  • アルゴリズム的イノベーションと数値的パramータチューニングを分離することで、LLM駆動の進化的コード最適化の効率を向上させること。
  • 標準ベンチマーク問題において、LLaMEAとSMACベースのHPOを組み合わせたハイブリッドフレームワークの妥当性を検証すること。
  • LLMがハイパーパramータの微調整よりも新しいアルゴリズム的構造の生成に優れていることを実証すること。
  • 計算的に高価な最適化ドメインにおけるLLMベースのコード生成にスケーラブルで費用対効果の高いフレームワークを提供すること。

提案手法

  • オープンソースのLLaMEAフレームワークとSMAC3を統合し、自動ハイパーパramータ最適化を実装する。
  • LLMから数値的ハイパーパramータチューニングをオフロードし、LLMがアルゴリズム的構造や制御フローの生成に集中できるようにする。
  • 島モデルを用いた進化的アルゴリズムにより、探索空間における多様性を維持する。
  • SMAC3を用いて生成されたヒューリスティクスのハイパーパラメータ空間を効率的に探索し、繰り返しのLLMクエリの必要性を低減する。
  • オンラインバインディングパッキング、ブラックボックス最適化、TSPを含むベンチマーク問題に、このハイブリッドフレームワークを適用する。
  • 複数の問題インスタンスにおいて、ウィルコクソン符号順位検定と解の品質指標を用いてパフォーマンスを評価する。
Figure 1. The summary of the proposed LLM driven algorithm design with Hyper-parameter optimization framework LLaMEA-HPO. Marked in violet are the components related to HPO.
Figure 1. The summary of the proposed LLM driven algorithm design with Hyper-parameter optimization framework LLaMEA-HPO. Marked in violet are the components related to HPO.

実験結果

リサーチクエスチョン

  • RQ1LLMから専用のHPO手順にハイパーパラメータチューニングをオフロードすることで、LLMドリブンのヒューリスティック生成における計算コストと財務的コストを低減できるか?
  • RQ2アルゴリズム的イノベーションとパramータチューニングを分離することで、LLMベースの進化的最適化における収束性と解の品質が向上するか?
  • RQ3LLaMEA-HPOは、EoHのような既存のLLMドリブンフレームワークと比較して、解の品質とクエリ効率の面で優れているか?
  • RQ4ハイブリッドアプローチは、多様な最適化問題において、解の多様性とパフォーマンスを維持または向上させることができるか?
  • RQ5このフレームワークは、最小限の再設定で、他の計算的に高価な最適化ドメインへ一般化可能か?

主な発見

  • LLaMEA-HPOは、ベンチマーク問題における解の品質を維持または向上させつつ、ハイパーパラメータチューニングに必要なLLMクエリ数を顕著に削減した。
  • LLaMEA-HPOは、既存のLLMドリブンアプローチと比較して、オンラインバインディングパッキング、ブラックボックス最適化、TSPベンチマークで優れたまたは同等のパフォーマンスを達成した。
  • TSP問題では、26インスタンス中14インスタンスで平均相対ギャップが0.000を記録し、ほぼ最適解に近い結果を示した。
  • ウィルコクソン符号順位検定では、すべてのベンチマークにおいてLLaMEA-HPOの平均ランクが4.918であった。これは、ベースラインと比較して優れた統計的パフォーマンスを示している。
  • 特に高次元のハイパーパラメータ空間において、冗長なLLMインタラクションを最小限に抑えることで、計算オーバーヘッドを低減した。
  • 結果から、LLMがハイパーパラメータの数値最適化よりも新しいアルゴリズム的構造の生成に優れていることが確認され、タスクの分離が有効であることが裏付けられた。
Figure 2. Convergence curves (lower is better) of the LLaMEA-HPO algorithm and the EoH algorithm on Online Bin Packing Problems (BP). Individual runs are denoted by dotted lines, the average convergence by a solid line and the standard deviation by the shaded area. The left plot shows the convergenc
Figure 2. Convergence curves (lower is better) of the LLaMEA-HPO algorithm and the EoH algorithm on Online Bin Packing Problems (BP). Individual runs are denoted by dotted lines, the average convergence by a solid line and the standard deviation by the shaded area. The left plot shows the convergenc

この論文を読む

Nubintのビューアで原文を開き、読みながら気になる箇所をすぐに質問できます。

Nubintでこの論文を読む

このレビューはAIが論文の原文をもとに作成しました。引用する前に原文をご確認ください。