LightHuBERT:轻量级和可配置的语音表示学习与一次性为所有隐藏单元BERT
LightHuBERT: Lightweight and Configurable Speech Representation Learning with Once-for-All Hidden-Unit BERT
摘要:
自监督语音表征学习在各种语音处理任务中显示出了良好的效果。然而,预先训练的模型,例如,HuBERT是存储密集型Transformers,限制了它们在低资源环境下的应用范围。为此,我们提出了LightHuBERT,一个一次性的所有Transformer压缩框架,通过修剪结构化参数自动找到所需的架构。更准确地说,我们创建了一个基于Transformer的超网,其中嵌套了数千个权重共享的超网,并设计了一个两阶段的蒸馏策略来利用HuBERT的上下文化潜在表示。在自动语音识别(ASR)和SUPERB测试中的实验表明,LightHuBERT算法在嵌入维数、注意维数、头数、前馈网络比和网络深度等方面优于$10^9$结构. LightHuBERT在ASR和五个具有HuBERT大小的SUPERB任务上优于原始HuBERT,在大多数任务中实现了与教师模型相当的性能,减少了29%的参数,并在三个SUPERB任务中获得了$3.5\times$压缩比,例如,自动说话人验证、关键字定位和意图分类,具有轻微的准确性损失。代码和预训练模型可在https://github.com/mechanicalsea/lighthubert上获得。
英文摘要:
Self-supervised speech representation learning has shown promising results in various speech processing tasks. However, the pre-trained models, e.g., HuBERT, are storage-intensive Transformers, limiting their scope of applications under low-resource settings. To this end, we propose LightHuBERT, a once-for-all Transformer compression framework, to find the desired architectures automatically by pruning structured parameters. More precisely, we create a Transformer-based supernet that is nested with thousands of weight-sharing subnets and design a two-stage distillation strategy to leverage the contextualized latent representations from HuBERT. Experiments on automatic speech recognition (ASR) and the SUPERB benchmark show the proposed LightHuBERT enables over $10^9$ architectures concerning the embedding dimension, attention dimension, head number, feed-forward network ratio, and network depth. LightHuBERT outperforms the original HuBERT on ASR and five SUPERB tasks with the HuBERT size, achieves comparable performance to the teacher model in most tasks with a reduction of 29% parameters, and obtains a $3.5\times$ compression ratio in three SUPERB tasks, e.g., automatic speaker verification, keyword spotting, and intent classification, with a slight accuracy loss. The code and pre-trained models are available at https://github.com/mechanicalsea/lighthubert.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。