©Higher Education Press and Springer-Verlag Berlin Heidelberg 2012 \ratimeReceived month dd, yyyy; accepted month dd, yyyy©Higher Education Press and Springer-Verlag Berlin Heidelberg 2012 \ratimeReceived month dd, yyyy; accepted month dd, yyyy
Exploring Dark Knowledge under Various Teacher Capacities and Addressing Capacity Mismatch探索不同教师容量下的“暗知识”及解决容量不匹配问题
Abstract摘要
Knowledge Distillation (KD) could transfer the “dark knowledge” of a well-performed yet large neural network to a weaker but lightweight one. From the view of output logits and softened probabilities, this paper goes deeper into the dark knowledge provided by teachers with different capacities. Two fundamental observations are: (1) a larger teacher tends to produce probability vectors with lower distinction among non-ground-truth classes; (2) teachers with different capacities are basically consistent in their cognition of relative class affinity. Through abundant experimental studies we verify these observations and provide in-depth empirical explanations to them. We argue that the distinctness among incorrect classes embodies the essence of dark knowledge. A larger and more accurate teacher lacks this distinctness, which hampers its teaching ability compared to a smaller teacher, ultimately leading to the peculiar phenomenon named ”capacity mismatch”. Building on this insight, this paper explores multiple simple yet effective ways to address capacity mismatch, achieving superior experimental results compared to previous approaches.知识蒸馏(KD)可以将表现良好但体量庞大的神经网络所蕴含的“暗知识”迁移至较弱但轻量化的网络中。本文从输出逻辑值(logits)和软化概率的角度,深入探讨了不同容量教师模型所提供的暗知识。我们得出了两个基本观察结果:(1)较大的教师模型倾向于生成非真实类别间区分度较低的概率向量;(2)不同容量的教师模型在对类别相对亲和力的认知上基本保持一致。通过大量的实验研究,我们验证了这些观察结果,并对其给出了深入的经验性解释。我们认为,非真实类别之间的差异性体现了暗知识的本质。更大且更准确的教师模型缺乏这种差异性,这使其教学能力相较于较小的教师模型受到限制,最终导致了被称为“容量不匹配”的特殊现象。基于这一洞察,本文探索了多种简单且有效的方法来解决容量不匹配问题,并取得了优于以往方法的实验结果。
Knowledge distillation, dark knowledge, capac ity mismatch, non-ground-truth class, temperature scaling知识蒸馏,暗知识,容量不匹配,非真实类别,温度缩放
1 Introduction1 引言
Deploying large-scale neural networks on portable devices with limited computation and storage resources is challenging [1], and efficient architectures such as MobileNets [2, 3] and ShuffleNets [4, 5] have been designed for lightweight deployment. However, the performances of these lightweight networks are usually not comparable to the larger ones. Commonly, second learning [6, 7] or knowledge distillation (KD) [8, 9, 10] could be utilized to transfer the knowledge of a more complex and well-performed network (i.e., the teacher) to the smaller ones (i.e., the student). Both are manifestations of pre-learning transfer, with KD focusing more on extracting the dark knowledge from the teacher model. However, the dark knowledge in KD is still a mystery that has attracted lots of studies [9, 11, 12, 13], and their goal is to answer the following question: what’s the knowledge that the teacher provides and why they are effective in KD?在计算和存储资源受限的便携式设备上部署大规模神经网络极具挑战性 [1],因此,MobileNets [2, 3] 和 ShuffleNets [4, 5] 等高效架构被设计用于轻量化部署。然而,这些轻量化网络的性能通常无法与大型网络相媲美。通常,二次学习 [6, 7] 或知识蒸馏(KD)[8, 9, 10] 可用于将更复杂且表现良好的网络(即教师模型)的知识迁移至较小的网络(即学生模型)中。两者都是预学习迁移的表现形式,其中 KD 更侧重于从教师模型中提取暗知识。然而,KD 中的暗知识仍然是一个谜,吸引了大量研究 [9, 11, 12, 13],其目的在于回答以下问题:教师提供了什么样的知识,以及为什么这些知识在 KD 中有效?
In the original KD method [9], the student aims to mimic the teacher’s behavior by minimizing the Kullback-Leibler (KL) divergence between their output probabilities. That is, the logits and softened probabilities, i.e., the inputs to the final softmax operator and the corresponding outputs, are the specific knowledge transferred in KD. With the development of KD methods, the output-level knowledge has been extended to various types [14], including the intermediate features [15, 16, 17, 18, 19, 20], the sample relationships [21, 22, 23, 24, 25, 26, 27], the parameters [28, 29], and the collaborative or online knowledge [10, 30] etc. Among these types, the output logits of neural networks are much easier to visualize, analyze, and understand. Therefore, we focus on the original KD [9] and aim to understand the dark knowledge (i.e., the logits and softened probabilities) provided by the teachers. Unlike previous studies, we majorly study the output-level dark knowledge provided by teachers with various capacities, which receives little attention in previous studies. We first present two significant observations: (1) an over-confident teacher tends to produce probability vectors that are less distinct between non-ground-truth classes; (2) teachers with different capacities are basically consistent in their cognition of relative class affinity. The first observation tells the difference between dark knowledge provided by teachers with different capacities, while the second observation shows the consistency between them.在原始的 KD 方法 [9] 中,学生通过最小化其输出概率与教师输出概率之间的 Kullback-Leibler (KL) 散度来模仿教师的行为。也就是说,逻辑值和软化概率(即最终 softmax 算子的输入及其对应的输出)是 KD 中迁移的具体知识。随着 KD 方法的发展,输出层面的知识已扩展至多种类型 [14],包括中间特征 [15, 16, 17, 18, 19, 20]、样本关系 [21, 22, 23, 24, 25, 26, 27]、参数 [28, 29] 以及协作或在线知识 [10, 30] 等。在这些类型中,神经网络的输出逻辑值最易于可视化、分析和理解。因此,我们聚焦于原始的 KD [9],旨在理解由教师模型提供的暗知识(即逻辑值和软化概率)。与以往研究不同,我们主要研究不同容量教师模型所提供的输出层面暗知识,这在以往研究中受到的关注较少。我们首先提出两个重要的观察结果:(1)过于自信的教师倾向于生成在非真实类别间区分度较低的概率向量;(2)不同容量的教师模型在对类别相对亲和力的认知上基本一致。第一个观察结果揭示了不同容量教师所提供暗知识之间的差异,而第二个观察结果则展示了它们之间的一致性。
This paper first explains the reasons for the first observation. Larger teachers generally have powerful feature extractors, making the features of the same class more compact and the features between classes more dispersed. Hence, more complex teachers are over-confident and assign a larger score for the ground-truth class or less varied scores for the non-ground-truth classes. If we use a uniform temperature to scale their logits, the probabilities of non-ground-truth classes are less distinct [31], further making the distillation process ineffective. This explains the peculiar phenomenon named “capacity mismatch” [32, 33, 34, 35, 36, 31] in KD that a larger and more accurate teacher does not necessarily make better students. Fortunately, the second observation ensures that the dark knowledge from teachers with various capacities is basically consistent in the class relative probabilities. We first provide several definite metrics to verify the observation, including the rank of set overlap, Kendall’s , and the Spearman correlation. These metrics are irrelevant to the absolute probability values between classes, which are appropriate for measuring the correlation of relative class affinities. We also present the two observations together via the group classes in CIFAR-100 [37] and a constructed group classification task based on Digits-Five [38].本文首先解释了第一个观察结果的原因。较大的教师模型通常拥有强大的特征提取器,使得同一类别的特征更加紧凑,而不同类别之间的特征更加分散。因此,更复杂的教师模型往往过于自信,会为真实类别分配更高的分数,或为非真实类别分配变化较小的分数。如果我们使用统一的温度来缩放它们的逻辑值,非真实类别的概率区分度就会降低 [31],从而导致蒸馏过程失效。这解释了 KD 中被称为“容量不匹配” [32, 33, 34, 35, 36, 31] 的特殊现象,即更大且更准确的教师模型未必能培养出更好的学生模型。 幸运的是,第二个观察结果确保了来自不同容量教师的暗知识在类别相对概率上基本是一致的。我们首先提供了几个明确的指标来验证这一观察,包括集合重叠秩、Kendall’s τ 和 Spearman 相关系数。这些指标与类别间的绝对概率值无关,非常适合衡量类别相对亲和力的相关性。我们还通过 CIFAR-100 [37] 中的分组类别以及基于 Digits-Five [38] 构建的分组分类任务,共同展示了这两个观察结果。
These two observations imply that complex teachers know approximately the same as smaller teachers on relative class affinities, while their absolute probabilities are not discriminative between non-ground-truth classes. Hence, to improve the quality of the dark knowledge provided by complex teachers, an intuitive way is to enlarge the distinctness between non-ground-truth classes. We propose several simple yet effective methods to enlarge the distinctness of non-ground-truth class probabilities, which could make the distillation process more discriminative. Abundant experimental studies verify that the proposed methods could address the capacity mismatch problem effectively.这两个观察结果表明,复杂教师在类别相对亲和力方面的认知与较小教师大致相同,但它们的绝对概率在非真实类别之间缺乏判别力。因此,为了提高复杂教师所提供暗知识的质量,一个直观的方法是扩大非真实类别之间的差异性。我们提出了几种简单且有效的方法来扩大非真实类别概率的差异性,这可以使蒸馏过程更具判别力。大量的实验研究验证了所提方法能够有效解决容量不匹配问题。
We summarize our contributions as two aspects: (1) showing novel insights about the dark knowledge provided by teachers with various capacities, including their distinctness on absolute class probabilities and consistency in relative class affinities; (2) addressing the capacity mismatch problem in KD by proposing multiple simple yet effective methods, which are verified by abundant experimental studies.我们将贡献总结为两个方面:(1)展示了关于不同容量教师所提供暗知识的新见解,包括它们在绝对类别概率上的差异性和在类别相对亲和力上的一致性;(2)通过提出多种简单且有效的方法解决了 KD 中的容量不匹配问题,并经由大量实验研究验证了这些方法的有效性。
2 Related Works2 相关工作
Our work is closely related to the dark knowledge and capacity mismatch problem in KD.我们的工作与 KD 中的暗知识和容量不匹配问题密切相关。
2.1 Dark Knowledge in KD2.1 KD 中的暗知识
Quite a few works focus on understanding and revealing the essence and effects of “dark knowledge” in KD, including the empirical studies and theoretical analysis [39, 40, 13, 12, 41, 42, 43, 32, 11, 44]. [11] unifies the dark knowledge with privileged information, and [45] attributes the dark knowledge in vision tasks to the task-relevant and task-irrelevant visual concepts. The dark knowledge in KD is also related to label smoothing (LS) [41, 46, 47, 48]. Some works decompose the dark knowledge of teachers and aim to understand their effectiveness correspondingly. [49] decomposes the dark knowledge into two parts, explaining the teacher’s ground-truth/non-ground-truth outputs as importance weighting and class similarities. [39] decomposes the dark knowledge into three parts including universal knowledge, domain knowledge, and gradient rescaling. The bias-variance decomposition is also utilized to analyze the property of KD [13, 43]. [50] utilizes the standard deviation of the secondary soft probabilities to reflect the quality of the teachers’ dark knowledge. Recently, [51] proposed an innovative perspective, suggesting that the knowledge of the teacher stems from containing less noise. The most related work [31] decomposes the KD into correct guidance, smooth regularization, and class discriminability, which provides novel insights about the key information in the dark knowledge. Few works have examined the relationship of dark knowledge with teacher capacities, and this paper provides detailed observations and analysis about this.已有不少工作致力于理解和揭示 KD 中“暗知识”的本质和作用,包括经验性研究和理论分析 [39, 40, 13, 12, 41, 42, 43, 32, 11, 44]。[11] 将暗知识与特权信息统一起来,[45] 将视觉任务中的暗知识归因于任务相关和任务无关的视觉概念。KD 中的暗知识也与标签平滑(LS)[41, 46, 47, 48] 相关。一些工作对教师的暗知识进行分解,旨在理解其相应的有效性。[49] 将暗知识分解为两部分,将教师的真实/非真实类别输出解释为重要性加权和类别相似性。[39] 将暗知识分解为通用知识、领域知识和梯度重缩放三部分。偏差-方差分解也被用于分析 KD 的性质 [13, 43]。[50] 利用次级软概率的标准差来反映教师暗知识的质量。最近,[51] 提出了一种创新的视角,认为教师的知识源于包含较少的噪声。最相关的工作 [31] 将 KD 分解为正确引导、平滑正则化和类别可判别性,这为理解暗知识中的关键信息提供了新见解。很少有工作研究暗知识与教师容量之间的关系,本文对此提供了详细的观察和分析。
2.2 Capacity Mismatch in KD2.2 KD 中的容量不匹配
An intuitive sense after the proposal of KD [9] is that larger teachers could teach students better because their accuracy is higher. However, there exists a peculiar phenomenon named capacity mismatch that excellent teachers can’t completely teach the smaller students well. ESKD [32] first points out the phenomenon and points out that teacher accuracy may poorly predict the student’s performance, i.e., more accurate neural networks don’t necessarily teach better. However, no research so far has provided an accurate explanation or even a quantitative definition for this phenomenon. Previous works have only been made to propose solutions from various perspectives. TAKD [33] solves this problem by introducing an intermediate-sized network (i.e., the teacher assistant) to bridge the knowledge transfer between networks with a large capacity gap. SCKD [34] formulates KD as a multi-task learning problem with several knowledge transfer losses. ResKD [35, 36] utilize the “residual” of knowledge to teach the residual student, and then take the ensemble of the student and residual student for inference. DIST [52] finds that the discrepancy between the student and a stronger teacher may be fairly severe, which disturbs the training process, and they propose a ranking-based loss as the solution. [53] advocates that an intermediate checkpoint will be more appropriate for distillation. [54] explores the strong teachers in few-shot learning. [55] studies the effect of capacity gap on the generated samples in data-free KD. Recently, [56] demonstrated that sharing the same temperature between the teacher and student leads to a logit shift, which is a side-effect in KD. One of our methods is closely related to [31] that proposes Asymmetric Temperature Scaling (ATS) to make the larger networks teach well again. An improved version named Instance-Specific ATS (ISATS) is proposed. Aside from this method, we also propose other simple yet effective solutions from different aspects.KD [9] 提出后的一个直观感受是,由于大型教师模型的准确率更高,它们理应能更好地教导学生。然而,存在一种被称为容量不匹配的特殊现象,即优秀的教师模型无法完全很好地教导较小的学生模型。ESKD [32] 首次指出了这一现象,并指出教师准确率可能无法很好地预测学生性能,即更准确的神经网络未必能带来更好的教学效果。然而,目前还没有研究为这一现象提供准确的解释或定量的定义。以往的工作仅从不同角度提出了解决方案。TAKD [33] 通过引入中间大小的网络(即教师助手)来桥接大容量差距网络之间的知识迁移,从而解决了这一问题。SCKD [34] 将 KD 形式化为一个包含多种知识迁移损失的多任务学习问题。ResKD [35, 36] 利用知识的“残差”来教导残差学生,然后将学生和残差学生的集成用于推理。DIST [52] 发现学生与更强教师之间的差异可能相当严重,这会干扰训练过程,因此他们提出了一种基于排序的损失作为解决方案。[53] 主张中间检查点更适合蒸馏。[54] 探讨了少样本学习中的强教师模型。[55] 研究了容量差距对无数据 KD 中生成样本的影响。最近,[56] 证明了教师和学生共享相同的温度会导致逻辑值偏移,这是 KD 中的一种副作用。我们的方法之一与 [31] 密切相关,该研究提出了非对称温度缩放(ATS)以使大型网络能够再次有效地进行教学。文中还提出了一个名为实例特定 ATS (ISATS) 的改进版本。除了这种方法外,我们还从不同角度提出了其他简单且有效的方法。
3 Background and Preliminaries3 背景与预备知识
We follow the basic notations as introduced in [31]. Specifically, we consider a -class classification problem with . We denote the “logits” as the output scores of a sample before applying the softmax function, which is represented as . Correspondingly, the softened probability vector is denoted as :我们沿用 [31] 中引入的基本符号。具体而言,我们考虑一个 C 类分类问题,其中 𝒴=[C]={1,2,⋯,C}。我们将“逻辑值”(logits)定义为样本 𝐱 在应用 softmax 函数之前的输出分数,表示为 𝐟(𝐱)∈ℝC。相应地,软化概率向量表示为 𝐩(𝐱,τ)=SF(𝐟(𝐱),τ):
| (1) |
where . is a scalar which refers to the logit of the -th class in . and denote the ground-truth class’s logit and probability, while and represent the vector of non-ground-truth classes’ logits and probabilities. denotes the ground-truth class.其中 Z(τ)=∑i=1Cexp(fi(𝐱)/τ)。fi(𝐱) 是一个标量,指代 𝐟(𝐱) 中第 i 个类别的逻辑值。𝐟y 和 𝐩y 分别表示真实类别的逻辑值和概率,而 𝐠=[𝐟c]c≠y 和 𝐪=[𝐩c]c≠y 分别代表非真实类别的逻辑值向量和概率向量。y 表示真实类别。
The most standard KD [9] contains two stages of training. The first stage trains complex teachers, and then the second stage transfers the knowledge from teachers to a smaller student by minimizing the KL divergence between softened probabilities. Usually, the loss function during the second stage (i.e., the student’s learning objective) is a combination of cross-entropy loss and distillation loss:最标准的 KD [9] 包含两个训练阶段。第一阶段训练复杂的教师模型,第二阶段通过最小化软化概率之间的 KL 散度将知识从教师迁移至较小的学生模型。通常,第二阶段的损失函数(即学生的学习目标)是交叉熵损失和蒸馏损失的组合:
| (2) |
where the upper script “t”/“s” denotes “teacher”/“student” respectively. We utilize as a hyperparameter to balance the weights between the two training stages. The dark knowledge in the above distillation equation is the teacher’s label, i.e., . In this paper, we aim to study the influence of teacher capacity on the teacher’s label. That is, we majorly compare the relationships between and which are provided by a larger and a smaller teacher, denoted as and , respectively.其中上标“t”/“s”分别表示“教师”/“学生”。我们利用 λ∈[0,1] 作为超参数来平衡两个训练阶段之间的权重。上述蒸馏方程中的暗知识即为教师的标签,即 𝐩t(τ)。在本文中,我们旨在研究教师容量对教师标签的影响。具体而言,我们主要比较由较大教师模型 tlarget 和较小教师模型 tsmall 所提供的 𝐩tlarge 和 𝐩tsmall 之间的关系。
The process of KD has the effect of improving the student network’s performance when compared with its independent training. An explanation for this improvement is that the dark knowledge contained in larger teachers could help the student better capture the semantic information. Commonly, the training and test accuracy of will be higher than that of because the larger teacher has a huge capacity to capture more information. Hence, to further improve the performance of the student network, a natural idea is replacing the smaller teacher (i.e., ) with a larger one (i.e., ). Frustratingly, this leads to a degradation in the performance of the student network. This phenomenon is named the “capacity mismatch” in KD, which is still counter-intuitive, surprising, and unexplored as declared in previous studies [34, 33, 36]. This paper will propose multiple simple yet effective methods to tackle the performance degradation problem.与独立训练相比,KD 过程具有提升学生网络性能的效果。对这种提升的一种解释是,大型教师模型中包含的暗知识可以帮助学生更好地捕捉语义信息。通常,tlarget 的训练和测试准确率会高于 tsmall,因为大型教师拥有巨大的容量来捕获更多信息。因此,为了进一步提高学生网络的性能,一个自然的想法是用大型教师(即 tlarget)替换较小的教师(即 tsmall)。令人沮丧的是,这会导致学生网络性能的下降。这种现象在 KD 中被称为“容量不匹配”,正如以往研究 [34, 33, 36] 所言,这一现象仍然是反直觉、令人惊讶且未经充分探索的。本文将提出多种简单且有效的方法来解决这一性能下降问题。
4 Observations and Explanations4 观察结果与解释
We first present two observations about the influence of teacher capacities on dark knowledge. Then, we provide explanations and metrics to better understand the findings.我们首先提出关于教师容量对暗知识影响的两个观察结果。然后,我们提供解释和指标以更好地理解这些发现。
4.1 Observations4.1 观察结果
An intuitive method to reflect the relationship of dark knowledge produced by teachers with various capacities is visualization. The first step is training teacher networks with different capacities on several benchmarks. Specifically, we train ResNet14 and ResNet110 [57] on the CIFAR-10/CIFAR-100 dataset [37], ResNeXt50-32-4d and ResNeXt101-32-8d [58] on the Stanford Dogs [59] and CUB [60] dataset, and WideResNet26-2 and WideResNet50-2 [61] on the TinyImageNet [62] dataset. We maximize the size difference between the two models on each dataset to make the experimental effects more pronounced. Then, for each dataset, a random sample is sampled from the first class in the training set and the softened probability vectors produced by different teachers are visualized. Fig. 1 shows the results, where “RES”, “RNX”, and “WRN” are abbreviations for corresponding networks. The utilized temperature is common across the subfigures. Comparing the first and second rows, it is obvious that larger teachers provide less varied probabilities for non-ground-truth classes. Although the variance of non-ground-truth class probabilities differs a lot between teachers, the relative probability values seem to be consistent. For example, the several top- bars between the two rows lie nearly in the same classes. We conclude the two fundamental observations as follows: (1) larger teachers tend to produce probability vectors that are less distinct among non-ground-truth classes; (2) teachers with different capacities are basically consistent in their cognition of relative class affinity. To further support these two observations, we provide explanations and statistical measures in the following.可视化是一种反映不同容量教师产生的暗知识之间关系的直观方法。第一步是在多个基准数据集上训练不同容量的教师网络。具体而言,我们在 CIFAR-10/CIFAR-100 数据集 [37] 上训练 ResNet14 和 ResNet110 [57],在 Stanford Dogs [59] 和 CUB [60] 数据集上训练 ResNeXt50-32-4d 和 ResNeXt101-32-8d [58],并在 TinyImageNet [62] 数据集上训练 WideResNet26-2 和 WideResNet50-2 [61]。我们最大化每个数据集上两个模型之间的尺寸差异,以使实验效果更加显著。然后,对于每个数据集,从训练集的第一类中随机抽取一个样本,并将不同教师产生的软化概率向量进行可视化。图 1 展示了结果,其中“RES”、“RNX”和“WRN”是相应网络的缩写。子图间使用了相同的温度。比较第一行和第二行,显而易见的是,较大的教师模型为非真实类别提供了变化较小的概率。尽管非真实类别概率的方差在不同教师之间差异很大,但相对概率值似乎是一致的。例如,两行之间前 K 个条形图中的几个几乎属于相同的类别。我们将这两个基本观察结果总结如下:(1)较大的教师倾向于生成在非真实类别间区分度较低的概率向量;(2)不同容量的教师在对类别相对亲和力的认知上基本保持一致。为了进一步支持这两个观察结果,我们在下文中提供了解释和统计度量。
4.2 The Variance of Non-ground-truth Class Probabilities4.2 非真实类别概率的方差
The explanations for the first observation are provided step by step.我们逐步提供对第一个观察结果的解释。
Low-dimensional features. First, we train MLP networks on MNIST [63] and train VGG [64] networks on SVHN [65]. These two datasets are relatively simpler classification tasks, and we set the final feature dimensions as 2 and 3 correspondingly for better visualization. We do not use the bias parameters in the last layer. We progressively enlarge the depth and width of MLP networks, and use the total number of parameters to denote the network capacity. The capacity of MLP networks ranges from 0.1M to 0.9M. The VGG capacities are determined by the number of layers, which ranges from 8 to 19. We do not use ReLU [66] activation for the final extracted features. These two datasets have 10 types of digits to identify, and the extracted features are scattered in Fig. 2. With the capacity increases, the features of the same class are more compact, while the class centers between different classes are more dispersed. Notably, the larger networks do not overfit the training dataset, because the test accuracy shown in the figure still becomes higher. This implies that larger DNNs obtain a higher performance but may extract more compact intra-class features and more dispersed inter-class features.低维特征。首先,我们在 MNIST [63] 上训练 MLP 网络,并在 SVHN [65] 上训练 VGG [64] 网络。这两个数据集是相对简单的分类任务,为了更好地可视化,我们将最终特征维度分别设置为 2 和 3。我们在最后一层不使用偏置参数。我们逐步扩大 MLP 网络的深度和宽度,并使用参数总数来表示网络容量。MLP 网络的容量范围从 0.1M 到 0.9M。VGG 的容量由层数决定,范围从 8 到 19。我们在最终提取的特征上不使用 ReLU [66] 激活。这两个数据集有 10 种数字需要识别,提取的特征分布在图 2 中。随着容量的增加,同一类别的特征更加紧凑,而不同类别之间的类中心更加分散。值得注意的是,较大的网络并没有对训练数据集过拟合,因为图中显示的测试准确率仍在提高。这意味着更大的 DNN 获得了更高的性能,但可能会提取出更紧凑的类内特征和更分散的类间特征。
High-dimensional features. The above demos show low-dimensional features that may not reflect the change in high-dimensional space. Hence, we extend the findings to CIFAR-10 and CIFAR-100, on which we train a series of ResNet, WideResNet, and ResNeXt networks. Because the high-dimensional features are hard to visualize and the dimensional-reduced plots by T-SNE [67] are sensitive to hyper-parameters, we instead calculate several metrics to indirectly verify the change of feature compactness. Specifically, we calculate the feature angle as follows:高维特征。上述演示显示的是可能无法反映高维空间变化的低维特征。因此,我们将研究结果扩展到 CIFAR-10 和 CIFAR-100,并在其上训练了一系列 ResNet、WideResNet 和 ResNeXt 网络。由于高维特征难以可视化,且 T-SNE [67] 降维图对超参数敏感,我们转而计算几个指标来间接验证特征紧凑性的变化。具体而言,我们按如下方式计算特征角度:
| (3) |
where and are feature vectors of the -th and -th training sample. Then, we define the inter-class and intra-class set as and , respectively. The average and standard deviation of angles in the two sets are plotted in Fig. 3. If the teacher becomes more complex, the inter-class feature angle becomes smaller, while the intra-class angle becomes larger. Notably, we use ReLU [66] activation before the classification layer, implying that all of the elements in the extracted features are non-negative. This could already provide some hints for the capacity mismatch phenomenon. As an extreme case, if the features among the same class collapse into a single point, and features among different classes are orthogonal to each other, the inter-class feature angle will be zero and the intra-class one will be 90∘. Although the training and test accuracy will be , the softened probabilities may be one-hot labels, which bring no additional information to the student. An illustration and more detailed discussion can be found in Sect. 7. The inter-class and intra-class distance metrics utilized in linear discriminant analysis [68] or unsupervised discriminant projection [69] show the same trend. We omit the display of the results based on these distance metrics because the trends of feature angles are vivid enough to show how the feature compactness changes.其中 𝐡i 和 𝐡j 分别是第 i 个和第 j 个训练样本的特征向量。然后,我们分别定义类间集 {(i,j)}yi≠yj,∀i,j 和类内集 {(i,j)}yi=yj,∀i,j。这两个集合中角度的平均值和标准差绘制在图 3 中。如果教师模型变得更复杂,类间特征角度会变小,而类内角度会变大。值得注意的是,我们在分类层之前使用了 ReLU [66] 激活,这意味着提取特征中的所有元素均为非负值。这已经可以为容量不匹配现象提供一些线索。作为一种极端情况,如果同一类别的特征坍缩为一个点,且不同类别之间的特征相互正交,则类间特征角度将为 0,类内角度将为 90°。尽管训练和测试准确率将达到 100%,但软化概率可能是独热标签,这不会为学生提供额外信息。插图和更详细的讨论可在第 7 节找到。线性判别分析 [68] 或无监督判别投影 [69] 中使用的类间和类内距离指标显示出相同的趋势。我们省略了基于这些距离指标的结果展示,因为特征角度的趋势已足够直观地展示特征紧凑性是如何变化的。
Visualizaion of classes. According to the softmax properties in classification problems, the classification weight of each class is pulled towards the features from the same class while pushed away from the features of other classes [70]. That is, the change tendency of features could partially reflect the tendency of classification weights in the final layer. An ideal case is that the learned classification weights converge to the feature centers. If the intra-class feature angle becomes larger, the feature of a specific sample will be far away from the classification weights of the other classes. Similarly, the feature of a specific sample will be closer to the corresponding class’s classification weight. This will lead to a larger logit for the ground-truth class. If the intra-class features are nearly orthogonal, the logits for non-ground-truth classes will be less varied. The illustration can be found in Fig. 4, where the larger teacher extracts more compact inter-class features and more dispersed intra-class features. The triangle represents a sample feature in the -st class, and the larger teacher tends to give a larger target logit (i.e., ) and less varied non-ground-truth class logits (i.e., ). A larger target logit or less varied non-ground-truth class logits will both lead to less varied non-ground-truth class probabilities after applying softmax function [31].类别的可视化。根据分类问题中 softmax 的性质,每个类别的分类权重会被拉向同一类别的特征,同时被推离其他类别的特征 [70]。也就是说,特征的变化趋势可以在一定程度上反映最后一层中分类权重的趋势。理想的情况是学习到的分类权重收敛到特征中心。如果类内特征角度变大,特定样本的特征将远离其他类别的分类权重。同样,特定样本的特征将更接近相应类别的分类权重。这将导致真实类别具有更大的逻辑值。如果类内特征几乎正交,非真实类别的逻辑值将变化较小。插图见图 4,其中较大的教师提取出更紧凑的类间特征和更分散的类内特征。三角形代表第 1 类中的样本特征,较大的教师倾向于给出更大的目标逻辑值(即 𝐟1=𝐡T𝐰1)和变化较小的非真实类别逻辑值(即 𝐠=[𝐡T𝐰c]c∈{2,3,4,5})。较大的目标逻辑值或变化较小的非真实类别逻辑值在应用 softmax 函数后都会导致非真实类别概率的变化较小 [31]。
The step-by-step analysis and visualization provide explanations for the first observation that larger teachers tend to produce probability vectors that are less varied between non-ground-truth classes.逐步的分析和可视化为第一个观察结果提供了解释,即较大的教师倾向于生成在非真实类别间变化较小的概率向量。
4.3 The Relative Class Affinities4.3 类别相对亲和力
The second observation in Sect. 4.1 implies that the relative probability values given by different teachers seem to be consistent. Hence, we explore this observation further through several quantitative metrics. The intuitive idea is to explore whether different teachers give the same top- predictions or not. Specifically, we train a smaller teacher and a larger teacher on the same dataset. Then, we calculate the predicted top- classes for the -th training sample, and denote the predicted class sets as and , respectively. We denote as the number of overlapped classes. Then we show the distribution of the number of overlapped classes when considering different . Fig. 5 displays the results on CUB and TinyImageNet. The percentages in the figure show how many data samples have the number of overlapping classes corresponding to the values of the y-axis. Considering the top- predicted classes of ResNeXt50-32-4d and ResNeXt101-32-8d on CUB, there are training samples that have 3 common predicted classes, and training samples that have 2 common predicted classes. If we consider top- predicted classes, there are nearly training samples that have at least 5 common predicted classes. This implies that different teachers indeed have a great deal of consistency in top- class recognition.4.1 节中的第二个观察结果表明,不同教师给出的相对概率值似乎是一致的。因此,我们通过几个定量指标进一步探索这一观察。直观的想法是探究不同的教师是否给出相同的 Top-K 预测。具体而言,我们在同一数据集上训练一个较小的教师 tsmall 和一个较大的教师 tlarget。然后,我们计算第 i 个训练样本的预测 Top-K 类别,并分别将其预测类别集记为 𝒞i,Ktlarge 和 𝒞i,Ktsmall。我们将 |𝒞i,Ktlarge∩𝒞i,Ktsmall| 记为重叠类别的数量。然后,我们展示在考虑不同 K 值时重叠类别数量的分布。图 5 展示了在 CUB 和 TinyImageNet 上的结果。图中的百分比显示了有多少数据样本具有对应于 y 轴值的重叠类别数量。考虑 ResNeXt50-32-4d 和 ResNeXt101-32-8d 在 CUB 上的 Top-3 预测类别,有 21.6% 的训练样本具有 3 个共同预测类别,有 56.4% 的训练样本具有 2 个共同预测类别。如果考虑 Top-8 预测类别,则有近 69.4% 的训练样本至少具有 5 个共同预测类别。这意味着不同的教师在 Top-K 类别识别方面确实具有极高的一致性。
Then, we define several specific metrics to further explore the consistency. The first metric is named the rank set overlap ratio, which is calculated as follows:然后,我们定义了几个特定指标来进一步探索这种一致性。第一个指标称为秩集重叠比,计算如下:
| (4) |
where , denote teachers. The second metric is the Spearman correlation. It first obtains the rank of all classes in the output logits of two teachers, i.e., , . Then, it calculates the Pearson correlation as follows:其中 t1, t2 表示教师。第二个指标是 Spearman 相关系数。它首先获得两个教师输出逻辑值中所有类别的秩,即 𝐑it=argsort(𝐟it), t∈{t1,t2}。然后,计算 Pearson 相关系数如下:
| (5) |
where is the index of class and means the average of the elements in . Finally, we calculate Kendall’s between and , which directly shows the rank correlation of two teachers. The formulation is:其中 j 是类别索引,𝐑it¯ 表示 𝐑it 中元素的平均值。最后,我们计算 𝐟it1 和 𝐟it2 之间的 Kendall’s τ,这直接显示了两个教师的秩相关性。公式为:
| (6) |
where and show the index of classes. is the number of classes, and returns 1 or -1 depending on whether the input is positive or not. These three metrics only depend on classes’ relative magnitudes and are irrelevant to the absolute values. The metrics are calculated on CIFAR-10 under a series of ResNeXt networks. We set for the rank set overlap metric. The above equations only show the metrics on a single training sample, and we report the average result on 50K training samples. The results are in Fig. 6. Excitingly, these metrics among teachers with different capacities do not vary a lot, and the Spearman correlations are almost all larger than . According to the interpretation of Kendall’s [71, 72], if the smaller teacher predicts that class is more related to the target class than that of class , then the larger teacher has a probability of to give the same relative affinity. Certainly, the output logits of different networks are not completely identical in order, even for the same networks under different training randomness [73, 74]. These metrics demonstrate that teachers know approximately the same about relative class affinities.其中 j1 和 j2 表示类别索引。C 是类别数量,sg(⋅) 根据输入是否为正返回 1 或 -1。这三个指标仅取决于类别的相对量级,与绝对值无关。这些指标是在 CIFAR-10 上对一系列 ResNeXt 网络进行计算的。对于秩集重叠指标,我们设置 K=5。上述方程仅显示了单个训练样本上的指标,我们报告了 50K 个训练样本上的平均结果。结果见图 6。令人兴奋的是,不同容量教师之间的这些指标差异不大,Spearman 相关系数几乎都大于 0.85。根据 Kendall’s τ [71, 72] 的解释,如果较小的教师预测类别 j1 与目标类别的相关性高于类别 j2,那么较大的教师有 0.875 的概率给出相同的相对亲和力。当然,即使对于在不同训练随机性下 [73, 74] 的相同网络,不同网络的输出逻辑值在顺序上也不完全相同。这些指标证明了教师们对于类别相对亲和力的认知大致相同。
4.4 Verification by Group Classification4.4 通过分组分类进行验证
During training, the cross-entropy loss minimizes the divergence between the predicted posterior distribution and the empirical one-hot label distribution. Although one-hot labels do not capture class relationships, the posterior distribution does. The teacher network’s probability vector, , inherently represents this distribution, serving as an alternative that may help the student learn class affinities. However, since the true posterior distribution for each sample is unknown, it is difficult to ascertain which teacher’s label is superior.在训练期间,交叉熵损失最小化了预测后验分布与经验独热标签分布之间的差异。尽管独热标签不能捕捉类别关系,但后验分布可以。教师网络的概率向量 𝐩t 本质上代表了这种分布,作为一种替代方案,可能有助于学生学习类别亲和力。然而,由于每个样本的真实后验分布未知,很难确定哪个教师的标签更优。
While precise posterior distribution assignment per training sample remains challenging, group classification scenarios offer valuable inter-category priors. CIFAR-100 contains 100 categories, which contain 20 superclasses and 5 classes for each superclass 11 1 https://www.cs.toronto.edu/~kriz/cifar.html. For example, the superclass “flowers” contains five fine-grained classes including “orchids”, “poppies”, “roses”, “sunflowers” and “tulips”. One hypothesis is that categories in the same superclass are more similar to each other. We train different teachers (ranges from ResNet14 to ResNeXt29-64-4d) on CIFAR-100 and find that the hypothesis holds true for most superclasses. Fig. 7 presents averaged posterior distribution on three superclasses: “flowers”, “small mammals”, and “trees”. For each superclass, we select its first fine-grained class as the target label, i.e., “orchids”, “hamster”, and “maple”. For each target label, we obtain its corresponding training samples, i.e., 500 samples for each. We calculate the averaged probabilities via (=4.0) for being one of the three target classes. The circle size and color map represent the probability value. Key observations: (1) Target classes exhibit stronger affinity to intra-superclass members across all networks; (2) Relative intra-group probabilities maintain cross-architectural consistency. For example, different teacher networks agree that fine-grained classes “oak” and “willow” are more relevant to the target category “maple”, while “palm” is less relevant. (3) Probability variance decreases with increasing model capacity, evident from diminishing circle size differences in deeper networks. For example, the difference in circle sizes in the last row is much smaller than that in the first row, which behaves similarly in each subfigure.虽然每个训练样本的精确后验分布分配仍然具有挑战性,但分组分类场景提供了有价值的类间先验。CIFAR-100 包含 100 个类别,其中包含 20 个超类,每个超类有 5 个类别。例如,超类“花卉”包含五个细粒度类别,包括“兰花”、“罂粟”、“玫瑰”、“向日葵”和“郁金香”。一个假设是,同一超类中的类别彼此更为相似。我们在 CIFAR-100 上训练了不同的教师(范围从 ResNet14 到 ResNeXt29-64-4d),发现该假设对大多数超类成立。图 7 展示了三个超类“花卉”、“小型哺乳动物”和“树木”上的平均后验分布。对于每个超类,我们选择其第一个细粒度类别作为目标标签,即“兰花”、“仓鼠”和“枫树”。对于每个目标标签,我们获取其对应的训练样本,即每个标签 500 个样本。我们通过 𝔼𝐱,y=c[𝐩t(𝐱,τ)] (τ=4.0) 计算平均概率,其中 c 为三个目标类别之一。圆圈大小和颜色映射代表概率值。关键观察结果:(1)目标类别在所有网络中对超类内成员表现出更强的亲和力;(2)组内相对概率保持跨架构的一致性。例如,不同的教师网络都认为细粒度类别“橡树”和“柳树”与目标类别“枫树”的相关性更高,而“棕榈”的相关性较低。(3)概率方差随模型容量的增加而减小,这从更深层网络中圆圈大小差异的减小可以明显看出。例如,最后一行中圆圈大小的差异远小于第一行,每个子图中的表现类似。
Then we provide some rules that define the similarity between classes. For example, the rule “: , , , ” represents that a sample in class is predicted with the following rank: . If a network gives the rank as “, , , , ”, then the Kendall’s between the prediction and the rule is 0.8. To measure the absolute difference in the predictions of non-ground-truth classes, we also calculate the standard deviation of the probabilities, i.e., . The following lists the rules defined in CIFAR-100:然后,我们提供了一些定义类别间相似性的规则。例如,规则“c1: c2, c3, c4, c5”表示类 c1 中的样本预测排序为:𝐩c1>𝐩c2>𝐩c3>𝐩c4>𝐩c5。如果一个网络给出的排序为“c1, c3, c2, c4, c5”,则该预测与规则之间的 Kendall’s τ 为 0.8。为了衡量非真实类别预测中的绝对差异,我们还计算了概率的标准差,即 σ([𝐩c2,𝐩c3,𝐩c4,𝐩c5])。以下列出了 CIFAR-100 中定义的规则:
- •
C.1: hamster: mouse, rabbit, squirrel, shrewC.1: 仓鼠: 老鼠, 兔子, 松鼠, 鼩鼱
- •
C.2: orchids: tulips, roses, poppies, sunflowersC.2: 兰花: 郁金香, 玫瑰, 罂粟, 向日葵
- •
C.3: maple: oak, willow, pine, palmC.3: 枫树: 橡树, 柳树, 松树, 棕榈
- •
C.4: dolphin: whale, seal, otter, mammals beaverC.4: 海豚: 鲸鱼, 海豹, 水獭, 哺乳动物海狸
- •
C.5: apples: sweet peppers, oranges, pears, mushroomsC.5: 苹果: 甜椒, 橙子, 梨, 蘑菇
These rules are derived from the averaged posterior probability distributions in Fig. 7. For simplicity, we only consider intra-superclass relationships. We further construct a group classification task using five digit recognition datasets: MNIST, MNIST-M, USPS, SVHN, and SYN. We denote this as Digits-Five, which is often used in domain adaptation tasks [38] or task relationship estimation [75]. The construction process is simple where we only centralize the data together and obtain a task with classes. Based on transfer performance analyses and task relation coefficients from existing research [38, 75], we abstract several rules as follows:这些规则源自图 7 中的平均后验概率分布。为简单起见,我们仅考虑超类内的关系。我们进一步使用五个数字识别数据集构建了一个分组分类任务:MNIST、MNIST-M、USPS、SVHN 和 SYN。我们将其称为 Digits-Five,这常用于领域自适应任务 [38] 或任务关系估计 [75]。构建过程很简单,我们只是将数据集中在一起,获得一个包含 5×10=50 个类别的任务。基于现有研究 [38, 75] 的迁移性能分析和任务关系系数,我们抽象出以下规则:
- •
D.1: MNIST@c: USPS@c, SVHN@cD.1: MNIST@c: USPS@c, SVHN@c
- •
D.2: MNIST@c: MNISTM@c, SYN@cD.2: MNIST@c: MNISTM@c, SYN@c
- •
D.3: USPS@c: MNIST@c, MNISTM@c, SVHN@cD.3: USPS@c: MNIST@c, MNISTM@c, SVHN@c
MNIST@c represents the -th class in MNIST, and others are defined similarly. Each of the above rules contains a group of fine-grained rules if we set . Hence, the averaged results across the fine-grained ones are reported for each rule.MNIST@c 表示 MNIST 中的第 c 类,其他类推。如果我们设置 c∈{0,1,⋯,9},上述每条规则都包含一组细粒度规则。因此,我们报告了每条规则在细粒度类别上的平均结果。
While these rules may not apply to every sample, they may provide an approximate estimation of a sample’s true posterior distribution. Table 1 presents the results for Kendall’s and the standard deviation of probabilities for non-ground-truth classes. The consistency of teacher outputs with the defined rules shows little variation; in the simpler Digits Five task, the predicted ranks are nearly identical (with Kendall’s approaching 1.0). However, larger teachers yield much smaller standard deviations than smaller ones, indicating less variability among non-ground-truth classes. These experiments on group classification further validate the initial observations in Sect. 4.1.虽然这些规则可能不适用于每个样本,但它们可以提供样本真实后验分布的近似估计。表 1 展示了 Kendall’s τ 和非真实类别概率标准差的结果。教师输出与定义规则的一致性几乎没有变化;在更简单的 Digits-Five 任务中,预测排序几乎完全相同(Kendall’s τ 接近 1.0)。然而,较大的教师产生的标准差远小于较小的教师,这表明非真实类别之间的变异性较小。这些关于分组分类的实验进一步验证了 4.1 节中的初步观察。
| CIFAR-100 | Kendall’s | Standard Deviation | ||||
| ResNet20 | WRN28-3 | RNX29-64-4d | ResNet20 | WRN28-3 | RNX29-64-4d | |
| C.1 | 0.811 | 0.845 | 0.842 | 0.023 | 0.010 | 0.007 |
| C.2 | 0.596 | 0.513 | 0.430 | 0.017 | 0.005 | 0.004 |
| C.3 | 0.436 | 0.444 | 0.525 | 0.036 | 0.015 | 0.010 |
| C.4 | 0.776 | 0.824 | 0.849 | 0.026 | 0.012 | 0.010 |
| C.5 | 0.593 | 0.658 | 0.587 | 0.024 | 0.009 | 0.007 |
| Avg | 0.643 | 0.657 | 0.647 | 0.025 | 0.010 | 0.008 |
| Digits | Kendall’s | Standard Deviation | ||||
| VGG8 | VGG13 | VGG19 | VGG8 | VGG13 | VGG19 | |
| D.1 | 0.994 | 0.996 | 0.993 | 0.008 | 0.004 | 0.003 |
| D.2 | 0.991 | 0.999 | 0.998 | 0.010 | 0.007 | 0.005 |
| D.3 | 0.904 | 0.870 | 0.910 | 0.009 | 0.009 | 0.007 |
| Avg | 0.963 | 0.955 | 0.967 | 0.009 | 0.007 | 0.005 |
5 Addressing Capacity Mismatch5 解决容量不匹配问题
As introduced in Sect. 3, the “capacity mismatch” refers to the phenomenon that larger networks may not teach students as well as smaller teachers [33, 32, 35, 36, 31]. The above observations show that the relative class affinity between the larger teacher and smaller teacher’s outputs are basically consistent, while the absolute probabilities between non-ground-truth classes are not so discriminative for larger teachers. Hence, our proposed methods aim to enhance the distinctness between non-ground-truth class probabilities from different perspectives. The relative class affinity we observed ensures the correctness and effectiveness of our methods.如第 3 节所述,“容量不匹配”是指大型网络可能无法像较小教师那样很好地教导学生这一现象 [33, 32, 35, 36, 31]。上述观察结果表明,大型教师和小型教师输出之间的类别相对亲和力基本一致,而大型教师在非真实类别之间的绝对概率判别力不足。因此,我们提出的方法旨在从不同角度增强非真实类别概率之间的区分度。我们观察到的类别相对亲和力确保了我们方法的正确性和有效性。
5.1 Fusing Global Class Relations (FGCR)5.1 融合全局类别关系 (FGCR)
For each class , we calculate the averaged probabilities via , and advocate that this captures the global relationships among classes. According to Fig. 7, the global relationships given by different teachers are similar in relative values, which may be useful for stable distillation. Hence, we fuse this to each training sample of the -th class as follows:对于每个类别 c,我们通过 𝔼𝐱,y=c[𝐩(𝐱,τ0)] 计算平均概率,并主张这捕捉了类别之间的全局关系。根据图 7,不同教师给出的全局关系在相对值上是相似的,这对于稳定的蒸馏可能是有用的。因此,我们将此融合到第 c 类的每个训练样本中,如下所示:
| (7) |
where is the hyper-parameter. The relative class affinity suggests that small teacher can be regarded as a form of label smoothing (LS) for the large teacher, as both ensure consistency in the rank order of classes’ probabilities. Currently, the large teacher exhibits an overly one-hot output, necessitating LS to increase the variance of non-ground-truth class probabilities. Although LS can hurt knowledge KD [46], [76] demonstrates that label smoothing is compatible with KD at lower temperatures. Therefore, we set . As shown in Fig. 7, the averaged probability distribution provided by larger networks still shows less varied values among non-ground-truth classes, which may limit the effectiveness of this method. Hence, we only provide this method as a trial, and it is not the focus of our paper. In fact, the performances of FGCR could surpass the distillation performance of a smaller teacher, while it is still worse than other advanced techniques as shown in Tab. 2.其中 α 是超参数。类别相对亲和力表明,小型教师可以被视为大型教师的一种标签平滑(LS)形式,因为两者都确保了类别概率排序的一致性。目前,大型教师表现出过于独热的输出,需要 LS 来增加非真实类别概率的方差。尽管 LS 可能损害知识蒸馏 [46],但 [76] 表明标签平滑在较低温度下与 KD 是兼容的。因此,我们设置 τ0<τ。如图 7 所示,大型网络提供的平均概率分布在非真实类别之间仍然显示出变化较小的值,这可能会限制该方法的有效性。因此,我们仅将此方法作为一种尝试提供,它并非我们论文的重点。事实上,FGCR 的性能可以超过小型教师的蒸馏性能,但如表 2 所示,它仍然逊色于其他先进技术。
5.2 Regularizing Teachers (RegT)5.2 正则化教师 (RegT)
During the phase of training teachers, we add the following regularization to enhance the variance of non-ground-truth class probabilities:在训练教师的阶段,我们添加以下正则化以增强非真实类别概率的方差:
| (8) |
where and is the coefficient of the regularization term. Equation (8) explicitly encourages teacher network to decrease the influence of the ground-truth class and enhance the distinctness of non-ground-truth classes. Different from other post-processing methods, this way could enhance the variance of non-ground-truth class probabilities in the stage of training teachers, which could provide an excellent initialization for distillation.其中 𝐪(𝐱,1.0)=[𝐩c(𝐱,1.0)]c≠y,β 是正则化项的系数。方程 (8) 明确鼓励教师网络降低真实类别的影响,并增强非真实类别的区分度。与其他后处理方法不同,这种方法可以在训练教师的阶段增强非真实类别概率的方差,从而为蒸馏提供极好的初始化。
5.3 Instance-Specific Asymmetric Temperature Scaling (ISATS)5.3 实例特定非对称温度缩放 (ISATS)
The previous work [31] proposes the approach named asymmetric temperature scaling (ATS) to tackle the capacity mismatch in KD. ATS applies different temperatures to the logits of ground-truth and non-ground-truth classes, i.e.,已有研究 [31] 提出了一种名为非对称温度缩放(Asymmetric Temperature Scaling, ATS)的方法,旨在解决知识蒸馏(KD)中的容量失配问题。ATS 对真实类别和非真实类别的 Logits 采用不同的温度,即:
| (9) |
where for and for . The recommended setting is . This could effectively make the larger networks teach well again, but the effort in searching for proper hyper-parameters of and is huge.其中,当 j=y 时 τj=τ1,当 j≠y 时 τj=τ2。推荐的参数设置为 τ1−τ2∈[1,2]。这可以有效地使大型网络重新发挥良好的教学作用,但寻找合适的 τ1 和 τ2 超参数需要付出巨大的努力。
| Dataset | CIFAR-100 | TinyImageNet | CUB | Stanford Dogs | Avg | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Teacher | ResNet110 (74.09) | WRN50-2(66.28) | RNX101-32-8d (79.50) | RNX101-32-8d (73.98) | |||||||||
| Student | VGG8 | SFV1 | MV2 | ANet | SFV2 | MV2 | ANet | SFV2 | MV2 | ANet | SFV2 | MV2 | |
| NoKD | 69.92 | 70.04 | 64.75 | 34.62 | 45.79 | 52.03 | 55.66 | 71.24 | 74.49 | 50.20 | 68.72 | 68.67 | 60.51 |
| ST-KD | 72.30 | 73.22 | 66.56 | 36.16 | 49.59 | 52.93 | 56.39 | 72.15 | 76.80 | 51.95 | 69.92 | 72.06 | 62.50 |
| KD | 71.35 | 71.86 | 65.49 | 35.83 | 48.48 | 52.33 | 55.10 | 71.89 | 76.45 | 50.22 | 68.48 | 71.25 | 61.56 |
| ESKD | 71.88 | 72.02 | 65.92 | 34.97 | 48.34 | 52.15 | 55.64 | 72.15 | 76.87 | 50.39 | 69.02 | 71.56 | 61.74 |
| TAKD | 72.71 | 72.86 | 66.98 | 36.20 | 48.71 | 52.44 | 54.82 | 71.53 | 76.25 | 50.36 | 68.94 | 70.61 | 61.87 |
| SCKD | 70.38 | 70.61 | 64.59 | 36.16 | 48.76 | 51.83 | 56.78 | 71.99 | 75.13 | 51.78 | 68.80 | 70.13 | 61.41 |
| DIST | 71.22 | 71.10 | 65.01 | 35.95 | 45.75 | 50.56 | 48.88 | 71.79 | 75.34 | 49.85 | 67.69 | 68.97 | 60.18 |
| KD+ATS | 72.31 | 73.44 | 67.18 | 37.42 | 50.03 | 54.11 | 58.32 | 73.15 | 77.83 | 52.96 | 70.92 | 73.16 | 63.40 |
| KD+FGCR | 71.99 | 72.42 | 66.39 | 35.70 | 48.35 | 53.25 | 60.22 | 73.63 | 79.44 | 51.84 | 70.45 | 72.98 | 63.05 |
| KD+RegT | 72.09 | 72.39 | 66.18 | 36.66 | 48.48 | 53.31 | 60.17 | 74.20 | 79.21 | 52.18 | 70.55 | 72.43 | 63.15 |
| KD+ISATS | 72.46 | 73.80 | 67.04 | 37.15 | 49.61 | 55.49 | 61.73 | 74.23 | 78.84 | 54.36 | 70.98 | 72.73 | 64.04 |
As a step further solution, we extend ATS to Instance-Specific ATS (ISATS) that searches for proper temperatures for each training sample. Given a training sample , the predicted logit vector is , and the optimal temperature that could enlarge the variance of softened non-ground-truth classes’ probabilities is:作为进一步的解决方案,我们将 ATS 扩展为实例特定 ATS(Instance-Specific ATS, ISATS),即为每个训练样本搜索合适的温度。给定一个训练样本 𝐱,其预测的 Logit 向量为 𝐟(𝐱),能够增大软化后的非真实类别概率方差的最优温度为:
| (10) |
where denotes the probability vector of non-ground-truth classes in teacher network, i.e., and . It is noted that, according to relative class affinity, enlarging the teacher model does not alter the rank order among non-ground-truth classes. Consequently, all non-target classes share the same , eliminating the need to apply different values across classes. calculates the variance of the elements in a vector. That is, the optimal temperature for each instance is searched to make the probabilities of non-ground-truth classes more distinct. Then, we set and as recommended by ATS [31]. Equation (10) has no closed-form solution. So like ATS, ISATS still requires manual search to ensure an appropriate temperature. Nevertheless, ISATS has two advantages over ATS. First, ISATS saves the effort of finding the proper value of and . ATS requires performing multiple distillation processes and comparing the experimental results at different temperatures to determine proper . In contrast, ISATS can directly compute based on (10) in advance, eliminating the need for comparative distillation experiments. Second, ISATS considers a more fine-grained way to release the discriminative information contained in wrong classes for each training sample. In summary, ISATS is an all-around improvement over ATS.其中,𝐪(𝐱,τ) 表示教师网络中非真实类别的概率向量,即 𝐪(𝐱,τ)=[𝐩c(𝐱,τ)]c≠y,且 𝐩(𝐱,τ)=SF(𝐟(𝐱),τ)。值得注意的是,根据相对类别亲和力,增大教师模型并不会改变非真实类别之间的排序。因此,所有非目标类别共享同一个 τ,从而消除了跨类别应用不同 τ 值的必要。v(⋅) 计算向量中元素的方差。也就是说,为每个实例搜索最优温度,旨在使非真实类别的概率更具区分度。然后,按照 ATS [31] 的建议,我们设置 τ1(𝐱)=τ⋆+1 和 τ2(𝐱)=τ⋆。方程 (10) 没有闭式解,因此与 ATS 一样,ISATS 仍需人工搜索以确保合适的温度。尽管如此,ISATS 相比 ATS 有两个优势。首先,ISATS 省去了寻找 τ2 和 τ1 合适值的繁琐工作。ATS 需要进行多次蒸馏过程,并比较不同温度下的实验结果以确定合适的 τ。相比之下,ISATS 可以预先根据 (10) 直接计算出 τ⋆,无需进行对比蒸馏实验。其次,ISATS 考虑了一种更细粒度的方式,为每个训练样本释放错误类别中所包含的判别性信息。总之,ISATS 是对 ATS 的全面改进。
6 Performance Comparisons6 性能对比
This section provides performance comparisons of addressing capacity mismatch in KD. The experimental studies follow the settings in [31] and utilize the publicly available code 22 2 https://github.com/lxcnju/ATS-LargeKD. We directly cite some experimental results for comparisons. Specifically, the utilized datasets are CIFAR-10/CIFAR-100 [37], TinyImageNet [62], CUB [60], and Stanford Dogs [59]. We choose teacher models significantly larger than their corresponding student models as we do in Section 4. Teacher networks include versions of ResNet [57], WideResNet [61], and ResNeXt [58]. Student networks are VGG [64], ShuffleNetV1/V2 [4, 5], AlexNet [77], and MobileNetV2 [3]. We train networks on corresponding datasets for 240 epochs. SGD optimizer with a momentum value of 0.9 is used. The learning rate is 0.05 by default, and the batch size is 128. For our proposed FGCR, we set and , and the best results are reported. For RegT, is searched in . For ISATS, we search for the best temperature for each instance in the scope of . The distribution of the optimal instance-specific temperatures on CIFAR-100 is as follows: 4.0 accounts for about , 5.0 accounts for about , 3.0 accounts for about , and others account for .本节提供解决 KD 中容量失配问题的性能对比。实验研究遵循 [31] 中的设置,并利用公开代码 https://github.com/lxcnju/ATS-LargeKD。我们直接引用部分实验结果进行对比。具体而言,所使用的数据集为 CIFAR-10/CIFAR-100 [37]、TinyImageNet [62]、CUB [60] 和 Stanford Dogs [59]。正如第 4 节所述,我们选择显著大于其对应学生模型的教师模型。教师网络包括不同版本的 ResNet [57]、WideResNet [61] 和 ResNeXt [58]。学生网络包括 VGG [64]、ShuffleNetV1/V2 [4, 5]、AlexNet [77] 和 MobileNetV2 [3]。我们对网络在相应数据集上训练 240 个 epoch。使用动量值为 0.9 的 SGD 优化器。默认学习率为 0.05,批大小为 128。对于我们提出的 FGCR,设置 τ0=τ−1 且 α∈{0.1,0.5},并报告最佳结果。对于 RegT,β 在 {0.01,0.001} 中搜索。对于 ISATS,我们在 {1.0,2.0,3.0,4.0,5.0,6.0,8.0} 的范围内为每个实例搜索最佳温度。CIFAR-100 上最优实例特定温度的分布如下:4.0 约占 31%,5.0 约占 27%,3.0 约占 22%,其他占 20%。
| Dataset | CIFAR-100 | TinyImageNet | CUB | Stanford Dogs | Avg | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Teacher | ResNet110 (74.09) | WRN50-2(66.28) | RNX101-32-8d (79.50) | RNX101-32-8d (73.98) | |||||||||
| Student | VGG8 | SFV1 | MV2 | ANet | SFV2 | MV2 | ANet | SFV2 | MV2 | ANet | SFV2 | MV2 | |
| NoKD Ens | 72.77 | 73.61 | 67.76 | 39.37 | 50.69 | 56.40 | 59.84 | 74.43 | 77.47 | 54.04 | 71.65 | 72.53 | 64.21 |
| ResKD | 73.89 | 76.03 | 69.00 | 38.66 | 51.93 | 57.32 | 62.60 | 75.29 | 76.27 | 54.68 | 70.73 | 72.85 | 64.94 |
| KD+ATS+Ens | 74.86 | 75.05 | 69.50 | 40.42 | 52.14 | 58.47 | 62.00 | 76.26 | 78.97 | 55.69 | 73.22 | 74.67 | 65.94 |
| KD+FGCR+Ens | 73.69 | 74.76 | 68.22 | 39.20 | 52.71 | 56.44 | 61.94 | 76.84 | 80.37 | 54.25 | 72.70 | 74.83 | 65.50 |
| KD+RegT+Ens | 74.88 | 74.95 | 68.45 | 39.37 | 53.78 | 57.35 | 62.11 | 75.64 | 80.82 | 55.03 | 72.73 | 74.25 | 65.78 |
| KD+ISATS+Ens | 74.55 | 74.43 | 68.61 | 40.25 | 53.18 | 58.78 | 63.82 | 75.07 | 80.87 | 56.62 | 73.53 | 75.30 | 66.25 |
6.1 Performance Comparisons6.1 性能对比
We compare with SOTA methods and list the results on CIFAR-100, TinyImageNet, CUB, and Dogs in Tab. 2. The compared methods include ESKD [32], TAKD [33], SCKD [34], and ATS [31]. NoKD trains students without the teacher’s supervision. ST-KD trains students under the guidance of a smaller teacher. KD trains students under the guidance of the larger teacher. The larger teachers are ResNet110, WRN50-2, RNX101-32-8d, and RNX101-32-8d for the four datasets, while the smaller teachers are ResNet20, WRN26-2, RNX50-32-4d, and RNX50-32-4d, respectively. The values in “()” display the test accuracy of the large teachers. The last column of the table shows the average performance of corresponding rows. The last three rows present the performances of our proposed algorithms. These methods could improve the performances of students when taught by a larger network and surpass that of KD and ST-KD, which verifies that enhancing the variance of non-ground-truth classes could indeed make larger networks teach well again. Although dataset bias exists in a few circumstances, the proposed ISATS could achieve the SOTA results when compared with ATS. It is easy to understand that ISATS searches for optimal temperatures in an instance-specific manner, which could enhance the variance of non-ground-truth class probabilities more effectively. The two methods presented in Sections 5.1 and 5.2 are also meaningful. RegT belongs to the pre-processing method that enhances the variance of non-ground-truth classes during the phase of training teachers, which also presents good performances. RegT does not directly affect the teacher model’s error class variance like ATS, so its performance is not as good as ATS. However, together with ESKD [32], it indicates that a more suitable teacher is benefical to KD performance improvement and provides a simple and effective method for teacher regularization. Similarly, the performance improvement of FGCR is less pronounced than ATS, but it indirectly supports the rationale for moderate LS. The experimental data for these two methods, from the perspective of wrong-class variance that we introduced, demonstrate the validity of previous works that tried to address capacity mismatch.我们将本文方法与 SOTA 方法进行比较,并在表 2 中列出了在 CIFAR-100、TinyImageNet、CUB 和 Dogs 上的结果。对比方法包括 ESKD [32]、TAKD [33]、SCKD [34] 和 ATS [31]。NoKD 在没有教师监督的情况下训练学生模型。ST-KD 在较小教师的指导下训练学生。KD 在较大教师的指导下训练学生。对于四个数据集,较大的教师分别是 ResNet110、WRN50-2、RNX101-32-8d 和 RNX101-32-8d,而较小的教师分别是 ResNet20、WRN26-2、RNX50-32-4d 和 RNX50-32-4d。“()”中的数值显示了大教师的测试准确率。表格的最后一列显示了相应行的平均性能。最后三行展示了我们所提算法的性能。这些方法能够在由较大网络指导时提高学生的性能,并超过 KD 和 ST-KD,这验证了增强非真实类别的方差确实能使大型网络重新发挥良好的教学作用。尽管在少数情况下存在数据集偏差,但与 ATS 相比,所提的 ISATS 能够达到 SOTA 结果。不难理解,ISATS 以实例特定的方式搜索最优温度,这能更有效地增强非真实类别概率的方差。第 5.1 节和 5.2 节提出的两种方法也具有意义。RegT 属于预处理方法,在教师训练阶段增强非真实类别的方差,其表现也很好。RegT 不像 ATS 那样直接影响教师模型的错误类别方差,因此其性能不如 ATS。然而,它与 ESKD [32] 一起表明,更合适的教师有利于 KD 性能的提升,并为教师正则化提供了一种简单有效的方法。同样,FGCR 的性能提升不如 ATS 明显,但它间接支持了适度标签平滑(LS)的合理性。从我们引入的错误类别方差角度来看,这两种方法的实验数据证明了以往试图解决容量失配问题的研究的有效性。
We also verify the ensemble performances after distillation because ResKD [35, 36] improves the students’ performances by introducing the residual student and taking the two residual students’ ensemble. Although ResKD surpasses the performance of ATS, this comparison is not fair. Hence, we also provide ensemble performances of two separately trained students under different initialization and training seeds. For a fair comparison, we also test the performances of our methods by repeating the corresponding algorithms two times and making predictions via the ensemble of the obtained two student networks. The results are listed in Tab. 3. Clearly, our proposed ISATS could also achieve better performances when compared with ATS and other methods.我们还验证了蒸馏后的集成性能,因为 ResKD [35, 36] 通过引入残差学生并对两个残差学生进行集成来提高学生性能。尽管 ResKD 的性能超过了 ATS,但这种比较并不公平。因此,我们也提供了在不同初始化和训练种子下分别训练的两个学生的集成性能。为了公平比较,我们还通过重复相应算法两次,并对获得的两个学生网络进行集成预测,来测试我们方法的性能。结果列于表 3 中。显然,与 ATS 和其他方法相比,我们提出的 ISATS 也能实现更好的性能。
6.2 Comparing ISATS with TS and ATS6.2 ISATS 与 TS 和 ATS 的比较
We then especially focus on the comparison of ISATS with TS and ATS. Specifically, we follow the experimental settings in [31] and additionally plot the performance curves when utilizing our proposed ISATS. Fig. 8 shows several pairs of KD experimental studies, which include the combinations of three series of teacher networks (i.e., ResNet, WideResNet, and ResNeXt) and three student networks (i.e., VGG8, ShuffleNetV1, and MobileNetV2). The utilized dataset is CIFAR-100. Each plot shows three curves, including TS (i.e., KD), ATS (i.e., KD+ATS), and ISATS (i.e., KD+ISATS). The x-axis represents the increasing capacity of teachers. The curves of TS imply that the student’s performance taught by teacher networks becomes worse when the teacher capacity increases, i.e., the capacity mismatch phenomenon. ATS could mitigate this phenomenon and make larger teachers teach well or better again. Our proposed ISATS has the same effect and could surpass ATS in most cases.接下来,我们重点比较 ISATS 与 TS 和 ATS。具体而言,我们遵循 [31] 中的实验设置,并额外绘制了使用我们所提 ISATS 的性能曲线。图 8 展示了几对 KD 实验研究,包括三个系列教师网络(即 ResNet、WideResNet 和 ResNeXt)与三个学生网络(即 VGG8、ShuffleNetV1 和 MobileNetV2)的组合。所使用的数据集为 CIFAR-100。每张图显示三条曲线,包括 TS(即 KD)、ATS(即 KD+ATS)和 ISATS(即 KD+ISATS)。x 轴代表教师容量的增加。TS 的曲线表明,当教师容量增加时,学生在教师网络指导下的性能会变差,即容量失配现象。ATS 可以缓解这种现象,并使大型教师重新发挥良好或更好的教学作用。我们提出的 ISATS 具有同样的效果,且在大多数情况下能够超过 ATS。
Fig. 8 further demonstrates that ISATS can achieve superior KD performance with a given teacher model size, avoiding the substantial effort required to find an appropriate teacher model in the situation of TS. Notably, ISATS outperforms ATS in distillation performance, particularly when the teacher model is large.图 8 进一步证明,ISATS 可以在给定教师模型大小时实现更优的 KD 性能,避免了在 TS 情况中寻找合适教师模型所需的大量工作。值得注意的是,ISATS 在蒸馏性能上优于 ATS,特别是在教师模型较大时。
7 Discussion7 讨论
This paper explores the influence of teachers’ capacity on their provided distillation labels, i.e., the dark knowledge in KD. A larger teacher may be over-confident and provide probability vectors that are less discriminative between non-ground-truth classes. If we view the capacity as an influencing factor of the confidence level, then we could abstract the illustration shown in Fig. 9. In fact, the confidence level is related to the following factors.本文探讨了教师容量对其所提供蒸馏标签(即 KD 中的暗知识)的影响。较大的教师可能过于自信,提供的概率向量在非真实类别之间的判别性较差。如果我们视容量为置信度水平的影响因素,那么我们可以抽象出图 9 所示的说明。事实上,置信度水平与以下因素有关。
- •
Network Capacity. This paper mainly explores this factor. An extremely smaller network tends to provide uniform predictions, while an extremely larger network provides “one-hot” ones.网络容量。本文主要探讨该因素。极小的网络倾向于提供均匀的预测,而极大的网络则提供“独热(one-hot)”预测。
- •
Training Process. With the training process of a network, it becomes more and more confident. In the beginning, it is ignorant and provides uniform predictions. After enough training steps, it may output “one-hot” vectors. That is, a proper training level of teachers also matters a lot in the KD process. Some works have pointed out that intermediate model checkpoints could be better teachers than the fully converged model [53].训练过程。随着网络的训练过程,它变得越来越自信。起初,它处于无知状态,提供均匀的预测。经过足够的训练步骤后,它可能会输出“独热”向量。也就是说,教师适当的训练水平在 KD 过程中也非常重要。一些研究指出,中间模型检查点可能比完全收敛的模型是更好的教师 [53]。
- •
Temperature Factor. Given a trained network, we could also adjust the temperature and obtain different types of probability vectors. If we take a very high temperature, the distribution becomes uniform. In contrast, a lower temperature leads to “one-hot” results. Consequently, traditional KD methods do not use a too-small or too-large temperature [9].温度因子。给定一个训练好的网络,我们还可以调整温度并获得不同类型的概率向量。如果采用非常高的温度,分布会变得均匀。相反,较低的温度会导致“独热”结果。因此,传统的 KD 方法不会使用过小或过大的温度 [9]。
As shown in Fig. 9, a proper confidence level could generate a rational probability distribution that facilitates the KD process. Our work points out why the teacher with high capacity does not perform well in KD and proposes several solutions to adjust their over-confident outputs.如图 9 所示,适当的置信度水平可以生成合理的概率分布,从而促进 KD 过程。我们的工作指出了为什么高容量教师在 KD 中表现不佳,并提出了几种调整其过度自信输出的解决方案。
8 Conclusion8 结论
This paper studies the dark knowledge in KD under various teacher capacities. Two observations are first presented, i.e., the probability vectors provided by larger teachers are less distinct among non-ground-truth classes, while the relative probability values seem consistent among different teachers. Abundant experimental studies are provided to explain these two observations. The less varied non-ground-truth class probabilities make the student hardly grasp the absolute affinities of non-ground-truth classes to the target class, leading to the interesting “capacity mismatch” phenomenon in KD. Multiple effective and simple solutions are proposed to solve this problem. Finally, a unified perspective about dark knowledge under various confidence levels is provided for future studies.本文研究了不同教师容量下的 KD 暗知识。首先提出了两个观察结果,即较大教师提供的概率向量在非真实类别中区分度较低,而相对概率值在不同教师之间似乎是一致的。文中提供了丰富的实验研究来解释这两个观察结果。非真实类别概率的差异性减小,使得学生难以掌握非真实类别对目标类别的绝对亲和力,从而导致了 KD 中有趣的“容量失配”现象。本文提出了多种有效且简单的解决方案来解决这一问题。最后,为未来的研究提供了一个关于不同置信度水平下暗知识的统一视角。
This work is supported by National Science and Technology Major Project (Grant No. 2022ZD0114805).本工作得到国家重点研发计划(项目编号:2022ZD0114805)的支持。
References参考文献
- [1] Bucila C, Caruana R, Niculescu-Mizil A. Model compression. In: Proceedings of the Twelfth ACM SIGKDD International Conference on Knowledge Discovery and Data Mining. 2006, 535–541 [1] Bucila C, Caruana R, Niculescu-Mizil A. 模型压缩. 载于:第十二届 ACM SIGKDD 国际知识发现与数据挖掘会议论文集. 2006, 535–541
- [2] Howard A G, Zhu M, Chen B, Kalenichenko D, Wang W, Weyand T, Andreetto M, Adam H. Mobilenets: Efficient convolutional neural networks for mobile vision applications. CoRR, 2017, abs/1704.04861 [2] Howard A G, Zhu M, Chen B, Kalenichenko D, Wang W, Weyand T, Andreetto M, Adam H. Mobilenets: 用于移动视觉应用的高效卷积神经网络. CoRR, 2017, abs/1704.04861
- [3] Sandler M, Howard A G, Zhu M, Zhmoginov A, Chen L. Mobilenetv2: Inverted residuals and linear bottlenecks. In: Proceedings of the IEEE conference on computer vision and pattern recognition. 2018, 4510–4520 [3] Sandler M, Howard A G, Zhu M, Zhmoginov A, Chen L. Mobilenetv2: 倒置残差和线性瓶颈. 载于:IEEE 计算机视觉与模式识别会议论文集. 2018, 4510–4520
- [4] Zhang X, Zhou X, Lin M, Sun J. Shufflenet: An extremely efficient convolutional neural network for mobile devices. In: Proceedings of the IEEE conference on computer vision and pattern recognition. 2018, 6848–6856 [4] Zhang X, Zhou X, Lin M, Sun J. Shufflenet: 一种用于移动设备的极高效卷积神经网络. 载于:IEEE 计算机视觉与模式识别会议论文集. 2018, 6848–6856
- [5] Ma N, Zhang X, Zheng H, Sun J. Shufflenet V2: practical guidelines for efficient CNN architecture design. In: Proceedings of the European conference on computer vision (ECCV). 2018, 122–138 [5] Ma N, Zhang X, Zheng H, Sun J. Shufflenet V2: 高效 CNN 架构设计的实用指南. 载于:欧洲计算机视觉会议 (ECCV) 论文集. 2018, 122–138
- [6] Zhou Z H, Jiang Y, Chen S F. Extracting symbolic rules from trained neural network ensembles. AI Communications, 2003, 16(1): 3–15 [6] Zhou Z H, Jiang Y, Chen S F. 从训练好的神经网络集成中提取符号规则. AI Communications, 2003, 16(1): 3–15
- [7] Zhou Z H, Jiang Y. Nec4.5: Neural ensemble based C4.5. Journal of IEEE Transactions on Knowledge and Data Engineering, 2004, 16(6): 770–773 [7] Zhou Z H, Jiang Y. Nec4.5: 基于神经网络集成的 C4.5. IEEE 知识与数据工程汇刊, 2004, 16(6): 770–773
- [8] Urban G, Geras K J, Kahou S E, Aslan Ö, Wang S, Mohamed A, Philipose M, Richardson M, Caruana R. Do deep convolutional nets really need to be deep and convolutional? In: Proceedings of International Conference on Learning Representations. 2017 [8] Urban G, Geras K J, Kahou S E, Aslan Ö, Wang S, Mohamed A, Philipose M, Richardson M, Caruana R. 深度卷积网络真的需要既深又卷积吗? 载于:国际学习表征会议论文集. 2017
- [9] Hinton G E, Vinyals O, Dean J. Distilling the knowledge in a neural network. CoRR, 2015, abs/1503.02531 [9] Hinton G E, Vinyals O, Dean J. 蒸馏神经网络中的知识. CoRR, 2015, abs/1503.02531
- [10] Gou J, Sun L, Yu B, Du L, Ramamohanarao K, Tao D. Collaborative knowledge distillation via multiknowledge transfer. Journal of IEEE Transactions on Neural Networks and Learning Systems, 2024, 35(5): 6718–6730 [10] Gou J, Sun L, Yu B, Du L, Ramamohanarao K, Tao D. 通过多知识迁移进行的协同知识蒸馏. IEEE 神经网络与学习系统汇刊, 2024, 35(5): 6718–6730
- [11] Lopez-Paz D, Bottou L, Schölkopf B, Vapnik V. Unifying distillation and privileged information. In: Proceedings of International Conference on Learning Representations. 2016 [11] Lopez-Paz D, Bottou L, Schölkopf B, Vapnik V. 统一蒸馏与特权信息. 载于:国际学习表征会议论文集. 2016
- [12] Phuong M, Lampert C. Towards understanding knowledge distillation. In: Proceedings of the 36th International Conference on Machine Learning. 2019, 5142–5151 [12] Phuong M, Lampert C. 迈向理解知识蒸馏. 载于:第 36 届国际机器学习会议论文集. 2019, 5142–5151
- [13] Menon A K, Rawat A S, Reddi S J, Kim S, Kumar S. A statistical perspective on distillation. In: Proceedings of the 38th International Conference on Machine Learning. 2021, 7632–7642 [13] Menon A K, Rawat A S, Reddi S J, Kim S, Kumar S. 蒸馏的统计视角. 载于:第 38 届国际机器学习会议论文集. 2021, 7632–7642
- [14] Gou J, Yu B, Maybank S J, Tao D. Knowledge distillation: A survey. Journal of International Journal of Computer Vision, 2021, 129(6): 1789–1819 [14] Gou J, Yu B, Maybank S J, Tao D. 知识蒸馏:综述. 国际计算机视觉杂志, 2021, 129(6): 1789–1819
- [15] Romero A, Ballas N, Kahou S E, Chassang A, Gatta C, Bengio Y. Fitnets: Hints for thin deep nets. In: Proceedings of International Conference on Learning Representations. 2015 [15] Romero A, Ballas N, Kahou S E, Chassang A, Gatta C, Bengio Y. Fitnets: 瘦深网络提示. 载于:国际学习表征会议论文集. 2015
- [16] Zagoruyko S, Komodakis N. Paying more attention to attention: Improving the performance of convolutional neural networks via attention transfer. In: Proceedings of International Conference on Learning Representations. 2017 [16] Zagoruyko S, Komodakis N. 对注意力给予更多关注:通过注意力迁移提高卷积神经网络的性能. 载于:国际学习表征会议论文集. 2017
- [17] Huang Z, Wang N. Like what you like: Knowledge distill via neuron selectivity transfer. CoRR, 2017, abs/1707.01219 [17] Huang Z, Wang N. 喜欢你所喜欢的:通过神经元选择性迁移进行知识蒸馏. CoRR, 2017, abs/1707.01219
- [18] Heo B, Lee M, Yun S, Choi J Y. Knowledge transfer via distillation of activation boundaries formed by hidden neurons. In: Proceedings of the AAAI conference on artificial intelligence. 2019, 3779–3787 [18] Heo B, Lee M, Yun S, Choi J Y. 通过蒸馏隐藏神经元形成的激活边界进行知识迁移. 载于:AAAI 人工智能会议论文集. 2019, 3779–3787
- [19] Passalis N, Tefas A. Learning deep representations with probabilistic knowledge transfer. In: Proceedings of the European conference on computer vision (ECCV). 2018, 283–299 [19] Passalis N, Tefas A. 通过概率知识迁移学习深度表征. 载于:欧洲计算机视觉会议 (ECCV) 论文集. 2018, 283–299
- [20] Joshi C K, Liu F, Xun X, Lin J, Foo C S. On representation knowledge distillation for graph neural networks. Journal of IEEE Transactions on Neural Networks and Learning Systems, 2024, 35(4): 4656–4667 [20] Joshi C K, Liu F, Xun X, Lin J, Foo C S. 关于图神经网络的表征知识蒸馏. IEEE 神经网络与学习系统汇刊, 2024, 35(4): 4656–4667
- [21] Peng B, Jin X, Li D, Zhou S, Wu Y, Liu J, Zhang Z, Liu Y. Correlation congruence for knowledge distillation. In: Proceedings of the IEEE/CVF International Conference on Computer Vision. 2019, 5006–5015 [21] Peng B, Jin X, Li D, Zhou S, Wu Y, Liu J, Zhang Z, Liu Y. 知识蒸馏的相关性一致性. 载于:IEEE/CVF 国际计算机视觉会议论文集. 2019, 5006–5015
- [22] Tian Y, Krishnan D, Isola P. Contrastive representation distillation. In: Proceedings of International Conference on Learning Representations. 2020 [22] Tian Y, Krishnan D, Isola P. 对比表征蒸馏. 载于:国际学习表征会议论文集. 2020
- [23] Yim J, Joo D, Bae J, Kim J. A gift from knowledge distillation: Fast optimization, network minimization and transfer learning. In: Proceedings of IEEE Conference on Computer Vision and Pattern Recognition. 2017, 7130–7138 [23] Yim J, Joo D, Bae J, Kim J. 知识蒸馏的馈赠:快速优化、网络最小化和迁移学习. 载于:IEEE 计算机视觉与模式识别会议论文集. 2017, 7130–7138
- [24] Liu Y, Cao J, Li B, Yuan C, Hu W, Li Y, Duan Y. Knowledge distillation via instance relationship graph. In: Proceedings of IEEE Conference on Computer Vision and Pattern Recognition. 2019, 7096–7104 [24] Liu Y, Cao J, Li B, Yuan C, Hu W, Li Y, Duan Y. 通过实例关系图进行知识蒸馏. 载于:IEEE 计算机视觉与模式识别会议论文集. 2019, 7096–7104
- [25] Yu L, Yazici V O, Liu X, Weijer v. d J, Cheng Y, Ramisa A. Learning metrics from teachers: Compact networks for image embedding. In: Proceedings of IEEE Conference on Computer Vision and Pattern Recognition. 2019, 2907–2916 [25] Yu L, Yazici V O, Liu X, Weijer v. d J, Cheng Y, Ramisa A. 从教师那里学习度量:用于图像嵌入的紧凑网络. 载于:IEEE 计算机视觉与模式识别会议论文集. 2019, 2907–2916
- [26] Tung F, Mori G. Similarity-preserving knowledge distillation. In: Proceedings of the IEEE/CVF International Conference on Computer Vision. 2019, 1365–1374 [26] Tung F, Mori G. 相似性保持知识蒸馏. 载于:IEEE/CVF 国际计算机视觉会议论文集. 2019, 1365–1374
- [27] Ye H, Lu S, Zhan D. Distilling cross-task knowledge via relationship matching. In: Proceedings of IEEE/CVF Conference on Computer Vision and Pattern Recognition. 2020, 12393–12402 [27] Ye H, Lu S, Zhan D. 通过关系匹配蒸馏跨任务知识. 载于:IEEE/CVF 计算机视觉与模式识别会议论文集. 2020, 12393–12402
- [28] Liu J, Wen D, Gao H, Tao W, Chen T, Osa K, Kato M. Knowledge representing: Efficient, sparse representation of prior knowledge for knowledge distillation. In: Proceedings of IEEE Conference on Computer Vision and Pattern Recognition Workshops. 2019, 638–646 [28] Liu J, Wen D, Gao H, Tao W, Chen T, Osa K, Kato M. 知识表示:用于知识蒸馏的先验知识的高效稀疏表示. 载于:IEEE 计算机视觉与模式识别会议研讨会论文集. 2019, 638–646
- [29] Li X, Grandvalet Y, Davoine F. Explicit inductive bias for transfer learning with convolutional networks. In: Proceedings of the 35th International Conference on Machine Learning. 2018, 2830–2839 [29] Li X, Grandvalet Y, Davoine F. 卷积网络迁移学习的显式归纳偏置. 载于:第 35 届国际机器学习会议论文集. 2018, 2830–2839
- [30] Li S, Lin M, Wang Y, Wu Y, Tian Y, Shao L, Ji R. Distilling a powerful student model via online knowledge distillation. Journal of IEEE Transactions on Neural Networks and Learning Systems, 2023, 34(11): 8743–8752 [30] Li S, Lin M, Wang Y, Wu Y, Tian Y, Shao L, Ji R. 通过在线知识蒸馏蒸馏强大的学生模型. IEEE 神经网络与学习系统汇刊, 2023, 34(11): 8743–8752
- [31] Li X C, Fan W S, Song S M, Li Y C, Li B S, Shao Y F, Zhan D C. Asymmetric temperature scaling makes larger networks teach well again. In: Advances in Neural Information Processing Systems 35. 2022 [31] Li X C, Fan W S, Song S M, Li Y C, Li B S, Shao Y F, Zhan D C. 非对称温度缩放使大型网络重新发挥良好的教学作用. 载于:神经信息处理系统进展 35. 2022
- [32] Cho J H, Hariharan B. On the efficacy of knowledge distillation. In: Proceedings of the IEEE/CVF International Conference on Computer Vision. 2019, 4793–4801 [32] Cho J H, Hariharan B. 关于知识蒸馏的有效性. 载于:IEEE/CVF 国际计算机视觉会议论文集. 2019, 4793–4801
- [33] Mirzadeh S I, Farajtabar M, Li A, Levine N, Matsukawa A, Ghasemzadeh H. Improved knowledge distillation via teacher assistant. In: Proceedings of the AAAI Conference on Artificial Intelligence. 2020, 5191–5198 [33] Mirzadeh S I, Farajtabar M, Li A, Levine N, Matsukawa A, Ghasemzadeh H. 通过教师助手改进知识蒸馏. 载于:AAAI 人工智能会议论文集. 2020, 5191–5198
- [34] Yichen Zhu Y W. Student customized knowledge distillation: Bridging the gap between student and teacher. In: Proceedings of the IEEE/CVF International Conference on Computer Vision. 2021 [34] Yichen Zhu Y W. 学生定制知识蒸馏:弥合学生与教师之间的差距. 载于:IEEE/CVF 国际计算机视觉会议论文集. 2021
- [35] Gao M, Wang Y, Wan L. Residual error based knowledge distillation. Journal of Neurocomputing, 2021, 433: 154–161 [35] Gao M, Wang Y, Wan L. 基于残差误差的知识蒸馏. Neurocomputing 杂志, 2021, 433: 154–161
- [36] Li X, Li S, Omar B, Wu F, Li X. Reskd: Residual-guided knowledge distillation. Journal of IEEE Transactions on Image Processing, 2021, 30: 4735–4746 [36] Li X, Li S, Omar B, Wu F, Li X. Reskd: 残差引导的知识蒸馏. IEEE 图像处理汇刊, 2021, 30: 4735–4746
- [37] Krizhevsky A. Learning multiple layers of features from tiny images. 2012 [37] Krizhevsky A. 从微小图像中学习多层特征. 2012
- [38] Ganin Y, Lempitsky V S. Unsupervised domain adaptation by backpropagation. In: Proceedings of the 32nd International Conference on Machine Learning. 2015, 1180–1189 [38] Ganin Y, Lempitsky V S. 通过反向传播进行无监督域适应. 载于:第 32 届国际机器学习会议论文集. 2015, 1180–1189
- [39] Tang J, Shivanna R, Zhao Z, Lin D, Singh A, Chi E H, Jain S. Understanding and improving knowledge distillation. CoRR, 2020, abs/2002.03532 [39] Tang J, Shivanna R, Zhao Z, Lin D, Singh A, Chi E H, Jain S. 理解和改进知识蒸馏. CoRR, 2020, abs/2002.03532
- [40] Ji G, Zhu Z. Knowledge distillation in wide neural networks: Risk bound, data efficiency and imperfect teacher. In: Advances in Neural Information Processing Systems 33. 2020 [40] Ji G, Zhu Z. 宽神经网络中的知识蒸馏:风险界限、数据效率和不完美的教师. 载于:神经信息处理系统进展 33. 2020
- [41] Yuan L, Tay F E H, Li G, Wang T, Feng J. Revisiting knowledge distillation via label smoothing regularization. In: Proceedings of IEEE/CVF Conference on Computer Vision and Pattern Recognition. 2020, 3902–3910 [41] Yuan L, Tay F E H, Li G, Wang T, Feng J. 通过标签平滑正则化重访知识蒸馏. 载于:IEEE/CVF 计算机视觉与模式识别会议论文集. 2020, 3902–3910
- [42] Dao T, Kamath G M, Syrgkanis V, Mackey L. Knowledge distillation as semiparametric inference. In: Proceedings of International Conference on Learning Representations. 2021 [42] Dao T, Kamath G M, Syrgkanis V, Mackey L. 作为半参数推理的知识蒸馏. 载于:国际学习表征会议论文集. 2021
- [43] Zhou H, Song L, Chen J, Zhou Y, Wang G, Yuan J, Zhang Q. Rethinking soft labels for knowledge distillation: A bias-variance tradeoff perspective. In: Proceedings of International Conference on Learning Representations. 2021 [43] Zhou H, Song L, Chen J, Zhou Y, Wang G, Yuan J, Zhang Q. 重新思考知识蒸馏的软标签:偏差-方差权衡视角. 载于:国际学习表征会议论文集. 2021
- [44] Hsu D, Ji Z, Telgarsky M, Wang L. Generalization bounds via distillation. In: Proceedings of International Conference on Learning Representations. 2021 [44] Hsu D, Ji Z, Telgarsky M, Wang L. 通过蒸馏的泛化界限. 载于:国际学习表征会议论文集. 2021
- [45] Cheng X, Rao Z, Chen Y, Zhang Q. Explaining knowledge distillation by quantifying the knowledge. In: Proceedings of IEEE/CVF Conference on Computer Vision and Pattern Recognition. 2020, 12922–12932 [45] Cheng X, Rao Z, Chen Y, Zhang Q. 通过量化知识来解释知识蒸馏. 载于:IEEE/CVF 计算机视觉与模式识别会议论文集. 2020, 12922–12932
- [46] Müller R, Kornblith S, Hinton G E. When does label smoothing help? In: Advances in Neural Information Processing Systems 32. 2019, 4696–4705 [46] Müller R, Kornblith S, Hinton G E. 标签平滑何时有用? 载于:神经信息处理系统进展 32. 2019, 4696–4705
- [47] Shen Z, Liu Z, Xu D, Chen Z, Cheng K, Savvides M. Is label smoothing truly incompatible with knowledge distillation: An empirical study. In: Proceedings of International Conference on Learning Representations. 2021 [47] Shen Z, Liu Z, Xu D, Chen Z, Cheng K, Savvides M. 标签平滑是否真的与知识蒸馏不兼容:一项实证研究. 载于:国际学习表征会议论文集. 2021
- [48] Li C, Cheng G, Han J. Boosting knowledge distillation via intra-class logit distribution smoothing. Journal of IEEE Transactions on Circuits and Systems for Video Technology, 2023 [48] Li C, Cheng G, Han J. 通过类内 Logit 分布平滑提升知识蒸馏. IEEE 电路与系统视频技术汇刊, 2023
- [49] Furlanello T, Lipton Z C, Tschannen M, Itti L, Anandkumar A. Born-again neural networks. In: Proceedings of the 35th International Conference on Machine Learning. 2018, 1602–1611 [49] Furlanello T, Lipton Z C, Tschannen M, Itti L, Anandkumar A. 重生神经网络. 载于:第 35 届国际机器学习会议论文集. 2018, 1602–1611
- [50] Tan C, Liu J. Improving knowledge distillation with a customized teacher. Journal of IEEE Transactions on Neural Networks and Learning Systems, 2024, 35(2): 2290–2299 [50] Tan C, Liu J. 用定制教师改进知识蒸馏. IEEE 神经网络与学习系统汇刊, 2024, 35(2): 2290–2299
- [51] Huang T, Zhang Y, Zheng M, You S, Wang F, Qian C, Xu C. Knowledge diffusion for distillation. Advances in Neural Information Processing Systems, 2023, 36: 65299–65316 [51] Huang T, Zhang Y, Zheng M, You S, Wang F, Qian C, Xu C. 用于蒸馏的知识扩散. 神经信息处理系统进展, 2023, 36: 65299–65316
- [52] Huang T, You S, Wang F, Qian C, Xu C. Knowledge distillation from A stronger teacher. In: Advances in Neural Information Processing Systems 35. 2022 [52] Huang T, You S, Wang F, Qian C, Xu C. 从更强大的教师进行知识蒸馏. 载于:神经信息处理系统进展 35. 2022
- [53] Wang C, Yang Q, Huang R, Song S, Huang G. Efficient knowledge distillation from model checkpoints. In: Advances in Neural Information Processing Systems 35. 2022 [53] Wang C, Yang Q, Huang R, Song S, Huang G. 从模型检查点进行高效知识蒸馏. 载于:神经信息处理系统进展 35. 2022
- [54] Ye H, Ming L, Zhan D, Chao W. Few-shot learning with a strong teacher. Journal of IEEE Transactions on Pattern Analysis and Machine Intelligence, 2024, 46(3): 1425–1440 [54] Ye H, Ming L, Zhan D, Chao W. 带有强大教师的小样本学习. IEEE 模式分析与机器智能汇刊, 2024, 46(3): 1425–1440
- [55] Wang Y, Qian B, Liu H, Rui Y, Wang M. Unpacking the gap box against data-free knowledge distillation. Journal of IEEE Transactions on Pattern Analysis and Machine Intelligence, 2024, 1–12 [55] Wang Y, Qian B, Liu H, Rui Y, Wang M. 打开针对无数据知识蒸馏的差距盒. IEEE 模式分析与机器智能汇刊, 2024, 1–12
- [56] Sun S, Ren W, Li J, Wang R, Cao X. Logit standardization in knowledge distillation. In: Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition. 2024, 15731–15740 [56] Sun S, Ren W, Li J, Wang R, Cao X. 知识蒸馏中的 Logit 标准化. 载于:IEEE/CVF 计算机视觉与模式识别会议论文集. 2024, 15731–15740
- [57] He K, Zhang X, Ren S, Sun J. Deep residual learning for image recognition. In: Proceedings of IEEE Conference on Computer Vision and Pattern Recognition. 2016, 770–778 [57] He K, Zhang X, Ren S, Sun J. 图像识别的深度残差学习. 载于:IEEE 计算机视觉与模式识别会议论文集. 2016, 770–778
- [58] Xie S, Girshick R B, Dollár P, Tu Z, He K. Aggregated residual transformations for deep neural networks. In: Proceedings of IEEE Conference on Computer Vision and Pattern Recognition. 2017, 5987–5995 [58] Xie S, Girshick R B, Dollár P, Tu Z, He K. 深度神经网络的聚合残差变换. 载于:IEEE 计算机视觉与模式识别会议论文集. 2017, 5987–5995
- [59] Khosla A, Jayadevaprakash N, Yao B, Li f F. Novel dataset for fine-grained image categorization. In: First Workshop on Fine-Grained Visual Categorization, CVPR (2011) [59] Khosla A, Jayadevaprakash N, Yao B, Li f F. 用于细粒度图像分类的新颖数据集. 载于:第一届细粒度视觉分类研讨会, CVPR (2011)
- [60] Wah C, Branson S, Welinder P, Perona P, Belongie S. The Caltech-UCSD Birds-200-2011 Dataset. 2011, (CNS-TR-2011-001) [60] Wah C, Branson S, Welinder P, Perona P, Belongie S. Caltech-UCSD Birds-200-2011 数据集. 2011, (CNS-TR-2011-001)
- [61] Zagoruyko S, Komodakis N. Wide residual networks. In: Proceedings of the British Machine Vision Conference. 2016 [61] Zagoruyko S, Komodakis N. 宽残差网络. 载于:英国机器视觉会议论文集. 2016
- [62] Tavanaei A. Embedded encoder-decoder in convolutional networks towards explainable AI. CoRR, 2020, abs/2007.06712 [62] Tavanaei A. 卷积网络中迈向可解释 AI 的嵌入式编码器-解码器. CoRR, 2020, abs/2007.06712
- [63] Lecun Y, Bottou L, Bengio Y, Haffner P. Gradient-based learning applied to document recognition. Proceedings of the IEEE, 1998, 86(11): 2278–2324 [63] Lecun Y, Bottou L, Bengio Y, Haffner P. 应用于文档识别的基于梯度的学习. IEEE 会刊, 1998, 86(11): 2278–2324
- [64] Simonyan K, Zisserman A. Very deep convolutional networks for large-scale image recognition. In: Proceedings of International Conference on Learning Representations. 2015 [64] Simonyan K, Zisserman A. 用于大规模图像识别的超深卷积网络. 载于:国际学习表征会议论文集. 2015
- [65] Netzer Y, Wang T, Coates A, Bissacco A, Wu B, Ng A. Reading digits in natural images with unsupervised feature learning. In: NIPS workshop on deep learning and unsupervised feature learning. 2011 [65] Netzer Y, Wang T, Coates A, Bissacco A, Wu B, Ng A. 使用无监督特征学习阅读自然图像中的数字. 载于:NIPS 深度学习和无监督特征学习研讨会. 2011
- [66] Nair V, Hinton G E. Rectified linear units improve restricted boltzmann machines. In: Proceedings of the 27th International Conference on Machine Learning. 2010, 807–814 [66] Nair V, Hinton G E. 修正线性单元改进了受限玻尔兹曼机. 载于:第 27 届国际机器学习会议论文集. 2010, 807–814
- [67] Maaten v. d L. Barnes-hut-sne. In: Proceedings of International Conference on Learning Representations. 2013 [67] Maaten v. d L. Barnes-hut-sne. 载于:国际学习表征会议论文集. 2013
- [68] Fisher R A. The use of multiple measurements in taxonomic problems. Journal of Annals of Human Genetics, 1936, 7: 179–188 [68] Fisher R A. 多重测量在分类学问题中的应用. 人类遗传学年鉴杂志, 1936, 7: 179–188
- [69] Yang J, Zhang D, Yang J y, Niu B. Globally maximizing, locally minimizing: Unsupervised discriminant projection with applications to face and palm biometrics. Journal of IEEE Transactions on Pattern Analysis and Machine Intelligence, 2007, 29(4): 650–664 [69] Yang J, Zhang D, Yang J y, Niu B. 全局最大化,局部最小化:无监督判别投影及其在面部和手掌生物识别中的应用. IEEE 模式分析与机器智能汇刊, 2007, 29(4): 650–664
- [70] Li X C, Zhan D C. Fedrs: Federated learning with restricted softmax for label distribution non-iid data. In: Proceedings of the 27th ACM SIGKDD conference on knowledge discovery & data mining. 2021, 995–1005 [70] Li X C, Zhan D C. Fedrs: 用于标签分布非独立同分布数据的受限 Softmax 联邦学习. 载于:第 27 届 ACM SIGKDD 知识发现与数据挖掘会议论文集. 2021, 995–1005
- [71] Fagin R, Kumar R, Sivakumar D. Comparing top k lists. SIAM Journal on Discrete Mathematics, 2003, 17(1): 134–160 [71] Fagin R, Kumar R, Sivakumar D. 比较 Top k 列表. SIAM 离散数学杂志, 2003, 17(1): 134–160
- [72] You K, Liu Y, Wang J, Long M. Logme: Practical assessment of pre-trained models for transfer learning. In: Proceedings of the 38th International Conference on Machine Learning. 2021, 12133–12143 [72] You K, Liu Y, Wang J, Long M. Logme: 迁移学习预训练模型的实用评估. 载于:第 38 届国际机器学习会议论文集. 2021, 12133–12143
- [73] Li Y, Yosinski J, Clune J, Lipson H, Hopcroft J E. Convergent learning: Do different neural networks learn the same representations? In: Proceedings of International Conference on Learning Representations. 2016 [73] Li Y, Yosinski J, Clune J, Lipson H, Hopcroft J E. 收敛学习:不同的神经网络学习相同的表征吗? 载于:国际学习表征会议论文集. 2016
- [74] Ren Y, Guo Q, Jin Z, Ravfogel S, Sachan M, Schölkopf B, Cotterell R. All roads lead to rome? exploring the invariance of transformers’ representations. CoRR, 2023, abs/2305.14555 [74] Ren Y, Guo Q, Jin Z, Ravfogel S, Sachan M, Schölkopf B, Cotterell R. 条条大路通罗马? 探索 Transformer 表征的不变性. CoRR, 2023, abs/2305.14555
- [75] Shui C, Abbasi M, Robitaille L, Wang B, Gagné C. A principled approach for learning task similarity in multitask learning. In: Proceedings of the Twenty-Eighth International Joint Conference on Artificial Intelligence. 2019, 3446–3452 [75] Shui C, Abbasi M, Robitaille L, Wang B, Gagné C. 一种在多任务学习中学习任务相似性的原则性方法. 载于:第 28 届国际人工智能联合会议论文集. 2019, 3446–3452
- [76] Chandrasegaran K, Tran N T, Zhao Y, Cheung N M. Revisiting label smoothing and knowledge distillation compatibility: What was missing? In: Proceedings of International Conference on Machine Learning. 2022, 2890–2916 [76] Chandrasegaran K, Tran N T, Zhao Y, Cheung N M. 重访标签平滑和知识蒸馏的兼容性:缺少了什么? 载于:国际机器学习会议论文集. 2022, 2890–2916
- [77] Krizhevsky A, Sutskever I, Hinton G E. Imagenet classification with deep convolutional neural networks. In: Advances in Neural Information Processing Systems 25. 2012, 1106–1114 [77] Krizhevsky A, Sutskever I, Hinton G E. 使用深度卷积神经网络进行 ImageNet 分类. 载于:神经信息处理系统进展 25. 2012, 1106–1114
fanwsWen-Shu Fan received his B.Sc. degree in School of Computer Science, Northwestern Polytechnical University in June 2019. He is currently working towards a Ph.D. degree with the School of Artificial Intelligence in Nanjing University, China. His research interests include knowledge distillation, model reuse and deep learning.范文舒(Wen-Shu Fan)于 2019 年 6 月在西北工业大学计算机科学学院获得学士学位。目前正在南京大学人工智能学院攻读博士学位。他的研究兴趣包括知识蒸馏、模型重用和深度学习。
lixcXin-Chun Li received his M.Sc. degree with the National Key Lab for Novel Software Technology, the Department of Computer Science and Technology in Nanjing University, China. He is working towards a Ph.D. degree with the School of Artificial Intelligence in Nanjing University, China. Up until now, he has published over 10 papers in national and international journals or conferences such as NeurIPS, CVPR, KDD, ICASSP, SCIS, etc. His research interests lie primarily in machine learning and data mining, including federated learning.李欣春(Xin-Chun Li)在南京大学计算机科学与技术系计算机软件新技术国家重点实验室获得硕士学位。目前正在南京大学人工智能学院攻读博士学位。迄今为止,他在 NeurIPS、CVPR、KDD、ICASSP、SCIS 等国内外期刊或会议上发表了 10 多篇论文。他的研究兴趣主要在于机器学习和数据挖掘,包括联邦学习。
zhandcDe-Chuan Zhan joined in the LAMDA Group on 2004 and received his Ph.D. degree in Computer Science from Nanjing University in 2010, and then serviced in the Department of Computer Science and Technology of Nanjing University as an Assistant Professor from 2010, and as an Associate Professor from 2013. Then he joined the School of Artificial Intelligence of Nanjing University as a Professor from 2019. His research interests mainly include machine learning and data mining, especially working on mobile intelligence, distance metric learning, multi-modal learning, etc. Up until now, he has published over 60 papers in national and international journals or conferences such as TPAMI, TKDD, TIFS, TSMSB, IJCAI, ICML, NIPS, AAAI, etc.詹德川(De-Chuan Zhan)于 2004 年加入 LAMDA 组,并于 2010 年获得南京大学计算机科学博士学位,随后于 2010 年起在南京大学计算机科学与技术系担任助理教授,2013 年起担任副教授。2019 年起加入南京大学人工智能学院担任教授。他的研究兴趣主要包括机器学习和数据挖掘,特别致力于移动智能、距离度量学习、多模态学习等领域。迄今为止,他在 TPAMI、TKDD、TIFS、TSMSB、IJCAI、ICML、NIPS、AAAI 等国内外期刊或会议上发表了 60 多篇论文。