Model quantization is considered as a promising method to greatly reduce the resource requirements of deep neural networks. To deal with the performance drop induced by quantization errors, a popular method is to use training data to fine-tune quantized networks. In real-world environments, however, such a method is frequently infeasible because training data is unavailable due to security, privacy, or confidentiality concerns. Zero-shot quantization addresses such problems, usually by taking information from the weights of a full-precision teacher network to compensate the performance drop of the quantized networks. In this paper, we first analyze the loss surface of state-of-the-art zero-shot quantization techniques and provide several findings. In contrast to usual knowledge distillation problems, zero-shot quantization often suffers from 1) the difficulty of optimizing multiple loss terms together, and 2) the poor generalization capability due to the use of synthetic samples. Furthermore, we observe that many weights fail to cross the rounding threshold during training the quantized networks even when it is necessary to do so for better performance. Based on the observations, we propose AIT, a simple yet powerful technique for zero-shot quantization, which addresses the aforementioned two problems in the following way: AIT i) uses a KL distance loss only without a cross-entropy loss, and ii) manipulates gradients to guarantee that a certain portion of weights are properly updated after crossing the rounding thresholds. Experiments show that AIT outperforms the performance of many existing methods by a great margin, taking over the overall state-of-the-art position in the field.
Debiased Distillation by Transplanting the Last Layer
Department of Electrical Engineering, POSTECH(POSTECH电气工程系);Graduate School of Artificial Intelligence, POSTECH(POSTECH人工智能研究生院);POSTECH(POSTECH(浦项科技大学))
深度模型很容易学习虚假的相关性,即使在后处理过程中也是如此。我们仔细研究了知识蒸馏--一种流行的模型压缩后处理技术--并发现,使用有偏见的训练数据进行蒸馏会产生有偏见的学生,即使教师是无偏见的。为了解决这个问题,我们提出了一个简单的知识蒸馏算法,创造DeTT(Debiasing by Teacher Transplanting)。最近的一项观察发现,最后一层神经网络在去偏置中起着极其重要的作用,受此启发,DeTT将教师的最后一层直接移植到学生身上。通过匹配学生和教师的特征图输出来提取剩余的层,其中样本被重新加权以减轻数据集偏差。重要的是,DeTT不依赖于偏差相关属性上的广泛注释的可用性,这通常在后处理阶段不可用。在我们的整个实验中,DeTT成功地消除了学生模型的偏差,在最差组准确性方面始终优于基线。
Categorical Relation-Preserving Contrastive Knowledge Distillation for Medical Image Classification
Southern University of Science and Technology(南方科技大学);The Chinese University of Hong Kong(香港中文大学);Xiamen University(厦门大学);City University of Hong Kong(香港城市大学)
Rectified Decoupled Dataset Distillation: A Closer Look for Fair and Comprehensive Evaluation
Harbin Institute of Technology, Shenzhen(哈尔滨工业大学(深圳));Peng Cheng Laboratory(鹏城实验室);Tsinghua Shenzhen International Graduate School, Tsinghua University(清华大学深圳国际研究生院)
The Bridge-Garden Dilemma in LLM Distillation: Why Mixing Hard and Soft Labels Works
School of Computer Science and Technology, University of Chinese Academy of Sciences, Beijing, China(中国科学院大学计算机科学与技术学院);Alibaba Group, Hangzhou, China(阿里巴巴集团);State Key Laboratory of AI Safety, Institute of Computing Technology, Chinese Academy of Sciences, Beijing, China(中国科学院人工智能安全国家重点实验室);Beijing Academy of Artificial Intelligence, Beijing, China(北京人工智能研究院);Key Laboratory of Big Data Mining and Knowledge Management (BDKM), University of Chinese Academy of Sciences, Beijing, China(中国科学院大数据挖掘与知识管理重点实验室)