Optimal Scalogram for Computational Complexity Reduction in Acoustic Recognition Using Deep Learning
Dang Thoai Phan 1 , Tuan Anh Huynh 2 , Van Tuan Pham 3 , Cao Minh Tran 4 , Van Thuan Mai 5 , Ngoc Quy Tran 6 · 2025
Read Optimal Scalogram for Computational Complexity Reduction in Acoustic Recognition Using Deep Learning by Dang Thoai Phan 1 , Tuan Anh Huynh 2 , Van Tuan Pham 3 , Cao Minh Tran 4 , Van Thuan Mai 5 , Ngoc Quy Tran 6 (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2505-13017.txt.
Introduction
The continuous wavelet transform gives strong features for sound recognition with neural nets, above all for sounds that change over time. Its cost is the snag: it is heavy to compute, so many teams fall back on the short-time Fourier transform instead. The authors propose to cut that cost by tuning two settings, the length of the wavelet kernel and the hop size of the output scalogram.
In tests, the tuned setup cut the compute load a great deal while the trained model kept its strong scores on sound recognition tasks. The paper thus offers a practical middle path: keep the wavelet view of sound, which suits shifting signals, without paying the full price for it.
Catalog record
| CREATOR | Dang Thoai Phan 1 , Tuan Anh Huynh 2 , Van Tuan Pham 3 , Cao Minh Tran 4 , Van Thuan Mai 5 , Ngoc Quy Tran 6 |
|---|---|
| YEAR | 2025 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 16 KB |
| VERSION | 1.0 |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2505-13017
Browse the full library · About the Tower of Babel
Full text
The opening of the work, from the library's hosted text:
Optimal Scalogram for Computational Complexity Reduction in Acoustic Recognition Using Deep Learning Dang Thoai Phan 1 , Tuan Anh Huynh 2 , Van Tuan Pham 3 , Cao Minh Tran 4 , Van Thuan Mai 5 , Ngoc Quy Tran 6 Abstract The Continuous Wavelet Transform (CWT) is an effective tool for feature extraction in acoustic recognition using Convolutional Neural Networks (CNNs), particularly when applied to non-stationary audio. However, its high computational cost poses a significant challenge, often leading researchers to prefer alternative methods such as the Short-Time Fourier Transform (STFT). To address this issue, this paper proposes a method to reduce the computational complexity of CWT by optimizing the length of the wavelet kernel and the hop size of the output scalogram. Experimental results demonstrate that the proposed approach significantly reduces computational cost while maintaining the robust performance of the trained model in acoustic recognition tasks. I Introduction Fig. 1: Scalogram of CWT (a); optCWT (b) Feature extraction from time-series signals is a critical step in many deep learning applications, particularly when combined with architectures such as Convolutional Neural Networks (CNNs) [ 1 , 2 , 3 , 4 , 5 ] . Among the various techniques available, the Continuous Wavelet Transform (CWT) has emerged as a widely adopted method, especially in processing acoustic signals, due to its multiresolution analysis capability [ 6 ] that enhances model performance [ 7 , 2 ] . Significant research efforts have been dedicated to leveraging WT for improved feature representation [ 8 , 9 , 10 , 11 , 12 , 13 ] . For instance, Copiaco [ 14 ] utilized scalograms derived from the CWT as spectro-temporal features for domestic audio classification. These scalograms were input into a hybrid model comprising CNNs and a Support Vector Machine (SVM), resulting in notable performance improvements compared to top-performing baseline models. Similarly, Gupta [ 15 ] employed CNNs with CWT-based scalograms for voice liveness detection. Their method effectively differentiated between genuine and spoofed speech using a handcrafted Morlet wavelet—substantially outperforming the Short-Time Fourier Transform (STFT) spectrogram. In another study, Chatterjee [ 16 ] addressed musical instrument identification by transforming audio samples into CWT-based scalograms and utilizing a combination of Convolutional Siamese Networks and Residual Siamese Networks. Their approach attained an impressive classification accuracy using only five training samples per class from public datasets. Phan [ 2 ] conducted a comparative analysis of CWT and STFT as inputs to CNN models for non-stationary machine noise classification. While results favored the CWT in terms of recognition performance, the study also underscored its high computational cost. These recent contributions highlight the effectiveness of CWT as a time-frequency feature extractor [ 17 , 18 , 19 , 20 , 21 , 22 , 23 , 24 , 25 , 26 , 27 ] . Nonetheless, a major limitation lies in its computational burden: CWT must be computed continuously over each sample in a discrete signal, resulting in substantial data volume and potential redundancy due to similarities among adjacent samples. Consequently, alternative methods such as the STFT [ 28 , 29 , 30 , 31 , 32 , 33 , 1 , 34 , 35 ] are often preferred for their computational efficiency. Given this context, there is a growing need for approaches that preserve the advantages of CWT’s multiresolution analysis while mitigating its computational demands. Developing such techniques could significantly improve the practicality and scalability of CWT-based models in real-world applications. II Theoretical foundation II-A Wavelet transform WT is a technique that decomposes a signal into a form that better represents the original signal’s features for further processing [ 36 ] . In acoustic recognition, WT converts a one-dimensional (1D) time signal into a two-dimensional (2D) time-frequency plane, as described by the calculation formula in ( 1 ). WT is a function of time translation b and frequency shift a . The signal’s energy is normalized by the factor 1/ \sqrt{\textit{a}} to ensure consistent energy levels across all frequency scales. The wavelet is contracted and dilated according to the varying scale, and each scaled wavelet is then shifted along the time axis to convolve with the signal x(t) . X_{WT}(\textit{b},\textit{a})=\frac{1}{\sqrt{\textit{a}}}\int_{-\infty}^{\infty}\,x(t)\psi^{*}(\frac{t-\textit{b}}{\textit{a}})\,dt (1) The CWT in discrete form is given by: W_{WT}(b,a)=\frac{1}{\sqrt{\textit{a}}}\sum_{n=0}^{N-1}x[n]\cdot\psi^{*}\left(\frac{n-b}{a}\right) (2) where: n is the discrete time index, x[n] is the discrete signal of length N . CWT for a time-discrete signal is computed by the discrete summation of the dot product within the sampling interval. The translation parameter b and scale parameter a are in continuous forms, where translation is sample-wise, and scale spans a range of continuous natural numbers. This process produces a coefficient matrix of size ( N , a ), where N is the data length and a is the scales range. The scalogram of CWT is illustrated in Fig. 1 (a), with the vertical direction representing the frequency/scale ( \omega / a ) and the horizontal direction representing the time/translation ( t / b ). The CWT is commonly implemented using the PyWavelets [ 37 ] library, specifically through the pywt.cwt function. However, this function does not provide options for adjusting the wavelet kernel length or customizing the scalogram size based on specific requirements. This limitation results in a high computational cost, particularly for tasks that require low temporal resolution. Therefore, an approach that optimizes computational efficiency while preserving essential time-frequency features is highly desirable. Fig. 2: Scalogram generation II-B Proposed idea The proposed approach introduces two complementary methods to optimize computational complexity. Firstly, instead of computing CWT using a pre-defined Morlet wavelet kernel, the approach allows for the adjustment of the Morlet wavelet’s length. This modification provides flexibility in balancing temporal resolution and computational cost. For applications requiring high temporal resolution, users can increase the wavelet length (WL) to capture more detailed temporal features in the signal. Conversely, for applications prioritizing lower computational cost, the wavelet length can be reduced accordingly. Secondly, rather than producing a full output length equivalent to the input signal for each scale in the CWT, the proposed approach samples the output using a predefined hop size (H) in convolution step of each scale. This strategy reduces the number of extracted temporal features while lowering computational complexity during the CWT process. By performing a grid search over the parameters (WL) and (H) , users can optimize computational cost at satisfactory performance in trained models. Fig. 3: Prediction performance AUC-ROC of models on audio of fan Fig. 4: Prediction performance AUC-ROC of models on audio of pump Fig. 5: Prediction performance of AUC-ROC models on audio of slider Fig. 6: Prediction performance AUC-ROC of models on audio of valve III EXPERIMENT III-A Dataset The present study uses the MIMII dataset [ 38 ] , which comprises acoustic recordings collected from industrial environments. The dataset includes sound data from various types of machinery, specifically fans, pumps, sliders, and valves. For each machine type, the dataset categorizes audio recordings into two classes: normal, representing properly functioning machinery, and abnormal, corresponding to malfunctioning machinery. The primary objective of utilizing this dataset is to develop and train models for the detection of machinery faults based on audio signals. To enhance robustness, the recordings are superimposed with environmental background noise at three distinct levels