arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2402.00828eess.AScs.AI
收藏

通过软适配器混合实现音频频谱Transformer的高效微调

Efficient Fine-tuning of Audio Spectrogram Transformers via Soft Mixture of Adapters

University of Trento(特伦托大学);Fondazione Bruno Kessler(布鲁诺·凯塞勒基金会)

Umberto Cappellazzo, Daniele Falavigna, Alessio Brutti

AI总结:

本文提出软适配器混合方法,通过软分配机制将适配器作为专家,实现Audio Spectrogram Transformers的参数高效微调,在4个基准上优于单一适配器并媲美密集MoA,同时解决了专家不平衡问题。

摘要:

混合专家架构近期开始蓬勃发展,因为它能够在保持计算成本可控的同时扩展模型容量。此外,它既可以应用于Transformer,也可以应用于状态空间模型,这两者是目前众多领域中最先进的模型。尽管MoE主要在预训练阶段被研究,但其在参数高效迁移学习设置中的应用仍探索不足。为了缩小这一差距,本文试图揭开MoE在Audio Spectrogram Transformers的参数高效微调中应用于音频和语音下游任务的神秘面纱。具体而言,我们提出了软适配器混合。它利用适配器作为专家,并借助最近的Soft MoE方法,依赖输入token和专家之间的软分配来保持计算时间有限。在4个基准上的广泛实验表明,Soft-MoA优于单一适配器方法,并且与密集MoA对应物表现相当。我们最后展示了对Soft-MoA关键元素的消融研究,例如表明Soft-MoA在专家数量增加时实现了更好的扩展,并确保所有专家都参与输出token的计算,从而避免了专家不平衡问题。

英文摘要:

Mixture of Experts (MoE) architectures have recently started burgeoning due to their ability to scale model's capacity while maintaining the computational cost affordable. Furthermore, they can be applied to both Transformers and State Space Models, the current state-of-the-art models in numerous fields. While MoE has been mostly investigated for the pre-training stage, its use in parameter-efficient transfer learning settings is under-explored. To narrow this gap, this paper attempts to demystify the use of MoE for parameter-efficient fine-tuning of Audio Spectrogram Transformers to audio and speech downstream tasks. Specifically, we propose Soft Mixture of Adapters (Soft-MoA). It exploits adapters as the experts and, leveraging the recent Soft MoE method, it relies on a soft assignment between the input tokens and experts to keep the computational time limited. Extensive experiments across 4 benchmarks demonstrate that Soft-MoA outperforms the single adapter method and performs on par with the dense MoA counterpart. We finally present ablation studies on key elements of Soft-MoA, showing for example that Soft-MoA achieves better scaling with more experts, as well as ensuring that all experts contribute to the computation of the output tokens, thus dispensing with the expert imbalance issue.

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

↑