arXiv:2506.21003cs.LG2025-06CVPR被引 2

用知识蒸馏提升小模型的生成质量和密度估计能力

Distilling Normalizing Flows

  • 通过中间层知识迁移,让小模型学习大模型的流结构特性
  • 蒸馏后小模型性能显著优于未蒸馏版本,参数量减少但效果更好
  • 适合追求高效生成与高精度密度估计的应用场景

显式概率建模在生成模型中日益流行,因其能精确建模概率分布并实现精确的隐变量推断。与生成对抗网络相比,其优势包括可直接插值、计算样本似然和分析概率分布。然而这类模型训练困难且采样质量较低。归一化流是一种显式概率模型,通过可组合的双射函数将不可计算的概率分布转化为可计算形式。本文提出新型知识蒸馏技术,用于提升小型学生归一化流的采样质量和密度估计能力。我们研究了组合型归一化流中知识蒸馏的潜力,发现可通过中间层传递知识,实现非传统形式的知识转移。实验表明,经蒸馏后的小模型在大幅减小参数量的同时,性能显著超越未蒸馏的学生模型;由于模型规模降低,吞吐量随之提升,该提升与网络中双射函数数量及参数量成正比。

原文摘要 · Abstract (English)

Explicit density learners are becoming an increasingly popular technique for generative models because of their ability to better model probability distributions. They have advantages over Generative Adversarial Networks due to their ability to perform density estimation and having exact latent-variable inference. This has many advantages, including: being able to simply interpolate, calculate sample likelihood, and analyze the probability distribution. The downside of these models is that they are often more difficult to train and have lower sampling quality. Normalizing flows are explicit density models, that use composable bijective functions to turn an intractable probability function into a tractable one. In this work, we present novel knowledge distillation techniques to increase sampling quality and density estimation of smaller student normalizing flows. We seek to study the capacity of knowledge distillation in Compositional Normalizing Flows to understand the benefits and weaknesses provided by these architectures. Normalizing flows have unique properties that allow for a non-traditional forms of knowledge transfer, where we can transfer that knowledge within intermediate layers. We find that through this distillation, we can make students significantly smaller while making substantial performance gains over a non-distilled student. With smaller models there is a proportionally increased throughput as this is dependent upon the number of bijectors, and thus parameters, in the network.

归一化流知识蒸馏生成模型小模型

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。