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

参数有效掩蔽网络

Parameter-Efficient Masking Networks

Northeastern University(东北大学);AInnovation Labs, Inc.(创新奇智实验室公司);Rochester Institute of Technology(罗切斯特理工学院)

Yue Bai, Huan Wang, Xu Ma, Yitian Zhang, Zhiqiang Tao, Yun Fu

摘要:

更深的网络结构通常处理更复杂的非线性,并且表现得更有竞争力。如今,高级网络设计通常包含大量重复结构(例如,Transformer)。它们将网络容量提升到一个新的水平,但也不可避免地增加了模型大小,这对模型恢复或传输都是不友好的。在这项研究中,我们首先通过学习不同的掩码来研究具有有限唯一值的固定随机权重的代表性潜力,并引入参数有效掩码网络(PEMN)。这也自然地导致了一种新的范例,用于模型压缩以减小模型大小。具体地说,由于现代神经网络的重复结构,我们利用一个随机初始化层,并配以不同的掩码,来表达不同的特征映射,并表示重复的网络模块。因此,模型可以表示为具有一堆掩码的\textit{one-layer},这显著地降低了模型存储成本。此外,我们通过学习填充给定随机权重向量的模型的掩码来增强我们的策略。通过这种方式,我们的方法可以进一步降低空间复杂度,特别是对于没有很多重复结构的模型。我们验证了PEMN学习掩码在具有有限唯一值的随机权重上的潜力,并测试了其在基于不同网络架构的新压缩范例中的有效性。代码可在https://github.com/yueb17/PEMN上获得

英文摘要:

A deeper network structure generally handles more complicated non-linearity and performs more competitively. Nowadays, advanced network designs often contain a large number of repetitive structures (e.g., Transformer). They empower the network capacity to a new level but also increase the model size inevitably, which is unfriendly to either model restoring or transferring. In this study, we are the first to investigate the representative potential of fixed random weights with limited unique values by learning diverse masks and introduce the Parameter-Efficient Masking Networks (PEMN). It also naturally leads to a new paradigm for model compression to diminish the model size. Concretely, motivated by the repetitive structures in modern neural networks, we utilize one random initialized layer, accompanied with different masks, to convey different feature mappings and represent repetitive network modules. Therefore, the model can be expressed as \textit{one-layer} with a bunch of masks, which significantly reduce the model storage cost. Furthermore, we enhance our strategy by learning masks for a model filled by padding a given random weights vector. In this way, our method can further lower the space complexity, especially for models without many repetitive architectures. We validate the potential of PEMN learning masks on random weights with limited unique values and test its effectiveness for a new compression paradigm based on different network architectures. Code is available at https://github.com/yueb17/PEMN

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

↑