AudioSet: choose splits and inputs for audio event tagging
AudioSet labels sound events in 10-second YouTube segments. Learn the difference between its 632-class ontology and 527 annotated classes, balanced and unbalanced training splits, released embeddings, and raw audio.
What is AudioSet?
AudioSet is a large audio-event dataset that labels sounds present in 10-second segments drawn from YouTube videos. Google's page lists 2,084,320 human-labeled segments. Its hierarchical ontology defines 632 event classes, while 527 classes have labels in the dataset; do not confuse the ontology's vocabulary with the annotated class set.
Labels indicate that a sound is present somewhere in a segment. They are not word-level transcripts or precise event boundaries, so AudioSet is not a direct fit for general ASR or exact onset/offset detection.
Which training split should you use?
| Split | Size | When it fits |
|---|---|---|
| balanced train | 22,176 segments | Quick experiments or training with more even class coverage |
| unbalanced train | 2,042,985 segments | Large-scale training that retains natural class imbalance |
| evaluation | 20,383 segments | Final comparison on the official split |
Google describes the three sets as disjoint. Balanced sets were selected to provide a minimum number of examples per class; unbalanced train contains the remaining annotated segments. A practical workflow is to validate a pipeline on balanced train, then add unbalanced train when the goal and compute budget justify it. Keep the official evaluation split untouched for final comparison.
CSV labels versus feature files
The CSVs provide a YouTube video ID, start and end times, and one or more label IDs. The downloadable feature package is not raw waveform audio: it contains 128-dimensional audio embeddings extracted at 1 Hz, quantized and stored as TensorFlow Records. Experiments using these files consume the released embeddings, not the original waveform. If you need raw audio, separately check video availability, provenance, and applicable terms.
Do not assume label quality is uniform across classes. Google reports that some classes were difficult or confusable to annotate and provides class-level quality-assessment files. It also cautions that quality in the large unbalanced training set may differ from balanced training and evaluation. Inspect the quality information for your target classes and report input type, split, class set, and metric.
Reproducible starting steps
Decide whether you need multilabel audio tagging or raw-waveform learning.
Choose balanced or unbalanced training and reserve official evaluation for final testing.
Map CSV video IDs, time ranges, and label IDs to class names in the ontology.
If using embeddings, account for the 128 features per second and verify the archive checksum.
Review class quality files and record splits, preprocessing, and evaluation settings.
AudioSet is useful for broad audio-event tagging and pretraining, but not every ontology class is annotated in the clips, released embeddings are not raw audio, and label quality varies. Use these limits to choose the task and split.
Scope checked: Google AudioSet overview and download pages and the dataset paper. Scale and download details reflect a check on 19 November 2026 and may change.