Introduction
In the rapidly evolving landscape of audio classification, systems are increasingly required to adapt to new acoustic environments and user-specific sounds on the fly. This requirement introduces the Few-shot Class-incremental Audio Classification (FCAC) challenge. FCAC models must navigate the stability-plasticity dilemma: they must be "plastic" enough to learn novel classes from a handful of examples (few-shot learning) while remaining "stable" enough to retain knowledge of previously learned classes (incremental learning).
Traditional approaches often struggle with this balance. Standard training using Cross-Entropy (CE) loss tends to produce a crowded feature space where class boundaries are narrow. When new classes are introduced with limited data, the model often suffers from catastrophic forgetting of the original classes or overfits to the new, sparse data. This paper proposes a novel framework that utilizes supervised contrastive learning and stochastic classification to create a more resilient and expandable feature representation.
Methodology
The proposed framework addresses the limitations of standard classification through a two-pronged strategy focused on feature space organization and robust incremental adaptation.
1. Supervised Contrastive Learning (SCL) for Base Training
To prevent the feature space from becoming overly crowded during the initial "base" training phase, the authors implement a two-stage process using Supervised Contrastive Learning (SCL).
- Stage One: The model uses SCL to pull embeddings of the same class closer together while simultaneously pushing different classes further apart. This creates well-separated clusters with significant margins between them.
- Stage Two: The classifier is refined using a joint loss function that combines Cross-Entropy and SCL.
This approach is based on the "room" analogy: by forcing base classes into tight, distant clusters, the model effectively leaves "empty territory" in the embedding space. This unoccupied space can later accommodate new, unseen classes without causing significant overlap or interference with existing knowledge.
2. Stochastic Classifier (SC) for Incremental Steps
Once the base model is established, the backbone (a ResNet18 architecture processing log-mel spectrograms) is frozen to preserve stability. To integrate new classes during incremental sessions, the authors employ a Stochastic Classifier (SC).
Unlike deterministic classifiers that assign a single fixed weight to a class, the SC generates prototypes based on a learned distribution (mean and variance). This injection of randomness serves as a powerful regularizer, preventing the model from overfitting to the extremely limited data (e.g., 5 samples per class) provided in the incremental stages.
Experimental Evaluation
The researchers evaluated the framework across four diverse audio benchmarks to test its versatility:
- NSynth-100: 100 classes of musical instrument sounds.
- LibriSpeech (LS-100): 100 classes of human speech.
- ESC-50 & ESC-10: Environmental sound classification datasets.
The experiments followed a multi-session structure, beginning with a large base session followed by several incremental sessions where only 5 samples per new class (5-shot) were available.
Key Results
The proposed method achieved state-of-the-art (SOTA) performance across all tested datasets, demonstrating superior stability and accuracy:
- LS-100: The model achieved an 91.41% average accuracy across all sessions. Notably, it maintained a very low Performance Dropping (PD) rate of only 4.18%, indicating high resistance to forgetting.
- NSynth-100: The framework reached 95.77% average accuracy, significantly outperforming established baselines such as iCaRL and CEC.
- Environmental Sounds: On the ESC-50 and ESC-10 datasets, the method showed consistent stability, maintaining high performance even as the total number of classes increased over time.
Conclusion and Future Work
By combining the high-margin representations of supervised contrastive learning with the regularizing effects of a stochastic classifier, this research provides a robust solution to the stability-plasticity dilemma in audio classification. The results confirm that creating a "spaced-out" feature space is critical for successful few-shot incremental learning.
Despite these gains, the authors note that performance degradation still occurs as more sessions are added. Future research directions include developing even more resilient architectures that reduce overfitting during the base phase and exploring methods to safely update the backbone during incremental sessions without triggering catastrophic forgetting.
Summary updated