LiteFocus:用于长音频合成的加速扩散推理

Zhenxiong Tan, Xinyin Ma, Gongfan Fang, Xinchao Wang
{"title":"LiteFocus:用于长音频合成的加速扩散推理","authors":"Zhenxiong Tan, Xinyin Ma, Gongfan Fang, Xinchao Wang","doi":"arxiv-2407.10468","DOIUrl":null,"url":null,"abstract":"Latent diffusion models have shown promising results in audio generation,\nmaking notable advancements over traditional methods. However, their\nperformance, while impressive with short audio clips, faces challenges when\nextended to longer audio sequences. These challenges are due to model's\nself-attention mechanism and training predominantly on 10-second clips, which\ncomplicates the extension to longer audio without adaptation. In response to\nthese issues, we introduce a novel approach, LiteFocus that enhances the\ninference of existing audio latent diffusion models in long audio synthesis.\nObserved the attention pattern in self-attention, we employ a dual sparse form\nfor attention calculation, designated as same-frequency focus and\ncross-frequency compensation, which curtails the attention computation under\nsame-frequency constraints, while enhancing audio quality through\ncross-frequency refillment. LiteFocus demonstrates substantial reduction on\ninference time with diffusion-based TTA model by 1.99x in synthesizing\n80-second audio clips while also obtaining improved audio quality.","PeriodicalId":501178,"journal":{"name":"arXiv - CS - Sound","volume":null,"pages":null},"PeriodicalIF":0.0000,"publicationDate":"2024-07-15","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"LiteFocus: Accelerated Diffusion Inference for Long Audio Synthesis\",\"authors\":\"Zhenxiong Tan, Xinyin Ma, Gongfan Fang, Xinchao Wang\",\"doi\":\"arxiv-2407.10468\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Latent diffusion models have shown promising results in audio generation,\\nmaking notable advancements over traditional methods. However, their\\nperformance, while impressive with short audio clips, faces challenges when\\nextended to longer audio sequences. These challenges are due to model's\\nself-attention mechanism and training predominantly on 10-second clips, which\\ncomplicates the extension to longer audio without adaptation. In response to\\nthese issues, we introduce a novel approach, LiteFocus that enhances the\\ninference of existing audio latent diffusion models in long audio synthesis.\\nObserved the attention pattern in self-attention, we employ a dual sparse form\\nfor attention calculation, designated as same-frequency focus and\\ncross-frequency compensation, which curtails the attention computation under\\nsame-frequency constraints, while enhancing audio quality through\\ncross-frequency refillment. LiteFocus demonstrates substantial reduction on\\ninference time with diffusion-based TTA model by 1.99x in synthesizing\\n80-second audio clips while also obtaining improved audio quality.\",\"PeriodicalId\":501178,\"journal\":{\"name\":\"arXiv - CS - Sound\",\"volume\":null,\"pages\":null},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2024-07-15\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"arXiv - CS - Sound\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/arxiv-2407.10468\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"arXiv - CS - Sound","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/arxiv-2407.10468","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

摘要

潜在扩散模型在音频生成方面取得了可喜的成果,与传统方法相比取得了显著的进步。然而,虽然它们在短音频片段中的表现令人印象深刻,但在扩展到较长的音频序列时却面临挑战。这些挑战是由于模型的自我注意机制和主要在 10 秒片段上进行的训练造成的,这使得在不进行适应性调整的情况下扩展到较长的音频时变得复杂。针对这些问题,我们引入了一种新方法 LiteFocus,它能增强现有音频潜扩散模型在长音频合成中的推理能力。观察到自我注意中的注意模式,我们采用了双重稀疏形式进行注意计算,即同频聚焦和跨频补偿,它能在同频约束下减少注意计算,同时通过跨频补偿提高音频质量。在合成 80 秒音频片段时,LiteFocus 与基于扩散的 TTA 模型相比,大幅缩短了 1.99 倍的推理时间,同时还提高了音频质量。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
LiteFocus: Accelerated Diffusion Inference for Long Audio Synthesis
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.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信