All models

Complex U-Net

A U-Net built from complex-valued layers that removes noise from speech by masking the complex spectrogram.

Audio and speech · 514 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (19 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
3.5M
Operations
514
Framework
PyTorch
Recurrent
No
Published
ICLR 2019
Cited by
296 (as of 28 October 2026)
Authors
Hyeong-Seok Choi, Jang-Hyun Kim, Jaesung Huh and others
License
MIT
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m15396
Graph hash
ae0cc4322288f31cd10996ce58627db022f99120802e3eb2b4aeaf3c3624a1af
Skeleton hash
31c3ff34824bcd97761a3fb11150c7bc5cd1fb99d9b5d9656d298ab1ce579a56
Architecture hash
fe98cb12f815f8b5d35d4a006e5d0dd0df8f22cfa81572b374dd104434ee4848
Diagram SHA-256
41a946b9173bd48bd6274535e974b88e87f9b8b02966668dda8c476af4052ae4
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

Deep Complex U-Net (DCUnet) is a speech enhancement model: given noisy speech, it separates the clean speech from the noise. According to the paper, most deep learning models for this task had estimated only the magnitude of the spectrogram and reused the phase of the noisy speech, and DCUnet is designed to estimate the phase as well.

The network is a U-Net applied in the STFT domain whose convolutional layers are all replaced by complex convolutional layers. In the encoder, max pooling is replaced by strided complex convolutions to prevent spatial information loss, and the activation function is a leaky version of CReLU. The output is a complex-valued ratio mask, which rotates the noisy spectrogram in polar coordinates and so can correct phase errors as well as scale the magnitude. An inverse STFT then converts the masked spectrogram into a time-domain waveform.

The model is trained with a weighted source-to-distortion ratio (wSDR) loss computed on the waveform. That loss can be backpropagated because the STFT and ISTFT are implemented as 1-D convolution and deconvolution layers with fixed filters. The configuration shown here is DCUnet-20, which the paper describes as a model with 20 convolutional layers and for which it reports 3.5M parameters. The paper's experiments downsample waveforms to 16kHz and compute the STFT with a 64ms Hann window and a 16ms hop length.

Key idea. The paper builds a U-Net from complex-valued building blocks that estimates a bounded complex ratio mask, trained with a weighted-SDR loss on the waveform.

  • Deep Complex U-Net
  • DCUNet
  • Complex U-Net
  • DCUnet-20
  • phase-aware speech enhancement
  • speech enhancement
  • speech denoising
  • complex ratio mask
  • complex-valued neural network
  • weighted SDR loss

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{choi2019phaseawarespeechenhancementdeep,
      title={Phase-aware Speech Enhancement with Deep Complex U-Net}, 
      author={Hyeong-Seok Choi and Jang-Hyun Kim and Jaesung Huh and Adrian Kim and Jung-Woo Ha and Kyogu Lee},
      year={2019},
      eprint={1903.03107},
      archivePrefix={arXiv},
      primaryClass={cs.SD},
      url={https://arxiv.org/abs/1903.03107}, 
}