arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2406.08904cs.LGcs.SDeess.AS
收藏

AdaPTwin:Transformer中产品孪生矩阵的低成本自适应压缩

AdaPTwin: Low-Cost Adaptive Compression of Product Twins in Transformers

Stanford University(斯坦福大学)

Emil Biju, Anirudh Sriram, Mert Pilanci

AI总结:

本文提出AdaPTwin低秩自适应压缩方法,联合压缩Transformer注意力层中的产品相关权重矩阵对,仅需8小时语音数据和20分钟微调即可将Whisper系列模型压缩45%且词错误率增加不到2%。

摘要:

虽然基于Transformer的大型模型在说话人无关的语音识别中表现出卓越性能,但其庞大的规模和计算需求使其在资源受限环境中使用成本高昂甚至不切实际。本文提出一种名为AdaPTwin的低秩自适应压缩技术,该技术联合压缩Transformer注意力层中与产品相关的权重矩阵对。我们的方法能够在保持对新说话人和声学条件的泛化能力的同时,优先提升压缩模型在特定说话人上的性能。值得注意的是,该技术仅需8小时的语音数据进行微调,且可在20分钟内完成,与其他压缩方法相比具有极高的成本效益。我们通过将Whisper和Distil-Whisper模型压缩高达45%,同时词错误率增加不到2%,证明了该方法的有效性。

英文摘要:

While large transformer-based models have exhibited remarkable performance in speaker-independent speech recognition, their large size and computational requirements make them expensive or impractical to use in resource-constrained settings. In this work, we propose a low-rank adaptive compression technique called AdaPTwin that jointly compresses product-dependent pairs of weight matrices in the transformer attention layer. Our approach can prioritize the compressed model's performance on a specific speaker while maintaining generalizability to new speakers and acoustic conditions. Notably, our technique requires only 8 hours of speech data for fine-tuning, which can be accomplished in under 20 minutes, making it highly cost-effective compared to other compression methods. We demonstrate the efficacy of our approach by compressing the Whisper and Distil-Whisper models by up to 45% while incurring less than a 2% increase in word error rate.

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

↑