Audio-KI-GUIDE

Akustische Szenenklassifizierung

Acoustic scene classification (ASC) is the task of identifying the kind of place or situation a recording comes from, such as a bus, a park or a busy street, using sound alone.

Hören Sie sich diesen Leitfaden anKI-erzählt · ~8 min

Auf dieser Seite9 Min. gelesen
  1. Übersicht
  2. Wichtige Erkenntnisse
  3. Tiefer Einblick
  4. Training a small scene classifier on a public dataset
  5. Reale Umsetzung
  6. Die Zukunft der akustischen Szenenklassifizierung
  7. In die Tat umsetzen
  8. Quellen und weiterführende Literatur
  9. Entdecken Sie weiter
  10. Häufig gestellte Fragen

Übersicht

It lets devices like hearing aids and phones adapt to their surroundings, and it has been benchmarked publicly through the DCASE challenges since the mid-2010s.

Wichtige Erkenntnisse

  1. Acoustic scene classification labels a whole recording with the environment it came from, such as a bus, a park or an office.
  2. Most modern systems convert audio to log-mel spectrograms and classify them with convolutional neural networks.
  3. In DCASE 2016, the best of 48 systems reached 89.7% accuracy on 15 scenes, against a 72.5% MFCC and GMM baseline in development tests.
  4. The DCASE 2024 task capped models at 128 kB of parameters and 30 million multiply-accumulates per second of audio to mimic small devices.
  5. Phonak's AutoSense OS uses scene classification in hearing aids to choose a listening program automatically from six sound classes.

Tiefer Einblick

Acoustic scene classification (ASC) asks a computer to name the environment a recording was made in, such as a metro station, an office, a shopping mall or a park, from its sound alone. Barchiesi, Giannoulis, Stowell and Plumbley, in a 2015 review in IEEE Signal Processing Magazine, define it simply as classifying environments from the sounds they produce. It differs from sound event detection, which locates individual sounds like a door slam or a dog bark in time. A scene label describes the whole clip, so the model must summarize the overall texture of many overlapping sounds: traffic hum, footsteps, announcements, birdsong and reverberation.

A typical modern system works in four steps. First, the audio is cut into fixed-length clips, for example 1 second in the 2024 DCASE challenge or 30 seconds in the 2016 edition. Second, each clip is converted into a time-frequency picture, usually a log-mel spectrogram, which shows how much energy falls into perceptually spaced frequency bands over time. Third, a classifier, today usually a convolutional neural network (CNN) that scans the spectrogram like an image, produces a score for each scene class. Fourth, the highest score becomes the label, sometimes after averaging over several clips to smooth out brief misleading sounds.

Earlier systems used hand-built features. The benchmark method in the 2015 review, and the baseline in the DCASE 2016 challenge, computed mel-frequency cepstral coefficients (MFCCs), compact summaries of the spectrum's shape, and modeled each scene with a Gaussian mixture model (GMM), choosing the scene whose model gave the input the highest likelihood. In the challenge the review describes, only three submitted algorithms significantly outperformed that baseline, and the best one matched the median accuracy of human listeners. Some scene pairs confused both people and machines.

The field's main milestones track the DCASE (Detection and Classification of Acoustic Scenes and Events) challenges. The 2016 acoustic scene task used the TUT Acoustic Scenes 2016 dataset: 15 scenes including bus, cafe or restaurant, car, city center, forest path, grocery store, home, library, metro station, office and urban park, recorded with binaural in-ear microphones at 44.1 kHz and 24 bits and split into 30-second segments. Its MFCC and GMM baseline reached 72.5% accuracy in development cross-validation, and the best of 48 submitted systems reached 89.7% on the evaluation set. Later editions shifted toward real-world constraints. By 2024 the task used the TAU Urban Acoustic Scenes 2022 Mobile dataset, with 1-second clips from 3 real and 6 simulated recording devices in development, extra unseen devices in evaluation, a 128 kB limit on model size and a 30 million multiply-accumulate limit per second of audio. Teams also had to train on subsets as small as 5% of the data, and the baseline's accuracy ranged from 42.40% at 5% to 56.99% with all the data.

ASC sits beside several neighboring approaches. Sound event detection gives finer detail but needs time-stamped labels that are costly to produce. General audio taggers trained on large collections, such as the PANNs models trained on AudioSet, recognize hundreds of sound types and can be fine-tuned for scenes; the PANNs authors report a mean average precision of 0.439 on AudioSet tagging and transfer to acoustic scene classification among other tasks. Location data such as GPS can say where a device is but not whether it is in a quiet car or a noisy one, which is why hearing aids rely on sound. Phonak's AutoSense OS, for example, uses classical machine learning trained on audio labeled by audiology engineers to pick among six sound classes.

