arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2311.13184cs.LGcs.CL
收藏

大语言模型增强的算法选择:迈向全面的算法表征

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

The Hong Kong Polytechnic University(香港理工大学);Peking University(北京大学);Hangzhou Normal University(杭州师范大学)

Xingyu Wu, Yan Zhong, Jibin Wu, Bingbing Jiang, Kay Chen Tan

AI总结:

针对现有算法选择技术对算法特征利用不足的问题,本文首次引入大语言模型提取算法表征,结合特征选择与相似度计算实现算法选择,经实验验证性能优异并给出理论上界指导实践。

摘要:

算法选择是自动化机器学习的关键流程,旨在执行前为特定问题选出最合适的算法。主流算法选择技术高度依赖问题特征,而算法特征的作用仍未得到充分探索。由于算法本身的复杂性,目前缺乏通用的算法信息有效提取方法。本文首次将大语言模型(LLMs)引入算法选择,为填补这一空白迈出重要一步。通过理解代码文本,LLM不仅能捕捉算法的结构与语义层面的特征,还展现出上下文感知能力与库函数理解能力。LLM提取的高维算法表征经过特征选择模块后,与问题表征相结合,再输入相似度计算模块。最终根据给定问题与不同算法的匹配度确定所选算法。大量实验验证了所提模型的性能优势,以及各关键模块的有效性。此外,我们提出了模型复杂度的理论上界,阐明了算法表征与特征选择模块的影响,为该方法的实际落地提供了有价值的理论指导。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