Abstract
Recognizing novel video categories with minimal supervision remains a significant challenge in computer vision, particularly when integrating multi-modal data. This paper introduces AV-Diff, a framework designed for audio-visual few-shot learning (FSL) and generalized few-shot learning (GFSL). AV-Diff leverages a novel hybrid cross-modal fusion mechanism and a text-conditioned diffusion model to generate synthetic features for rare classes. By addressing the data scarcity of novel categories and the inherent bias toward data-rich base classes, AV-Diff establishes a new state-of-the-art across three specialized audio-visual benchmarks: VGGSound-FSL, UCF-FSL, and ActivityNet-FSL.
Introduction
Training robust deep learning models for video classification typically necessitates vast quantities of labeled data. However, in many real-world scenarios, obtaining such data is impractical. Few-Shot Learning (FSL) seeks to bridge this gap by enabling models to learn new concepts from only a handful of examples (e.g., 1 to 5 samples).
While FSL has matured in the context of static image recognition, its application to video is complicated by temporal dynamics and multi-modal signals. Most existing video FSL methods either ignore the audio stream or rely on benchmarks where audio is non-informative. Furthermore, the more realistic Generalized Few-Shot Learning (GFSL) setting—where models must simultaneously identify both previously learned "base" classes and "novel" classes—often suffers from a severe bias toward base classes. AV-Diff addresses these challenges by fusing audio-visual streams and utilizing generative modeling to balance the training distribution.
Methodology
AV-Diff operates at the feature level to maintain computational efficiency, utilizing frozen pre-trained extractors (C3D for visual temporal features and VGGish for audio). The framework is built upon two primary pillars:
1. Hybrid Cross-Modal Fusion
To effectively integrate audio and visual data without overfitting to the limited samples of novel classes, AV-Diff employs a transformer-based architecture with a tiered attention strategy.
- Within-Modality Attention: The initial layers process audio and video streams independently using self-attention. This ensures that the model captures strong unimodal representations before attempting fusion.
- Full Cross-Modal Attention: Subsequent layers allow for interaction between the modalities. This hybrid approach prevents the model from collapsing into a single modality when the other is noisy or scarce.
2. Text-to-Feature Diffusion
To mitigate the scarcity of novel class data, the authors integrate a Denoising Diffusion Probabilistic Model (DDPM). Unlike traditional Generative Adversarial Networks (GANs), which can be unstable during training, the diffusion model provides a more robust way to perform data augmentation.
The DDPM is conditioned on semantic text embeddings (class names). By learning the distribution of features associated with specific semantic labels, the model can generate high-quality synthetic audio-visual features for novel classes. These synthetic features act as a bridge, allowing the classifier to learn more distinct boundaries between base and novel categories.
Training Curriculum
The model is trained in two stages. First, the fusion mechanism is trained on the data-rich base classes. Second, the fusion layers are frozen, and the final classifier is trained on a mixture of real base features and a combination of real and synthetic novel features generated by the diffusion model.
Experimental Setup and Benchmarks
Because standard video FSL benchmarks often lack meaningful audio, the authors established three new benchmarks for audio-visual FSL/GFSL:
- VGGSound-FSL: Focused on strong audio-visual correspondence.
- UCF-FSL: Adapted from the UCF101 action recognition dataset.
- ActivityNet-FSL: Derived from ActivityNet, featuring complex human activities in longer video sequences.
AV-Diff was compared against ten baseline methods, including adaptations of GAN-based FSL and audio-visual Zero-Shot Learning (ZSL) models.
Results and Discussion
AV-Diff consistently outperformed all baselines across the three datasets. Performance was measured using the Harmonic Mean (HM) of base and novel class accuracies, which is the standard metric for GFSL.
- VGGSound-FSL (5-shot): AV-Diff achieved an HM of 31.19%, outperforming the Perceiver baseline (29.92%).
- UCF-FSL (5-shot): The model reached an HM of 59.96%, a significant improvement over the Zorro baseline (51.86%).
- ActivityNet-FSL (5-shot): AV-Diff attained an HM of 26.96%, compared to 25.75% for the Perceiver.
Key findings indicate that the diffusion-based augmentation provided a consistent 1-2% accuracy boost over GAN-based alternatives. Furthermore, the multi-modal approach significantly reduced the bias toward base classes, particularly in complex datasets like ActivityNet-FSL, where visual data alone often proves insufficient for distinguishing between similar actions.
Conclusion and Future Work
AV-Diff demonstrates the efficacy of combining hybrid attention mechanisms with generative diffusion models for multi-modal few-shot learning. By leveraging text as a semantic bridge and diffusion as a robust generator, the framework effectively handles the data scarcity inherent in novel category recognition.
Future research directions include moving beyond frozen feature extractors to end-to-end training, developing more sophisticated temporal modeling for long-form video, and exploring the use of large language models (LLMs) to provide richer semantic conditioning for the diffusion process.
Summary updated