Instabilities in Convnets for Raw Audio
Daniel Haider, Vincent Lostanlen, Martin Ehler, Peter Balazs
TL;DR
This work analyzes why waveform-based convnets with random Gaussian initialization can be unstable for audio, by developing large-deviation theory for the energy response of FIR filterbanks. By modeling the filterbank as a random matrix with $J$ Gaussian filters of length $T$ and setting $\sigma^2=(JT)^{-1}$, the authors show $\mathbb{E}[\|\Phi x\|^2] = \|x\|^2$ while the variance $\mathbb{V}[\|\Phi x\|^2]$ depends on input autocorrelation $R_{xx}$, making energy fluctuations larger for locally periodic signals. They connect this to frame theory, deriving frame bounds $A,B$ and showing $\|\Phi x\|^2$ can be written in terms of chi-squared variables; they further approximate the extreme bounds and propose a scaling law $\tilde{\kappa}(J,T)$ that suggests keeping $J \propto \log T$ to stabilize conditioning, a behavior reminiscent of discrete wavelet bases. The results imply practical regularization strategies and initialization considerations to mitigate instabilities in audio convnets, highlighting that many short filters tend to yield better numerical stability than few long filters. Overall, the paper provides a rigorous link between random filterbank initialization, input autocorrelation, and stability, with implications for designing learnable 1-D convnets for audio tasks.
Abstract
What makes waveform-based deep learning so hard? Despite numerous attempts at training convolutional neural networks (convnets) for filterbank design, they often fail to outperform hand-crafted baselines. These baselines are linear time-invariant systems: as such, they can be approximated by convnets with wide receptive fields. Yet, in practice, gradient-based optimization leads to suboptimal approximations. In our article, we approach this phenomenon from the perspective of initialization. We present a theory of large deviations for the energy response of FIR filterbanks with random Gaussian weights. We find that deviations worsen for large filters and locally periodic input signals, which are both typical for audio signal processing applications. Numerical simulations align with our theory and suggest that the condition number of a convolutional layer follows a logarithmic scaling law between the number and length of the filters, which is reminiscent of discrete wavelet bases.
