arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2501.08504cs.CVcs.LG
收藏

SuperSAM:通过结构化剪枝与非结构化参数优先级排序构建SAM超网络

SuperSAM: Crafting a SAM Supernetwork via Structured Pruning and Unstructured Parameter Prioritization

Iowa State University(爱荷华州立大学);Pacific Northwest National Laboratory(太平洋西北国家实验室);Intel Labs(英特尔实验室)

Waqwoya Abebe, Sadegh Jafari, Sixing Yu, Akash Dutta, Jan Strube, Nathan R. Tallent, Luanzheng Guo, Pablo Munoz, Ali Jannesari

AI总结:

本研究针对一次性NAS搜索空间设计难题,提出通过逐层结构化剪枝与参数优先级排序将SAM转化为超网络SuperSAM的策略,所得子网络比原SAM ViT-B小30%-70%且性能更优,为ViT NAS搜索空间设计提供了新方法。

摘要:

神经架构搜索(NAS)是自动化设计高效神经架构的强力方法。与传统NAS方法相比,近期提出的一次性NAS方法在执行NAS时效率更高。一次性NAS通过生成单个权重共享超网络作为子网络的搜索空间(容器)来工作。尽管取得了诸多成果,设计一次性搜索空间仍是一项重大挑战。\n本研究提出了一种针对基于视觉Transformer(ViT)架构的搜索空间设计策略。具体而言,我们将Segment Anything Model(SAM,分割一切模型)转换为名为SuperSAM的权重共享超网络。我们的方法通过逐层结构化剪枝与参数优先级排序实现搜索空间设计的自动化:结构化剪枝以概率方式移除特定的Transformer层,参数优先级排序则对剩余层中的MLP块执行权重重排序与切片操作。\n我们使用三明治法则在多个数据集上训练超网络。在部署阶段,我们利用程序自动调优器在搜索空间中识别高效子网络,以此优化子网络发现过程。最终得到的子网络尺寸比原始预训练SAM ViT-B小30%-70%,但性能优于该预训练模型。本研究为ViT NAS搜索空间设计提出了一种新颖且有效的方法。

英文摘要:

Neural Architecture Search (NAS) is a powerful approach of automating the design of efficient neural architectures. In contrast to traditional NAS methods, recently proposed one-shot NAS methods prove to be more efficient in performing NAS. One-shot NAS works by generating a singular weight-sharing supernetwork that acts as a search space (container) of subnetworks. Despite its achievements, designing the one-shot search space remains a major challenge. In this work we propose a search space design strategy for Vision Transformer (ViT)-based architectures. In particular, we convert the Segment Anything Model (SAM) into a weight-sharing supernetwork called SuperSAM. Our approach involves automating the search space design via layer-wise structured pruning and parameter prioritization. While the structured pruning applies probabilistic removal of certain transformer layers, parameter prioritization performs weight reordering and slicing of MLP-blocks in the remaining layers. We train supernetworks on several datasets using the sandwich rule. For deployment, we enhance subnetwork discovery by utilizing a program autotuner to identify efficient subnetworks within the search space. The resulting subnetworks are 30-70% smaller in size compared to the original pre-trained SAM ViT-B, yet outperform the pretrained model. Our work introduces a new and effective method for ViT NAS search-space design.

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

↑