arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2302.09572cs.CV
收藏

将无数据Quantization视为零和游戏

Rethinking Data-Free Quantization as a Zero-Sum Game

Key Laboratory of Knowledge Engineering with Big Data, Ministry of Education(教育部大数据知识工程重点实验室)

Biao Qian, Yang Wang, Richang Hong, Meng Wang

摘要:

无数据量化(DFQ)在不访问真实数据的情况下恢复量化网络(Q)的性能,而是通过从全精度网络(P)学习来经由生成器(G)生成伪样本。然而,这样的样本生成过程是完全独立于Q的,其特征在于没有考虑所生成的样本的适应性,即,在Q的学习过程中,无论是有利的还是不利的,都会导致不可忽视的性能损失。在此基础上,几个关键问题-如何衡量和利用不同的位宽情况下的样本适应Q?如何产生具有理想适应性的样本以利于量化网络?--促使我们重新审视DFQ。在本文中,我们回答了上述问题,从博弈论的角度来专门DFQ作为两个玩家之间的零和游戏-生成器和量化网络,并进一步提出了适应性感知的样本生成(AdaSG)方法。从技术上讲,AdaSG将DFQ重新定义为一个基于样本适应性的动态最大化与最小化博弈过程。最大化过程旨在生成具有期望适应性的样本,在校准Q以用于性能恢复之后,通过最小化过程进一步降低这种样本适应性。平衡间隙的定义是为了引导博弈过程的平稳性,使Q的收益最大化。理论分析和实证研究验证了AdaSG相对于现有技术的优越性。我们的代码可在https://github.com/hfutqian/AdaSG上获得。

英文摘要:

Data-free quantization (DFQ) recovers the performance of quantized network (Q) without accessing the real data, but generates the fake sample via a generator (G) by learning from full-precision network (P) instead. However, such sample generation process is totally independent of Q, specialized as failing to consider the adaptability of the generated samples, i.e., beneficial or adversarial, over the learning process of Q, resulting into non-ignorable performance loss. Building on this, several crucial questions -- how to measure and exploit the sample adaptability to Q under varied bit-width scenarios? how to generate the samples with desirable adaptability to benefit the quantized network? -- impel us to revisit DFQ. In this paper, we answer the above questions from a game-theory perspective to specialize DFQ as a zero-sum game between two players -- a generator and a quantized network, and further propose an Adaptability-aware Sample Generation (AdaSG) method. Technically, AdaSG reformulates DFQ as a dynamic maximization-vs-minimization game process anchored on the sample adaptability. The maximization process aims to generate the sample with desirable adaptability, such sample adaptability is further reduced by the minimization process after calibrating Q for performance recovery. The Balance Gap is defined to guide the stationarity of the game process to maximally benefit Q. The theoretical analysis and empirical studies verify the superiority of AdaSG over the state-of-the-arts. Our code is available at https://github.com/hfutqian/AdaSG.

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

↑