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

(PASS) 通过递归超网络利用视觉提示定位良好的结构稀疏性

(PASS) Visual Prompt Locates Good Structure Sparsity through a Recurrent HyperNetwork

University of Exeter(埃克塞特大学);Eindhoven University of Technology(埃因霍温理工大学);University of liverpool(利物浦大学);Sun Yat-sen University(中山大学);Hohai University(河海大学);UNC-Chapel Hill(北卡罗来纳大学夏洛特分校)

Tianjin Huang, Fang Meng, Li Shen, Fan Liu, Yulong Pei, Mykola Pechenizkiy, Shiwei Liu, Tianlong Chen

AI总结:

本文提出PASS算法,通过视觉提示和网络权重统计,递归生成层间通道稀疏性,提升模型效率和准确率。

摘要:

大规模神经网络在不同领域如视觉和语言处理中展现了显著的性能,尽管这需要大量的计算资源。正如压缩文献所示,结构模型剪枝是一种促进模型效率的重要算法,得益于其加速友好的稀疏模式。结构剪枝中的一个关键问题是如何估计通道的重要性。与此同时,数据导向的人工智能研究显示,基于提示的技术能够使大语言模型在各种下游任务中实现出色的泛化能力。在本文中,我们探讨了一个诱人的可能性——利用视觉提示来捕捉通道重要性并推导高质量的结构稀疏性。为此,我们提出了一种新的算法框架,即PASS。它是一个专门设计的超网络,同时输入视觉提示和网络权重统计,并以递归的方式输出层间的通道稀疏性。这种设计考虑了层间固有的通道依赖性。在多个网络架构和六个数据集上的全面实验显示,PASS在定位良好的结构稀疏性方面表现出色。例如,在相同FLOPs级别下,PASS子网络在Food101数据集上实现了1%~3%的更高准确率;或者在相似的80%准确率下,PASS子网络比基线模型获得了0.35倍的加速提升。

英文摘要:

Large-scale neural networks have demonstrated remarkable performance in different domains like vision and language processing, although at the cost of massive computation resources. As illustrated by compression literature, structural model pruning is a prominent algorithm to encourage model efficiency, thanks to its acceleration-friendly sparsity patterns. One of the key questions of structural pruning is how to estimate the channel significance. In parallel, work on data-centric AI has shown that prompting-based techniques enable impressive generalization of large language models across diverse downstream tasks. In this paper, we investigate a charming possibility - \textit{leveraging visual prompts to capture the channel importance and derive high-quality structural sparsity}. To this end, we propose a novel algorithmic framework, namely \texttt{PASS}. It is a tailored hyper-network to take both visual prompts and network weight statistics as input, and output layer-wise channel sparsity in a recurrent manner. Such designs consider the intrinsic channel dependency between layers. Comprehensive experiments across multiple network architectures and six datasets demonstrate the superiority of \texttt{PASS} in locating good structural sparsity. For example, at the same FLOPs level, \texttt{PASS} subnetworks achieve $1\%\sim 3\%$ better accuracy on Food101 dataset; or with a similar performance of $80\%$ accuracy, \texttt{PASS} subnetworks obtain $0.35\times$ more speedup than the baselines.

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

↑