In the design of modern speech and translation systems, there is a fundamental tension between speed and accuracy. Streaming models are the sprinters: they process input in real-time with minimal latency, but because they cannot see the future, they often make mistakes that only become obvious once a sentence is finished. Non-streaming models are the marathoners: they wait for the entire sequence to complete, leveraging global context to achieve superior accuracy, but they are useless for interactive, real-time applications.
To resolve this, researchers have converged on a "two-pass" or "cascaded" architecture. The core intuition is simple: finish first, perfect later. By stacking a high-accuracy, non-causal layer on top of a low-latency, causal one, a single model can provide immediate feedback while simultaneously refining its own work.
The Causal Foundation: Streaming with Blindspots
The first stage of these systems is a causal encoder. In a causal system, the representation of the current moment depends only on the past and present. This is essential for streaming applications like live captioning, where the system must emit words as they are spoken.
However, as Arun Narayanan and colleagues note in Cascaded Encoders for Unifying Streaming and Non-Streaming ASR, this "discourse blindness" limits performance. Without look-ahead context, the model cannot use the end of a sentence to disambiguate a homophone at the beginning. To solve this, the causal encoder acts as a "fast" pass, providing a preliminary hypothesis that serves as the foundation for further refinement.
The Non-Causal Refinement: Deliberation and Look-Ahead
The second stage—often called a deliberation model or a non-causal encoder—acts as a second pair of eyes. Once the system has a bit more time (or the full utterance is complete), it re-processes the information using a broader context window.
This refinement happens in two primary ways:
- Cascaded Encoding: A non-causal encoder is stacked directly on top of the causal one. As described by Bo Li in A Better and Faster End-to-End Model for Streaming ASR, the non-causal layer processes the high-level features already extracted by the streaming layer. This allows the model to "look ahead" by several seconds to correct errors without re-calculating everything from scratch.
- Two-Pass Decoding: The system generates a list of top candidates using a fast method (like Connectionist Temporal Classification, or CTC) and then uses a more complex attention-based decoder to "rescore" them. Di Wu 0061 and the team behind the WeNet toolkit popularized this via the U2 framework, which uses a shared encoder to support both modes simultaneously.
Why It Works: Shared Representations
The breakthrough in this field is the move away from maintaining two separate models for streaming and offline tasks. Instead, researchers like Zhuoyuan Yao have shown that shared encoders are more efficient and often more accurate.
By training a single model to handle both causal and non-causal paths, the non-streaming pass benefits from the robust feature extraction of the streaming pass. This unified approach, as seen in Universal ASR by ShiLiang Zhang, allows developers to deploy one model that adapts its latency and accuracy on the fly based on the available computational budget or user needs.
Beyond Speech: A General Pattern of Refinement
While most prominent in Automatic Speech Recognition (ASR), this "draft and refine" pattern appears across other domains:
- Machine Translation: Hao Xiong and others in Modeling Coherence for Discourse Neural Machine Translation use a two-pass decoder where a "Reward Teacher" encourages the second pass to fix consistency errors in the initial draft.
- Generative Modeling: In the realm of Large Language Models, Runchu Tian introduced TOLERATOR, which uses token-level cross-validation to let a model "change its mind" and refine a rough parallel draft.
- Speaker Attribution: Mohan Shi demonstrated in CASA-ASR that identifying who spoke is much more accurate when the system can reference the entire completed transcript rather than just the local audio segment.
Conclusion
The shift toward cascaded and two-pass architectures represents a move toward asymmetric processing. By acknowledging that the requirements for "immediate response" and "final truth" are different, researchers have built systems that provide the best of both worlds: the responsiveness of a streaming system with the contextual intelligence of an offline one. As Ke Hu and Tara N. Sainath demonstrate, this deliberation process is not just an add-on; it is a fundamental mechanism for closing the gap between machine performance and human-like understanding.