Skip to main content
QUICK REVIEW

[论文解读] DiffAVA: Personalized Text-to-Audio Generation with Visual Alignment

Shentong Mo, Jing Shi|arXiv (Cornell University)|May 22, 2023
Music and Audio ProcessingComputer Science被引用 3
一句话总结

本文提出 DiffAVA,一种个性化文本到音频生成框架,通过在冻结的模态特定编码器上微调轻量级视觉-文本对齐模块,增强音视频对齐。通过利用多头注意力机制聚合时间视频特征,并采用双模态残差网络融合视觉与文本表征,DiffAVA 使用对比学习将文本嵌入与音频特征对齐,在 AudioCaps 上实现 SOTA 性能,Inception Score 为 7.37,KL 散度为 1.69,显著优于先前方法在音视频同步方面的表现。

ABSTRACT

Text-to-audio (TTA) generation is a recent popular problem that aims to synthesize general audio given text descriptions. Previous methods utilized latent diffusion models to learn audio embedding in a latent space with text embedding as the condition. However, they ignored the synchronization between audio and visual content in the video, and tended to generate audio mismatching from video frames. In this work, we propose a novel and personalized text-to-sound generation approach with visual alignment based on latent diffusion models, namely DiffAVA, that can simply fine-tune lightweight visual-text alignment modules with frozen modality-specific encoders to update visual-aligned text embeddings as the condition. Specifically, our DiffAVA leverages a multi-head attention transformer to aggregate temporal information from video features, and a dual multi-modal residual network to fuse temporal visual representations with text embeddings. Then, a contrastive learning objective is applied to match visual-aligned text embeddings with audio features. Experimental results on the AudioCaps dataset demonstrate that the proposed DiffAVA can achieve competitive performance on visual-aligned text-to-audio generation.

研究动机与目标

  • 为解决现有文本到音频生成模型中音视频不同步的问题,这些模型即使在无视觉内容时也常生成不匹配的音频。
  • 学习视觉对齐的文本嵌入作为潜在扩散模型的条件,确保生成的音频与视频帧中的视觉语义一致。
  • 开发一种轻量级、可微调的视觉-文本对齐模块,以保留冻结的模态特定编码器,提升效率与个性化能力。
  • 通过视觉对齐的文本嵌入与音频特征之间的对比学习,提升音频质量与时间对齐性能。

提出的方法

  • 使用多头注意力 Transformer 聚合通过预训练 X-CLIP 编码器提取的视频特征中的时间信息。
  • 通过双模态残差网络将时间视觉表征与基于 CLAP 的文本嵌入融合,生成视觉对齐的文本表征。
  • 在时间位置上应用对比学习目标,将视觉对齐的文本嵌入与潜在空间中的对应音频特征对齐。
  • 在保持音频、文本和视频编码器冻结的前提下,端到端微调视觉-文本对齐模块,以实现个性化生成。
  • 该框架使用以视觉对齐文本嵌入为条件的潜在扩散模型(LDM),并复用 AudioLDM 中预训练的 VAE 和声码器组件。
  • 该方法通过将文本嵌入适配至视频内容而无需重训练主扩散模型,支持个性化 TTA 生成。

实验结果

研究问题

  • RQ1轻量级视觉-文本对齐模块是否能有效提升文本到音频生成中的音视频同步?
  • RQ2视觉对齐的文本嵌入与音频特征之间的对比学习如何提升音频质量与对齐性能?
  • RQ3与在潜在扩散框架中冻结所有编码器相比,微调小型视觉-文本模块能在多大程度上提升性能?
  • RQ4所提方法能否生成与视频帧中声源视觉出现时间相匹配的时间对齐音频?

主要发现

  • DiffAVA 在 AudioCaps 基准上取得 7.37 的 Inception Score(IS),显著优于先前 SOTA 方法 AudioLDM(6.90),并大幅超越 DiffSound(4.01)。
  • 模型将 KL 散度降低至 1.69,表明音频质量与多样性得到提升,相较 AudioLDM 的 1.97 和 DiffSound 的 2.52 有明显改善。
  • DiffAVA 取得 4.23 的 Frechet Audio Distance(FAD)与 32.21 的 Frechet Distance(FD),表明生成音频与参考音频高度相似。
  • 定性结果表明,DiffAVA 能生成时间对齐的音频,例如仅在火车出现时生成火车鸣笛声,而 AudioLDM 则生成持续不断的音效。
  • 消融实验表明,视觉对齐的 CLAP 预训练对区分单个提示中的多个声源至关重要,例如 '鸽子鸣叫和鸟儿啁啾'。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。