Blockwise Streaming Transformer for Spoken Language Understanding and Simultaneous Speech Translation

Keqi Deng, Shinji Watanabe, Jiatong Shi, Siddhant Arora

Introduction

In the field of speech processing, a persistent tension exists between accuracy and latency. State-of-the-art "offline" models achieve high performance by processing an entire utterance at once, but this approach introduces significant delays that are impractical for real-time applications like live captioning, simultaneous interpretation, or natural human-computer interaction. Conversely, "streaming" models process audio as it arrives, but they often struggle with contextual dependencies and alignment issues.

Researchers from the University of Chinese Academy of Sciences and Carnegie Mellon University have introduced a novel framework to bridge this gap. By adapting the Blockwise Streaming Transformer, the authors demonstrate that it is possible to achieve near-offline performance in two complex tasks: Spoken Language Understanding (SLU) and Simultaneous Speech Translation (SST).

The Blockwise Streaming Framework

The core of the proposed system is a Transformer architecture that processes audio in fixed-size chunks, or blocks. To overcome the inherent limitations of local processing—where a model might "forget" information from previous blocks—the researchers implemented a Contextual Block Processing mechanism. This involves a context inheritance strategy where each block passes a summary of its information to the subsequent block, allowing the model to maintain long-term dependencies even without access to the full future audio stream.

Innovations in Spoken Language Understanding (SLU)

SLU involves extracting meaning (intents and slots) directly from speech. A major challenge here is that semantic intent (e.g., "increase volume") does not align perfectly with specific audio frames. To address this, the authors proposed an ASR-based Intermediate Loss.

This approach is based on the philosophy that a model should learn to recognize words before it attempts to understand intent. By adding an auxiliary Automatic Speech Recognition (ASR) task to the middle layers of the encoder, the lower layers are forced to focus on phonetic and word-level details. The higher layers then build upon these representations to focus on global semantic intent. This hierarchical learning strategy prevents the model from becoming overwhelmed by the abstraction of intent classification early in the processing pipeline.

Advancements in Simultaneous Speech Translation (SST)

Simultaneous translation is particularly difficult because different languages often have different word orders (reordering). Streaming models must decide when to wait for more context and when to begin translating. The authors introduced two key features for SST:

  1. Cross-Lingual Encoding (CLE): They added a Connectionist Temporal Classification (CTC) branch optimized for the target language. While CTC is traditionally used for monotonic tasks (where input and output follow the same order), the researchers found that the Transformer's context inheritance allows it to handle the necessary reordering for language pairs like English and German.
  2. Joint Decoding: To solve the "stopping problem"—where streaming models struggle to know when to end a sentence—the system uses a joint CTC/attention decoding process. This ensures the model stays grounded in the actual audio content, reducing hallucinations and premature cut-offs.

Experimental Results

The framework was evaluated on four major benchmarks: FSC and SLURP for SLU, and Fisher-CallHome Spanish and MuST-C En-De for SST.

Spoken Language Understanding

On the Fluent Speech Commands (FSC) dataset, the streaming model achieved 96.3% intent accuracy. This is a significant result, as it nears the 99.2% accuracy of high-latency offline Transformers. The intermediate ASR loss was a critical component, providing a consistent 1–2% accuracy boost across various block sizes.

Simultaneous Speech Translation

On the MuST-C English-to-German task, the proposed method significantly outperformed the popular "wait-k" streaming baseline. The system achieved a 21.6 BLEU score, compared to just 16.1 for the baseline. These gains were achieved with an Average Lagging (AL) of approximately 2.5 to 3 seconds, a latency range that is highly viable for real-world simultaneous translation.

Conclusion and Future Directions

This research demonstrates that blockwise processing, when combined with context inheritance and auxiliary losses, can effectively handle the complexities of speech understanding and translation in real-time. The "words first, intent second" approach for SLU and the use of CTC for cross-lingual encoding represent significant steps forward for streaming architectures.

However, limitations remain. The authors note that Cross-Lingual Encoding may still face challenges with language pairs requiring extreme reordering (such as English to Japanese) due to CTC's inherent monotonic bias. Future work will likely explore more flexible "read/write" policies that move beyond fixed block sizes to further optimize the trade-off between latency and linguistic accuracy.

Summary updated

BibTeX
@inproceedings{deng2022blockwise,
  author = {Keqi Deng and Shinji Watanabe and Jiatong Shi and Siddhant Arora},
  title = {{Blockwise Streaming Transformer for Spoken Language Understanding and Simultaneous Speech Translation}},
  booktitle = {Interspeech},
  year = {2022},
  doi = {10.21437/interspeech.2022-933},
}
Figure