Comparing Audio and Visual Transfer Learning for Environmental Sound Classification

Authors

  • I Kadek Arya Sugianta Universitas Bali Internasional, Denpasar

DOI:

https://doi.org/10.25126/jitecs.111841

Abstract

Environmental Sound Classification (ESC) faces significant challenges related to data scarcity and unstructured acoustic signal variability. This study evaluates the effectiveness of a Visual Transfer Learning approach by transforming audio signals into Mel-Spectrogram representations for classification using Computer Vision architectures. A comparative study was conducted on the ESC-50 dataset, benchmarking visual-based models (EfficientNet-B0, ResNet-50) against specialized audio models (Pre-trained Audio Neural Networks/PANNs). Experimental results demonstrate that EfficientNet-B0, optimized with MixUp augmentation, achieved the highest performance with 83.33% accuracy and 83.50% F1-Score, outperforming ResNet-50 (80.00%) and significantly surpassing the PANNs (Cnn14) model, which only reached 66.33%. The underperformance of PANNs indicates issues with over-parameterization on small-scale datasets. Further validation using Gradient-weighted Class Activation Mapping (Grad-CAM) confirmed that the EfficientNet-B0 model precisely learned semantic features by distinguishing active sound patterns from silence and background noise. These findings confirm that lightweight visual architectures possess superior transferability and generalization compared to massive audio models in data-constrained scenarios.

Downloads

Download data is not yet available.

References

1. K. G. Dharmasiri, C. V Rathnasooriya, M. K. Balasuriya, L. N. Yapa, D. I. De Silva, and T. Thilakarathne, “Enhancing Environmental Awareness for Hard of Hearing Individuals: A Mobile Application Approach,” in Lecture Notes in Networks and Systems, 2025, vol. 1444 LNNS, pp. 307–317. doi: 10.1007/978-981-96-6932-5_23.

2. R. Souadek and N. Guellil, “Environmental sound classification based on STFT features and Convolutional Neural Networks (CNNs),” Prz. Elektrotechniczny, vol. 101, no. 7, pp. 158–165, 2025, doi: 10.15199/48.2025.07.25.

3. M. Bhavya and M. R. Anala, “Deep Learning Approach for Sound Signal Processing,” 2022. doi: 10.1109/INCOFT55651.2022.10094337.

4. Z. Mushtaq and S.-F. Su, “Environmental sound classification using a regularized deep convolutional neural network with data augmentation,” Appl. Acoust., vol. 167, 2020, doi: 10.1016/j.apacoust.2020.107389.

5. M. M. Nasef, M. M. Nabil, and A. M. Sauber, “Multiclass environmental sound classification model based on adding residual connections to self-attention layers,” Multimed. Tools Appl., vol. 83, no. 28, pp. 71359–71377, 2024, doi: 10.1007/s11042-024-18421-7.

6. W. Jin, X. Wang, and Y. Zhan, “Environmental Sound Classification Algorithm Based on Region Joint Signal Analysis Feature and Boosting Ensemble Learning,” Electronics, vol. 11, no. 22, 2022, doi: 10.3390/electronics11223743.

7. B. Paul et al., “Spoken word recognition using a novel speech boundary segment of voiceless articulatory consonants,” Int. J. Inf. Technol., vol. 16, no. 4, pp. 2661–2673, 2024, doi: 10.1007/s41870-024-01776-3.

8. R. Akter, M. R. Islam, S. K. Debnath, P. K. Sarker, and M. K. Uddin, “A hybrid CNN-LSTM model for environmental sound classification: Leveraging feature engineering and transfer learning,” Digit. Signal Process. A Rev. J., vol. 163, 2025, doi: 10.1016/j.dsp.2025.105234.

9. D. P. Goel, K. Mahajan, N. D. Nguyen, N. Srinivasan, and C. P. Lim, “Towards an efficient backbone for preserving features in speech emotion recognition: deep-shallow convolution with recurrent neural network,” Neural Comput. Appl., vol. 35, no. 3, pp. 2457–2469, 2023, doi: 10.1007/s00521-022-07723-2.

10. T. H. Rochadiani, Y. Arifin, D. Suhartono, and W. Budiharto, “Exploring Transfer Learning Approach for Environmental Sound Classification: A Comparative Analysis,” in 2024 International Conference on Smart Computing, IoT and Machine Learning, SIML 2024, 2024, pp. 112–116. doi: 10.1109/SIML61815.2024.10578248.

11. N. Zakaria and Y. M. M. Hassim, “Improved Image Classification Task Using Enhanced Visual Geometry Group of Convolution Neural Networks,” Int. J. Informatics Vis., vol. 7, no. 4, pp. 2498–2505, 2023, doi: 10.30630/joiv.7.4.1752.

