In one minute
The shortcut
Right answer, wrong reason.
Audio is additive. A cough is never recorded alone: it is summed, in time and frequency, with the vacuum cleaner or the storm around it. When a class keeps arriving with the same background, a few-shot model can tell classes apart by their context and still look accurate.
Standard benchmarks cannot see this, because support and query share the same conditions. Move the same sound to a different room and the shortcut stops working, even though nothing about the sound itself has changed.
Listen: one sound, four rooms
These are real clips from the SpurAudio test split, drawn as the log-mel spectrograms a model receives. Keep the foreground fixed and change the background: the label never moves.
The benchmark
Built to pull signal and context apart.
SpurAudio draws clips from five public datasets, pairs every foreground class with four unrelated backgrounds, mixes them at a realistic level, and keeps only the mixtures that human annotators judged clean.
no class shared between splits
shared across all splits
Foreground & Background Pairing
- test class
- validation
- train
The protocol
Same episode. Swap the background.
Evaluation uses the standard N-way K-shot episode: a few labelled support clips per class, then unlabelled queries to classify. SpurAudio samples every test episode two ways and reports the difference.
Queries share the background pairings of their class's support clips. This is what a standard benchmark measures.
Queries arrive with backgrounds that also appear next to other classes. N, K and the number of queries stay the same.
Δ = AccIID − AccOOD
The share of accuracy that depended on the background.
A 2-way 2-shot episode built from real test clips. Click any clip to hear it.
- support clip
- class prototype
- query
- decision boundary
The feature-space diagram is a two-dimensional sketch of the effect reported in Appendix H of the paper, not a plot of real embeddings. Reported numbers use 5-way episodes with 1 or 5 shots, 10 queries per class, 1,000 test episodes and three seeds.
Results
Break the pairing and every method drops.
The gap shows up in every family, at every backbone size and at every shot count.
Explore every table in the paper
- IID accuracy
- OOD accuracy
- gap Δ
Accuracy in %, 5-way episodes; hover or focus a row for the spread reported in the paper. Δ is printed exactly as in the paper. CNN backbones are trained on SpurAudio's base classes and averaged over three seeds; large encoders are frozen and paired with heads that need no backbone training. * marks a variant with an extra attention module.
Citation
@inproceedings{ayoub2027spuraudio,
title={SpurAudio: A Benchmark for Studying Shortcut Learning in Few-Shot Audio Classification},
author={Ayoub, Giries Abu and Tukan, Morad and Mualem, Loay},
booktitle={Proceedings of the AAAI Conference on Artificial Intelligence},
year={2027}
}


