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

整体对抗鲁棒剪枝

Holistic Adversarially Robust Pruning

KASTEL Security Research Labs, Karlsruhe Institute of Technology(卡尔斯鲁厄理工学院KASTEL安全研究实验室)

Qi Zhao, Christian Wressnegger

AI总结:

提出HARP方法,通过全局压缩策略和动态正则化,在整体网络层面优化各层剪枝率与参数选择,在99%压缩率下维持模型准确率与对抗鲁棒性。

摘要:

通过移除冗余参数,神经网络的规模可以被大幅缩减。尽管这对于在资源受限的硬件上进行部署至关重要,但压缩往往伴随着准确率的严重下降以及缺乏对抗鲁棒性。尽管近期取得了一些进展,但迄今为止,同时应对这两个方面仅在适中的压缩率下取得了成功。我们提出了一种新颖的方法HARP,它在应对激进剪枝方面显著优于先前的工作。为此,我们整体地考虑网络。我们学习一种全局压缩策略,优化每一层各自要剪枝多少参数(压缩率)以及剪枝哪些参数(对连接进行评分)。我们的方法通过动态正则化对现有模型进行微调,该正则化遵循一个逐步递增的函数,以平衡不同的目标。它首先倾向于鲁棒性,随后将重点转向达到目标压缩率,最后才同等对待各个目标。所学习到的压缩策略使我们能够在网络原始规模缩减99%的情况下,维持预训练模型的自然准确率及其对抗鲁棒性。此外,我们观察到各层间非均匀压缩具有关键影响。

英文摘要:

Neural networks can be drastically shrunk in size by removing redundant parameters. While crucial for the deployment on resource-constraint hardware, oftentimes, compression comes with a severe drop in accuracy and lack of adversarial robustness. Despite recent advances, counteracting both aspects has only succeeded for moderate compression rates so far. We propose a novel method, HARP, that copes with aggressive pruning significantly better than prior work. For this, we consider the network holistically. We learn a global compression strategy that optimizes how many parameters (compression rate) and which parameters (scoring connections) to prune specific to each layer individually. Our method fine-tunes an existing model with dynamic regularization, that follows a step-wise incremental function balancing the different objectives. It starts by favoring robustness before shifting focus on reaching the target compression rate and only then handles the objectives equally. The learned compression strategies allow us to maintain the pre-trained model natural accuracy and its adversarial robustness for a reduction by 99% of the network original size. Moreover, we observe a crucial influence of non-uniform compression across layers.

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

↑