arXiv:2512.03499cs.CVcs.AI2025-12被引 1

用可搜索结构提升SAM模型的适配能力,省时高效。

NAS-LoRA: Empowering Parameter-Efficient Fine-Tuning for Visual Foundation Models with Searchable Adaptation

  • 在LoRA中加入轻量NAS模块,动态优化先验知识注入
  • 在医学与农业图像上性能超越现有方法,训练成本降24.14%
  • 适合需高效微调视觉大模型的科研与工程人员

分割一切模型(SAM)作为强大的视觉基础模型,在图像分割任务中表现优异。然而,将其应用于医学、农业等特定下游任务仍面临挑战。尽管低秩适应(LoRA)及其变体被广泛用于提升SAM的领域适配性,但一个关键问题仍未解决:能否在模型中融入归纳偏置?由于SAM的Transformer编码器缺乏图像块的空间先验,可能阻碍高层语义信息的获取。本文提出NAS-LoRA,一种新型参数高效微调(PEFT)方法,旨在弥合预训练SAM与特定领域间的语义鸿沟。具体而言,NAS-LoRA在LoRA的编码器与解码器间引入轻量级神经架构搜索(NAS)模块,以动态优化权重更新中的先验知识。同时,设计分阶段优化策略,帮助ViT编码器平衡权重更新与架构调整,逐步学习高层语义。实验表明,NAS-LoRA优于现有PEFT方法,训练成本降低24.14%且推理开销不变,展现了NAS在增强视觉基础模型PEFT方面的潜力。

原文摘要 · Abstract (English)

The Segment Anything Model (SAM) has emerged as a powerful visual foundation model for image segmentation. However, adapting SAM to specific downstream tasks, such as medical and agricultural imaging, remains a significant challenge. To address this, Low-Rank Adaptation (LoRA) and its variants have been widely employed to enhancing SAM's adaptation performance on diverse domains. Despite advancements, a critical question arises: can we integrate inductive bias into the model? This is particularly relevant since the Transformer encoder in SAM inherently lacks spatial priors within image patches, potentially hindering the acquisition of high-level semantic information. In this paper, we propose NAS-LoRA, a new Parameter-Efficient Fine-Tuning (PEFT) method designed to bridge the semantic gap between pre-trained SAM and specialized domains. Specifically, NAS-LoRA incorporates a lightweight Neural Architecture Search (NAS) block between the encoder and decoder components of LoRA to dynamically optimize the prior knowledge integrated into weight updates. Furthermore, we propose a stage-wise optimization strategy to help the ViT encoder balance weight updates and architectural adjustments, facilitating the gradual learning of high-level semantic information. Various Experiments demonstrate our NAS-LoRA improves existing PEFT methods, while reducing training cost by 24.14% without increasing inference cost, highlighting the potential of NAS in enhancing PEFT for visual foundation models.

视觉模型参数高效NASLoRA

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。