Listening Forward: Next Patch Embedding Prediction Enables Scalable Audio Learners
Organizations: Imperial College London · University of Surrey
Abstract
Self-supervised learning (SSL) has driven substantial progress in audio representation learning, though existing methods have increasingly relied on elaborate pre-training recipes to reach competitive performance. A markedly different pre-training philosophy underpins the most influential progress in language modeling and, more recently, in visual representation learning: rather than train encoders as static feature extractors, models are trained to predict the next element, a discrete token or a continuous embedding, from the preceding context. Autoregressive prediction thereby provides a unified pre-training interface that transfers across modalities, compelling the model to learn the underlying data distribution. We ask whether such a simple causal paradigm can yield strong audio learners, given that audio's temporal structure makes autoregressive prediction of patch embeddings a natural fit. We introduce NAPE (Next-Audio-Patch-Embedding prediction), a self-supervised framework in which a causal Transformer predicts each next patch embedding of a log-mel spectrogram from the previous ones, using causal masking and stop-gradient as its sole training signal. The design is intentionally minimalist, avoiding reconstruction decoders, acoustic tokenizers, student-teacher setups, and auxiliary regularization losses. Across six audio and speech benchmarks, NAPE achieves state-of-the-art fine-tuning performance on several tasks, scales consistently across encoder sizes, and yields strong linear-probing results. NAPE also produces structured attention patterns without explicit supervision.
Figures & tables
| Pred | stop | causal | Audio Tasks | Speech Tasks | ||||
| shift | grad | mask | AS-2M | AS-20K | ESC-50 | KS1 | KS2 | ER |
| ✘ | ✓ | ✓ | Diverge | |||||
| ✓ | ✘ | ✓ | Diverge | |||||
| ✓ | ✓ | ✘ | 41.8 | 24.8 | 68.9 | 96.1 | 97.3 | 57.0 |
| ✓ | ✓ | ✓ | 49.6 | 39.1 | 94.2 | 97.9 | 98.8 | 64.9 |
| Patch Emb. | Audio Tasks | Speech Tasks | ||||
| Layer | AS-2M | AS-20K | ESC-50 | KS1 | KS2 | ER |
| Convstem | 46.7 | 34.3 | 89.1 | 97.4 | 98.3 | 63.6 |
| Speechstem | 47.6 | 33.1 | 88.4 | 98.1 | 98.9 | 63.0 |
| Conv2d | 49.6 | 39.1 | 94.2 | 97.9 | 98.8 | 64.9 |
| Predictor | #Par. | Audio Tasks | Speech Tasks | ||||
| Style | AS-2M | AS-20K | ESC-50 | KS1 | KS2 | ER | |
| None | - | 48.7 | 37.8 | 93.3 | 98.1 | 98.8 | 64.2 |
| 2-MLP | 1.2M | 49.4 | 38.5 | 93.6 | 98.0 | 98.8 | 64.2 |
| Transformer | 14.2M | 49.2 | 38.4 | 93.0 | 98.2 | 98.7 | 65.0 |
| SimSiam | 1.8M | 49.6 | 39.1 | 94.2 | 97.9 | 98.8 | 64.9 |
| Predicted | Audio Tasks | Speech Tasks | ||||
| Target | AS-2M | AS-20K | ESC-50 | KS1 | KS2 | ER |
| 1st enc. layer | Diverge | |||||
| Raw Mel | 49.7 | 38.0 | 94.8 | 97.7 | 98.6 | 64.2 |
| Patch embed | 49.6 | 39.1 | 94.2 | 97.9 | 98.8 | 64.9 |
| Similarity | Audio Tasks | Speech Tasks | ||||
| Function | AS-2M | AS-20K | ESC-50 | KS1 | KS2 | ER |
| L1 | Diverge | |||||
| L2 | Diverge | |||||
| Cross-entropy | 48.8 | 37.4 | 93.6 | 98.0 | 98.7 | 64.5 |
| Cosine | 49.6 | 39.1 | 94.2 | 97.9 | 98.8 | 64.9 |
| Model | #Par. | Pre-train | Audio Tasks | Speech Tasks | ||||
| Data | AS-2M | AS-20K | ESC-50 | KS1 | KS2 | ER | ||
| Out-of-domain Supervised Pre-training | ||||||||
| PSLA ( Gong et al., 2021b ) | 14M | IN | 44.4 | 31.9 | - | - | 96.3 | - |
| AST ( Gong et al., 2021a ) | 86M | IN | 45.9 | 34.7 | 88.7 | 95.5 | 98.1 | 56.0 |
| HTS-AT ( Chen et al., 2022a ) | 31M | IN | 47.1 | - | - | - | 98.0 | - |
| Audio-CLIP ( Guzhov et al., 2022 ) | 93M | TI+AS | 25.9 | - | 96.7 | - | - | - |
| Model | Layer | AS-2M | AS-20K | ESC-50 |
| Small | 2nd | 23.2 | 18.9 | 79.8 |
| Base | 6th | 25.0 | 19.7 | 81.7 |
| Large | 11th | 27.1 | 20.4 | 83.5 |
Appendix figures & tables10 assets
Supplementary material from the paper’s appendix.
Appendix
| Hyperparameters | Pre-training | Fine-tuning | |||||
| AS-2M | AS-2M | AS-20K | ESC-50 | KS1 | KS2 | ER | |
| Optimizer | AdamW | ||||||
| Opt. Momentum ( , ) | (0.9,0.95) | (0.9,0.999) | |||||
| Weight Decay | 0.05 | ||||||
| Learning Rate Scheduler | Cosine Decay | ||||||
| Layer-Wise LR Decay | 1.0 | 0.7/0.9 | 0.8/0.9 | 0.7/0.9 | 0.7/0.8 | 0.7/0.8 | 0.7/0.9 |
| Attention | Pooling | Task | ||
| Type | Mode | AS-2M | AS-20K | KS2 |
| Bidirec | CLS Tok | 49.7 | 38.9 | 98.7 |
| Bidirec | Last Tok | 49.6 | 38.7 | 98.8 |
| Bidirec | Avg Pool | 49.6 | 39.1 | 98.8 |
| Causal | Last Tok | 49.4 | 38.9 | 98.8 |
| Norm | Audio Tasks | Speech Tasks | ||||
| Type | AS-2M | AS-20K | ESC-50 | KS1 | KS2 | ER |
| LN | 49.6 | 39.1 | 94.2 | 97.9 | 98.8 | 64.9 |
| RMS | 49.5 | 38.8 | 94.4 | 97.8 | 98.8 | 65.2 |
| Mask | Audio Tasks | Speech Tasks | ||||
| Ratio | AS-2M | AS-20K | ESC-50 | KS1 | KS2 | ER |
| 0 | 47.6 | 36.2 | 92.9 | 97.4 | 98.3 | 64.6 |
| 20 | 47.3 | 36.2 | 92.2 | 97.6 | 98.5 | 63.9 |
| 50 | 47.2 | 35.2 | 91.7 | 97.5 | 98.3 | 63.9 |