[論文レビュー] Qimera: Data-free Quantization with Synthetic Boundary Supporting Samples
Qimera はデータなし量子化を改善するために、重ね合わせ潜在埋め込みを用いて境界をサポートするサンプルを導入し、CIFARとImageNetのベンチマークで最先端の結果を達成します。
Model quantization is known as a promising method to compress deep neural networks, especially for inferences on lightweight mobile or edge devices. However, model quantization usually requires access to the original training data to maintain the accuracy of the full-precision models, which is often infeasible in real-world scenarios for security and privacy issues. A popular approach to perform quantization without access to the original data is to use synthetically generated samples, based on batch-normalization statistics or adversarial learning. However, the drawback of such approaches is that they primarily rely on random noise input to the generator to attain diversity of the synthetic samples. We find that this is often insufficient to capture the distribution of the original data, especially around the decision boundaries. To this end, we propose Qimera, a method that uses superposed latent embeddings to generate synthetic boundary supporting samples. For the superposed embeddings to better reflect the original distribution, we also propose using an additional disentanglement mapping layer and extracting information from the full-precision model. The experimental results show that Qimera achieves state-of-the-art performances for various settings on data-free quantization. Code is available at https://github.com/iamkanghyunchoi/qimera.
研究の動機と目的
- 元のトレーニングデータがプライバシーやセキュリティの懸念で利用できない場合のデータなし量子化の必要性を動機づける。
- prior のデータなし手法には境界を支えるサンプルが欠けていることを特定する。
- 境界サンプルを合成するための超疊(superposed)潜在埋め込みを用いた生成器アーキテクチャを提案する。
- 分離化マッピング層と埋め込み初期化を導入して埋め込みを平坦化し、真のデータ分布を反映させる。
提案手法
- 事前学習済みのフル精度モデル P の決定境界付近の合成サンプルを生成するために、重ね合わせ潜在埋め込みを用いた生成器 G を用いる。
- 域解させる前に埋め込み空間を平坦化する分離化マッピング M を導入して、サンプルの境界近接性を改善する。
- P の最後の全結合層の重みをクラス中心として埋め込みの抽出埋め込み初期化として使用する。
- prior data-free quantization 方法から適用した損失関数を用いて G と量子化モデル Q を共同訓練し、境界豊富なサンプルを優先する(CE に基づくガイダンスを使用)。
- 実データを参照せず、クラスごとの埋め込みと重ね合わせ埋め込みの混合を用いて境界支援データを生成する。
実験結果
リサーチクエスチョン
- RQ1全精度モデルの意思決定境界付近の合成サンプルはデータなし量子化の性能を改善するか?
- RQ2 超疊潜在埋め込みは境界支援サンプルを生成して境界情報を量子化モデルへより良く転移できるか?
- RQ3 分離化マッピングと抽出埋め込み初期化は、境界サンプリングのためにより平坦で識別的な埋め込み空間を形成するのに役立つか?
- RQ4 CIFAR-10/100 および ImageNet における Qimera の性能は従来のデータなし量子化手法と比較してどうか?
主な発見
- Qimera は CIFAR-10, CIFAR-100, ImageNet 全体で ZeroQ, ZAQ, GDFQ のベースラインを一貫して上回り、特に 4w4a 設定で顕著なマージンを示す。
- 視覚的・定量的分析は、Qimera が生成するサンプルがクラスクラスター間の境界領域を埋めるのを示し、 prior generator はクラスセントロイドの近くに集まるのとは対照的である。
- アブレーション研究は、重ね合わせ埋め込みが大きな利得をもたらし、分離化マッピングと抽出埋め込み初期化から追加の利得が得られることを示す。ImageNet はこれらの要素から最大の利得を示す。
- Qimera は大規模データセット(ImageNet)および大規模モデル(ResNet-50, MobileNetV2)でデータなし量子化性能を改善し、基準値や Mixup/Cutmix のような改良よりも上回る。
この論文を読む
Nubintのビューアで原文を開き、読みながら気になる箇所をすぐに質問できます。
Nubintでこの論文を読むこのレビューはAIが論文の原文をもとに作成しました。引用する前に原文をご確認ください。