Large Language Model-Enhanced Algorithm Selection: Towards Comprehensive Algorithm Representation

Xingyu Wu, Yan Zhong, Jibin Wu, Bingbing Jiang, Kay Chen Tan
11/22/2023
cs.LGcs.CL

No official code found. Best implementation: wuxingyu-ai/AS-LLM (6 stars, last commit 2024-04-28).

Abstract

Algorithm selection, a critical process of automated machine learning, aims to identify the most suitable algorithm for solving a specific problem prior to execution. Mainstream algorithm selection techniques heavily rely on problem features, while the role of algorithm features remains largely unexplored. Due to the intrinsic complexity of algorithms, effective methods for universally extracting algorithm information are lacking. This paper takes a significant step towards bridging this gap by introducing Large Language Models (LLMs) into algorithm selection for the first time. By comprehending the code text, LLM not only captures the structural and semantic aspects of the algorithm, but also demonstrates contextual awareness and library function understanding. The high-dimensional algorithm representation extracted by LLM, after undergoing a feature selection module, is combined with the problem representation and passed to the similarity calculation module. The selected algorithm is determined by the matching degree between a given problem and different algorithms. Extensive experiments validate the performance superiority of the proposed model and the efficacy of each key module. Furthermore, we present a theoretical upper bound on model complexity, showcasing the influence of algorithm representation and feature selection modules. This provides valuable theoretical guidance for the practical implementation of our method.

View on arXivView PDF

Code Implementations(1)

wuxingyu-ai/AS-LLMCommunity100%

Large Language Model-Enhanced Algorithm Selection

60Apr 28, 20242 years ago

Similar Papers

Cite this paper

@article{wu2023large,
  title  = {Large Language Model-Enhanced Algorithm Selection: Towards Comprehensive Algorithm Representation},
  author = {Xingyu Wu and Yan Zhong and Jibin Wu and Bingbing Jiang and Kay Chen Tan},
  year   = {2023},
  eprint = {2311.13184},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2311.13184v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2311.13184.svg)](https://codeofpaper.com/paper/2311.13184)

Discussion