arXiv:2609.00431eess.ASAug 2026

Manuscript Offprint

arXiv:2609.00431

U-PAST: A Phase-Aware Audio Spectrogram Transformer-U-Net for Single-Channel Speech Enhancement

Cao Duong Ly, Jörn Anemüller

ABSTRACT

Convolutional neural networks (CNNs), used widely and successfully in audio enhancement, capture long-range time-frequency dependencies only indirectly, through successive convolution and pooling. Here, we present U-PAST, a hybrid transformer-U-Net architecture that addresses this limitation through self-attention dependency-modeling in the complex spectrogram domain. U-PAST tokenizes a complex STFT representation, similarly to the magnitude spectrogram tokenization of the Audio Spectrogram Transformer (AST), applies a multi-layer transformer encoder, and reconstructs the enhanced complex spectrogram with a U-Net-style decoder.

We evaluate four architectural variants with between 1.17M and 2.40M parameters on the DNS Challenge, VoiceBank-DEMAND, and LibriMix corpora under matched, acoustic mismatch, and two-dataset mismatch conditions. U-PAST attains the best SI-SDR of any evaluated model under acoustic mismatch and closely trails substantially larger convolutional and time-domain baselines by 0.26 dB to 0.63 dB SI-SDR under the remaining three conditions while achieving the strongest perceptual (DNSMOS) quality under dataset mismatch. The largest evaluated configuration, U-PAST-H (2.40M parameters), is consistently the strongest variant of the family, offering an attractive performance-to-cost trade-off at a small parameter footprint.

Keywords Acoustics · Speech Enhancement · Transformer

1 Introduction

Speech signals in real environments are often corrupted by background noise that significantly impacts speech quality and intelligibility, creating difficulties for human listeners and degrading downstream speech-processing systems. Thus, recovery of clean speech from noisy environments is an active research problem. In the single-channel setting, due to the lack of spatial information, a robust modeling of both spectral structure and temporal context of speech and noise is essential. Several approaches to single-channel speech enhancement have been proposed. Some methods operate in the time domain [1], while others use spectral representations such as mel-frequency spectra [2, 3] or the short-time Fourier transform (STFT) [4]. Various model architectures have been proposed, including convolutional structures such as U-Nets [5, 6], attention-based models [7, 8], and generative approaches [9, 10]. Transformer-based models such as DPT-FSNet [11] and TSTNN [12] show strong interpretability and temporal modeling capability but DPT-FSNet requires sub-band processing, which incurs high computational cost. Vision Transformers (ViT) [13] have demonstrated efficient capture of long-range dependencies and effective modeling of global context in images. In [14], a ViT-based architecture is applied to speech enhancement by stacking time- and frequency-domain representations into a single image-like input. The approach aims to predict clean and noise masks for enhanced output spectrogram estimation via a transformer read-out, while applying the (noisy) input phase during inverse short-time Fourier transform reconstruction.

Model and live demonstration are available on Hugging Face: https://huggingface.co/spaces/lycaoduong/U-Past

Figure

Figure 1: Hybrid U-PAST Architecture. The transformer module (left, depicted in the four layer configuration) encodes STFT magnitude and phase into token sequences. Green and orange blocks represent the CUNet decoder with hierarchical upsampling. Purple blocks denote feature projection layers that connect transformer outputs to the decoder. The yellow block is the prediction head for output feature reconstruction.

Architecturally, [14] is a transformer-only encoder–readout model rather than a hybrid transformer U-Net since it lacks a convolutional decoder with hierarchical upsampling and skip connections, and it does not process phase. Because phase information is crucial for perceptual quality, reusing the noisy input phase limits achievable enhancement quality.

To address the above considerations, we propose U-PAST, a transformer-U-Net network for speech enhancement that operates directly on complex-valued spectrograms. We convert the magnitude-phase input spectra into multiple patch tokens. Similarly to how a transformer handles sequences, the self-attention layer allows each patch token to interact with all others, capturing relevant global spectro-temporal patterns. In contrast to [14], U-PAST pairs the ViT encoder with a complex-valued U-Net decoder that includes hierarchical upsampling and lateral skip connections, and that reconstructs both magnitude and phase rather than reusing the noisy input phase.

References (38)