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

LM-Searcher:基于统一数值编码的大语言模型跨领域神经架构搜索

LM-Searcher: Cross-domain Neural Architecture Search with LLMs via Unified Numerical Encoding

CUHK MMLab(香港中文大学MML实验室);CUHK CURI(香港中文大学CURI);Tsinghua University(清华大学);Shanghai AI Laboratory(上海人工智能实验室);CPII under InnoHK(创新香港下的CPII)

Yuxuan Hu, Jihao Liu, Ke Wang, Jinliang Zhen, Weikang Shi, Manyuan Zhang, Qi Dou, Rui Liu, Aojun Zhou, Hongsheng Li

AI总结:

提出LM-Searcher框架,利用大语言模型和统一数值编码NCode实现跨领域神经架构搜索,通过排序任务和剪枝子空间采样训练,在领域内外任务中取得有竞争力性能。

摘要:

近年来,大语言模型(LLMs)的进展为解决包括神经架构搜索(NAS)在内的复杂优化问题开辟了新途径。然而,现有的基于LLM的NAS方法严重依赖提示工程和特定领域的调优,限制了它们在不同任务中的实用性和可扩展性。在这项工作中,我们提出了LM-Searcher,一个新颖的框架,利用LLMs进行跨领域的神经架构优化,而无需大量的领域特定适配。我们方法的核心是NCode,一种用于神经架构的通用数值字符串表示,它实现了跨领域的架构编码和搜索。我们还将NAS问题重新表述为排序任务,通过使用从一种新颖的基于剪枝的子空间采样策略中衍生的指令调优样本,训练LLMs从候选池中选择高性能架构。我们精心策划的数据集,涵盖了广泛的架构-性能对,促进了稳健和可迁移的学习。综合实验表明,LM-Searcher在领域内(例如,用于图像分类的CNN)和领域外(例如,用于分割和生成的LoRA配置)任务中均取得了有竞争力的性能,为灵活且可泛化的基于LLM的架构搜索建立了新范式。数据集和模型将在https://github.com/Ashone3/LM-Searcher上发布。

英文摘要:

Recent progress in Large Language Models (LLMs) has opened new avenues for solving complex optimization problems, including Neural Architecture Search (NAS). However, existing LLM-driven NAS approaches rely heavily on prompt engineering and domain-specific tuning, limiting their practicality and scalability across diverse tasks. In this work, we propose LM-Searcher, a novel framework that leverages LLMs for cross-domain neural architecture optimization without the need for extensive domain-specific adaptation. Central to our approach is NCode, a universal numerical string representation for neural architectures, which enables cross-domain architecture encoding and search. We also reformulate the NAS problem as a ranking task, training LLMs to select high-performing architectures from candidate pools using instruction-tuning samples derived from a novel pruning-based subspace sampling strategy. Our curated dataset, encompassing a wide range of architecture-performance pairs, encourages robust and transferable learning. Comprehensive experiments demonstrate that LM-Searcher achieves competitive performance in both in-domain (e.g., CNNs for image classification) and out-of-domain (e.g., LoRA configurations for segmentation and generation) tasks, establishing a new paradigm for flexible and generalizable LLM-based architecture search. The datasets and models will be released at https://github.com/Ashone3/LM-Searcher.

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

↑