Hearing aids show how a scene label is used in practice. Sonova's fact sheet describes AutoSense OS as a combination of supervised and unsupervised learning, trained on its own media database, whose output selects the hearing program best suited to the current sound, with no input from the wearer. The fact sheet names the main risk plainly: the classifier may choose a program that is not the best one, though the wearer still receives amplification. That framing is typical of scene classification in products, where a wrong label degrades comfort or clarity rather than causing outright failure, so designers trade accuracy against power, memory and response time.

The hard problems are well known from the challenges. Device mismatch is the biggest: a model trained on one microphone performs worse on another, which is why DCASE evaluates on unseen devices. Scenes overlap, so a street with a tram passing may sound like a tram, and an indoor market may sound like a shopping mall. Short clips carry less evidence, and the 2024 baseline's accuracy below 57% on 1-second clips shows how hard the setting is. Class lists are arbitrary and culture-specific, since a metro station in Helsinki may not sound like one in Mumbai. Finally, recordings of public places can capture conversations, so collecting data raises privacy questions.

Deployment costs vary with the target. On a server, a large pretrained network can classify scenes cheaply. On a hearing aid or earbud, power and memory are tight, which is exactly what DCASE's complexity limits simulate: 128 kB holds only about 128,000 parameters in 8-bit integers, and the 2024 baseline used 61,148 parameters and about 29.4 million multiply-accumulates per inference. Training a competitive model needs labeled recordings from many places and devices; the 2024 development training split alone contained 139,620 one-second segments.

04Ausgearbeitetes Beispiel

Training a small scene classifier on a public dataset

  1. Download a public DCASE development set, such as TAU Urban Acoustic Scenes 2022 Mobile, and note which devices appear in its training and test splits.

  2. Convert every 1-second clip to a log-mel spectrogram, for example with 256 frequency bands to match the shape the DCASE 2024 baseline uses.

  3. Train a small convolutional network with a few convolution blocks, global average pooling and a 10-way softmax, using cross-entropy loss.

  4. Count parameters and multiply-accumulates and check them against the 128 kB and 30 million MAC limits used in DCASE 2024.

  5. Report macro-averaged accuracy on the test split, then separately for clips from devices that were never seen in training.

  6. Add Frequency-MixStyle and frequency masking, retrain, and compare the unseen-device accuracy.

Was es zeigt

The learner ends up with a compact scene classifier and two accuracy numbers, overall and on unseen devices. The gap between them shows device mismatch directly, and comparing against the published DCASE 2024 baseline of about 57% with full training data gives a sanity check.

Reale Umsetzung

Phonak's AutoSense OS classifier, built into Sonova hearing aids, sorts incoming sound into Speech in Quiet, Speech in Noise, In Car, Reverberant Speech, Noise and Music, and uses the result to choose a hearing program without any action from the wearer.

The DCASE 2024 challenge asked teams to classify 1-second clips into 10 urban scenes, such as airport, metro station and tram, with models capped at 128 kB of parameters and 30 million multiply-accumulates per second of audio.

The TUT Acoustic Scenes 2016 dataset, recorded with binaural microphones at 44.1 kHz in 15 environments from cafes to lakeside beaches, gave researchers a shared benchmark for comparing scene classifiers on 30-second segments.

Large pretrained audio networks such as PANNs, trained on Google's AudioSet, are fine-tuned for scene classification and other audio tasks, an approach the PANNs authors report reaching state-of-the-art results on several benchmarks.

Early benchmarking compared machines with people: Barchiesi and colleagues reported in 2015 that the best challenge system's mean accuracy matched the median accuracy of human listeners on the same scenes.

Die Zukunft der akustischen Szenenklassifizierung

The DCASE challenge series shows the direction of the field: from 30-second binaural clips in 2016 to 1-second clips, unseen recording devices, tight memory and compute caps and small training subsets in 2024. These constraints mirror what hearing aids, earbuds and phones need, and the 2024 task explicitly measured how accuracy falls when only 5% of the training data is available. Large pretrained audio models are the other trend. PANNs (2019 to 2020) showed that networks trained on AudioSet transfer to scene classification and other tasks, and the DCASE 2024 rules explicitly allow pretrained models such as PaSST and EfficientAT as teachers for small students that fit device budgets. Whether general-purpose audio models will replace task-specific scene classifiers, or mainly serve as teachers for them, remains open. Open problems include robustness to new microphones and cities, label sets that reflect real users rather than one dataset's ten or fifteen classes, fair performance across regions, and privacy-preserving data collection and on-device processing. Manufacturer claims about product classifiers, such as those in hearing aids, are mostly published as white papers and fact sheets, and independent evaluations remain limited.

