
sb_DualPathModel_DPRNN
Audio and speech215 ops14.6M params
A speech separator whose RNNs alternate within and across chunks to handle very long waveform sequences.
Audio and speech · 232 operations Checked
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.
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
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.
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
@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},
}