Energy Preservation and Stability of Random Filterbanks

Daniel Haider, Vincent Lostanlen, Martin Ehler, Péter Balázs · DOI

Abstract

Training convolutional neural networks (convnets) directly on raw audio remains a significant challenge compared to using hand-crafted features like Mel-spectrograms. This research identifies random initialization as a primary source of numerical instability when processing highly autocorrelated signals such as speech and music. By analyzing 1D convolutional layers as random filterbanks through the lenses of signal processing and frame theory, we demonstrate that signal structure interacts with random weights to produce massive energy fluctuations. We establish a logarithmic scaling law for filterbank stability, suggesting that the number of filters must increase with filter length to maintain numerical consistency.

Introduction: The Audio Performance Gap

In audio AI, there is a persistent performance gap between models trained on raw waveforms and those using traditional linear filterbanks like the Mel-scale. Even when deep models are initialized to mimic these hand-crafted filters before fine-tuning, they outperform those started from scratch. This paper investigates why standard random initialization—typically designed for independent or noise-like inputs—fails for the highly structured, locally periodic signals characteristic of audio.

Analyzing Random Filterbanks

The authors model a 1D convolutional layer with $J$ filters of length $T$ as a random filterbank $\Phi$. To understand its behavior, they employ several theoretical frameworks:

  • Moment Analysis: Deriving formulas for the expected value and variance of the energy response $\|\Phi x\|^2$.
  • Large Deviation Theory: Using Cantelli and Chernoff inequalities to bound the probability of extreme energy fluctuations.
  • Frame Theory: Evaluating the "condition number" $\kappa$, where a value near 1 indicates stable energy preservation.
  • Extreme Value Theory: Determining the asymptotic relationship between filter count $J$ and length $T$ required for stability.

The Impact of Autocorrelation

A central finding is that the variance of a convnet's output energy is directly tied to the input signal's autocorrelation. Highly periodic signals, like a sustained flute note, act as "adversarial examples" for random initializations, triggering significant energy instabilities.

Empirical energy response variance and theoretical bounds (Cantelli and Chernoff) across different signal types and filter lengths $T$. Instability increases with signal autocorrelation and filter length.

As shown in Figure 4, the "Long Filter Penalty" is evident: as filter length $T$ increases to capture lower frequencies, the variance of the energy response grows, exacerbating instability. This effect is most pronounced in highly periodic signals like the sine wave and flute note.

Stability and Scaling Laws

The research highlights that for a fixed number of filters, the condition number $\kappa$ grows significantly with filter length $T$. This explains why deep models for raw audio are notoriously difficult to initialize.

Condition number $\bar{\kappa}$ as a function of filter length $T$ for various filter counts $J$. Stability improves (lower $\kappa$) as $J$ increases relative to $T$.

The authors identify a critical scaling law: to maintain a constant condition number while increasing filter length $T$, the number of filters $J$ must scale logarithmically ($J \propto \log T$). This mathematical requirement mirrors the design of discrete wavelet bases, which were engineered for similar stability properties.

Conclusion and Future Directions

The study concludes that initial instabilities are not easily corrected by gradient descent; models may remain trapped in suboptimal states due to poor starting conditions. While this work focuses on the linear convolutional layer at initialization, future research is needed to explore the interactions with non-linearities (e.g., ReLU) and pooling. Potential remedies, such as adaptive noise or specialized regularization to handle high autocorrelation, offer promising avenues for improving raw audio model training.

Summary updated

BibTeX
@article{haider2024energy,
  author = {Daniel Haider and Vincent Lostanlen and Martin Ehler and Péter Balázs},
  title = {{Energy Preservation and Stability of Random Filterbanks}},
  journal = {IEEE Signal Processing Letters},
  year = {2024},
  doi = {10.1109/lsp.2024.3386492},
}
Figure