mlsanityData to 7 Oct 2026

A low latency attention module for streaming self-supervised speech representation learning

arXiv 2302.13451 ↗First posted 27 Feb 2023cs.SD cs.CL cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

The transformer is a fundamental building block in deep learning, and the attention mechanism is the transformer's core component. Self-supervised speech representation learning (SSRL) represents a popular use-case for the transformer architecture. Due to transformers' acausal behavior, the use of transformers for SSRL has been predominantly focused on acausal applications. However, several media processing problems, such as speech processing, require real-time solutions. In this paper, we present an implementation of the attention module that enables training of SSRL architectures with low compute and memory requirements, while allowing real-time inference with low and fixed latency. The attention module proposed in this paper includes two components, streaming attention (SA) and low-latency streaming attention (LLSA). The SA represents our proposal for an efficient streaming SSRL implementation, while the LLSA solves the latency build-up problem of other streaming attention architectures, such as the masked acausal attention (MAA), guaranteeing a latency equal to one layer even when multiple layers are stacked. We present a comparative analysis between the vanilla attention, which we will refer here as acausal attention (AA), the SA, and the LLSA, by training a streaming SSRL with automatic speech recognition as downstream task. When training on librispeech-clean-100 and testing on librispeech-test-clean, our low-latency attention module has a word error rate (WER) of 5.84%, which represents a significant improvement over the MAA (WER = 13.82%). Our implementation also reduces the inference latency from 1.92 to 0.16 seconds. The proposed low-latency module preserves many of the benefits of conventional acausal transformers, but also enables latency characteristics that make it applicable to real-time streaming applications.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 26 of its 33 references that are in the map. First posted on arXiv 27 Feb 2023.

Builds on

26 of 33 references.

References · 26

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  4. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
  5. 2018Representation Learning with Contrastive Predictive Codingcited by 7,662
  6. 2020wav2vec 2.0: A Framework for Self-Supervised Learning of Speech Representationscited by 3,853
  7. 2021HuBERT: Self-Supervised Speech Representation Learning by Masked Prediction of Hidden Unitscited by 2,301
  8. 2018Deep contextualized word representationscited by 2,285
  9. 2019TinyBERT: Distilling BERT for Natural Language Understandingcited by 1,153
  10. 2021SUPERB: Speech processing Universal PERformance Benchmarkcited by 652
  11. 2022BEATs: Audio Pre-Training with Acoustic Tokenizerscited by 378
  12. 2022Self-Supervised Speech Representation Learning: A Reviewcited by 258
14 more
  1. 2019An Unsupervised Autoregressive Model for Speech Representation Learningcited by 185
  2. 2022Self-supervised Learning with Random-projection Quantizer for Speech Recognitioncited by 158
  3. 2021DistilHuBERT: Speech Representation Learning by Layer-wise Distillation of Hidden-unit BERTcited by 129
  4. 2020Emformer: Efficient Memory Transformer Based Acoustic Model For Low Latency Streaming Speech Recognitioncited by 111
  5. 2020Developing Real-time Streaming Transformer Transducer for Speech Recognition on Large-scale Datasetcited by 94
  6. 2019Transformer-based Acoustic Modeling for Hybrid Speech Recognitioncited by 86
  7. 2017Monotonic Chunkwise Attentioncited by 82
  8. 2020Streaming automatic speech recognition with the transformer modelcited by 73
  9. 2019Deep Contextualized Acoustic Representations For Semi-Supervised Speech Recognitioncited by 66
  10. 2020On the Comparison of Popular End-to-End Models for Large Scale Speech Recognitioncited by 62
  11. 2020Streaming Transformer-based Acoustic Models Using Self-attention with Augmented Memorycited by 35
  12. 2020Transformer Transducer: One Model Unifying Streaming and Non-streaming Speech Recognitioncited by 23
  13. 2020Streaming Chunk-Aware Multihead Attention for Online End-to-End Speech Recognitioncited by 12
  14. 2022Self-supervised learning with bi-label masked speech prediction for streaming multi-talker speech recognitioncited by 1

Built on by

Not cited yet.