At every upsampling stage, one learnable gate mixes a BiMamba branch with HiFi-GAN's MRF convolutions.
Abstract
High-fidelity waveform generation requires modeling both fine-grained periodic texture and long-range prosodic structure. While HiFi-GAN achieves strong results through multi-receptive field dilated convolutions, its bounded receptive field limits global temporal modeling, potentially causing inconsistencies in longer utterances. To address this without the quadratic computational cost of Transformers, we integrate Mamba, a selective State Space Model (SSM) with linear complexity, into the HiFi-GAN generator. We introduce a Bidirectional Mamba block to capture global context in non-causal synthesis and evaluate multiple architectural configurations through a systematic ablation study. Our best hybrid architecture, which employs an adaptive gated fusion mechanism to dynamically balance convolutional texture modeling and SSM-based global structure, achieves a 15% improvement in perceptual quality (Feature Matching Loss) over the baseline while maintaining competitive spectral fidelity.
Method
Each upsampling stage runs the Bidirectional Mamba block beside the MRF module, on the same features. A learnable scalar wi per stage mixes the two:
αi = σ(wi), y(i) = αi ΦMamba + (1 − αi) ΨCNN
wi starts at 0, an even split, and training sets the balance at each resolution.
Results
15% lower feature-matching loss than HiFi-GAN
Model
Feat. match ↓
L1 spec ↓
Baseline (HiFi-GAN)
0.0736
0.2975
Mamba Only (No Conv)
0.1291
0.3307
Hybrid 2 (Summation Fusion)
0.0711
0.2991
Hybrid 1 (Mamba64 Gated)
0.0623
0.2806
Hybrid 1 (Mamba128 Gated)
0.0771
0.2587
Mamba64 Gated gives the lowest feature-matching loss; Mamba128 Gated gives the lowest L1 loss, 13% below the baseline.
Gated fusion leads all 11 alternative designs
The closest alternative, Global Context Broadcasting, reaches 0.0699 against gated fusion's 0.0623.
Samples
One LJSpeech utterance, reconstructed from its mel-spectrogram by each model.