Self-supervised audio learning

SAMP

Learning Audio Representations through Shared Alignment and Masked Prediction

Yu Liang1, Tiantian Feng2, Yueqian Lin1, Lixun Zhang1, Lichen Zhu1, Yiran Chen1, Shrikanth Narayanan2

1 Duke University2 University of Southern California

Log-mel spectrogram16 kHz · mono
A log-mel spectrum of a short synthesized sequence, with bright ridges at each note onset.
0.00 / 3.20 s
Synthesized audio example. Height shows log-mel energy.

Training objective

Mask explorer

Two masks select different parts of one recording. SAMP aligns the patches both views share and predicts features at coordinates visible in only one view.

25 / 64
4 / 8

Temporal view

Frequency view

Supervision map

64 time positions × 8 frequency bands
Align both views100
Temporal view predicts156
Frequency view predicts100
Hidden in both156

Shared alignment

Each view passes through the same encoder. The two recording embeddings pool tokens at matching visible coordinates.

Masked prediction

A fixed teacher reads the full spectrogram. At each one-sided patch, the missing view predicts the teacher features averaged across blocks 8, 10, and 12.

Interactive illustration of the masking rule in Section 3. The paper retains 25 time positions and four frequency bands.

Evaluation

Transfer results

A linear classifier reads features from the frozen encoder.

SAMP and AudioMosaic downstream transfer results
DatasetMetricAudioMosaicSAMP
AudioSet-20KmAP29.4032.21
AudioSet-2MmAP38.3339.32
ESC-50Accuracy93.0094.85

Scores in percent. Source: Table 2 of the paper.