[论文解读] Knowledge Distillation with Adversarial Samples Supporting Decision Boundary
本文提出了一种新颖的知识蒸馏方法,通过在专门设计以支持教师模型决策边界的对抗样本上进行训练,从而提升学生网络的性能。通过采用改进的对抗攻击生成边界支持样本(BSS),该方法提升了知识迁移效果,在CIFAR-10、ImageNet和TinyImageNet上实现了最先进(SOTA)的准确率,尤其在低数据设置下表现出更强的泛化能力。
Many recent works on knowledge distillation have provided ways to transfer the knowledge of a trained network for improving the learning process of a new one, but finding a good technique for knowledge distillation is still an open problem. In this paper, we provide a new perspective based on a decision boundary, which is one of the most important component of a classifier. The generalization performance of a classifier is closely related to the adequacy of its decision boundary, so a good classifier bears a good decision boundary. Therefore, transferring information closely related to the decision boundary can be a good attempt for knowledge distillation. To realize this goal, we utilize an adversarial attack to discover samples supporting a decision boundary. Based on this idea, to transfer more accurate information about the decision boundary, the proposed algorithm trains a student classifier based on the adversarial samples supporting the decision boundary. Experiments show that the proposed method indeed improves knowledge distillation and achieves the state-of-the-arts performance.
研究动机与目标
- 通过聚焦于决策边界附近的有信息量训练样本,改进知识蒸馏。
- 解决现有蒸馏方法依赖标准样本或随机扰动样本的局限性。
- 开发一种新方法,利用对抗攻击并非为了欺骗模型,而是为了识别揭示关键决策边界信息的样本。
- 证明基于BSS的蒸馏能带来更好的泛化性能,尤其在训练样本较少时。
- 通过新的决策边界相似性度量和消融研究验证BSS的有效性。
提出的方法
- 采用改进的对抗攻击生成边界支持样本(BSS),即位于教师模型决策边界附近的对抗样本。
- 根据样本与决策边界的接近程度选择BSS,确保其携带关于分类器边界结构的高信息量。
- 设计一种新型损失函数,结合知识蒸馏损失(KD损失)与边界支持损失,促使学生模型在BSS上模仿教师模型的输出。
- 采用动态加权策略:边界损失系数β在训练的前75%阶段线性从2衰减至0,KD温度固定为3。
- 通过类别概率优化基础样本选择,以降低计算成本同时保持性能。
- 框架采用ResNet架构,使用标准数据增强,并通过经验验证调整超参数。
实验结果
研究问题
- RQ1支持决策边界的对抗样本是否能提升知识蒸馏性能?
- RQ2所提出的基于BSS的蒸馏方法是否比标准对抗样本或随机噪声更有效地传递知识?
- RQ3在BSS上训练是否能带来更好的泛化性能,尤其是在训练数据有限的情况下?
- RQ4使用BSS进行蒸馏后,学生模型的决策边界与教师模型相比如何?
- RQ5基础样本选择与目标类别采样策略对性能和效率有何影响?
主要发现
- 所提方法在CIFAR-10(87.32%)、ImageNet-32×32(76.45%)和TinyImageNet(65.12%)上均达到最先进准确率,优于基线KD及其他对抗蒸馏方法。
- 基于BSS的蒸馏在所有对抗攻击变体中表现最佳,相较于FGSM在CIFAR-10上提升0.82%,相较于DeepFool提升1.24%。
- 该方法展现出卓越的泛化能力,在训练数据减少时仍保持强劲性能,表明对数据稀缺具有鲁棒性。
- 所提出的基样本身选择策略在减少60%计算量的同时,将准确率提升0.14%,优于使用全部样本的方案。
- 消融研究证实,基于类别概率的目标采样策略相比随机采样将性能提升1.3%,验证了设计选择的有效性。
- 决策边界相似性度量显示,经过基于BSS的蒸馏后,学生模型的决策边界显著趋近于教师模型,证实了有效边界信息的迁移。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。