[Paper Review] Unsupervised Learning of Semantic Audio Representations
This paper proposes an unsupervised deep metric learning approach for audio representation learning using triplet loss, leveraging semantic invariances such as time shifts, sound mixing, and temporal proximity in unlabeled audio. The method achieves 84% of the performance of fully-supervised models on sound event classification and doubles state-of-the-art performance in low-supervision settings, demonstrating strong generalization from weakly structured audio constraints.
Even in the absence of any explicit semantic annotation, vast collections of audio recordings provide valuable information for learning the categorical structure of sounds. We consider several class-agnostic semantic constraints that apply to unlabeled nonspeech audio: (i) noise and translations in time do not change the underlying sound category, (ii) a mixture of two sound events inherits the categories of the constituents, and (iii) the categories of events in close temporal proximity are likely to be the same or related. Without labels to ground them, these constraints are incompatible with classification loss functions. However, they may still be leveraged to identify geometric inequalities needed for triplet loss-based training of convolutional neural networks. The result is low-dimensional embeddings of the input spectrograms that recover 41% and 84% of the performance of their fully-supervised counterparts when applied to downstream query-by-example sound retrieval and sound event classification tasks, respectively. Moreover, in limited-supervision settings, our unsupervised embeddings double the state-of-the-art classification performance.
Motivation & Objective
- To learn meaningful semantic audio representations without explicit class labels.
- To exploit class-agnostic semantic constraints—such as time translation, sound mixing, and temporal proximity—in unlabeled audio for self-supervision.
- To train deep convolutional networks using triplet loss to embed spectrograms into a low-dimensional space that preserves semantic similarity.
- To evaluate the learned embeddings on downstream tasks like query-by-example retrieval and sound event classification.
- To demonstrate performance gains in low-supervision regimes where labeled data is scarce.
Proposed method
- Sampling triplets from unlabeled audio using three semantic constraints: time-shifted versions of the same event, mixed pairs of events, and temporally proximate events.
- Training a convolutional neural network via triplet loss to map spectrogram windows to a d-dimensional embedding space where anchor points are closer to positive samples than negative ones.
- Using a contrastive loss formulation where the model minimizes the distance between positive pairs (e.g., clean and noisy versions) and maximizes it between negative pairs (e.g., unrelated sounds).
- Leveraging the AudioSet dataset for training and evaluation, with millions of triplets generated from raw audio clips without any category annotations.
- Combining multiple triplet types into a joint embedding model to improve robustness and capture diverse semantic relationships.
- Evaluating learned embeddings using downstream tasks: query-by-example retrieval and sound event classification with varying levels of supervision.
Experimental results
Research questions
- RQ1Can semantic invariances in unlabeled audio—such as time shifts and sound mixing—be used to train effective audio representations without explicit labels?
- RQ2How well can triplet loss based on weak semantic constraints generalize to downstream audio tasks compared to raw spectrograms?
- RQ3To what extent do complementary constraints (time shift, mixing, proximity) improve representation quality when combined?
- RQ4Can unsupervised embeddings outperform fully-supervised baselines in low-supervision settings?
- RQ5What is the performance gap between unsupervised and fully-supervised representations on standard audio benchmarks?
Key findings
- The joint unsupervised triplet model recovers 41% of the performance gap between raw spectrograms and fully-supervised embeddings on query-by-example sound retrieval.
- On sound event classification, the unsupervised embeddings achieve 84% of the performance of their fully-supervised counterparts when using the same downstream classifier.
- In a low-supervision setting with only 20 labeled examples per class, the unsupervised embedding model doubles the mAP of a full ResNet-50 classifier trained on raw inputs.
- The model trained on the joint triplet set achieves an mAP of 0.244 on the 527-class AudioSet classification task, which is 85% of the mAP (0.288) achieved by a fully-supervised ResNet-50 model.
- Temporal proximity constraints yield the strongest gains, followed by mixing and time translation, with combined use showing complementary improvements.
- The use of two-dimensional translations (time and frequency) in data augmentation improves spectral localization in early convolutional filters, enhancing representation quality.
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.