Skip to main content
QUICK REVIEW

[Paper Review] Frame Stacking and Retaining for Recurrent Neural Network Acoustic Model

Xu Tian, Jun Zhang|arXiv (Cornell University)|May 17, 2017
Speech Recognition and SynthesisComputer Science9 references4 citations
TL;DR

This paper proposes frame retaining as a decoding-time technique to enable efficient frame stacking in conventional unidirectional LSTM acoustic models, maintaining compatibility with existing WFST-based decoders. By stacking N frames into a superframe and retaining its output across N frames, the method achieves nearly linear training speedup and reduces real-time factor by 41% with no performance degradation—improving slightly in character error rate on Mandarin speech data.

ABSTRACT

Frame stacking is broadly applied in end-to-end neural network training like connectionist temporal classification (CTC), and it leads to more accurate models and faster decoding. However, it is not well-suited to conventional neural network based on context-dependent state acoustic model, if the decoder is unchanged. In this paper, we propose a novel frame retaining method which is applied in decoding. The system which combined frame retaining with frame stacking could reduces the time consumption of both training and decoding. Long short-term memory (LSTM) recurrent neural networks (RNNs) using it achieve almost linear training speedup and reduces relative 41\% real time factor (RTF). At the same time, recognition performance is no degradation or improves sightly on Shenma voice search dataset in Mandarin.

Motivation & Objective

  • To address the incompatibility between frame stacking and conventional RNN decoding, which degrades recognition performance when the decoder is unchanged.
  • To enable frame stacking in non-CTC RNN acoustic models without retraining the decoder or modifying the HMM structure.
  • To achieve significant speedups in both training and decoding while preserving or slightly improving recognition accuracy.
  • To validate the method on a large-scale Mandarin speech recognition dataset using unidirectional LSTM models.

Proposed method

  • Frame stacking combines N consecutive acoustic frames into a single superframe, reducing input sequence length by a factor of N.
  • Frame retaining duplicates the output of a superframe across N original frames during decoding, maintaining the correct frame-level alignment.
  • The method preserves the original WFST-based decoder by ensuring the number of input features matches the number of output frames.
  • The acoustic model is trained using cross-entropy with mini-batched SGD and momentum, followed by sMBR training on a large-scale Mandarin dataset.
  • A decentralized, MPI-based HPC system with blockwise model update filtering (BMUF) and exponential moving average (EMA) is used for efficient distributed training.
  • The model uses 26-dimensional filter bank features, 2-dimensional pitch, and their first- and second-order differences as input, with 11,088 tied-states as output classes.

Experimental results

Research questions

  • RQ1Can frame stacking be effectively applied to conventional non-CTC RNN acoustic models without degrading recognition performance?
  • RQ2What is the impact of frame stacking on decoding speed and real-time factor in standard WFST-based decoding systems?
  • RQ3How can frame retention in the decoding phase restore alignment consistency when frame stacking reduces the number of input frames?
  • RQ4Does combining frame stacking with frame retention improve recognition accuracy or speed, and what is the optimal configuration of stacking and retention factors?

Key findings

  • Frame stacking alone causes a 415% increase in character error rate (CER) when used with a standard decoder, demonstrating severe performance degradation due to modeling duration mismatch.
  • When frame stacking (FS=3) is combined with frame retention (FR=3), the CER improves to 3.81%, a slight but consistent improvement over the baseline (3.89%) without stacking.
  • The real-time factor (RTF) is reduced by 41% relative to the baseline when both FS and FR are set to 3, achieving the fastest decoding speed.
  • The optimal configuration is FS=3 and FR=3, which achieves the best trade-off between speed and accuracy, with RTF dropping from 0.41 to 0.24.
  • The method enables nearly linear training speedup due to reduced input sequence length, while maintaining compatibility with existing WFST decoding infrastructure.
  • The approach is effective on large-scale Mandarin speech recognition, with a vocabulary size of 760,000 and a 5-gram language model, using 8-GPU distributed training with BMUF and EMA for model synchronization.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.