12. V. Buhrmester, D. Münch, and M. Arens, “Analysis of Explainers of Black Box Deep Neural Networks for Computer Vision: A Survey,” Mach. Learn. Knowl. Extr., vol. 3, no. 4, pp. 966–989, 2021, doi: 10.3390/make3040048.

13. R. R. Selvaraju, M. Cogswell, A. Das, R. Vedantam, D. Parikh, and D. Batra, “Grad-CAM: Visual Explanations from Deep Networks via Gradient-Based Localization,” Int. J. Comput. Vis., vol. 128, no. 2, pp. 336–359, 2020, doi: 10.1007/s11263-019-01228-7.

14. K. J. Piczak, “ESC: Dataset for Environmental Sound Classification,” in Proceedings of the 23rd ACM International Conference on Multimedia, 2015, pp. 1015–1018. doi: 10.1145/2733373.2806390.

15. Q. Kong, Y. Cao, T. Iqbal, Y. Wang, W. Wang, and M. D. Plumbley, “PANNs: Large-Scale Pretrained Audio Neural Networks for Audio Pattern Recognition,” IEEE/ACM Trans. Audio, Speech and Lang. Proc., vol. 28, pp. 2880–2894, Nov. 2020, doi: 10.1109/TASLP.2020.3030497.

16. H. Purwins, B. Li, T. Virtanen, J. Schlüter, S. Chang, and T. N. Sainath, “Deep Learning for Audio Signal Processing,” IEEE J. Sel. Top. Signal Process., vol. 13, pp. 206–219, 2019, [Online]. Available: https://api.semanticscholar.org/CorpusID:132199224

17. S. Dalmia and M. Rege, “Anomalous Sound Pattern Detection for Machine Health Monitoring,” in Communications in Computer and Information Science, 2024, vol. 2127 CCIS, pp. 44–60. doi: 10.1007/978-3-031-68617-7_4.

18. Y. Cai and W. Xu, “The best input feature when using convolutional neural network for cough recognition,” in Journal of Physics: Conference Series, 2021, vol. 1865, no. 4. doi: 10.1088/1742-6596/1865/4/042111.

19. M. Wang et al., “Environmental Sound Recognition Based on Double-input Convolutional Neural Network Model,” in Proceedings of 2020 IEEE 2nd International Conference on Civil Aviation Safety and Information Technology, ICCASIT 2020, 2020, pp. 620–624. doi: 10.1109/ICCASIT50869.2020.9368517.

20. Y. Fan, H. Huang, and H. Han, “Quantifying overfitting in deep learning,” Anal. Appl., vol. 23, no. 5, pp. 705–729, 2025, doi: 10.1142/S0219530525400068.

21. X. Zhang, H. Xing, M. Song, D. Takeuchi, N. Harada, and S. Makino, “Prediction-error-based Adaptive SpecAugment for Fine-tuning the Masked Model on Audio Classification Tasks,” 2024. doi: 10.1109/APSIPAASC63619.2025.10848691.

22. L. Cances, E. Labbé, and T. Pellegrini, “Comparison of semi-supervised deep learning algorithms for audio classification,” Eurasip J. Audio, Speech, Music Process., vol. 2022, no. 1, 2022, doi: 10.1186/s13636-022-00255-6.

23. R. Liu, T. Wu, and B. Mozafari, “Adam with bandit sampling for deep learning,” in Advances in Neural Information Processing Systems, 2020, vol. 2020-December. [Online]. Available: https://www.scopus.com/inward/record.uri?eid=2-s2.0-85108440289&partnerID=40&md5=ead956545ae74e1ef924db41eeb17b8b

24. R. Diallo, C. Edalo, and O. O. Awe, “Machine Learning Evaluation of Imbalanced Health Data: A Comparative Analysis of Balanced Accuracy, MCC, and F1 Score,” in STEAM-H: Science, Technology, Engineering, Agriculture, Mathematics and Health, vol. Part F4005, 2025, pp. 283–312. doi: 10.1007/978-3-031-72215-8_12.

25. R. Mothkur, P. Soubhagyalakshmi, and C. B. Swetha, “Grad-CAM Based Visualization for Interpretable Lung Cancer Categorization Using Deep CNN Models,” J. Electron. Electromed. Eng. Med. Informatics, vol. 7, no. 3, pp. 567–580, 2025, doi: 10.35882/jeeemi.v7i3.690.

Downloads

Published

2026-05-25

Issue

Section

Articles

How to Cite

Comparing Audio and Visual Transfer Learning for Environmental Sound Classification. (2026). Journal of Information Technology and Computer Science, 11(1), 77-90. https://doi.org/10.25126/jitecs.111841