arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2411.09339cs.SDcs.CLeess.AS
收藏

用于设备端语音情感识别的轻量级Transformer重参数化

Re-Parameterization of Lightweight Transformer for On-Device Speech Emotion Recognition

College of Computer Science and Electronic Engineering, Hunan University(湖南大学计算机与电子工程学院);Shenzhen Research Institute, Hunan University(湖南大学深圳研究院);University of Cambridge(剑桥大学)

Zixing Zhang, Zhongren Dong, Weixiang Xu, Jing Han

AI总结:

本文提出Transformer重参数化方法,通过训练阶段插入高秩分解层并在推理阶段将其与前馈网络合并,有效提升了轻量级Transformer在资源受限IoT设备上的语音情感识别性能。

摘要:

随着机器学习模型在边缘或物联网设备上的日益普及,在资源受限的IoT设备上部署先进模型仍具挑战。Transformer模型作为当前主导的神经架构,在广泛领域取得巨大成功,但其复杂性阻碍了其在计算能力和存储容量有限的IoT设备上的部署。尽管已探索许多模型压缩方法,但它们常遭受严重的性能下降。为解决此问题,我们引入一种新方法,即Transformer重参数化,以提升轻量级Transformer模型的性能。它包含两个过程:训练阶段的高秩分解过程和推理阶段的去高秩分解过程。在前一过程中,我们在轻量级Transformer的前馈网络之前插入一个额外的线性层。假定插入的HRF层能增强模型学习能力。在后一过程中,辅助HRF层将与后续FFN层合并为一个线性层,从而恢复轻量级模型的原始结构。为检验所提方法的有效性,我们在IEMOCAP、M3ED和DAIC-WOZ数据集上的语音情感识别应用中,对三种广泛使用的Transformer变体(即ConvTransformer、Conformer和SpeechFormer网络)进行了评估。实验结果表明,我们提出的方法持续提升了轻量级Transformer的性能,甚至使其可与大模型相媲美。所提重参数化方法使先进的Transformer模型能够部署在资源受限的IoT设备上。

英文摘要:

With the increasing implementation of machine learning models on edge or Internet-of-Things (IoT) devices, deploying advanced models on resource-constrained IoT devices remains challenging. Transformer models, a currently dominant neural architecture, have achieved great success in broad domains but their complexity hinders its deployment on IoT devices with limited computation capability and storage size. Although many model compression approaches have been explored, they often suffer from notorious performance degradation. To address this issue, we introduce a new method, namely Transformer Re-parameterization, to boost the performance of lightweight Transformer models. It consists of two processes: the High-Rank Factorization (HRF) process in the training stage and the deHigh-Rank Factorization (deHRF) process in the inference stage. In the former process, we insert an additional linear layer before the Feed-Forward Network (FFN) of the lightweight Transformer. It is supposed that the inserted HRF layers can enhance the model learning capability. In the later process, the auxiliary HRF layer will be merged together with the following FFN layer into one linear layer and thus recover the original structure of the lightweight model. To examine the effectiveness of the proposed method, we evaluate it on three widely used Transformer variants, i.e., ConvTransformer, Conformer, and SpeechFormer networks, in the application of speech emotion recognition on the IEMOCAP, M3ED and DAIC-WOZ datasets. Experimental results show that our proposed method consistently improves the performance of lightweight Transformers, even making them comparable to large models. The proposed re-parameterization approach enables advanced Transformer models to be deployed on resource-constrained IoT devices.

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

↑