The CTC model has been widely applied to many application scenarios because of its simple structure, excellent performance, and fast inference speed. There are many peaks in the probability distribution predicted by the CTC models, and each peak represents a non-blank token. The recognition latency of CTC models can be reduced by encouraging the model to predict peaks earlier. Existing methods to reduce latency require modifying the transition relationship between tokens in the forward-backward algorithm, and the gradient calculation. Some of these methods even depend on the forced alignment results provided by other pretrained models. The above methods are complex to implement. To reduce the peak latency, we propose a simple and novel method named peak-first regularization, which utilizes a frame-wise knowledge distillation function to force the probability distribution of the CTC model to shift left along the time axis instead of directly modifying the calculation process of CTC loss and gradients. All the experiments are conducted on a Chinese Mandarin dataset AISHELL-1. We have verified the effectiveness of the proposed regularization on both streaming and non-streaming CTC models respectively. The results show that the proposed method can reduce the average peak latency by about 100 to 200 milliseconds with almost no degradation of recognition accuracy.
CTC-TTS: LLM-based dual-streaming text-to-speech with CTC alignment
School of Computer Science and Technology, Xinjiang University, China(新疆大学计算机科学与技术学院);Speech Processing and Machine Intelligence (SPMI) Lab, Tsinghua University, China(清华大学语音处理与机器智能实验室)
Dynamic Latency for CTC-Based Streaming Automatic Speech Recognition With Emformer
SenseTime Research(商汤科技研究院);Beijing University of Posts and Telecommunications(北京邮电大学)
流自动语音识别模型与非流模型相比性能较差,这是由于缺乏未来的上下文。为了提高流式模型的性能和降低计算复杂性,本文采用了一种帧级模型,该模型采用高效的扩充存储器Transformer块和动态延迟训练方法,用于流式自动语音识别。将长范围历史上下文存储到扩充存储体中,作为对编码器中使用的有限历史上下文的补充。键和值通过缓存机制缓存,并在下一个块中重用以减少计算。之后,提出了一种动态延迟训练方法,以获得更好的性能,并同时支持低和高延迟推理。我们的实验是在基准960 h LibriSpeech数据集上进行的。在平均延迟为640 ms的情况下,我们的模型与截断块式Transformer相比,在测试-clean上实现了6.0%的相对WER降低,在测试-other上实现了3.0%的相对WER降低。
FSR: Accelerating the Inference Process of Transducer-Based Models by Applying Fast-Skip Regularization
Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所);University of Chinese Academy of Sciences(中国科学院大学);CAS Center for Excellence in Brain Science and Intelligence Technology(中国科学院脑科学与智能技术卓越创新中心)