一种快速有效的条件学习算法
A Fast and Efficient Conditional Learning for Tunable Trade-Off between Accuracy and Robustness
摘要:
现有的模型,实现国家的最先进的(SOTA)性能的清洁和不利的扰动图像依赖于卷积运算条件与功能的线性调制(薄膜)层。这些层需要许多新的参数,并且是超参数敏感的。它们显著增加了训练时间、内存成本和潜在的延迟,这对于资源有限或实时应用程序来说可能是昂贵的。在本文中,我们提出了一种快速可学习的一次性对抗训练(FLOAT)算法,该算法代替了现有的基于FiLM的条件反射,提出了一种独特的权重条件反射学习,不需要额外的层,因此与标准对抗训练相比,参数计数,训练时间或网络延迟不会显着增加。特别是,我们将可配置的缩放噪声添加到权重张量中,从而实现清洁和对抗性能之间的权衡。大量的实验表明,FLOAT可以产生SOTA性能提高清洁和扰动图像分类分别高达~6%和~ 10%。此外,实际硬件测量表明,与基于FiLM的替代方案相比,FLOAT可以将训练时间减少多达1.43倍,而在iso-hyperparameter设置上的模型参数最多可减少1.47倍。此外,为了进一步提高内存效率,我们引入了FLOAT稀疏(FLOATS),这是一种非迭代模型修剪的形式,并提供了详细的经验分析,为这些新的修剪条件训练模型提供了三种方式的准确性-鲁棒性-复杂性权衡。
英文摘要:
Existing models that achieve state-of-the-art (SOTA) performance on both clean and adversarially-perturbed images rely on convolution operations conditioned with feature-wise linear modulation (FiLM) layers. These layers require many new parameters and are hyperparameter sensitive. They significantly increase training time, memory cost, and potential latency which can prove costly for resource-limited or real-time applications. In this paper, we present a fast learnable once-for-all adversarial training (FLOAT) algorithm, which instead of the existing FiLM-based conditioning, presents a unique weight conditioned learning that requires no additional layer, thereby incurring no significant increase in parameter count, training time, or network latency compared to standard adversarial training. In particular, we add configurable scaled noise to the weight tensors that enables a trade-off between clean and adversarial performance. Extensive experiments show that FLOAT can yield SOTA performance improving both clean and perturbed image classification by up to ~6% and ~10%, respectively. Moreover, real hardware measurement shows that FLOAT can reduce the training time by up to 1.43x with fewer model parameters of up to 1.47x on iso-hyperparameter settings compared to the FiLM-based alternatives. Additionally, to further improve memory efficiency we introduce FLOAT sparse (FLOATS), a form of non-iterative model pruning and provide detailed empirical analysis to provide a three way accuracy-robustness-complexity trade-off for these new class of pruned conditionally trained models.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。