Sample-Conditioned Representation Selection for Audio Few-Shot Learning

Fengrui Liu, Ningxin Shen, Yi Li, Yiwei Fu, Feng Liu +1 more
9/15/2026
cs.AIcs.SD

Official code: Cross-Innovation-Lab/SAMPLESELECT (0 stars, Python, MIT, last commit 2026-09-11).

Abstract

Few-shot audio classifiers may rely on foreground-background co-occurrences and fail when those correlations shift. On SpurAudio, the resulting representation shift is concentrated and class dependent: for ResNet12, the top 10 percent of channels explain 82.80 percent of the null-corrected shift contribution.

Show full abstract

We propose SAMPLESELECT, which predicts a fixed-budget feature mask independently for each input while keeping the encoder and source classifier frozen. Training uses differentiable Gumbel Top-k selection with foreground classification and cross-background contrastive losses; inference uses deterministic Top-k masks and support-only linear adaptation. Across ResNet12 and Conv64 in 5-way 1-shot and 5-shot evaluation, SAMPLESELECT gives the best OOD accuracy among the compared methods and improves the matched full-representation control by 4.90-8.38 percentage points. Ablations and representation analyses further support the learned selection mechanism. Code is available at https://github.com/Cross-Innovation-Lab/SAMPLESELECT/

View on arXivView PDF

Code Implementations(1)

MIT

Source code for "Sample-Conditioned Representation Selection for Audio Few-Shot Learning"

00PythonSep 11, 20262 months agoMIT

Similar Papers

Cite this paper

@article{liu2026sampleconditioned,
  title  = {Sample-Conditioned Representation Selection for Audio Few-Shot Learning},
  author = {Fengrui Liu and Ningxin Shen and Yi Li and Yiwei Fu and Feng Liu and Jiangmeng Li},
  year   = {2026},
  eprint = {2609.17076},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2609.17076v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2609.17076.svg)](https://codeofpaper.com/paper/2609.17076)

Discussion