All models

speechbrain_dualpath_rnn

A speech separator whose RNNs alternate within and across chunks to handle very long waveform sequences.

Audio and speech · 232 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 (17 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

Family
DPRNN
Parameters
14.6M
Operations
232
Framework
PyTorch
Recurrent
No
Published
ICASSP 2020
Cited by
46 (as of 19 October 2026)
Authors
Yi Luo, Zhuo Chen, Takuya Yoshioka
License
Apache-2.0
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
m10122
Graph hash
78f9be75cb1cd0d45b545a307aa59a392b50b29d1d41588f018b0306bef85172
Skeleton hash
f4f8b2dc5389963ed7844c25fb3259460edeba9f085d6c2bb996289b0daa3344
Architecture hash
7b97ec9ff0bf7df55ad340e16b4f78f477b6c21472ff15cd5d76eb97c5c7cf7a
Diagram SHA-256
69844b7bec84fc7115ab1b69fe2146a11c4ad0a05e74be836ce8c71194c68c5a
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

DPRNN, the dual-path recurrent neural network, is a way of organizing RNN layers so they can model extremely long sequences, built here into a time-domain speech separator. The problem it addresses is that time-domain separation systems receive inputs with a huge number of time steps, which plain RNNs struggle to optimize and 1-D CNNs cannot cover when their receptive field is shorter than the sequence. DPRNN splits the input into smaller chunks and alternates intra-chunk and inter-chunk RNNs, so each RNN sees an input length proportional to the square root of the original.

Each block runs a bidirectional intra-chunk RNN over every chunk in parallel, then an inter-chunk RNN across chunks, each followed by a linear layer, layer normalization and a residual connection. Chunks overlap by 50% and the last block's output is turned back into a sequence by overlap-add. Inside TasNet, simply swapping the temporal convolutional network for DPRNN improved separation by 4.6% with a 49% smaller model. Shrinking the encoder filter to 2 samples, with more than 30000 encoder frames, gave the best result on WSJ0-2mix.

This version is SpeechBrain's WSJ0-2mix DPRNN recipe: a 256-channel encoder with kernel size 16 and stride 8, 6 dual-path blocks with chunk size 250, and bidirectional single-layer RNN blocks for both the intra and inter paths. The recipe file's header still names SepFormer, but its mask network is the dual-path model.

Key idea. DPRNN chunks a long sequence and alternates intra-chunk and inter-chunk RNNs, giving each RNN a square-root-length input and a far smaller separation model.

  • dprnn
  • dual-path rnn
  • dual-path recurrent neural network
  • speech separation
  • time-domain
  • long sequence modeling
  • lstm
  • tasnet
  • speechbrain
  • wsj0-2mix

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

Cite the paper

@misc{luo2020dualpathrnnefficientlong,
      title={Dual-path RNN: efficient long sequence modeling for time-domain single-channel speech separation}, 
      author={Yi Luo and Zhuo Chen and Takuya Yoshioka},
      year={2020},
      eprint={1910.06379},
      archivePrefix={arXiv},
      primaryClass={eess.AS},
      url={https://arxiv.org/abs/1910.06379}, 
}