arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2503.17994cs.CLcs.AI
收藏

用大语言模型指导时空序列预测的架构搜索

Instructing the Architecture Search for Spatial-temporal Sequence Forecasting with LLM

Beihang University(北京航空航天大学);Beijing Advanced Innovation Center for Big Data and Brain Computing(北京大数据与脑计算高精尖创新中心);Zhongguancun Laboratory(中关村实验室)

Xin Xue, Haoyi Zhou, Tianyu Chen, Shuai Zhang, Yizhou Long, Jianxin Li

AI总结:

本研究针对现有时空序列预测神经架构搜索方法耗时长、难用背景知识的问题,提出基于大语言模型的多层级增强架构搜索方法,在保证效果的同时提升了搜索效率。

摘要:

时空序列预测(STSF)是一个长期存在的研究问题,在现实世界中有着广泛应用。可自动完成神经网络设计的神经架构搜索(NAS)已被证明能有效解决STSF问题。然而,现有的面向STSF的NAS方法侧重于以耗时的数据驱动方式生成架构,这严重限制了它们利用背景知识、探索复杂搜索轨迹的能力。大语言模型(LLM)已展现出凭借全面的内部世界知识进行决策的卓越能力,但它如何能为面向STSF的NAS提供助力仍有待探索。本文提出了一种基于LLM的新型STSF NAS方法。我们并未直接用LLM生成架构,而是通过一种多层级增强机制激发LLM的能力。具体而言,在步骤层面,我们借助强大的提示工程将生成任务分解为多个决策步骤,激发LLM基于其内部知识担任架构搜索的指导者。在实例层面,我们利用单步调优框架快速评估架构实例,并通过记忆库积累知识以提升LLM的搜索能力。在任务层面,我们提出两阶段架构搜索,平衡探索阶段与优化阶段,以降低陷入局部最优的可能性。大量实验结果表明,与现有的STSF NAS方法相比,我们的方法能达到具有竞争力的效果,且效率更优。

英文摘要:

Spatial-temporal sequence forecasting (STSF) is a long-standing research problem with widespread real-world applications. Neural architecture search (NAS), which automates the neural network design, has been shown effective in tackling the STSF problem. However, the existing NAS methods for STSF focus on generating architectures in a time-consuming data-driven fashion, which heavily limits their ability to use background knowledge and explore the complicated search trajectory. Large language models (LLMs) have shown remarkable ability in decision-making with comprehensive internal world knowledge, but how it could benefit NAS for STSF remains unexplored. In this paper, we propose a novel NAS method for STSF based on LLM. Instead of directly generate architectures with LLM, We inspire the LLM's capability with a multi-level enhancement mechanism. Specifically, on the step-level, we decompose the generation task into decision steps with powerful prompt engineering and inspire LLM to serve as instructor for architecture search based on its internal knowledge. On the instance-level, we utilize a one-step tuning framework to quickly evaluate the architecture instance and a memory bank to cumulate knowledge to improve LLM's search ability. On the task-level, we propose a two-stage architecture search, balancing the exploration stage and optimization stage, to reduce the possibility of being trapped in local optima. Extensive experimental results demonstrate that our method can achieve competitive effectiveness with superior efficiency against existing NAS methods for STSF.

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

↑