Skip to main content
QUICK REVIEW

[Paper Review] It's Raw! Audio Generation with State-Space Models

Karan Goel, Albert Gu|arXiv (Cornell University)|Feb 20, 2022
Music and Audio ProcessingComputer Science20 citations
TL;DR

SaShiMi, an SSM-based multi-scale waveform model, stabilizes S4 for autoregressive generation and achieves state-of-the-art unconditional audio generation, while also boosting non-autoregressive diffusion-based generation.

ABSTRACT

Developing architectures suitable for modeling raw audio is a challenging problem due to the high sampling rates of audio waveforms. Standard sequence modeling approaches like RNNs and CNNs have previously been tailored to fit the demands of audio, but the resultant architectures make undesirable computational tradeoffs and struggle to model waveforms effectively. We propose SaShiMi, a new multi-scale architecture for waveform modeling built around the recently introduced S4 model for long sequence modeling. We identify that S4 can be unstable during autoregressive generation, and provide a simple improvement to its parameterization by drawing connections to Hurwitz matrices. SaShiMi yields state-of-the-art performance for unconditional waveform generation in the autoregressive setting. Additionally, SaShiMi improves non-autoregressive generation performance when used as the backbone architecture for a diffusion model. Compared to prior architectures in the autoregressive generation setting, SaShiMi generates piano and speech waveforms which humans find more musical and coherent respectively, e.g. 2x better mean opinion scores than WaveNet on an unconditional speech generation task. On a music generation task, SaShiMi outperforms WaveNet on density estimation and speed at both training and inference even when using 3x fewer parameters. Code can be found at https://github.com/HazyResearch/state-spaces and samples at https://hazyresearch.stanford.edu/sashimi-examples.

Motivation & Objective

  • Address the challenge of modeling high-rate raw audio with globally coherent generation.
  • Propose SaShiMi, a multi-scale S4-based architecture with stability improvements for autoregressive generation.
  • Demonstrate SaShiMi’s superiority in unconditional AR audio tasks and as a backbone for non-AR diffusion models.

Proposed method

  • Use S4 state-space models as core building blocks for long-context waveform modeling.
  • Stabilize S4 for autoregressive generation by parameterizing A as Hurwitz-compatible (Lambda - p p^*).
  • Incorporate multi-scale pooling between S4 blocks to capture cross-scale structure.
  • Enable a bidirectional relaxation of S4 to improve non-autoregressive (non-AR) capabilities.
  • Employ a simple bidirectional S4 variant for non-AR tasks by concatenating forward and reversed S4 outputs.
  • Demonstrate SaShiMi as a backbone for diffusion models by replacing WaveNet in DiffWave.

Experimental results

Research questions

  • RQ1Can SSM-based architectures with proper stability guarantees model unbounded audio contexts more effectively than WaveNet or SampleRNN?
  • RQ2Does a multi-scale pooling strategy improve modeling quality and efficiency for autoregressive audio generation?
  • RQ3Can SaShiMi serve as a strong non-autoregressive backbone for diffusion-based waveform generation?
  • RQ4How does bidirectional S4 impact non-AR generation performance compared to causal S4?
  • RQ5What are the tradeoffs in parameter count, training speed, and inference speed versus baselines for long-context audio generation?

Key findings

  • SaShiMi outperforms leading autoregressive baselines (SampleRNN, WaveNet) on unconditional music and speech generation with better likelihoods and longer context handling.
  • On Beethoven and YouTubeMix datasets, SaShiMi achieves lower NLL and higher MOS/quality metrics than baselines, with longer-context training (e.g., context lengths up to 128k steps).
  • In SC09 unconditional speech generation, SaShiMi delivers substantially higher human-perceived quality and intelligibility scores than WaveNet-based models.
  • Replacing WaveNet with SaShiMi as the backbone in DiffWave improves diffusion-based non-autoregressive generation, achieving state-of-the-art results without additional tuning.
  • A stabilized S4 parameterization (Lambda - p p^*) yields stable autoregressive generation, addressing instability observed with the original S4 formulation.
  • The architecture’s multi-scale pooling yields computational and modeling benefits over isotropic S4 stacks, with faster training and inference for comparable or better quality.
  • Bidirectional S4 boosts non-autoregressive performance, outperforming unidirectional configurations.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.