NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Breaking Through the Spike: Spike Window Decoding for Accelerated and Precise Automatic Speech Recognition

Wei Zhang, Tian-Hao Zhang, Chao Luo, Hui Zhou, Chao Yang, Xinyuan Qian, Xu-Cheng Yin

TL;DR

This paper introduces "Spike Window Decoding" (SWD), a novel method to accelerate automatic speech recognition (ASR) by intelligently processing CTC outputs. SWD significantly speeds up inference by focusing on "spikes" (non-blank frames) and their immediate neighbors in the CTC output, achieving state-of-the-art accuracy with up to 2.17x faster decoding.

What Problem Does This Paper Address?

Modern end-to-end (E2E) ASR systems, while powerful, often struggle with inference speed when integrating language models using Weighted Finite-State Transducers (WFSTs). The standard approach involves a frame-by-frame search through CTC posteriors, which is computationally intensive and slow. This paper addresses the bottleneck of WFST decoding by proposing a more efficient way to leverage CTC outputs, aiming to maintain high accuracy while drastically reducing decoding time.

Methods

The core of this work is the Spike Window Decoding (SWD) algorithm. The authors observe that the "spikes" in CTC outputs (frames with high probabilities for non-blank tokens) and their adjacent frames contain crucial semantic information. Instead of processing every single frame, SWD focuses on these "spike windows."

Here's a breakdown of the method:

  • Spike Identification: The algorithm first identifies frames with non-blank CTC posteriors (the "spikes").
  • Windowing: It then extracts a "window" of frames around each spike. This window can include frames to the left, right, or both, controlled by a parameter w.
  • WFST Integration: This sequence of windowed frames is then fed into the WFST for decoding. The key insight is that the number of frames processed by the WFST becomes linearly proportional to the number of spikes, not the total number of frames.
  • TLG Graph Optimization: The paper also introduces a "weight pushing" operation during the construction of the WFST graph (TLG graph). This optimization helps prune low-probability paths earlier, further improving search efficiency.

Datasets

The proposed method was evaluated on two datasets:

  • AISHELL-1: A publicly available Mandarin speech dataset (178 hours).
  • In-House Dataset: A large-scale Mandarin dataset with approximately 43,000 hours of labeled speech data for training and 20 hours for testing across various vertical scenes.

Key Insights and Ideas

  • Adjacent frames to CTC spikes are semantically rich: The paper's central hypothesis is that frames immediately surrounding non-blank CTC "spikes" carry vital information that is often lost or diluted when processing all frames.
  • Selective processing is key: Instead of brute-force frame-by-frame decoding, a targeted approach focusing on these "spike windows" can achieve comparable or even better accuracy while dramatically improving speed.
  • Blank frames are not entirely useless: Unlike some methods that discard all blank frames, SWD leverages the information in blank frames adjacent to spikes, suggesting a nuanced role for these frames.
  • Window size matters, but not excessively: Experiments show that even a small window (e.g., just the immediate left and right neighbors) is often sufficient, and expanding the window doesn't always yield proportional gains in accuracy.

Key Results

The SWD algorithm demonstrated significant improvements:

  • Accuracy: Achieved state-of-the-art (SOTA) recognition accuracy on both AISHELL-1 and the In-House dataset. For instance, on AISHELL-1, it achieved a Character Error Rate (CER) of 3.69% (with a {0, ±1, ±2} window) compared to the baseline's 4.19%. On the In-House dataset, it achieved 2.09% CER with a {0, ±1} window, outperforming the dense baseline.
  • Speed: Significantly accelerated decoding speed. The paper reports speedups of 1.76x on AISHELL-1 and 2.17x on the In-House dataset compared to the baseline method.

Limitations and Future Work

  • Limitations: While the paper shows impressive results, it acknowledges that the SWD algorithm's effectiveness is based on the "spike property" of CTC outputs. The exact theoretical underpinnings of why these adjacent frames are so informative could be further explored. The paper also notes that in cases where non-blank spikes are very close together, the SWD might not be as drastically faster than dense methods, though it would still be smaller.
  • Future Work: The authors propose to formalize the semantic implications of blank frames and provide a stronger theoretical foundation for speech recognition systems that use CTC as an objective function during decoding. They also suggest exploring if arbitrary insertion of blank units near non-blank spikes could achieve accuracy comparable to dense frame selection, hinting at further optimization possibilities.

Summary updated

BibTeX
@inproceedings{zhang2025breaking,
  author = {Wei Zhang and Tian-Hao Zhang and Chao Luo and Hui Zhou and Chao Yang and Xinyuan Qian and Xu-Cheng Yin},
  title = {{Breaking Through the Spike: Spike Window Decoding for Accelerated and Precise Automatic Speech Recognition}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2025},
  url = {https://openreview.net/forum?id=CgvkxDeqho},
}
Figure