HyperAIHyperAI

Command Palette

Search for a command to run...

5 months ago

Qimera: Data-free Quantization with Synthetic Boundary Supporting Samples

Choi Kanghyun ; Hong Deokki ; Park Noseong ; Kim Youngsok ; Lee Jinho

Qimera: Data-free Quantization with Synthetic Boundary Supporting
  Samples

Abstract

Model quantization is known as a promising method to compress deep neuralnetworks, especially for inferences on lightweight mobile or edge devices.However, model quantization usually requires access to the original trainingdata to maintain the accuracy of the full-precision models, which is ofteninfeasible in real-world scenarios for security and privacy issues. A popularapproach to perform quantization without access to the original data is to usesynthetically generated samples, based on batch-normalization statistics oradversarial learning. However, the drawback of such approaches is that theyprimarily rely on random noise input to the generator to attain diversity ofthe synthetic samples. We find that this is often insufficient to capture thedistribution of the original data, especially around the decision boundaries.To this end, we propose Qimera, a method that uses superposed latent embeddingsto generate synthetic boundary supporting samples. For the superposedembeddings to better reflect the original distribution, we also propose usingan additional disentanglement mapping layer and extracting information from thefull-precision model. The experimental results show that Qimera achievesstate-of-the-art performances for various settings on data-free quantization.Code is available at https://github.com/iamkanghyunchoi/qimera.

Code Repositories

iamkanghyunchoi/ait
pytorch
Mentioned in GitHub
iamkanghyunchoi/qimera
Official
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
data-free-quantization-on-cifar-100ResNet-20 CIFAR-100
CIFAR-100 W4A4 Top-1 Accuracy: 65.10
CIFAR-100 W5A5 Top-1 Accuracy: 69.02
data-free-quantization-on-cifar10ResNet-20 CIFAR-10
CIFAR-10 W4A4 Top-1 Accuracy: 91.26
CIFAR-10 W5A5 Top-1 Accuracy: 93.46

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
Qimera: Data-free Quantization with Synthetic Boundary Supporting Samples | Papers | HyperAI