arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2504.20445cs.AI
收藏

面向脉冲神经网络知识蒸馏的头尾感知KL散度

Head-Tail-Aware KL Divergence in Knowledge Distillation for Spiking Neural Networks

College of Computer Science and Technology, Zhejiang University, Hangzhou, China(浙江大学计算机科学与技术学院);ZJU-UIUC Institute, Zhejiang University, Haining, China(浙江大学-伊利诺伊大学联合学院)

Tianqing Zhang, Zixin Zhu, Kairong Yu, Hongwei Wang

AI总结:

针对传统知识蒸馏中KL散度忽略SNN低概率分布导致泛化不佳的问题,提出头尾感知KL散度方法,通过累积概率掩码动态区分高低概率区域并分配自适应权重,融合正反KL散度对齐分布头尾,在多个数据集上以更少时间步取得更优性能。

摘要:

脉冲神经网络(Spiking Neural Networks, SNNs)已成为一种兼具能效优势与生物合理性的前沿计算方案。然而受现有训练方法的局限性及模型固有约束的影响,SNNs与人工神经网络(Artificial Neural Networks, ANNs)相比通常存在性能差距。学界已探索将知识蒸馏(Knowledge Distillation, KD)作为从ANN教师模型向SNN学生模型迁移知识的技术,以缩小这一差距。传统KD方法通常采用库尔贝克-莱布勒(Kullback-Leibler, KL)散度对齐输出分布,但常规基于KL的方法未能充分利用SNNs的独特特性,这类方法往往过度强调高概率预测结果,却忽略低概率部分,最终导致泛化效果欠佳。为解决该问题,我们提出头尾感知库尔贝克-莱布勒(Head-Tail Aware Kullback-Leibler, HTA-KL)散度,这是一种适用于SNNs的新型KD方法。HTA-KL引入基于累积概率的掩码,可动态区分高概率区域与低概率区域,通过分配自适应权重保障知识迁移的均衡性,进而提升整体性能。通过融合正向KL(forward KL, FKL)散度与反向KL(reverse KL, RKL)散度,该方法可有效对齐分布的头部与尾部区域。我们在CIFAR-10、CIFAR-100和Tiny ImageNet数据集上对所提方法进行了评估,结果显示该方法在更少时间步的条件下,于多数数据集上的表现优于现有方法。

英文摘要:

Spiking Neural Networks (SNNs) have emerged as a promising approach for energy-efficient and biologically plausible computation. However, due to limitations in existing training methods and inherent model constraints, SNNs often exhibit a performance gap when compared to Artificial Neural Networks (ANNs). Knowledge distillation (KD) has been explored as a technique to transfer knowledge from ANN teacher models to SNN student models to mitigate this gap. Traditional KD methods typically use Kullback-Leibler (KL) divergence to align output distributions. However, conventional KL-based approaches fail to fully exploit the unique characteristics of SNNs, as they tend to overemphasize high-probability predictions while neglecting low-probability ones, leading to suboptimal generalization. To address this, we propose Head-Tail Aware Kullback-Leibler (HTA-KL) divergence, a novel KD method for SNNs. HTA-KL introduces a cumulative probability-based mask to dynamically distinguish between high- and low-probability regions. It assigns adaptive weights to ensure balanced knowledge transfer, enhancing the overall performance. By integrating forward KL (FKL) and reverse KL (RKL) divergence, our method effectively align both head and tail regions of the distribution. We evaluate our methods on CIFAR-10, CIFAR-100 and Tiny ImageNet datasets. Our method outperforms existing methods on most datasets with fewer timesteps.

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

↑