Is In-Domain Data Really Needed? A Pilot Study on Cross-Domain Calibration for Network Quantization

被引:0
|
作者
Yu, Haichao [1 ]
Yang, Linjie [2 ]
Shi, Humphrey [1 ]
机构
[1] Univ Illinois, Urbana, IL 61801 USA
[2] ByteDance Inc, Beijing, Peoples R China
关键词
D O I
10.1109/CVPRW53098.2021.00339
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
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, which can be used as a criterion to choose calibration set for better performance. We believe our research opens the door to borrow cross-domain knowledge for network quantization and compression.
引用
收藏
页码:3037 / 3046
页数:10
相关论文
共 50 条
  • [1] Damage detection using in-domain and cross-domain transfer learning
    Zaharah A. Bukhsh
    Nils Jansen
    Aaqib Saeed
    [J]. Neural Computing and Applications, 2021, 33 : 16921 - 16936
  • [2] Damage detection using in-domain and cross-domain transfer learning
    Bukhsh, Zaharah A.
    Jansen, Nils
    Saeed, Aaqib
    [J]. NEURAL COMPUTING & APPLICATIONS, 2021, 33 (24): : 16921 - 16936
  • [3] A Survey on In-Domain and Cross-Domain Image Classification using SURF Features
    Veena, G. S.
    Venkata, Nikhil Dhara
    Goudar, Manjunath M.
    Sarashetti, Akshay P.
    Acharya, Adithya
    [J]. 2017 INTERNATIONAL CONFERENCE ON ADVANCES IN COMPUTING, COMMUNICATIONS AND INFORMATICS (ICACCI), 2017, : 1797 - 1802
  • [4] Markov Chain based Method for In-Domain and Cross-Domain Sentiment Classification
    Domeniconi, Giacomo
    Moro, Gianluca
    Pagliarani, Andrea
    Pasolini, Roberto
    [J]. 2015 7TH INTERNATIONAL JOINT CONFERENCE ON KNOWLEDGE DISCOVERY, KNOWLEDGE ENGINEERING AND KNOWLEDGE MANAGEMENT (IC3K), 2015, : 127 - 137
  • [5] Cross-Domain Sentiment Analysis Based on Small in-Domain Fine-Tuning
    Kotelnikova, Anastasia V.
    Vychegzhanin, Sergey V.
    Kotelnikov, Evgeny V.
    [J]. IEEE ACCESS, 2023, 11 : 41061 - 41074
  • [6] Cross-domain network representations
    Xue, Shan
    Lu, Jie
    Zhang, Guangquan
    [J]. PATTERN RECOGNITION, 2019, 94 : 135 - 148
  • [7] Cross-Domain Data Fusion
    Yang, Qiang
    [J]. COMPUTER, 2016, 49 (04) : 18 - 18
  • [8] A Detailed Evaluation of Neural Sequence-to-Sequence Models for In-domain and Cross-domain Text Simplification
    Stajner, Sanja
    Nisioi, Sergiu
    [J]. PROCEEDINGS OF THE ELEVENTH INTERNATIONAL CONFERENCE ON LANGUAGE RESOURCES AND EVALUATION (LREC 2018), 2018, : 3026 - 3033
  • [9] Unsupervised Domain Adaptation with Imbalanced Cross-Domain Data
    Hsu, Tzu-Ming Harry
    Chen, Wei-Yu
    Hou, Cheng-An
    Tsai, Yao-Hung Hubert
    Yeh, Yi-Ren
    Wang, Yu-Chiang Frank
    [J]. 2015 IEEE INTERNATIONAL CONFERENCE ON COMPUTER VISION (ICCV), 2015, : 4121 - 4129
  • [10] A Cross-Domain Comparative Study of Big Data Architectures
    Macak, Martin
    Ge, Mouzhi
    Buhnova, Barbora
    [J]. INTERNATIONAL JOURNAL OF COOPERATIVE INFORMATION SYSTEMS, 2020, 29 (04)