arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2112.09532cs.CVcs.LG
收藏

像素蒸馏:一种面向低分辨率图像识别的新型知识蒸馏方案

Pixel Distillation: A New Knowledge Distillation Scheme for Low-Resolution Image Recognition

Northwestern Polytechnical University(西北工业大学);Xijing Hospital, The Fourth Military Medical University(第四军医大学西京医院);Beijing Technology And Business University(北京工商大学);Mohamed bin Zayed University of Artificial Intelligence(穆罕默德·本·扎耶德人工智能大学);Nankai University(南开大学);Hefei Comprehensive National Science Center(合肥综合性国家科学中心)

Guangyu Guo, Dingwen Zhang, Longfei Han, Nian Liu, Ming-Ming Cheng, Junwei Han

AI总结:

针对传统知识蒸馏仅压缩网络架构、未覆盖图像尺寸相关部署成本的问题,提出像素蒸馏方案,通过ISRD机制、TAS框架及AFP策略实现输入与架构的协同压缩,在分类和检测任务中验证了有效性。

摘要:

以往的知识蒸馏(KD)方法大多聚焦于压缩网络架构,这在部署层面不够彻底,因为传输带宽、成像设备等部分成本与图像尺寸相关。为此,我们提出像素蒸馏(Pixel Distillation),将知识蒸馏拓展至输入层面,同时打破架构约束。该方案可实现灵活的部署成本控制,允许系统根据整体资源需求同时调整网络架构与图像质量。具体而言,我们首先提出输入空间表征蒸馏(ISRD)机制,将大图像的空间知识迁移至学生模型的输入模块,可促进CNN与ViT之间的稳定知识迁移。随后,进一步构建教师-助手-学生(TAS)框架,将像素蒸馏拆解为模型压缩阶段与输入压缩阶段,显著降低了像素蒸馏的整体复杂度与中间知识蒸馏的难度。最后,我们通过面向TAS的对齐特征保留(AFP)策略,调整助手的特征与锚框以对齐各阶段检测器的输出维度,使像素蒸馏适配目标检测任务。在图像分类与目标检测任务上的综合实验证明了本方法的有效性。代码可在https://github.com/gyguo/PixelDistillation获取。

英文摘要:

Previous knowledge distillation (KD) methods mostly focus on compressing network architectures, which is not thorough enough in deployment as some costs like transmission bandwidth and imaging equipment are related to the image size. Therefore, we propose Pixel Distillation that extends knowledge distillation into the input level while simultaneously breaking architecture constraints. Such a scheme can achieve flexible cost control for deployment, as it allows the system to adjust both network architecture and image quality according to the overall requirement of resources. Specifically, we first propose an input spatial representation distillation (ISRD) mechanism to transfer spatial knowledge from large images to student's input module, which can facilitate stable knowledge transfer between CNN and ViT. Then, a Teacher-Assistant-Student (TAS) framework is further established to disentangle pixel distillation into the model compression stage and input compression stage, which significantly reduces the overall complexity of pixel distillation and the difficulty of distilling intermediate knowledge. Finally, we adapt pixel distillation to object detection via an aligned feature for preservation (AFP) strategy for TAS, which aligns output dimensions of detectors at each stage by manipulating features and anchors of the assistant. Comprehensive experiments on image classification and object detection demonstrate the effectiveness of our method. Code is available at https://github.com/gyguo/PixelDistillation.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