Is In-Domain Data Really Needed? A Pilot Study on Cross-Domain Calibration for Network Quantization
Haichao Yu, Linjie Yang, Humphrey Shi

TL;DR
This study investigates whether out-of-domain data can effectively calibrate neural networks for quantization, demonstrating stable performance across diverse image domains and identifying domain similarity as a key factor.
Contribution
The paper shows that cross-domain calibration is viable for network quantization and introduces Gram matrix similarity as a criterion for selecting calibration data.
Findings
Cross-domain calibration maintains stable quantization performance.
Performance correlates with Gram matrix similarity between source and calibration domains.
Out-of-domain calibration enables privacy-preserving model deployment.
Abstract
Post-training quantization methods use a set of calibration data to compute quantization ranges for network parameters and activations. The calibration data usually comes from the training dataset which could be inaccessible due to sensitivity of the data. In this work, we want to study such a problem: can we use out-of-domain data to calibrate the trained networks without knowledge of the original dataset? Specifically, we go beyond the domain of natural images to include drastically different domains such as X-ray images, satellite images and ultrasound images. We find cross-domain calibration leads to surprisingly stable performance of quantized models on 10 tasks in different image domains with 13 different calibration datasets. We also find that the performance of quantized models is correlated with the similarity of the Gram matrices between the source and calibration domains,…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdvanced Neural Network Applications · Photoacoustic and Ultrasonic Imaging · Domain Adaptation and Few-Shot Learning
