[Paper Review] Streaming ResLSTM with Causal Mean Aggregation for Device-Directed Utterance Detection
This paper proposes a streaming ResLSTM model with causal mean aggregation for real-time device-directed speech detection, enabling early and accurate predictions during online inference. The method achieves a 41% relative reduction in equal error rate (EER) compared to prior models, outperforming attention-based approaches especially in early decision-making scenarios.
In this paper, we propose a streaming model to distinguish voice queries intended for a smart-home device from background speech. The proposed model consists of multiple CNN layers with residual connections, followed by a stacked LSTM architecture. The streaming capability is achieved by using unidirectional LSTM layers and a causal mean aggregation layer to form the final utterance-level prediction up to the current frame. In order to avoid redundant computation during online streaming inference, we use a caching mechanism for every convolution operation. Experimental results on a device-directed vs. non device-directed task show that the proposed model yields an equal error rate reduction of 41% compared to our previous best model on this task. Furthermore, we show that the proposed model is able to accurately predict earlier in time compared to the attention-based models.
Motivation & Objective
- To develop a streaming, online inference-capable model for distinguishing device-directed (DD) from non-device-directed (ND) speech in real-time.
- To improve early prediction accuracy in streaming scenarios where end-of-utterance timing is variable or unknown.
- To reduce computational overhead in online inference by avoiding redundant computation through convolutional layer caching.
- To evaluate and compare aggregation methods for converting frame-level embeddings into utterance-level predictions in a streaming context.
- To demonstrate that causal mean aggregation outperforms attention mechanisms when early decisions are required, without sacrificing end-of-utterance performance.
Proposed method
- Employs a deep ResLSTM architecture with six residual blocks, batch normalization, and unidirectional LSTMs to extract hierarchical acoustic features.
- Applies causal mean aggregation to frame-level LSTM outputs ($h_t$) to generate streaming, time-ordered utterance-level predictions.
- Uses a caching mechanism for all convolutional operations to eliminate redundant computation during online inference.
- Applies frame-wise backpropagation with repeated utterance-level labels during training to support streaming learning.
- Compares causal mean aggregation to attention, global mean, and RNN-based aggregation methods on both $h_t$ and $y_t$ (prediction logits).
- Implements a causal attention variant that masks future frames, but finds it computationally prohibitive for real-time use.
Experimental results
Research questions
- RQ1Can a streaming ResLSTM model with causal mean aggregation achieve better early prediction performance than attention-based models in device-directed speech detection?
- RQ2Does causal mean aggregation maintain comparable performance to attention at the end of an utterance while enabling earlier decisions?
- RQ3How does the ResLSTM topology compare to other architectures (e.g., ResNet, CLDNN, LSTM) in terms of EER for device-directed speech detection?
- RQ4What is the computational cost of attention-based aggregation versus causal mean aggregation in online streaming settings?
- RQ5Can convolutional layer caching effectively reduce redundant computation in streaming inference without compromising model accuracy?
Key findings
- The proposed ResLSTM model with causal mean aggregation reduces the equal error rate (EER) by 41% compared to the previous best model on the device-directed vs. non-device-directed speech detection task.
- Causal mean aggregation achieves performance comparable to attention-based aggregation at the end of utterances, with a relative EER improvement of 0.6% compared to the baseline.
- At early time points (e.g., 1–2 seconds into an utterance), causal mean aggregation reduces EER by 24.7% compared to attention, demonstrating superior early decision capability.
- Causal mean aggregation on $h_t$ outperforms attention by 16.0% in EER when evaluating at the midpoint of utterances ($0.5L$), highlighting its robustness to variable end-of-utterance timing.
- The RNN-based aggregation method with ReLU activation increased EER by 2.4% compared to the baseline, likely due to vanishing gradients, while the tanh variant showed only a 0.6% improvement.
- Causal mean aggregation is significantly more computationally efficient than attention-based methods, especially in streaming settings where attention must be recomputed at every frame.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.