arXiv:2610.34931cs.SDOct 2026

Manuscript Offprint

arXiv:2610.34931

A Hierarchical Method for Environmental Sounds Recognition in Complex Acoustic Scenes

Zhouwen Li, Haijun Lin, Bowen Lv, Yupeng Chen

Zhouwen Li1, Haijun Lin1*, Bowen Lv1, Yupeng Chen1

1 Hunan Normal University School of Engineering and Design Changsha, China

Abstract: Environmental noise identification is essential for noise control, yet conventional single-stage classifiers suffer from class confusion under imbalanced multiclass conditions. This paper proposes a lightweight hierarchical model integrating a Frequency-Time Adaptive Network (FTANet) with a two-stage classification mechanism. FTANet employs parallel asymmetric one-dimensional convolutions to capture temporal dynamics and frequency-band distributions, while adaptive fusion attention (AFA) enhances discriminative acoustic features. In the first stage, FTANet classifies sounds into five coarse-grained categories covering 25 fine-grained classes. In the second stage, samples are routed to the corresponding category-specific classifiers for fine-grained recognition. On a self-constructed dataset, FTANet achieves 95.45% coarse-grained accuracy with only 0.2004M parameters. On UrbanSound8K, it achieves 79.24% mean accuracy and 80.37% mean F1-score in ten-fold evaluation, outperforming compared convolutional models. Field tests on the Tianjin Online Acoustic Environment Monitoring Platform yield 87.94% coarse-grained accuracy and 97.21% conditional fine-grained accuracy for natural sounds correctly routed to C2. The complete hierarchical model achieves 87.18% overall accuracy and 87.40% weighted-average F1-score, demonstrating its feasibility for urban environmental noise monitoring.

Keywords: Environmental sound classification; hierarchical classification; frequency-time adaptive network, lightweight network;

1. Introduction

With the development of urban transportation, industry, and social activities, the urban sounds are becoming increasingly complex. Different sounds overlap in time, space, and frequency, which has higher requirements for urban sound environment monitoring, public noise control, ecological environment assessment, etc. Conventional acoustic monitoring mainly relies on sound pressure level indicators to characterize environmental noise. Carratù et al. [1] developed a sound level meter capable of automatically estimating measurement uncertainty, while Zagubień and Wolniewicz [2] investigated environmental noise measurement under different microphone positioning conditions. Although these studies have contributed to the reliability of acoustic measurements, sound pressure level indicators alone cannot identify the specific sources of environmental noise. Automatic sound-source identification can therefore complement conventional acoustic measurements by providing information for noise-source analysis, targeted monitoring, and urban noise management.

Environmental sound classification (ESC) has become an important field in acoustic research [3]. and has been widely applied in urban acoustic environment monitoring [4-6], public safety early warning [7], smart-city operations [8], ecological and environmental assessment [9], and surveillance systems [10-12]. Milivojević et al. [13] investigated vehicle fuel-type classification using psychoacoustic features, while Lv et al. [14] developed a sound recognition method based on spectrogram features and a fusion classification model for animal acoustic monitoring. Wang and Gao [15] employed acoustic-pressure information fusion and a one-dimensional convolutional neural network for pipeline leak detection. These studies demonstrate the value of acoustic feature extraction and intelligent classification in measurement applications. However, environmental sounds are typically nonstationary [16] and frequently affected by background noise and overlapping sources, making reliable multiclass recognition challenging.

Many existing ESC methods employ two-dimensional convolutional neural networks (2D CNNs) to extract features from audio spectrograms [17–20]. However, the time and frequency axes of spectrograms represent different acoustic characteristics: the time axis describes the temporal evolution of sound energy, whereas the frequency axis reflects its spectral distribution [21]. Conventional square convolution kernels jointly process these two dimensions without explicitly distinguishing their characteristics, potentially introducing redundant features. Recent studies in Measurement have explored more effective acoustic feature modeling. Li et al. [22] employed time-frequency analysis and an attention mechanism for train noise prediction, while Li et al. [23] combined time-frequency convolution and self-attention for nonstationary mechanical sound-source separation. Liu et al. [24] integrated spectral subtraction with a CNN-TCN model for acoustic fault diagnosis under noisy conditions. Although these approaches demonstrate the importance of time-frequency feature extraction, developing compact models that efficiently capture discriminative temporal and spectral information remains an important issue for environmental sound recognition. Moreover, deeper convolutional architectures may increase computational costs and restrict practical deployment [25].

Another challenge arises from the multiclass structure of environmental sounds. Existing ESC systems commonly employ single-stage classifiers that directly distinguish all fine-grained sound categories. When the number of categories increases, acoustic similarity and class imbalance can lead to classification confusion, particularly among underrepresented classes. Although hierarchical classification has previously been investigated for environmental noise recognition [26], the integration of lightweight time-frequency feature modeling with hierarchical multiclass recognition remains insufficiently explored, particularly for practical urban acoustic monitoring applications.

To solve these problems of time-frequency feature modeling and multiclass classification, this paper proposes a lightweight hierarchical environmental sound recognition method with complex acoustic scenes. The main contributions are written as follows:

  1. A lightweight Frequency-Time Adaptive Network (FTANet) is designed. The asymmetric one-dimensional convolutions are employed to extract temporal dynamics and frequency-band distribution features separately, and the adaptive fusion attention mechanism is used to recalibrate the features, while reducing the number of model parameters and enhancing the feature expression ability under complex background noise.

  2. A hierarchical classification method is constructed. On the basis of the first level classification results, the overall 25-class classification task is decomposed into several smaller within-category classification tasks, thereby alleviating inter-category confusion under imbalanced data conditions.