arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2403.20080cs.CV
收藏

基于低秩适配器的视觉基础模型混合精度超网训练

Mixed-precision Supernet Training from Vision Foundation Models using Low Rank Adapter

Sony Group Corporation(索尼集团公司)

Yuiko Sakuma, Masakazu Yoshimura, Junji Otsuka, Atsushi Irie, Takeshi Ohashi

AI总结:

本文研究将视觉基础模型微调为混合精度量化超网,通过低秩适配器和渐进式训练降低内存开销,并在Segment Anything Model上实现约95%的BitOPs降低且无性能损失。

摘要:

将大型高性能视觉基础模型(VFMs)压缩为任意位运算(BitOPs)形式,使其能够部署在各种硬件上。我们提出将VFM微调为混合精度量化超网。基于超网的神经架构搜索(NAS)可用于此目的,该方法训练一个超网,然后可以在任意硬件预算内提取子网。然而,现有方法在优化混合精度搜索空间方面面临困难,并且在训练过程中产生较大的内存开销。为了解决这些挑战,首先,我们通过比较不同算子(如分辨率、特征尺寸、宽度、深度和位宽)在性能和BitOPs降低方面的表现,研究了用于微调VFM的有效搜索空间设计。其次,我们提出使用低秩适配器(LoRA)和渐进式训练策略进行内存高效的超网训练。所提出的方法在最近提出的VFM——Segment Anything Model上进行了评估,并在分割任务上进行了微调。搜索到的模型在不产生性能下降的情况下,实现了约95%的BitOPs降低。

英文摘要:

Compression of large and performant vision foundation models (VFMs) into arbitrary bit-wise operations (BitOPs) allows their deployment on various hardware. We propose to fine-tune a VFM to a mixed-precision quantized supernet. The supernet-based neural architecture search (NAS) can be adopted for this purpose, which trains a supernet, and then subnets within arbitrary hardware budgets can be extracted. However, existing methods face difficulties in optimizing the mixed-precision search space and incurring large memory costs during training. To tackle these challenges, first, we study the effective search space design for fine-tuning a VFM by comparing different operators (such as resolution, feature size, width, depth, and bit-widths) in terms of performance and BitOPs reduction. Second, we propose memory-efficient supernet training using a low-rank adapter (LoRA) and a progressive training strategy. The proposed method is evaluated for the recently proposed VFM, Segment Anything Model, fine-tuned on segmentation tasks. The searched model yields about a 95% reduction in BitOPs without incurring performance degradation.

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

↑