Robust Cross-Modal Knowledge Distillation for Unconstrained Videos

Wenke Xia, Xingjian Li, Andong Deng, Haoyi Xiong, Dejing Dou, Di HuarXiv 2023 · DOI

Introduction: The Challenge of Unconstrained Videos

Cross-modal knowledge distillation (KD) typically operates under the "semantic consistency assumption"—the premise that audio and visual streams in a video clip are perfectly synchronized and convey identical information. While this holds in controlled environments, real-world "unconstrained" videos often contain significant discrepancies. For instance, a video of someone hammering might be overlaid with background music (BGM), or a haircutting scene might feature distant conversation unrelated to the primary action.

Conceptual overview of noise filtering and semantic calibration in unconstrained videos.

These discrepancies manifest as two primary issues:

  1. Irrelevant Modality Noise: Signals in the teacher modality (e.g., BGM in audio) that do not correspond to the target visual action.
  2. Differentiated Semantic Correlation: Varying degrees of association between modalities, where some sounds are "weaker" indicators of an action than others.

Blindly distilling knowledge from a noisy teacher can degrade the student model's performance. This research introduces a robust framework designed to filter modality noise and adaptively calibrate the distillation process based on the strength of cross-modal associations.

Methodology: MNF and CSC

The proposed framework addresses these challenges through two main components: the Modality Noise Filter (MNF) and Contrastive Semantic Calibration (CSC).

Detailed architecture of the Modality Noise Filter (MNF) and Contrastive Semantic Calibration (CSC) modules.

Modality Noise Filter (MNF)

The MNF module employs a channel-wise attention mechanism, termed the Feature Selection (FS) Block, to identify and suppress irrelevant noise within the teacher's feature space. To ensure effective "purification," the authors utilize a Triplet Loss. This loss function explicitly constrains the purified teacher features to be semantically closer to the student's visual features than the original noisy features, providing a clear supervisory signal for noise removal without requiring manual labels.

Contrastive Semantic Calibration (CSC)

Once features are purified, the CSC module determines the appropriate weight for distillation for each specific sample. It uses an audio-guided spatiotemporal attention mechanism to pinpoint the most relevant visual regions. The core of this module is the Adaptive Contrastive Loss. By dynamically calculating the "temperature" of the contrastive loss based on the similarity between audio and video features, the model can amplify knowledge transfer for strongly correlated pairs while dampening the effect for weaker associations.

Experimental Evaluation

The framework was evaluated on three major benchmarks: UCF51 (action recognition/retrieval), ActivityNet (action recognition/retrieval), and Kinetics-Sound (audio tagging).

Key Results

  • Action Recognition: On UCF51, the model achieved 72.9% accuracy, outperforming the previous state-of-the-art (RC-MC) at 71.0%.
  • Video Retrieval: Significant gains were observed in retrieval tasks. On UCF51, the mAP@100 reached 91.4, a substantial improvement over the 81.4 achieved by prior methods.
  • Robustness: In ablation studies involving intentional audio noise, the MNF module maintained a high accuracy of 71.5%, whereas models without the filter experienced significant performance drops.
  • Generalization: The method proved effective for audio tagging on Kinetics-Sound (53.1% accuracy), demonstrating its utility in distilling knowledge from visual teachers to audio students.

Conclusion and Future Directions

This work demonstrates that cross-modal distillation is not a "one-size-fits-all" process. By acknowledging and filtering modality noise and adaptively weighting samples, the proposed framework achieves superior robustness in unconstrained environments.

Future research may explore the interaction of these modules with Vision Transformers (ViTs) and address temporal noise, where audio and video signals are related but temporally misaligned. While the training process introduces some computational overhead due to cross-modal attention loops, the resulting student models remain efficient for inference.

Summary updated

BibTeX
@misc{xia2023robust,
  author = {Wenke Xia and Xingjian Li and Andong Deng and Haoyi Xiong and Dejing Dou and Di Hu},
  title = {{Robust Cross-Modal Knowledge Distillation for Unconstrained Videos}},
  year = {2023},
  eprint = {2304.07775},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2304.07775},
}
Figure