TL;DR
This paper introduces a novel "Language-Inspired Relation Transfer" (LRT) framework to tackle the challenging problem of Few-Shot Class-Incremental Learning (FSCIL). LRT leverages the power of language descriptions to help models learn new visual concepts from very few examples without forgetting previously learned knowledge, significantly outperforming existing methods.
What Problem Does This Paper Address?
Imagine a lifelong learning system, like a human, that can continuously learn new things. In the realm of computer vision, this is akin to Few-Shot Class-Incremental Learning (FSCIL). The challenge is twofold: first, learning to recognize new object categories when presented with only a handful of examples (few-shot learning), and second, doing so without catastrophically forgetting the categories it already knows (class-incremental learning). Existing approaches often struggle with this, as fine-tuning visual models on limited new data can lead to a trade-off between retaining old knowledge and learning new concepts effectively. This paper aims to bridge this gap by integrating language understanding into the FSCIL process.
Methods
The proposed Language-Inspired Relation Transfer (LRT) paradigm has two core components:
- Relational Knowledge Transfer: This module transfers knowledge from pre-trained text embeddings to visual prototypes. It uses a graph relation transformation module to capture relationships between text descriptions and then fuses these with visual embeddings using a text-vision prototypical fusion module. This helps to disentangle confused visual features and guide them into a more appropriate space.
- Image-Text Alignment: To address the domain gap that arises from fine-tuning visual models, LRT introduces:
- Context Prompt Learning: Instead of fixed text prompts (like "a photo of a [class]"), LRT learns dynamic, class-specific text prompts for new incremental classes. This allows for faster adaptation to new visual samples.
- Imagined Contrastive Learning: To combat the issue of limited text data for new classes, this technique mixes input images and their corresponding text labels to create "imagined" classes. This expands the training data and improves multi-modal alignment.
These modules work collaboratively to build a unified feature representation space for both base and novel classes.
Datasets
The paper evaluates its approach on three standard benchmarks:
- miniImageNet: A widely used dataset for few-shot learning tasks, containing 100 semantic classes.
- CIFAR-100: Another common benchmark, known for its lower resolution images.
- ImageNet100: A larger-scale dataset used to test the model's scalability.
The datasets are split into base classes (with abundant training data) and incremental classes (with only a few examples per session).
Key Insights and Ideas
- Language as a "Teacher": The core idea is that language descriptions, even with few visual examples, can act as a powerful guide for learning new visual concepts, similar to how humans learn.
- Graph-based Knowledge Transfer: Using graph convolutional networks to transfer relationships from the text domain to the visual domain is a novel way to leverage semantic information for visual learning.
- Dynamic Prompts for Adaptation: Moving beyond static prompts to learnable, context-aware prompts significantly improves the model's ability to adapt to new, unseen classes with limited data.
- "Imagined" Data for Robustness: Creating synthetic training data by mixing images and text labels is an effective strategy to overcome the scarcity of text descriptions in incremental learning.
Key Results
LRT demonstrates significant improvements over state-of-the-art methods:
- On miniImageNet, LRT achieves over 13.3% higher accuracy in the final session compared to previous best models.
- On CIFAR-100, it shows a 7.3% improvement.
- On the larger ImageNet100 dataset, LRT also outperforms existing methods by a notable margin.
- The paper also shows that LRT is robust to fewer shots during incremental learning, maintaining reasonable performance even with just one example per class.
Limitations and Future Work
- Data Imbalance: While LRT improves incremental learning, the paper acknowledges that the inherent imbalance between base and incremental classes remains a challenge.
- Text-Image Directionality: The current LRT primarily focuses on transferring knowledge from text to image (T→I). The authors suggest that exploring the reverse direction (I→T) and dynamic bi-directional learning strategies could further enhance performance, especially on large datasets like ImageNet.
- Prompt Engineering: While LRT learns prompts, the paper notes that richer, more descriptive prompts (e.g., from Wikipedia) can further boost performance, but this might require more sophisticated fusion strategies to avoid negatively impacting base class performance.
Summary updated