﻿# ESC-50: use the predefined source-aware folds

Evaluate environmental sound classification with ESC-50 source-aware folds, keeping source recordings, class mappings and known preprocessing shortcuts visible.

Author: Retrivium editorial team
Updated: 2026-11-04
Canonical URL: https://retrivium.ai/journal/data-guide-esc50-source-grouped-folds/
Language: en

## Keep the environmental classification task explicit

The [ESC dataset paper](https://www.karolpiczak.com/papers/Piczak2015-ESC-Dataset.pdf) introduces short environmental sound excerpts and distinguishes the labelled benchmark from a larger unlabelled collection. ESC-50 predicts one of 50 categories, rather than transcribing speech or locating every concurrent event. A correct category can coexist with unmodelled background sound. Use it for a compact classification comparison, and avoid describing its accuracy as evidence for general sound-scene understanding or reliable temporal event detection.

## Retain the source-aware folds

The [author repository](https://raw.githubusercontent.com/karolpiczak/ESC-50/master/README.md) provides 5 predefined folds and keeps fragments of the same original recording together. This matters because neighbouring excerpts can share a microphone, background and sound source. Preserve the fold assignment when generating spectrograms, crops or augmented examples. Any derived variant belongs with its parent example. A newly shuffled row split breaks the published comparison even if its class histogram looks balanced. The [split leakage guide](/journal/document-level-data-split-leakage/) explains the underlying grouping principle.

## Read the metadata instead of decoding filenames alone

The [official metadata table](https://raw.githubusercontent.com/karoldvl/ESC-50/master/meta/esc50.csv) includes filename, fold, target, category, esc10, src_file and take. The source identifier and take distinguish an original recording from multiple extracted pieces. The esc10 flag selects a smaller task; it is not an additional partition or quality ranking. Preserve the integer-to-category mapping with classifier outputs. When mixing another audio corpus, compare original source identities where available instead of assuming different derived filenames prove independence.

## Account for the documented shortcut

The repository explicitly warns that original Freesound recordings sometimes had class-dependent preprocessing, especially bandlimiting. Its maintainers retain the benchmark for comparability. Source-aware folds do not automatically remove this signal. An editorial diagnostic could inspect sensitivity to bandwidth changes or evaluate a separate target collection, reporting that as an additional study. It would be misleading to claim that either diagnostic has already proved a model uses only the intended acoustic event.

## Separate tuning from reported fold evaluation

Specify the held-out fold protocol and where hyperparameters are chosen. Repeatedly selecting a configuration using the same reported fold outcomes makes those outcomes part of development. Report per-fold results and the declared aggregate, together with external pretraining and audio preprocessing. The repository changelog and release revision should accompany the metadata so later corrections remain traceable. Preserve waveform conversions and source identifiers through [provenance records](/journal/document-markdown-json-provenance/); a small benchmark still needs a precise account of what each model actually heard.
