Skip to main content
QUICK REVIEW

[Paper Review] Evaluating CNN with Stacked Feature Representations and Audio Spectrogram Transformer Models for Sound Classification

Parinaz Binandeh Dehaghania, Danilo Penab|arXiv (Cornell University)|Feb 10, 2026
Music and Audio ProcessingComputer Science0 citations
TL;DR

The paper compares CNNs using stacked feature representations to Audio Spectrogram Transformer (AST) models for environmental sound classification, showing CNNs with stacked features are more data- and compute-efficient under limited data and pretraining; ASTs excel with large-scale pretraining.

ABSTRACT

Environmental sound classification (ESC) has gained significant attention due to its diverse applications in smart city monitoring, fault detection, acoustic surveillance, and manufacturing quality control. To enhance CNN performance, feature stacking techniques have been explored to aggregate complementary acoustic descriptors into richer input representations. In this paper, we investigate CNN-based models employing various stacked feature combinations, including Log-Mel Spectrogram (LM), Spectral Contrast (SPC), Chroma (CH), Tonnetz (TZ), Mel-Frequency Cepstral Coefficients (MFCCs), and Gammatone Cepstral Coefficients (GTCC). Experiments are conducted on the widely used ESC-50 and UrbanSound8K datasets under different training regimes, including pretraining on ESC-50, fine-tuning on UrbanSound8K, and comparison with Audio Spectrogram Transformer (AST) models pretrained on large-scale corpora such as AudioSet. This experimental design enables an analysis of how feature-stacked CNNs compare with transformer-based models under varying levels of training data and pretraining diversity. The results indicate that feature-stacked CNNs offer a more computationally and data-efficient alternative when large-scale pretraining or extensive training data are unavailable, making them particularly well suited for resource-constrained and edge-level sound classification scenarios.

Motivation & Objective

  • Assess how stacked feature representations improve CNN-based environmental sound classification (ESC).
  • Compare CNNs with stacked features to AST models under varying data and pretraining regimes.
  • Evaluate transfer learning between ESC-50 and UrbanSound8K and the impact of pretraining on larger corpora (AudioSet).
  • Analyze computational efficiency and inference latency of the proposed CNN architectures.

Proposed method

  • Extract multiple acoustic features (LM, MTCC, CH, TZ, SPC, MFCC, GTCC) using Librosa.
  • Create stacked feature inputs by resizing to 128x128 and concatenating channels (e.g., 128x128x3 or 128x128x4).
  • Train two CNN architectures (CNN-1 and CNN-2) with pretraining on ESC-50 and fine-tuning on UrbanSound8K (Last.L) or training from scratch (All.L).
  • Compare with Audio Spectrogram Transformer (AST) pretrained on AudioSet and fine-tuned on ESC-50/UrbanSound8K; use 128-bin Log-Mel spectrograms and ViT-like patch embedding.
  • Evaluate on ESC-50 and UrbanSound8K with 5-fold cross-validation and report accuracy, precision, recall, and F1-score.
  • Assess training time and inference latency for deployment considerations.
Figure 1: Block diagram of MFCC algorithm
Figure 1: Block diagram of MFCC algorithm

Experimental results

Research questions

  • RQ1How do stacked feature CNNs compare to single-feature CNNs on ESC-50/UrbanSound8K datasets?
  • RQ2How does CNN performance with stacked features compare to AST models under different pretraining regimes?
  • RQ3What is the impact of transfer learning (ESC-50 to UrbanSound8K) on performance and generalization?
  • RQ4What are the computational efficiency characteristics (training time, inference time) of the proposed CNNs vs. AST?

Key findings

  • CNN-1 with MFCC+GTCC+CH+LM achieves the highest validation accuracy of 92.46% on ESC-50 with cross-validation.
  • CNN-1 consistently outperforms CNN-2 across feature sets, indicating stronger transferable representations.
  • CNNs with stacked features outperform the AST baseline when trained from ESC-50 with limited data, and even when compared to ASTs trained with limited data; large-scale pretraining (Audioset) boosts AST to 99% in a different setup.
  • Transfer learning ESC-50 to UrbanSound8K with Last.L significantly improves performance over All.L, highlighting the value of cross-dataset diversity and fine-tuning strategy.
  • CNN-1 has lower inference time (mean 21.92 ms) than CNN-2 (mean 30.95 ms), indicating better suitability for resource-constrained deployments.
Figure 2: Block diagram of Log-Mel Scale Spectrogram algorithm
Figure 2: Block diagram of Log-Mel Scale Spectrogram algorithm

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.