arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2205.10490cs.LGcs.AIcs.CVstat.ML
收藏

生成式对齐Logits以实现有原则的黑盒知识蒸馏

Aligning Logits Generatively for Principled Black-Box Knowledge Distillation

School of Artificial Intelligence and Automation(人工智能与自动化学院);Huazhong University of Science and Tech(华中科技大学);DAMO Academy(达摩院);Alibaba Group(阿里巴巴集团)

Jing Ma, Xiang Xiang, Ke Wang, Yuchuan Wu, Yongbin Li

AI总结:

本文针对黑盒知识蒸馏中数据不可见与分布差异问题,提出映射仿真知识蒸馏(MEKD)方法,通过生成器仿真教师逆映射并基于高维图像点距离对齐低维logits,在多个基准上优于现有方法。

摘要:

黑盒知识蒸馏(Black-Box Knowledge Distillation, B2KD)是一个针对云到端模型压缩而形式化的问题,其中数据和模型托管在服务器上且不可见。B2KD面临诸如有限的互联网交换以及边缘与云端数据分布差异等挑战。在本文中,我们形式化了一个由去私有化和蒸馏组成的两步工作流程,并从理论上提供了一个新的优化方向,即从logits到单元边界,不同于直接的logits对齐。在其指导下,我们提出了一种新方法——映射仿真知识蒸馏(Mapping-Emulation KD, MEKD),该方法将黑盒的笨重模型蒸馏为轻量模型。我们的方法不区分处理软响应或硬响应,包括:1)去私有化:用生成器仿真教师函数的逆映射;2)蒸馏:通过减小高维图像点的距离来对齐教师和学生模型的低维logits。对于不同的教师-学生组合,我们的方法在各种基准上取得了令人鼓舞的蒸馏性能,并优于先前的最先进方法。

英文摘要:

Black-Box Knowledge Distillation (B2KD) is a formulated problem for cloud-to-edge model compression with invisible data and models hosted on the server. B2KD faces challenges such as limited Internet exchange and edge-cloud disparity of data distributions. In this paper, we formalize a two-step workflow consisting of deprivatization and distillation, and theoretically provide a new optimization direction from logits to cell boundary different from direct logits alignment. With its guidance, we propose a new method Mapping-Emulation KD (MEKD) that distills a black-box cumbersome model into a lightweight one. Our method does not differentiate between treating soft or hard responses, and consists of: 1) deprivatization: emulating the inverse mapping of the teacher function with a generator, and 2) distillation: aligning low-dimensional logits of the teacher and student models by reducing the distance of high-dimensional image points. For different teacher-student pairs, our method yields inspiring distillation performance on various benchmarks, and outperforms the previous state-of-the-art approaches.

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

↑