Skip to main content
QUICK REVIEW

[Paper Review] Multimodality Helps Unimodality: Cross-Modal Few-Shot Learning with Multimodal Models

Zhiqiu Lin, Samuel Yu|arXiv (Cornell University)|Jan 16, 2023
Multimodal Machine Learning ApplicationsComputer Science8 citations
TL;DR

The paper shows that cross-modal adaptation using multimodal foundation models (e.g., CLIP, AudioCLIP) can improve unimodal few-shot classification by treating other modalities as additional training samples, achieving state-of-the-art results with simple linear probes and extending to audiovisual scenarios.

ABSTRACT

The ability to quickly learn a new task with minimal instruction - known as few-shot learning - is a central aspect of intelligent agents. Classical few-shot benchmarks make use of few-shot samples from a single modality, but such samples may not be sufficient to characterize an entire concept class. In contrast, humans use cross-modal information to learn new concepts efficiently. In this work, we demonstrate that one can indeed build a better ${\bf visual}$ dog classifier by ${\bf read}$ing about dogs and ${\bf listen}$ing to them bark. To do so, we exploit the fact that recent multimodal foundation models such as CLIP learn cross-modal encoders that map different modalities to the same representation space. Specifically, we propose a simple strategy for ${\bf cross-modal}$ ${\bf adaptation}$: we treat examples from different modalities as additional few-shot examples. For example, by simply repurposing class names as an additional training sample, we trivially turn any n-shot learning problem into a (n+1)-shot problem. This allows us to produce SOTA results with embarrassingly simple linear classifiers. We show that our approach can be combined with existing methods such as prefix tuning, adapters, and classifier ensembling. Finally, to explore other modalities beyond vision and language, we construct the first (to our knowledge) audiovisual few-shot benchmark and use cross-modal training to improve the performance of both image and audio classification.

Motivation & Objective

  • Motivate how multimodal signals can resolve ambiguity in few-shot learning by leveraging cross-modal information.
  • Propose a lightweight cross-modal adaptation framework that uses other modalities as additional training samples for few-shot tasks.
  • Demonstrate that cross-modal adaptation can surpass state-of-the-art uni-modal adaptation methods across multiple datasets.
  • Show that the approach extends to audio and audiovisual settings beyond vision-language.

Proposed method

  • Formulate cross-modal learning with modality-specific encoders mapping to a shared embedding space.
  • Train a linear classifier that uses both visual and auxiliary modality features as input to the same classifier.
  • Treat class labels (text) as additional one-shot samples to convert n-shot problems into (n+1)-shot problems.
  • Provide inference that can handle test samples from any modality by using the learned cross-modal weights.
  • Analyze the learned classifier as an ensemble over modalities via the Representer Theorem.
  • Experiment with vision-language adaptation using CLIP and AudioCLIP, following a fixed few-shot evaluation protocol across 11 datasets.
Figure 2 : Adding additional modalities helps few-shot learning . Adding textual labels to a 2-shot cat-vs-dog classification task leads to better test performance (by turning the problem into a 3-shot cross-modal task!). We visualize cross-modal CLIP [ 21 ] features (projection to 2D with principal
Figure 2 : Adding additional modalities helps few-shot learning . Adding textual labels to a 2-shot cat-vs-dog classification task leads to better test performance (by turning the problem into a 3-shot cross-modal task!). We visualize cross-modal CLIP [ 21 ] features (projection to 2D with principal

Experimental results

Research questions

  • RQ1Can additional modalities (text, audio) act as extra training samples to improve few-shot visual classification?
  • RQ2Do cross-modal adaptations provide gains over uni-modal fine-tuning or probing methods across diverse datasets?
  • RQ3Is cross-modal training orthogonal and complementary to existing adaptation techniques like prompting or adapters?
  • RQ4Can the approach extend to audiovisual benchmarks and improve both image and audio classification?

Key findings

  • Cross-modal adaptation with a simple linear probe yields state-of-the-art results on 11 datasets under the CoOp protocol.
  • Incorporating text labels as training samples often converts a 1-shot task into a more effective 2- or 3-shot scenario, sometimes outperforming higher-shot uni-modal methods.
  • Cross-modal adaptation provides consistent gains over uni-modal baselines and other adaptation methods (prompting, adapters, robust finetuning), especially in low-data regimes.
  • Partial finetuning of modality-specific encoders further improves performance, achieving new SOTA in some settings.
  • Extending to audio with AudioCLIP, and constructing an image-audio benchmark, shows that adding one-shot samples from another modality improves both image and audio classification in most cases.
  • Text-based augmentation (class names as prompts) remains beneficial and can be combined with image augmentation for robustness.
Figure 3 : Cross-modality reduces the ambiguity of few-shot learning. Classic (uni-modal) few-shot learning is often under specified. Even for binary classification, when given only a single image per class ( left ), it is unclear whether the target class is the animal, the hat, or the background sc
Figure 3 : Cross-modality reduces the ambiguity of few-shot learning. Classic (uni-modal) few-shot learning is often under specified. Even for binary classification, when given only a single image per class ( left ), it is unclear whether the target class is the animal, the hat, or the background sc

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.