[Paper Review] Continual Learning of New Sound Classes using Generative Replay
This paper proposes a generative replay approach for continual sound classification, using a convolutional autoencoder with Gaussian mixture modeling to generate synthetic spectrograms from past tasks, enabling a 4% model size to match the performance of storing 20% of original training data, thus effectively mitigating catastrophic forgetting under storage constraints.
Continual learning consists in incrementally training a model on a sequence of datasets and testing on the union of all datasets. In this paper, we examine continual learning for the problem of sound classification, in which we wish to refine already trained models to learn new sound classes. In practice one does not want to maintain all past training data and retrain from scratch, but naively updating a model with new data(sets) results in a degradation of already learned tasks, which is referred to as "catastrophic forgetting." We develop a generative replay procedure for generating training audio spectrogram data, in place of keeping older training datasets. We show that by incrementally refining a classifier with generative replay a generator that is 4% of the size of all previous training data matches the performance of refining the classifier keeping 20% of all previous training data. We thus conclude that we can extend a trained sound classifier to learn new classes without having to keep previously used datasets.
Motivation & Objective
- To address catastrophic forgetting in continual sound classification where models must learn new classes without retraining on past data.
- To reduce storage overhead in continual learning by replacing buffered past data with generative replay.
- To evaluate the effectiveness of generative replay using audio spectrograms for time-series data.
- To compare generative replay performance against naive rehearsal with varying buffer sizes.
- To demonstrate that a compact generative model can match the accuracy of a much larger buffer of stored data.
Proposed method
- A two-step framework trains a convolutional autoencoder to embed raw audio spectrograms into a latent space, followed by a Gaussian Mixture Model (GMM) to model the latent distribution.
- The generator synthesizes mel-spectrograms from the learned latent distribution to replay past task data during training on new tasks.
- The classifier is trained using a combined loss: cross-entropy on current task data and reconstruction loss on generated past-task data.
- A variational autoencoder (VAE) is also evaluated as an alternative generative model for comparison.
- The training process alternates between updating the classifier and the generator, with the generator fine-tuned over 1700 epochs per task.
- The method uses binary cross-entropy and KL divergence as loss components for the autoencoder and VAE, respectively.
Experimental results
Research questions
- RQ1Can generative replay effectively mitigate catastrophic forgetting in continual audio classification without storing past data?
- RQ2How does the performance of a generative replay system compare to a naive rehearsal baseline with varying buffer sizes?
- RQ3What is the optimal generative model architecture for reconstructing meaningful audio spectrograms in a continual learning setup?
- RQ4Can a small generative model (4% of training data size) achieve performance comparable to a much larger buffer (20% of data)?
- RQ5How do different generative models (AE+GMM vs. VAE) differ in preserving temporal and class-specific features in generated spectrograms?
Key findings
- The AE+GMM generative replay method achieves test accuracy comparable to a rehearsal baseline that stores 20% of the training data, despite using only 4% of the data size in the generator.
- AE+GMM significantly outperforms VAE-based generative replay, producing spectrograms with better temporal structure and class diversity.
- The variance in model accuracy decreases over time, stabilizing as all classes are eventually seen, regardless of task permutation.
- The total number of trainable parameters in the AE+GMM generator is less than 480,000, equivalent to approximately 3.5% of the full training data size.
- Generative replay with AE+GMM matches or slightly exceeds the performance of rehearsal with 5% and 10% buffer sizes, demonstrating superior data efficiency.
- The upper-bound performance of full-data rehearsal (RHS 100%) is consistently higher than all other methods, confirming the benchmark for optimal performance.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.