Compressing Quaternion Convolutional Neural Networks for Audio Classification
Abstract
Conventional Convolutional Neural Networks (CNNs) in the real domain have been widely used for audio classification. However, their convolution operations process multi-channel inputs independently, limiting the ability to capture correlations among channels. This can lead to suboptimal feature learning, particularly for complex audio patterns such as multi-channel spectrogram representations. Quaternion Convolutional Neural Networks (QCNNs) address this limitation by employing quaternion algebra to jointly capture inter-channel dependencies, enabling more compact models with fewer learnable parameters while better exploiting the multi-dimensional nature of audio signals. However, QCNNs exhibit higher computational complexity due to the overhead of quaternion operations, resulting in increased inference latency and reduced efficiency compared to conventional CNNs, posing challenges for deployment on resource-constrained platforms. To address this challenge, this study explores knowledge distillation (KD) and pruning, to reduce the computational complexity of QCNNs while maintaining performance. Our experiments on audio classification reveal that pruning QCNNs achieves similar or superior performance compared to KD while requiring less computational effort. Compared to conventional CNNs and Transformer-based architectures, pruned QCNNs achieve competitive performance with a reduced learnable parameter count and computational complexity. On the AudioSet dataset, pruned QCNNs reduce computational cost by 50\% and parameter count by 80\%, while maintaining performance comparable to the conventional CNNs. Furthermore, pruned QCNNs generalize well across multiple audio classification benchmarks, including GTZAN for music genre recognition, ESC-50 for environmental sound classification and RAVDESS for speech emotion recognition.
The following analysis is generated by AI and may contain errors. It is separate from the authors’ abstract and is not peer review.
Research summary
The paper effectively addresses the computational challenges of QCNNs in audio classification by proposing a model compression pipeline that significantly enhances efficiency while maintaining performance. The innovative use of quaternion algebra combined with practical model compression techniques positions this work as a valuable contribution to the field of audio processing and machine learning.
Methodology
The paper presents a well-structured methodology for compressing Quaternion Convolutional Neural Networks (QCNNs) through a combination of knowledge distillation and filter pruning. The use of quaternion algebra to capture inter-channel dependencies in audio signals is innovative, and the proposed model compression pipeline is clearly articulated. The experiments demonstrate the effectiveness of pruning over knowledge distillation, providing a solid basis for the claims made.
Results & evaluation
The experiments are comprehensive, utilizing multiple datasets (AudioSet, GTZAN, ESC-50, RAVDESS) to evaluate the performance of pruned QCNNs. The results indicate a significant reduction in computational cost and parameter count while maintaining competitive performance, which is a strong point of the paper. However, the paper could benefit from more detailed statistical analysis of the results.
Reproducibility
The authors provide a GitHub repository for their code, which is a positive aspect for reproducibility. However, the paper lacks detailed implementation specifics, such as hyperparameter settings and training configurations, which could hinder full reproducibility.
Limitations
One limitation is the computational complexity associated with the initial QCNNs before pruning, which may not be suitable for all resource-constrained environments. Additionally, the performance metrics could be expanded to include more nuanced evaluations beyond mean Average Precision (mAP) and accuracy.
Broader impact
The work has significant implications for deploying efficient audio classification models in resource-constrained environments, contributing to the development of sustainable AI technologies. The reduction in energy consumption and carbon emissions is particularly relevant in today's context of environmental sustainability. The paper effectively addresses the computational challenges of QCNNs in audio classification by proposing a model compression pipeline that significantly enhances efficiency while maintaining performance. The innovative use of quaternion algebra combined with practical model compression techniques positions this work as a valuable contribution to the field of audio processing and machine learning.
Author of this paper? Send a correction.