Ses AI KILAVUZU

Akustik Sahne Sınıflandırması

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.

Bu kılavuzu dinleyinAI tarafından anlatılan · ~8 min

Bu sayfada9 min read
  1. Genel Bakış
  2. Önemli çıkarımlar
  3. Derin Dalış
  4. Training a small scene classifier on a public dataset
  5. Gerçek Dünya Uygulaması
  6. Akustik Sahne Sınıflandırmasının Geleceği
  7. Uygulamaya koymak
  8. Kaynaklar ve ek okuma
  9. Keşfetmeye Devam Edin
  10. Sık sorulan sorular

Genel Bakış

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.

Önemli çıkarımlar

  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.

Derin Dalış

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.

04Çalışılan örnek

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.

Ne gösteriyor?

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.

Gerçek Dünya Uygulaması

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.

Akustik Sahne Sınıflandırmasının Geleceği

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.

Uygulamaya koymak

Neden önemli?

  • Erişim ve erişim. Transkripsiyon, anlatım ve ses arayüzleri aracılığıyla erişilebilirliği artırır.
  • Maliyet ve bütçe. Medya ekipleri daha küçük bütçelerle daha iyi ses kalitesi sunabilir.
  • Hız ve ölçek. Müşteriyle yüz yüze olan sistemler, sözlü etkileşimleri daha büyük ölçekte işleyebilir.

Dikkat edin

  • Onay eksik olduğunda sesin kötüye kullanılması ve kimliğe bürünme riskleri artar.
  • Aksanlar, lehçeler veya gürültülü ortamlarda doğruluk düşebilir.
  • Sentetik ses, net bir etiketleme olmadan, orijinal konuşmayla karıştırılabilir.

Sonraki adımlar

  1. Sesin yakalanması, klonlanması ve yeniden kullanılması için açık izin alın.
  2. Kaliteyi farklı hoparlörler ve arka plan koşullarında test edin.
  3. Bir insanın çıktıları ne zaman incelemesi veya onaylaması gerektiğini tanımlayın.
  4. Sentetik sesi etiketleyin ve sorumluluk için kaynak kayıtlarını saklayın.

Kaynaklar ve ek okuma

  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

Keşfetmeye Devam Edin

Ücretsiz bülten

Günlük AI brifingini alın

Hafta içi her sabah sade İngilizce yazılmış, doğrulanmış üç yapay zeka hikayesi. Sonsuza kadar ücretsiz, reklam yok.

Hafta içi her gün bir e-posta. Tek tıklamayla aboneliğinizi iptal edin. Adresinizi asla satmayız veya paylaşmayız.

Kendinizi test edin

Take the Acoustic Scene Classification quiz

Her yanıtla ilgili anında geri bildirim ve bir kursu geçtiğinizde doğrulanabilir bir kimliğe sahip paylaşılabilir bir sertifika.

Testi başlat

Ücretsiz AI eğitimini destekleyin. AI Understanding, bir 501(c)(3) kâr amacı gütmeyen kuruluştur; hiçbir zaman reklam yoktur, ödeme duvarı yoktur. Bağış yap

Sık sorulan sorular

Akustik Sahne Sınıflandırması nedir?

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.

Akustik sahne sınıflandırmasının ses olayı algılamasından farkı nedir?

ASC, tüm ortam sahnesini (örneğin, 'sokak', 'park') etiketlerken ses olayı algılama, siren veya havlama gibi bireysel sesleri konumlandırır.

ASC'deki 'cihaz uyumsuzluğu' sorunu nedir?

Farklı mikrofonların farklı frekans tepkileri vardır, bu nedenle bir cihazda eğitilen bir model, diğerinden yapılan kayıtlarda genellikle kötüleşir, bu da ASC'nin önemli bir sorunudur.

ASC modelleri için hangi giriş gösterimi standarttır?

Çoğu ses yapay zekası gibi, ASC de klipleri CNN'lerin veya transformatörlerin işleyebileceği log-mel spektrogramlara dönüştürür.

ASC modelleri neden özellikleri tek tek anlar yerine birkaç saniye boyunca bir araya getiriyor?

Bir sahnenin kimliği, zaman içindeki genel dokusundan ve ambiyansından gelir; dolayısıyla modeller, tüm klipteki bilgileri toplar.

ASC'deki ilerlemenin çoğunu hangi araştırma zorluğu yönlendirdi?

Yıllık DCASE (Akustik Sahnelerin ve Olayların Tespiti ve Sınıflandırılması) Yarışması, ASC'yi ileriye taşıyan temel kriterdir.