Skip to main content
QUICK REVIEW

[Paper Review] DiffAVA: Personalized Text-to-Audio Generation with Visual Alignment

Shentong Mo, Jing Shi|arXiv (Cornell University)|May 22, 2023
Music and Audio ProcessingComputer Science3 citations
TL;DR

This paper proposes DiffAVA, a personalized text-to-audio generation framework that enhances audio-video alignment by fine-tuning lightweight visual-text alignment modules on frozen modality-specific encoders. By leveraging multi-head attention for temporal video feature aggregation and a dual multi-modal residual network to fuse visual and textual representations, DiffAVA uses contrastive learning to align text embeddings with audio features, achieving state-of-the-art performance on AudioCaps with 7.37 IS and 1.69 KL, outperforming prior methods in audio-video synchronization.

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.

Motivation & Objective

  • To address the lack of audio-visual synchronization in existing text-to-audio generation models, which often produce mismatched audio even when visual content is absent.
  • To learn visual-aligned text embeddings as conditions for latent diffusion models, ensuring generated audio matches the visual semantics in video frames.
  • To develop a lightweight, fine-tunable visual-text alignment module that preserves frozen modality-specific encoders for efficiency and personalization.
  • To improve audio quality and temporal alignment through contrastive learning between visual-aligned text embeddings and audio features.

Proposed method

  • A multi-head attention transformer aggregates temporal information from video features extracted via a pre-trained X-CLIP encoder.
  • A dual multi-modal residual network fuses temporal visual representations with CLAP-based text embeddings to generate visual-aligned text representations.
  • A contrastive learning objective is applied across temporal locations to align visual-aligned text embeddings with corresponding audio features in the latent space.
  • The visual-text alignment module is fine-tuned end-to-end while keeping the audio, text, and video encoders frozen to enable personalized generation.
  • The framework uses a latent diffusion model (LDM) conditioned on visual-aligned text embeddings, leveraging pre-trained VAE and vocoder components from AudioLDM.
  • The method supports personalized TTA generation by adapting text embeddings to video content without retraining the main diffusion model.

Experimental results

Research questions

  • RQ1Can a lightweight visual-text alignment module effectively improve audio-video synchronization in text-to-audio generation?
  • RQ2How does contrastive learning between visual-aligned text embeddings and audio features enhance audio quality and alignment?
  • RQ3To what extent does fine-tuning a small visual-text module improve performance compared to freezing all encoders in a latent diffusion framework?
  • RQ4Can the proposed method generate temporally aligned audio that matches the visual presence of sound sources in video frames?

Key findings

  • DiffAVA achieves an Inception Score (IS) of 7.37 on the AudioCaps benchmark, significantly outperforming the prior state-of-the-art AudioLDM (6.90) and surpassing DiffSound (4.01).
  • The model reduces KL divergence to 1.69, indicating improved audio quality and diversity, compared to AudioLDM’s 1.97 and DiffSound’s 2.52.
  • DiffAVA achieves a Frechet Audio Distance (FAD) of 4.23 and a Frechet Distance (FD) of 32.21, showing strong similarity between generated and reference audio.
  • Qualitative results demonstrate that DiffAVA generates temporally aligned audio, such as correctly limiting a train horn sound to the time when a train is visible, unlike AudioLDM which generates persistent sounds.
  • The ablation shows that visual-aligned CLAP pre-training is essential for distinguishing between multiple sound sources in a single prompt, such as 'pigeons vocalize and birds chirp'.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.