Abstract
Traditional Automatic Speech Recognition (ASR) systems often process audio in isolated segments, failing to exploit the rich contextual information present in long-form speech like meetings or lectures. This paper introduces LongFNT and SLongFNT, architectures built upon the Factorized Neural Transducer (FNT) to capture context across multiple consecutive utterances. By decoupling vocabulary prediction from blank-symbol alignment, these models effectively integrate historical text and acoustic data. Evaluations on LibriSpeech and GigaSpeech benchmarks demonstrate significant performance gains, achieving relative Word Error Rate (WER) reductions of up to 26% in streaming scenarios while maintaining competitive real-time latency.
Introduction
In real-world scenarios such as long conversations, podcasts, or academic lectures, speech is inherently context-rich. Keywords mentioned early in a session often reappear, and the acoustic environment typically remains stable. However, standard ASR architectures, such as the vanilla Conformer-Transducer (C-T), are primarily designed to process short, isolated "utterances."
The challenge in utilizing long-range context lies in the architecture of standard transducers. In a C-T model, the "predictor" network handles both text history and the prediction of the "blank" symbol used for temporal alignment. This entanglement prevents the predictor from acting as a pure Language Model (LM), making it difficult to effectively inject external text history. Furthermore, processing minutes of audio history in real-time (streaming) creates prohibitive computational overhead and latency. This paper addresses these limitations by factorizing the transducer and introducing efficient context integration mechanisms.
Methodology
The proposed frameworks, LongFNT and SLongFNT, are built upon the Factorized Neural Transducer (FNT). The FNT architecture is distinguished by its separation of the "blank" symbol prediction from the actual vocabulary tokens. This factorization allows the vocabulary predictor to function as a standalone LM, which is crucial for the effective injection of historical context.
LongFNT (Non-streaming)
LongFNT is designed for offline scenarios where the entire history is available. It integrates context through two main components:
- LongFNT-Text: This module uses a context encoder (such as a pre-trained RoBERTa) to generate embeddings for previous transcriptions. These embeddings are integrated into the model at two levels:
- Sentence-level Integration: Summary statistics (mean and standard deviation) of the context embeddings are projected and added to the predictor's output.
- Token-level Integration: Cross-attention is performed between the current token's hidden state and the sequence of context embeddings.
- LongFNT-Speech: This module feeds historical audio segments directly into the speech encoder. To keep training computationally feasible, the authors employ a gradient-truncation strategy where gradients are back-propagated only through the current utterance.
SLongFNT (Streaming)
SLongFNT adapts these concepts for real-time applications by optimizing for latency:
- SLongFNT-Text: To avoid the high latency of heavy encoders like RoBERTa, it utilizes the hidden states of the existing LSTM-based vocabulary predictor as the context source.
- SLongFNT-Speech: This implements "long-content chunk-based attention." To manage the computational cost of attending to long audio histories, the authors introduced Statistical Downsampling (averaging feature blocks) and Dilated Downsampling (random frame sampling). These techniques significantly reduce the history length while retaining the necessary acoustic information.
Experimental Setup
The models were rigorously evaluated on two major English ASR benchmarks: LibriSpeech (~960 hours of audiobook speech) and GigaSpeech (~1,000 hours of diverse audio from podcasts and YouTube). To further strengthen the factorized vocabulary predictor, the authors utilized large-scale text-only corpora, including 812 million words for LibriSpeech and 113 million for GigaSpeech, for pre-training.
Results and Discussion
The proposed LongFNT and SLongFNT models demonstrated substantial improvements over both vanilla Conformer-Transducers and standard FNT baselines.
Performance and Latency
In non-streaming (offline) settings, LongFNT achieved relative WER reductions of 19% on LibriSpeech and 12% on GigaSpeech. The gains were even more pronounced in streaming settings, where SLongFNT achieved a 26% relative reduction on LibriSpeech and 17% on GigaSpeech. Importantly, SLongFNT maintained an end-to-end latency of approximately 545ms, making it suitable for real-world streaming applications.
Key Insights
- The Factorization Advantage: The primary reason for the success of these models is the factorization of the transducer. By creating a dedicated slot for text history that functions as a pure LM, the model can leverage historical transcriptions much more effectively than entangled architectures.
- Text vs. Audio Context: The researchers found that transcription history (text) generally provided more value for error reduction than acoustic history (audio). However, the best results were consistently achieved by combining both modalities.
- Robustness to Decoding Errors: A common failure mode for context-aware ASR is the "hypothesis trap," where the model's own previous errors garble the context for future utterances. LongFNT proved remarkably robust, maintaining performance gains even when using its own previous (potentially incorrect) decodings as history.
- Effective Downsampling: For streaming audio, statistical downsampling (mean pooling) emerged as a highly effective strategy, providing a "sweet spot" that captured the general acoustic environment while drastically reducing computational requirements.
Conclusion
LongFNT and SLongFNT represent a significant step forward in long-content speech recognition. By leveraging the Factorized Neural Transducer framework, the authors successfully integrated multi-modal historical context into both offline and streaming ASR systems. While future work will address the memory costs of extremely long history buffers and explore more sophisticated attention-based retrieval mechanisms, this research provides a powerful foundation for building context-aware speech interfaces.
Summary updated