Abstract
Contrastive learning frameworks like CLIP, CLAP, and CAVP have significantly advanced cross-modal understanding by aligning disparate data types in a shared embedding space. However, these models often suffer from a "cross-modal gap" due to unidirectional alignment and a failure to account for modality-specific noise. We present DiffGAP, a framework featuring a 5.4MB Contrastive Diffusion Module (CDM) that operates directly within the contrastive space. By employing a Bidirectional Split Training (BST) strategy, DiffGAP effectively bridges the alignment gap, enhancing both cross-modal generation and retrieval. Our evaluations on AudioCaps and VGGSound show state-of-the-art performance in video-to-audio and text-to-audio tasks.
Introduction
The success of contrastive learning relies on pulling embeddings of different modalities closer together. Despite its effectiveness for retrieval, this approach often overlooks the inherent noise within individual modalities—such as background audio irrelevant to visual cues—and the complex, bidirectional relationships between them. This results in a persistent "cross-modal gap" that hinders high-fidelity generation.
DiffGAP addresses these limitations by introducing a lightweight generative bridge. Instead of a simple similarity-based alignment, it treats the transition between modalities as a denoising process within the low-dimensional embedding space, ensuring both computational efficiency and improved alignment.
Methods
The DiffGAP architecture is built around two core components: the Contrastive Diffusion Module (CDM) and the Bidirectional Split Training (BST) strategy.
Contrastive Diffusion Module (CDM)
The CDM frames the cross-modal gap as a denoising problem. It utilizes a diffusion process where the embedding of a target modality (e.g., Audio) is recovered from a random Gaussian vector, conditioned on the source modality's embedding (e.g., Video). Because this process occurs in the embedding space rather than on raw data like pixels or waveforms, the module is exceptionally lightweight, requiring only 5.4 million parameters.
Bidirectional Split Training (BST)
To prevent the model from overfitting to a single direction of influence, the authors introduced Bidirectional Split Training. This strategy alternates the conditioning and target modalities during training iterations.
As shown in the algorithm above, the model switches between using video features to condition audio recovery and using audio features to condition video recovery every $m$ iterations. This ensures the learning of a balanced, joint representation that captures mutual information more effectively than unidirectional methods.
Experimental Setup
The researchers evaluated DiffGAP using two benchmark datasets:
- AudioCaps: Approximately 45,000 ten-second YouTube clips with human-written text captions.
- VGGSound: A large-scale dataset of 200,000 YouTube clips covering 309 sound categories.
Key Results
DiffGAP achieved state-of-the-art results across multiple benchmarks, demonstrating its versatility in both generation and retrieval.
Cross-Modal Generation
On the VGGSound dataset for video-to-audio generation, DiffGAP achieved an Inception Score (IS) of 64.97, surpassing previous benchmarks like V2A-Mapper and Diff-Foley.
In text-to-audio tasks on AudioCaps, DiffGAP reached an IS of 8.27, a notable improvement over AudioLDM's 6.90. The model also achieved a high alignment accuracy of 97.63% in video-to-audio tasks, indicating superior synchronization between generated audio and visual content.
Retrieval Performance
The framework also provided significant gains in retrieval. For video-to-audio retrieval, Recall@1 (R@1) increased from 9.50 (using CAVP) to 17.80. Similar improvements were noted in text-to-audio retrieval tasks compared to the CLAP baseline.
Discussion and Limitations
DiffGAP demonstrates that high-quality cross-modal generation does not require massive diffusion models; performing diffusion in a pre-aligned contrastive space is highly effective. The model's efficiency is further highlighted by its robustness to low sampling steps, maintaining performance even with as few as 5 steps.
While DiffGAP is highly efficient, its performance is intrinsically linked to the quality of the underlying pre-trained contrastive encoders. Future research could investigate tri-modal diffusion to bridge audio, video, and text simultaneously, as well as exploring more complex temporal dynamics for longer-duration content.
Summary updated