[论文解读] Distilling Multi-Level X-vector Knowledge for Small-footprint Speaker Verification
本文提出一种基于多层级x-vector嵌入的知识蒸馏方法——结合大型教师模型的帧级和话语级表征,以训练小型紧凑的学生模型,实现小尺寸语音验证。该方法在保持与教师模型相当性能的同时,实现85%至91%的模型尺寸缩减;通过拼接获得的复合嵌入使模型尺寸减少75%,并达到与教师模型相同的等错误率(EER)1.88%。
Even though deep speaker models have demonstrated impressive accuracy in speaker verification tasks, this often comes at the expense of increased model size and computation time, presenting challenges for deployment in resource-constrained environments. Our research focuses on addressing this limitation through the development of small footprint deep speaker embedding extraction using knowledge distillation. While previous work in this domain has concentrated on speaker embedding extraction at the utterance level, our approach involves amalgamating embeddings from different levels of the x-vector model (teacher network) to train a compact student network. The results highlight the significance of frame-level information, with the student models exhibiting a remarkable size reduction of 85%-91% compared to their teacher counterparts, depending on the size of the teacher embeddings. Notably, by concatenating teacher embeddings, we achieve student networks that maintain comparable performance to the teacher while enjoying a substantial 75% reduction in model size. These findings and insights extend to other x-vector variants, underscoring the broad applicability of our approach.
研究动机与目标
- 解决在资源受限的嵌入式设备上部署大型、高精度深度语音模型的挑战。
- 缩小大型教师模型与小型学生模型在语音验证中的性能差距。
- 探究教师网络中多层级嵌入(帧级与话语级)是否能提升学生模型的性能。
- 开发一种简单、实用的知识蒸馏框架,无需对教师与学生网络进行联合优化。
- 在不同x-vector架构(包括ECAPA-TDNN和DTDNN)上验证方法的泛化能力。
提出的方法
- 训练一个大型预训练教师x-vector模型(例如TDNN、ETDNN、ECAPA、DTDNN),以提取帧级和话语级嵌入。
- 使用知识蒸馏,将教师模型多个层级的知识迁移至更小的学生网络。
- 将教师模型的帧级与话语级嵌入拼接,作为学生模型的复合监督信号。
- 通过最小化学生模型输出与蒸馏后的教师嵌入之间差异的损失函数,训练学生网络。
- 推理时仅对学生模型的最终嵌入应用均值归一化,而不对蒸馏过程中使用的教师嵌入进行归一化。
- 在VoxCeleb语料库上,使用标准指标(EER、minDCF)评估学生模型性能,与教师模型及基线学生模型进行比较。

实验结果
研究问题
- RQ1来自教师x-vector模型的多层级嵌入(帧级与话语级)是否能提升小型学生模型在语音验证中的性能?
- RQ2将教师网络不同层级的嵌入进行拼接,是否能带来更好的泛化能力,并相比单一嵌入类型显著缩小性能差距?
- RQ3在使用多层级蒸馏时,学生网络的模型尺寸缩减程度与教师模型相比如何?
- RQ4学生模型的性能是否依赖于教师网络帧级层的深度或架构?
- RQ5所提出的蒸馏框架是否可在不同x-vector变体(如ECAPA-TDNN和DTDNN)上实现泛化?
主要发现
- 学生模型相较于教师模型,模型尺寸缩减了85%至91%,具体取决于教师模型的嵌入尺寸。
- 基于拼接帧级与话语级嵌入训练的复合学生模型,其等错误率(EER)达到2.04%,与教师模型的1.88%极为接近。
- 复合学生模型在实现75%模型尺寸缩减的同时,保持了与教师模型相当的性能,显著缩小了性能差距。
- 在单一嵌入类型中,SP Aggr取得最低的EER(2.04%)与minDCF(0.462),优于其他单一嵌入类型。
- 基于DTDNN的教师模型,因其更深的帧级架构,在EER与minDCF上均表现最优,表明更深的帧级网络能提供更丰富的蒸馏信号。
- 该方法在不同x-vector变体(包括ECAPA-TDNN与DTDNN)上均表现出良好的泛化能力,多层级蒸馏带来一致的性能提升。
![Figure 2 : The x-vector model and the various types of embedding that are extracted from its layers. The TDNN and fully connected layers, if not marked, are all 512-dimensional. ‘AAM softmax’ denotes additive angular margin softmax [ 47 ] . The pooling layer on the left-hand side can be either stati](https://ar5iv.labs.arxiv.org/html/2303.01125/assets/figs/xvector.png)
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。