arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2210.08701cs.LGcs.CV
收藏

ODG-Q:基于在线领域泛化的健壮Quantization

ODG-Q: Robust Quantization via Online Domain Generalization

The University of Hong Kong(香港大学)

Chaofan Tao, Ngai Wong

摘要:

将神经网络量化到低位宽对于在资源有限的边缘硬件上部署模型很重要。虽然量化网络具有较小的模型大小和内存占用,但它对对抗攻击很脆弱。然而,很少有方法研究量化网络的鲁棒性和训练效率。为此,我们提出了一种新的方法,通过将鲁棒量化作为在线领域泛化问题,称为ODG-Q,它在训练过程中以低成本生成各种对抗数据。ODG-Q在对抗各种对抗攻击方面始终优于现有的作品。例如,在CIFAR-10数据集上,ODG-Q在五种常见的白盒攻击下平均提高了49.2%,在五种常见的黑盒攻击下平均提高了21.7%,训练成本与自然训练(即没有对手)相似。据我们所知,这项工作是第一项在ImageNet上训练量化和二进制神经网络的工作,这些网络在不同的攻击下始终提高鲁棒性。我们还提供了一个理论上的见解ODG-Q的帐户上的模型风险受攻击的数据。

英文摘要:

Quantizing neural networks to low-bitwidth is important for model deployment on resource-limited edge hardware. Although a quantized network has a smaller model size and memory footprint, it is fragile to adversarial attacks. However, few methods study the robustness and training efficiency of quantized networks. To this end, we propose a new method by recasting robust quantization as an online domain generalization problem, termed ODG-Q, which generates diverse adversarial data at a low cost during training. ODG-Q consistently outperforms existing works against various adversarial attacks. For example, on CIFAR-10 dataset, ODG-Q achieves 49.2% average improvements under five common white-box attacks and 21.7% average improvements under five common black-box attacks, with a training cost similar to that of natural training (viz. without adversaries). To our best knowledge, this work is the first work that trains both quantized and binary neural networks on ImageNet that consistently improve robustness under different attacks. We also provide a theoretical insight of ODG-Q that accounts for the bound of model risk on attacked data.

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

↑