arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2306.01385eess.AScs.CLcs.SD
收藏

语音表示模型的任务无关结构化剪枝

Task-Agnostic Structured Pruning of Speech Representation Models

Tsinghua University(清华大学);OPPO(欧珀(OPPO))

Haoyu Wang, Siyuan Wang, Wei-Qiang Zhang, Hongbin Suo, Yulong Wan

AI总结:

本文提出一种任务无关的细粒度注意力头剪枝方法,并结合直通估计器与L0正则化,在SUPERB基准上以72%参数减少和2倍推理加速实现与稠密模型相当的性能。

摘要:

自监督预训练模型如Wav2vec2、Hubert和WavLM已被证明能显著改善许多语音任务。然而,它们较大的内存和较高的计算需求阻碍了其工业应用。结构化剪枝是一种硬件友好的模型压缩技术,但通常会导致较大的精度损失。在本文中,我们提出了一种细粒度注意力头剪枝方法,以弥补性能下降。此外,我们还将直通估计器引入L0正则化,以进一步加速剪枝后的模型。在SUPERB基准上的实验表明,我们的模型在多个任务上可以达到与稠密模型相当的性能,并且平均优于Wav2vec 2.0基础模型,同时参数减少72%,推理速度提高2倍。

英文摘要:

Self-supervised pre-trained models such as Wav2vec2, Hubert, and WavLM have been shown to significantly improve many speech tasks. However, their large memory and strong computational requirements hinder their industrial applicability. Structured pruning is a hardware-friendly model compression technique but usually results in a larger loss of accuracy. In this paper, we propose a fine-grained attention head pruning method to compensate for the performance degradation. In addition, we also introduce the straight through estimator into the L0 regularization to further accelerate the pruned model. Experiments on the SUPERB benchmark show that our model can achieve comparable performance to the dense model in multiple tasks and outperforms the Wav2vec 2.0 base model on average, with 72% fewer parameters and 2 times faster inference speed.

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

↑