
speechbrain_dualpath_rnn
Audio and speech232 ops14.6M params
Chunk the waveform, run RNNs within and across chunks: long-sequence speech separation at square-root cost.
Audio and speech · 215 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 simple yet effective method for organizing RNN layers in a deep structure to model extremely long sequences. It was built for time-domain speech separation, where systems often receive input sequences consisting of a huge number of time steps. Conventional RNNs are not effective for modeling such long sequences due to optimization difficulties, while 1-D CNNs cannot perform utterance-level modeling when the receptive field is smaller than the sequence length.
DPRNN splits the long sequential input into smaller chunks and applies intra- and inter-chunk operations iteratively, so the input length in each operation can be made proportional to the square root of the original sequence length. Dropped into the time-domain audio separation network (TasNet) in place of its 1-D CNN, with sample-level modeling, it reached a new state-of-the-art on WSJ0-2mix with a 20 times smaller model than the previous best system. The authors' own implementation lives in their TAC repository, whose readme says the implementation of DPRNN, as well as the combination of DPRNN and TAC, can be found in utility/models.
The first captured member is SpeechBrain's dual-path model, which the toolkit's speech separation recipes list as DualPath RNN beside SepFormer and ConvTasNET. The second is ESPnet's DPRNN separator, one of the separators in its unified encoder-separator-decoder structure for time-domain and frequency-domain models. That member follows the wsj0_2mix recipe configuration: separator dprnn with 2 speakers, 6 layers of bidirectional LSTM with 128 units, segment size 250 and dropout 0.1. In that recipe the separator sits between a conv encoder and a conv decoder with 64 channels, kernel size 2 and stride 1. ESPnet's own WSJ0-2mix table puts DPRNN-Tasnet at 18.29 dB SDR, above Conv-Tasnet at 15.94. One comment in that config is worth knowing when reading the graph: the bidirectional flag is for the inter-block rnn.
Key idea. DPRNN splits a long sequence into chunks and applies intra- and inter-chunk RNN operations iteratively, so the input length in each operation is proportional to the square root of the original sequence length. Swapped into TasNet, that gave a new state-of-the-art on WSJ0-2mix with a 20 times smaller model than the previous best system.
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},
}