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

LiteFocus:面向长音频合成的加速扩散推理

LiteFocus: Accelerated Diffusion Inference for Long Audio Synthesis

National University of Singapore(新加坡国立大学)

Zhenxiong Tan, Xinyin Ma, Gongfan Fang, Xinchao Wang

AI总结:

针对潜在扩散模型长音频合成推理效率低的问题,提出LiteFocus方法,采用同频聚焦+跨频补偿的双稀疏注意力机制,实现80秒音频推理提速1.99倍且音质提升。

摘要:

潜在扩散模型在音频生成领域已展现出可观成效,相较传统方法取得了显著进展。但这类模型虽在短音频片段上表现出色,拓展至更长音频序列时却面临挑战。这些挑战源于模型的自注意力机制,且其训练主要基于10秒片段,若不做适配便难以拓展到更长音频场景。针对这些问题,我们提出了名为LiteFocus的新方法,用于增强现有音频潜在扩散模型在长音频合成中的推理性能。通过观察自注意力中的注意力模式,我们采用双稀疏形式进行注意力计算,即同频聚焦与跨频补偿:在同频约束下减少注意力计算量,同时通过跨频补全提升音频质量。实验表明,在合成80秒音频片段时,LiteFocus使基于扩散的TTA模型推理时间大幅缩短1.99倍,同时音频质量也得到提升。

英文摘要:

Latent diffusion models have shown promising results in audio generation, making notable advancements over traditional methods. However, their performance, while impressive with short audio clips, faces challenges when extended to longer audio sequences. These challenges are due to model's self-attention mechanism and training predominantly on 10-second clips, which complicates the extension to longer audio without adaptation. In response to these issues, we introduce a novel approach, LiteFocus that enhances the inference of existing audio latent diffusion models in long audio synthesis. Observed the attention pattern in self-attention, we employ a dual sparse form for attention calculation, designated as same-frequency focus and cross-frequency compensation, which curtails the attention computation under same-frequency constraints, while enhancing audio quality through cross-frequency refillment. LiteFocus demonstrates substantial reduction on inference time with diffusion-based TTA model by 1.99x in synthesizing 80-second audio clips while also obtaining improved audio quality.

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

↑