Abstract
Few-shot Class-Incremental Audio Classification (FCAC) presents a significant challenge in developing adaptive audio systems that can learn new sounds from limited data without forgetting previously acquired knowledge. This paper proposes a robust framework that leverages Supervised Contrastive Learning (SCL) during the initial training phase to create a well-structured embedding space. By combining this with a Stochastic Classifier for incremental sessions, the proposed method achieves state-of-the-art performance across multiple audio benchmarks, effectively mitigating catastrophic forgetting and overfitting in few-shot scenarios.
Introduction
In real-world audio applications, such as smart home devices or environmental monitoring, systems must frequently adapt to new sound categories. However, two primary obstacles hinder this adaptation: catastrophic forgetting, where learning new data degrades performance on original classes, and the few-shot dilemma, where sparse data for new classes leads to severe overfitting.
Traditional methods often rely on Cross-Entropy (CE) loss, which may fail to produce sufficiently separated clusters in the feature space. This lack of "breathing room" makes it difficult to integrate new classes without overlapping with existing ones. This paper addresses these issues by focusing on the quality of the initial representation space.
Methodology
The proposed framework utilizes a two-stage approach to build a flexible and robust embedding space using a ResNet18 backbone.
1. Base Session Training
The foundation of the model is established through a two-step process:
- Supervised Contrastive Learning (SCL): The model is trained to minimize the distance between embeddings of the same class while maximizing the distance between different classes. This creates highly concentrated, well-separated clusters.
- Refinement: Following SCL, a linear classifier is trained using standard Cross-Entropy loss to define clear classification boundaries within the structured embedding space.
2. Incremental Session
To accommodate new classes with minimal samples (e.g., 5-way 5-shot), the backbone parameters are frozen to prevent forgetting. The system then employs a Stochastic Classifier (SC). Instead of representing a new class with a single fixed prototype, the SC treats classes as distributions. By introducing controlled noise during training, the model becomes more resilient to the specific noise of few-shot samples, enhancing generalization.
Experimental Evaluation
The framework was evaluated on four major audio benchmarks: NSynth-100, LibriSpeech (LS-100), and the ESC datasets.
Key Results
The proposed method consistently outperformed established benchmarks such as iCaRL and CEC. On the LS-100 dataset, it achieved an average accuracy of 91.41% with a Performance Dropping (PD) rate of only 4.18%. On NSynth-100, the model reached 95.77% average accuracy.
Visual analysis via t-SNE plots confirms that the SCL pre-training produces significantly more distinct and compact clusters compared to baseline methods, providing the necessary "empty real estate" for new classes to be integrated without interference.
Discussion and Conclusion
The success of this approach highlights that the quality of the initial feature space is a critical determinant of a model's incremental learning capacity. By creating wide margins between base classes, the model can effectively "slot in" new categories. Furthermore, embracing stochasticity in the classifier acts as a powerful regularizer against overfitting in data-scarce environments.
Future work will explore more resilient architectures beyond ResNet18 and investigate methods to further reduce overfitting risks during the initial base session to push the performance ceiling even higher.
Summary updated