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

ElasticAST:适配所有长度与分辨率的音频谱图Transformer

ElasticAST: An Audio Spectrogram Transformer for All Length and Resolutions

Korea Advanced Institute of Science and Technology(韩国科学技术院)

Jiu Feng, Mehmet Hamza Erol, Joon Son Chung, Arda Senocak

AI总结:

针对AST因固定输入范式导致推理长度变化时性能下降的问题,提出ElasticAST方法,通过序列打包实现训练与推理阶段适配任意音频长度及分辨率,在原生长度数据集上性能优于标准AST。

摘要:

Transformer已迅速取代基于CNN的架构,成为音频分类领域的新标准。基于Transformer的模型,例如Audio Spectrogram Transformers(音频谱图Transformer,AST),也继承了CNN的固定尺寸输入范式。然而,这会导致AST在推理阶段的输入长度与训练阶段不一致时出现性能下降。本文提出了一种方法,可让AST模型在训练和推理阶段都支持可变长度的音频输入。通过采用序列打包技术,我们的方法ElasticAST可在训练期间适配任意音频长度,从而在推理阶段具备跨所有长度与分辨率的灵活性。这种灵活性使ElasticAST能够在不同长度或分辨率下保持评估能力,且性能与在特定长度或分辨率下训练的标准AST相当。此外,实验表明,在原生长度音频数据集上进行训练和评估时,ElasticAST的性能更优。

英文摘要:

Transformers have rapidly overtaken CNN-based architectures as the new standard in audio classification. Transformer-based models, such as the Audio Spectrogram Transformers (AST), also inherit the fixed-size input paradigm from CNNs. However, this leads to performance degradation for ASTs in the inference when input lengths vary from the training. This paper introduces an approach that enables the use of variable-length audio inputs with AST models during both training and inference. By employing sequence packing, our method ElasticAST, accommodates any audio length during training, thereby offering flexibility across all lengths and resolutions at the inference. This flexibility allows ElasticAST to maintain evaluation capabilities at various lengths or resolutions and achieve similar performance to standard ASTs trained at specific lengths or resolutions. Moreover, experiments demonstrate ElasticAST's better performance when trained and evaluated on native-length audio datasets.

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

↑