[Paper Review] Histogram of gradients of Time-Frequency Representations for Audio scene detection
This paper proposes a novel audio scene classification feature based on histograms of gradients (HOG) applied to time-frequency representations (TFRs), particularly using the constant-Q transform (CQT). By capturing local spectral power variation directions—such as chirp-like modulations in transport scenes—it outperforms MFCC and other state-of-the-art features, achieving a mean average precision of 0.917 on a newly introduced 19-class dataset with ~1500 minutes of audio.
This paper addresses the problem of audio scenes classification and contributes to the state of the art by proposing a novel feature. We build this feature by considering histogram of gradients (HOG) of time-frequency representation of an audio scene. Contrarily to classical audio features like MFCC, we make the hypothesis that histogram of gradients are able to encode some relevant informations in a time-frequency {representation:} namely, the local direction of variation (in time and frequency) of the signal spectral power. In addition, in order to gain more invariance and robustness, histogram of gradients are locally pooled. We have evaluated the relevance of {the novel feature} by comparing its performances with state-of-the-art competitors, on several datasets, including a novel one that we provide, as part of our contribution. This dataset, that we make publicly available, involves $19$ classes and contains about $900$ minutes of audio scene recording. We thus believe that it may be the next standard dataset for evaluating audio scene classification algorithms. Our comparison results clearly show that our HOG-based features outperform its competitors
Motivation & Objective
- Address the challenge of audio scene classification by proposing a novel feature that captures directional spectral power variations in time-frequency representations.
- Overcome limitations of traditional features like MFCC, which encode spectral envelope but not dynamic spectral changes such as chirps or accelerations.
- Develop a robust and invariant feature through local pooling of HOG features extracted from CQT representations.
- Provide a new, publicly available audio scene dataset with 19 classes and ~1500 minutes of recordings to serve as a benchmark for future research.
- Demonstrate the superiority of HOG-TFR over existing features across multiple datasets, including the new one, to validate its state-of-the-art performance.
Proposed method
- Apply the constant-Q transform (CQT) to convert audio signals into time-frequency representations (TFRs), preserving logarithmic frequency resolution.
- Compute histograms of gradients (HOG) on the CQT magnitude spectrograms to encode local directional changes in spectral power over time and frequency.
- Use signed and unsigned gradient orientations with 8-bin histograms per cell, and apply spatial pooling (e.g., over 2x2 cells) to enhance invariance and robustness.
- Apply no normalization to the HOG histograms and fully pool over time to preserve global structure, improving discriminative power.
- Train support vector machines (SVMs) with the HOG-TFR features for classification, using 20 random train/test splits for evaluation.
- Use a novel, publicly released dataset with 19 classes and ~1500 minutes of audio recordings to evaluate performance and ensure reproducibility.
Experimental results
Research questions
- RQ1Can histograms of gradients (HOG) of time-frequency representations capture discriminative dynamic spectral patterns—such as chirps in transport scenes—that MFCCs fail to encode?
- RQ2How does the proposed HOG-TFR feature compare to MFCC and other state-of-the-art features in terms of classification accuracy on real-world audio scene datasets?
- RQ3To what extent does local spatial pooling of HOG features improve robustness and invariance in audio scene classification?
- RQ4Can the proposed HOG-TFR feature generalize well across diverse audio scenes, including those with similar acoustic content like pedestrian streets and train station halls?
- RQ5Does the new publicly available dataset with 19 classes and ~1500 minutes of audio serve as a reliable benchmark for future audio scene classification research?
Key findings
- The proposed HOG-TFR feature achieves a mean average precision (mAP) of 0.9170 across 20 random train/test splits on the new 19-class dataset.
- The normalized confusion matrix shows that transportation classes (bus, car, train, high-speed train, plane) are precisely recognized with individual precisions above 97%.
- Speech and short-time event classes (e.g., kid game hall, billiard pool hall) are also well-classified, with precisions exceeding 96%, due to distinct high-frequency transients captured by HOG.
- Classes involving walking pedestrians—such as pedestrian street, train station hall, and market—are frequently confused, indicating limitations in capturing subtle differences in crowd density or movement patterns.
- The HOG-TFR feature outperforms MFCC and other baseline features, demonstrating its ability to encode directional spectral dynamics like chirps that are critical for distinguishing transport scenes.
- The study confirms that HOG-TFR is particularly effective at capturing local spectral power variations, such as those caused by accelerating vehicles, which are poorly represented by MFCCs.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.