Skip to main content
QUICK REVIEW

[Paper Review] Cross-modal Prompts: Adapting Large Pre-trained Models for Audio-Visual Downstream Tasks

Haoyi Duan, Yan Xia|arXiv (Cornell University)|Nov 9, 2023
Speech and Audio ProcessingComputer Science7 citations
TL;DR

This paper proposes DG-SCT, a Dual-Guided Spatial-Channel-Temporal attention mechanism that uses audio and visual modalities as soft prompts to adaptively refine feature extraction in frozen pre-trained audio-visual encoders. By injecting trainable cross-modal interaction layers into ViT and HTS-AT models, DG-SCT enhances feature fusion across spatial, channel, and temporal dimensions, achieving state-of-the-art performance on AVE, AVVP, AVS, and AVQA, including strong few-shot and zero-shot generalization.

ABSTRACT

In recent years, the deployment of large-scale pre-trained models in audio-visual downstream tasks has yielded remarkable outcomes. However, these models, primarily trained on single-modality unconstrained datasets, still encounter challenges in feature extraction for multi-modal tasks, leading to suboptimal performance. This limitation arises due to the introduction of irrelevant modality-specific information during encoding, which adversely affects the performance of downstream tasks. To address this challenge, this paper proposes a novel Dual-Guided Spatial-Channel-Temporal (DG-SCT) attention mechanism. This mechanism leverages audio and visual modalities as soft prompts to dynamically adjust the parameters of pre-trained models based on the current multi-modal input features. Specifically, the DG-SCT module incorporates trainable cross-modal interaction layers into pre-trained audio-visual encoders, allowing adaptive extraction of crucial information from the current modality across spatial, channel, and temporal dimensions, while preserving the frozen parameters of large-scale pre-trained models. Experimental evaluations demonstrate that our proposed model achieves state-of-the-art results across multiple downstream tasks, including AVE, AVVP, AVS, and AVQA. Furthermore, our model exhibits promising performance in challenging few-shot and zero-shot scenarios. The source code and pre-trained models are available at https://github.com/haoyi-duan/DG-SCT.

Motivation & Objective

  • Address the suboptimal performance of single-modality pre-trained models in multi-modal audio-visual tasks due to irrelevant modality-specific feature extraction.
  • Overcome the limitations of existing CLIP-based methods that focus primarily on text-image prompts, extending prompt learning to audio-visual scenarios.
  • Enable bidirectional, adaptive feature refinement by using each modality as a soft prompt to guide the representation learning of the other.
  • Preserve the frozen parameters of large-scale pre-trained models while introducing minimal, efficient trainable components for downstream adaptation.
  • Improve feature compactness and discriminability across modalities through multi-level attention mechanisms in spatial, channel, and temporal dimensions.

Proposed method

  • Introduce the DG-SCT attention mechanism that injects trainable cross-modal interaction layers into every layer of frozen pre-trained audio and visual encoders.
  • Leverage audio and visual features as soft prompts to dynamically adjust the attention weights in spatial, channel, and temporal dimensions of the opposite modality.
  • Apply 2D convolution and linear projection to align the dimensionalities of audio and visual prompts, ensuring consistent feature interaction.
  • Implement bidirectional guidance: audio prompts guide visual feature extraction and vice versa, enabling mutual refinement of representations.
  • Maintain the original frozen weights of large-scale models (e.g., ViT, Swin-T, HTS-AT) while only fine-tuning the lightweight DG-SCT modules.
  • Integrate DG-SCT at multiple layers of the encoder to enable hierarchical, multi-granularity feature adaptation.

Experimental results

Research questions

  • RQ1Can audio and visual modalities serve as effective soft prompts to guide feature extraction in pre-trained models for audio-visual tasks?
  • RQ2Does bidirectional cross-modal attention across spatial, channel, and temporal dimensions improve feature quality and downstream performance compared to unidirectional or no prompting?
  • RQ3Can the proposed DG-SCT mechanism achieve state-of-the-art performance on diverse audio-visual benchmarks including few-shot and zero-shot settings?
  • RQ4How does the inclusion of multi-level attention (spatial, channel, temporal) contribute to the discriminative power of learned features?
  • RQ5To what extent does DG-SCT improve feature compactness and inter-class separability in representation space compared to baselines?

Key findings

  • DG-SCT achieves state-of-the-art performance on four major audio-visual benchmarks: AVE (82.2% accuracy), AVVP (89.2%), AVS (64.2%), and AVQA (70.7%).
  • The model achieves 82.2% accuracy on the AVE benchmark, outperforming the previous SOTA method (CMBS) by 2.9 percentage points and LAVisH by 2.5 points.
  • In few-shot and zero-shot settings, DG-SCT demonstrates strong generalization, maintaining high performance with limited labeled data.
  • t-SNE visualization confirms that DG-SCT learns more intra-class compact and inter-class separable features across audio and visual modalities.
  • The model achieves superior performance with only 43.6 million trainable parameters, a modest increase compared to LAVisH, while significantly outperforming it in accuracy.
  • Ablation studies confirm that all three components—spatial, channel, and temporal attention—contribute significantly to the final performance, with the full DG-SCT module yielding the best results.

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.