Skip to content
Back to skills

Few Shot Audio Classification Eval

ASecurity

This benchmark evaluates few-shot audio classification capability across diverse acoustic domains including environmental sounds, musical instruments, bird species, and speaker recognition. It measures how well a model generalizes to novel classes with only a few labeled examples per class using a prototypical network framework. Use when the user wants to benchmark on ESC-50, FSD2018, NSynth, BirdCLEF 2020, VoxCeleb1, or asks about evaluating this task. Reports accuracy.

  • 3 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 11, 2026
researchpythongoangular

Works with

  • cli

Security analysis

A100/100

Scanned September 11, 2026

npx -y skills add qhjqhj00/research-skills-pool --skill few-shot-audio-classification-eval --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Few Shot Audio Classification Eval?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Few Shot Audio Classification Eval
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/qhjqhj00-few-shot-audio-classification-eval/badge)](https://www.skillsdirectory.com/skills/qhjqhj00-few-shot-audio-classification-eval)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: few-shot-audio-classification-eval
description: This benchmark evaluates few-shot audio classification capability across diverse acoustic domains including environmental sounds, musical instruments, bird species, and speaker recognition. It measures how well a model generalizes to novel classes with only a few labeled examples per class using a prototypical network framework. Use when the user wants to benchmark on ESC-50, FSD2018, NSynth, BirdCLEF 2020, VoxCeleb1, or asks about evaluating this task. Reports accuracy.
metadata:
  skill_kind: dataset_eval
  source_arxiv: 2509.10074
  bibtex_key: [REDACTED]
  confidence: high
---

# few-shot-audio-classification-eval

> Prototypical Contrastive Learning For Improved Few-Shot Audio Classification — Sgouropoulos et al. (2025) (arXiv:2509.10074, 2025)

## What this evaluates

This benchmark evaluates few-shot audio classification capability across diverse acoustic domains including environmental sounds, musical instruments, bird species, and speaker recognition. It measures how well a model generalizes to novel classes with only a few labeled examples per class using a prototypical network framework.

## Datasets

- **ESC-50** — total 2000; splits: test (-1), val (-1)
- **FSD2018** — total 11000; splits: test (-1), val (-1)
- **NSynth** — total 300000; splits: test (-1), val (-1)
- **BirdCLEF 2020** — total 80000; splits: test (-1), val (-1)
- **VoxCeleb1** — total 57737; splits: test (-1), val (-1)

## Metrics

- `accuracy` **(primary)** — range: percent
  - Average classification accuracy computed over 2,000 randomly sampled 5-way, 5-shot tasks from the test set. Results are averaged across 5 independent experimental runs, with 95% confidence intervals reported.

## Input / output format

**Input**: 16 kHz audio clips converted to mel spectrograms, segmented to 5 seconds if variable-length, and globally standardized. Each few-shot episode consists of a support set (5 classes × 5 samples) and a query set. Spectrograms are processed through a CRNN backbone with a self-attention mechanism to produce 256-dimensional embeddings.

**Output**: Class labels for query samples, determined by nearest-prototype classification in the embedding space.

## Scoring recipe

```python
episode_accuracies = []
for _ in range(2000):
    support, query = sample_episode(test_set, n_way=5, n_shot=5)
    prototypes = mean_embeddings(support)
    preds = nearest_prototype(query, prototypes)
    episode_accuracies.append(mean(preds == query.labels))
return mean(episode_accuracies)
```

## Common pitfalls

- The evaluation relies on 2,000 randomized few-shot episodes per dataset, so results are highly sensitive to the random seed and task sampling strategy.
- Hyperparameters for the angular loss (angle threshold alpha and anchor strategy) are tuned separately per dataset rather than using a single fixed setting.
- Variable-length audio is truncated or padded to 5-second segments, which may discard contextual information or introduce artifacts not present in the original recordings.

## Evidence (verbatim from paper)

> We evaluate the best performing model on the validation set over 2,000 randomly sampled 5-way, 5-shot tasks from the test set. We repeat each experiment five times and report the average accuracy and the 95% confidence interval.

## Citation

```bibtex
@misc{sgouropoulos2025prototypical,
  title={Prototypical Contrastive Learning For Improved Few-Shot Audio Classification},
  author={Sgouropoulos et al. (2025)},
  year={2025},
  note={arXiv:2509.10074}
}
```

- arXiv: 2509.10074

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.