In die Tat umsetzen

Warum es wichtig ist

  • Zugang und Erreichbarkeit. Es verbessert die Zugänglichkeit durch Transkription, Erzählung und Sprachschnittstellen.
  • Kosten und Budget. Medienteams können mit kleineren Budgets schneller ausgefeilte Audioinhalte liefern.
  • Geschwindigkeit und Umfang. Kundenorientierte Systeme können gesprochene Interaktionen in größerem Maßstab verarbeiten.

Achten Sie auf

  • Das Risiko von Stimmmissbrauch und Identitätsdiebstahl steigt, wenn die Einwilligung fehlt.
  • Die Genauigkeit kann je nach Akzent, Dialekt oder lauter Umgebung abnehmen.
  • Synthetisches Audio kann ohne klare Kennzeichnung mit authentischer Sprache verwechselt werden.

Nächste Schritte

  1. Holen Sie die ausdrückliche Zustimmung zur Spracherfassung, zum Klonen und zur Wiederverwendung ein.
  2. Testen Sie die Qualität über verschiedene Lautsprecher und Hintergrundbedingungen hinweg.
  3. Definieren Sie, wann ein Mensch Ausgaben überprüfen oder genehmigen muss.
  4. Kennzeichnen Sie synthetisches Audio und bewahren Sie Aufzeichnungen über die Herkunft auf, um die Verantwortlichkeit zu gewährleisten.

Quellen und weiterführende Literatur

  1. arXiv (IEEE Signal Processing Magazine, 2015)Acoustic Scene Classification: Classifying environments from the sounds they produce
  2. DCASE CommunityDCASE 2016 Task 1: Acoustic scene classification
  3. DCASE CommunityDCASE 2024 Task 1: Data-Efficient Low-Complexity Acoustic Scene Classification
  4. arXivPANNs: Large-Scale Pretrained Audio Neural Networks for Audio Pattern Recognition
  5. Sonova / PhonakML Fact Sheet: Sound Classifier AutoSense OS

Entdecken Sie weiter

Kostenloser Newsletter

Erhalten Sie die tägliche KI-Briefing

Drei verifizierte KI-Geschichten jeden Werktagmorgen, in einfachem Englisch geschrieben. Für immer kostenlos, keine Werbung.

Eine E‑Mail jeden Werktag. Abmelden mit einem Klick. Wir verkaufen oder teilen Ihre Adresse nie.

Testen Sie sich selbst

Take the Acoustic Scene Classification quiz

Sofortiges Feedback zu jeder Antwort und ein teilbares Zertifikat mit verifizierbarer ID, sobald Sie einen Kurs bestanden haben.

Quiz starten

Unterstützen Sie kostenlose KI-Bildung. AI Understanding ist eine 501(c)(3) gemeinnützige Organisation – keine Werbung, keine Paywall, nie. Machen Sie eine Spende

Häufig gestellte Fragen

What is Acoustic Scene Classification?

Acoustic scene classification (ASC) is the task of identifying the kind of place or situation a recording comes from, such as a bus, a park or a busy street, using sound alone. It lets devices like hearing aids and phones adapt to their surroundings, and it has been benchmarked publicly through the DCASE challenges since the mid-2010s.

Wie unterscheidet sich die akustische Szenenklassifizierung von der Schallereigniserkennung?

ASC beschriftet die gesamte Umgebungsszene (z. B. „Straße“, „Park“), während die Geräuschereigniserkennung einzelne Geräusche wie eine Sirene oder ein Bellen lokalisiert.

Was ist das Problem der „Geräteinkongruenz“ in ASC?

Unterschiedliche Mikrofone haben unterschiedliche Frequenzgänge, sodass ein Modell, das auf einem Gerät trainiert wurde, bei Aufnahmen von einem anderen Gerät häufig schlechter wird – eine zentrale Herausforderung für ASC.

Welche Eingabedarstellung ist Standard für ASC-Modelle?

Wie ein Großteil der Audio-KI wandelt ASC Clips in Log-Mel-Spektrogramme um, die CNNs oder Transformatoren verarbeiten können.

Warum bündeln ASC-Modelle Features über viele Sekunden und nicht über einzelne Momente?

Die Identität einer Szene ergibt sich aus ihrer Gesamtstruktur und Atmosphäre im Laufe der Zeit, sodass Modelle Informationen über den gesamten Clip hinweg zusammenfassen.

Welche Forschungsherausforderung hat den großen Fortschritt bei ASC vorangetrieben?

Die jährliche DCASE-Challenge (Detection and Classification of Acoustic Scenes and Events) ist der zentrale Maßstab für die Weiterentwicklung von ASC.