Abstract
Traditional audio denoising methods often treat spectrograms as simple data matrices, frequently neglecting the structural and phase-dependent information inherent in complex-valued Fourier domain data. This paper introduces the Complex Image Generation SwinTransformer Network (CIGSN), a novel framework that reframes audio denoising as a high-fidelity image generation task. By adapting the SwinTransformer architecture to handle complex-valued tensors and incorporating computer vision-inspired perceptual losses, the proposed model achieves state-of-the-art performance on both speech and environmental audio benchmarks.
Introduction
Audio denoising remains a fundamental challenge in signal processing, particularly when dealing with non-stationary background noise, reverberation, and long-term temporal dependencies. While deep learning has significantly advanced the field, many existing time-frequency (T-F) domain methods treat spectrogram bins as independent labels. This approach often ignores the global structural quality of the generated frequency-domain "images," leading to artifacts and reduced intelligibility.
Furthermore, standard Transformer architectures are typically optimized for real-valued data. In the context of the Short-Time Fourier Transform (STFT), ignoring the phase information contained in the complex component can result in suboptimal reconstruction. The authors of this work hypothesize that by treating the denoising process as a structural image generation problem, they can leverage powerful computer vision techniques to produce cleaner, more natural-sounding audio.
Methodology
The CoxImgSwinTransformer
The core of the CIGSN architecture is the CoxImgSwinTransformer, a complex-valued adaptation of the standard SwinTransformer. To process complex-valued tensors directly, the authors define complex operations ($CO$) such that any standard layer (e.g., Convolution, LayerNorm) is applied to the real and imaginary parts independently and then recombined:
$$CO(T) = O(A) + jO(B)$$
This formulation allows the network to maintain the relationship between magnitude and phase throughout the transformation process, capturing richer Fourier domain features than models that treat real and imaginary parts as simple two-channel real images.
Encoder-Decoder Architecture
The model utilizes a symmetric encoder-decoder structure featuring four stages of Swin Transformer blocks. The architecture employs patch merging for downsampling and patch expanding for upsampling. Skip connections are integrated between corresponding stages of the encoder and decoder to preserve fine-grained spatial and structural information, which is critical for accurate spectrogram reconstruction.
Multi-Faceted Loss Functions
To ensure high-quality output, CIGSN is trained using a hybrid loss strategy that addresses both visual and acoustic fidelity:
- Image Quality Check Module: This module ensures the generated spectrograms are structurally similar to the ground truth. It utilizes a combination of L1 loss, Structural Similarity (SSIM) loss, and a "detailed loss" derived from a pre-trained VGG19 network (perceptual loss).
- Audio Reconstruction Module: To ensure acoustic accuracy, the model applies L1 loss and a Signal-to-Distortion Ratio (SDR) loss on the final waveform after the Inverse STFT (ISTFT).
Experimental Setup
Datasets
The model was evaluated on two distinct benchmarks to test its versatility:
- VoiceBank-DEMAND: A standard synthetic dataset for speech enhancement, featuring clean speech mixed with various background noises.
- BirdSoundsDenoising: A large-scale dataset containing over 14,000 recordings. This dataset provides a rigorous test for real-world generalization, as it includes natural environmental noises such as wind, rain, and waterfalls.
Results and Discussion
Quantitative Performance
The CIGSN model demonstrated superior performance against several state-of-the-art (SOTA) baselines:
- Speech Quality: On VoiceBank-DEMAND, CIGSN achieved a PESQ score of 3.41 and an SSIM of 0.88, significantly outperforming previous models like MANNER (3.21 PESQ, 0.81 SSIM).
- Environmental Denoising: On the BirdSoundsDenoising test set, the model reached an SDR of 10.15, surpassing the next best model, DVAD (9.96).
Qualitative Insights
Ablation studies revealed that the image quality check module was more critical to the final performance than the audio reconstruction module. This validates the core hypothesis: treating spectrograms as structural images allows the model to produce sharper, less "blurry" denoising results. Qualitative analysis showed that CIGSN effectively eliminates "noise clouds" that typically plague baseline models, resulting in real and imaginary spectrograms that are visually and acoustically closer to the ground truth.
Conclusion and Future Work
By integrating complex-valued operations with a SwinTransformer-based image generation framework, CIGSN sets a new standard for audio denoising. The research highlights the importance of phase information and structural consistency in the T-F domain.
However, the authors note that the primary limitation of the current approach is its computational cost. The multi-stage loss calculations and complex transformer blocks require significant GPU memory. Future research will focus on optimizing the architecture for real-time performance and exploring its application in related tasks such as source separation and dereverberation.
Summary updated