[Paper Review] CIF: Continuous Integrate-and-Fire for End-to-End Speech Recognition
This paper proposes Continuous Integrate-and-Fire (CIF), a novel soft and monotonic attention mechanism for end-to-end speech recognition that mimics spiking neural network dynamics. By continuously integrating acoustic features and firing at detected boundaries, CIF enables efficient, online inference and precise acoustic boundary localization, achieving a new state-of-the-art WER of 2.86% on Librispeech test-clean and 23.09% CER on HKUST Mandarin telephone ASR.
In this paper, we propose a novel soft and monotonic alignment mechanism used for sequence transduction. It is inspired by the integrate-and-fire model in spiking neural networks and employed in the encoder-decoder framework consists of continuous functions, thus being named as: Continuous Integrate-and-Fire (CIF). Applied to the ASR task, CIF not only shows a concise calculation, but also supports online recognition and acoustic boundary positioning, thus suitable for various ASR scenarios. Several support strategies are also proposed to alleviate the unique problems of CIF-based model. With the joint action of these methods, the CIF-based model shows competitive performance. Notably, it achieves a word error rate (WER) of 2.86% on the test-clean of Librispeech and creates new state-of-the-art result on Mandarin telephone ASR benchmark.
Motivation & Objective
- To address the limitations of standard attention mechanisms in end-to-end ASR, such as lack of online inference support and frame-synchronous alignment.
- To develop a soft, monotonic alignment mechanism that supports real-time streaming and acoustic boundary detection.
- To design a differentiable, continuous-time alternative to discrete integrate-and-fire spiking neurons for sequence transduction.
- To improve model efficiency and alignment accuracy through novel supporting strategies like scaling, quantity loss, and tail handling.
Proposed method
- CIF models a continuous integration of encoder representations over time, where the membrane potential accumulates based on input weights and hidden states.
- When the integrated value reaches a threshold, a 'spike' is generated, triggering the output of acoustic information for the current label and splitting it for the next label.
- The mechanism uses continuous functions to simulate the integrate-and-fire process, enabling backpropagation through time.
- A scaling strategy adjusts label-target length mismatch during cross-entropy training.
- A quantity loss is introduced to supervise the predicted number of output tokens.
- A tail handling method processes residual information at the end of the sequence to improve alignment accuracy.

Experimental results
Research questions
- RQ1Can a differentiable, continuous-time attention mechanism be designed to support online speech recognition while maintaining high accuracy?
- RQ2How can the integrate-and-fire principle from spiking neural networks be adapted to end-to-end ASR with backpropagation?
- RQ3What auxiliary training strategies are necessary to stabilize and improve the performance of a CIF-based model?
- RQ4Does CIF outperform existing monotonic and soft attention mechanisms in both automatic speech recognition and acoustic boundary detection?
- RQ5Can CIF generalize across diverse speech recognition tasks, including read and spontaneous speech?
Key findings
- The CIF-based model achieves a new state-of-the-art WER of 2.86% on the Librispeech test-clean set, surpassing previous methods.
- On the AISHELL-2 Mandarin read-speech benchmark, CIF achieves 6.17% CER on test_android, significantly improving over the Chain-TDNN baseline of 9.59%.
- On the more challenging HKUST Mandarin telephone conversation dataset, CIF achieves 23.09% CER, setting a new SOTA and outperforming Transformer and Joint CTC-attention models.
- Ablation studies show that the quantity loss is the most critical component, with its removal causing the largest performance drop and training instability.
- The model supports online inference via chunk-hopping, achieving 3.96% WER on test-clean with streaming capability, demonstrating practical applicability.
- The auto-regressive decoder is most critical in low-boundary-clarity scenarios, but remains effective in high-clarity settings like Mandarin.

Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.