Abstract
Understanding the features learned by deep models is important from a model trust perspective, especially as deep systems are deployed in the real world. Most recent approaches for deep feature understanding or model explanation focus on highlighting input data features that are relevant for classification decisions. In this work, we instead take the perspective of relating deep features to well-studied, hand-crafted features that are meaningful for the application of interest. We propose a methodology and set of systematic experiments for exploring deep features in this setting, where input feature importance approaches for deep feature understanding do not apply. Our experiments focus on understanding which hand-crafted and deep features are useful for the classification task of interest, how robust these features are for related tasks and how similar the deep features are to the meaningful hand-crafted features. Our proposed method is general to many application areas and we demonstrate its utility on orchestral music audio data.
Introduction
Deep learning models are often characterized as "black boxes," presenting a significant challenge for deployment in domains where interpretability and trust are paramount. While explainability tools like saliency maps have proven effective for natural images by highlighting relevant pixels, they often fail to provide meaningful insights for complex data types such as audio. For instance, when a model identifies a composer based on a mel-spectrogram, highlighting a specific frequency-time block rarely explains the underlying musical or acoustic rationale to a human expert.
This research shifts the focus from where a model looks to what a model knows. We propose a systematic methodology to interpret deep learning models by relating their learned features to established, domain-specific hand-crafted features—such as spectral centroid or wavelet coefficients—that have been the cornerstone of signal processing for decades.
Methodology
To bridge the gap between deep and hand-crafted features, we employ three distinct experimental lenses:
- Decoding Analysis: We utilize simple logistic regression to evaluate the discriminative power of both deep and hand-crafted features across specific classification tasks. This establishes a performance baseline for what information is captured by each feature set.
- Feature Similarity Analysis: At the heart of our methodology is the use of Linear Centered Kernel Alignment (CKA). CKA allows for the quantitative measurement of similarity between different feature layers, even when they possess different dimensions. This enables a direct comparison between the internal representations of a neural network and classical signal processing metrics.
- Inductive Bias Exploration: We investigate the inherent "knowledge" embedded in network architectures by comparing untrained (randomly initialized) models to hand-crafted features. This helps determine how much of a model's success is due to the training process versus the structural constraints of the convolutional architecture itself.
Our study evaluates five Convolutional Neural Network (CNN) architectures, including specialized variants such as Deformable Convolutions, which adapt their shape to the data, and Dilated Convolutions, which offer an expanded receptive field.
Experimental Framework
We validated our methodology using three diverse music audio datasets to capture different levels of acoustic and musical abstraction:
- NSynth: A benchmark of 50,000 acoustic instrument notes, used to evaluate low-level tasks like instrument family identification, pitch, and volume.
- Composer Dataset: Approximately 20,000 symphonic segments from five classical composers (Beethoven, Brahms, Haydn, Sibelius, and Tchaikovsky), performed by a single orchestra to isolate compositional style from performance variables.
- Beethoven Dataset: A collection of Beethoven’s nine symphonies recorded by 10 different orchestras, specifically designed to test the model's ability to identify performance style.
Results and Discussion
The "Pre-wired" Nature of Convolutions
A primary finding of this work is that untrained CNNs exhibit features highly similar to hand-crafted signal processing tools, such as wavelets and power measures. This suggests that the convolutional architecture itself possesses a strong "inductive bias" for audio data, effectively acting as a pre-configured feature extractor even before exposure to training data.
Feature Robustness and Hierarchy
Deep features demonstrated remarkable versatility. A model trained for instrument family identification could predict note pitch or volume with high accuracy without retraining, indicating that the learned representations are robust and multi-faceted. Furthermore, we observed a clear layer hierarchy: earlier layers remain most similar to basic signal processing features, while deeper layers become increasingly abstract and specialized for the target task.
Performance Benchmarks
The Deformable CNN emerged as the top performer, achieving 97.8% accuracy on the NSynth dataset and 75.8% on the Composer task. This suggests that non-rigid convolutional structures are particularly well-suited for capturing the complexities of musical audio. Notably, hand-crafted features remained highly competitive, with a combination of wavelets and power reaching 84% accuracy on NSynth, reaffirming the continued relevance of classical signal processing methods.
Conclusion
By relating deep features to hand-crafted metrics, we provide a more interpretable framework for understanding audio-based deep learning models. Our results highlight the inherent suitability of CNNs for audio tasks and the specific advantages of deformable architectures. Future work will expand this methodology to other architectures like Transformers and explore the potential for "steering" model training toward more interpretable, human-meaningful feature representations without compromising predictive accuracy.
Summary updated