Abstract
Training convolutional neural networks (CNNs) directly on raw audio waveforms is notoriously difficult compared to using hand-crafted features like spectrograms. This paper provides a theoretical explanation: random initialization of 1D convolutional layers leads to massive numerical instabilities—specifically, huge fluctuations in energy—that are exacerbated by the periodic nature of speech and music. By analyzing the first layer as a random FIR filterbank, the authors demonstrate that output energy variance is tied to the input signal's autocorrelation.
Introduction
In computer vision, raw pixel inputs are the standard. However, in audio processing, "feature engineering" (e.g., Mel-spectrograms) frequently outperforms "feature learning" from raw waveforms. Models that do succeed on raw audio often require highly specific, hand-tuned initializations. This research addresses the mathematical root of this instability, identifying a gap between the theoretical capacity of a network to represent a filterbank and the practical ability of gradient descent to find that representation from a random starting state.
Methodology
The authors model the first layer of an untrained CNN as a random FIR (Finite Impulse Response) filterbank with Gaussian weights. Three mathematical frameworks are employed to analyze its behavior:
- Large Deviations Theory: Used to derive formulas calculating how much the output energy deviates from the input energy.
- Frame Theory: Focuses on the "condition number" ($\kappa$) of the filterbank. A condition number of 1 indicates perfect energy preservation, while higher numbers indicate significant signal distortion, complicating optimization.
- Extreme Value Theory: Used to estimate the bounds of the layer's energy response as filter lengths increase.
Experimental Setup
The theory was validated using both synthetic and real-world signals:
- Synthetic: Single impulses (low autocorrelation), Brownian noise (medium), and sine waves (high).
- Real-world: A snare drum hit, a spoken utterance, and a sustained flute note.
- Benchmarks: The authors reference performance gaps on the TIMIT speech recognition dataset to contextualize the waveform vs. spectrogram disparity.
Key Insights and Results
The study reveals that the variance of a layer's output energy is directly proportional to the autocorrelation of the input signal. Because speech (vowels) and music (pitched notes) are highly periodic, they possess high autocorrelation, making them mathematically "adversarial" to randomly initialized CNNs.
As illustrated in the figure above, the energy distribution ($||\Phi x||^2$) for an impulsive signal like a snare drum is tightly clustered around 1.0. In contrast, the highly periodic flute signal produces a much wider distribution, indicating severe ill-conditioning that makes optimization difficult from the start.
The Filter Length Trap and Scaling Laws
Increasing filter length ($T$) allows for more context but increases energy volatility. To counteract this, the authors propose a scaling law: the number of filters ($J$) should be proportional to the logarithm of the filter length ($J \propto \log T$). This relationship mirrors discrete wavelet bases, suggesting a theoretical "safe zone" for designing stable audio CNN architectures.
Limitations and Future Work
The current analysis focuses on the initialization phase of untrained networks and does not model how these instabilities evolve during training. Furthermore, the study is limited to undecimated uniform filterbanks (stride of 1). Future work is needed to characterize the condition number for strided convolutions and pooling, which are common in modern architectures.
Summary updated