Skip to main content
QUICK REVIEW

[Paper Review] CAT: CRF-based ASR Toolkit

Keyu An, Hongyu Xiang|arXiv (Cornell University)|Nov 20, 2019
Speech Recognition and SynthesisComputer Science30 references10 citations
TL;DR

CAT is an open-source, CRF-based end-to-end automatic speech recognition toolkit that leverages discriminative training with CTC-inspired state topology to achieve state-of-the-art performance on Chinese (Aishell) and English (Switchboard) benchmarks with fewer parameters than competing end-to-end models. It integrates PyTorch for deep neural network training and supports flexible extensions like i-vector speaker adaptation and latency-controlled unidirectional inference.

ABSTRACT

In this paper, we present a new open source toolkit for automatic speech recognition (ASR), named CAT (CRF-based ASR Toolkit). A key feature of CAT is discriminative training in the framework of conditional random field (CRF), particularly with connectionist temporal classification (CTC) inspired state topology. CAT contains a full-fledged implementation of CTC-CRF and provides a complete workflow for CRF-based end-to-end speech recognition. Evaluation results on Chinese and English benchmarks such as Switchboard and Aishell show that CAT obtains the state-of-the-art results among existing end-to-end models with less parameters, and is competitive compared with the hybrid DNN-HMM models. Towards flexibility, we show that i-vector based speaker-adapted recognition and latency control mechanism can be explored easily and effectively in CAT. We hope CAT, especially the CRF-based framework and software, will be of broad interest to the community, and can be further explored and improved.

Motivation & Objective

  • To develop a flexible, open-source ASR toolkit that combines the accuracy of hybrid DNN-HMM models with the simplicity of end-to-end training.
  • To enable discriminative training within a conditional random field (CRF) framework using CTC-inspired state topology for improved sequence modeling.
  • To provide a complete, reproducible workflow for CRF-based end-to-end ASR with minimal setup overhead for researchers and practitioners.
  • To support practical deployment needs such as speaker adaptation and low-latency streaming inference through modular design and efficient implementation.
  • To demonstrate that CRF-based end-to-end models can match or exceed the performance of both standard end-to-end models and hybrid systems on major benchmarks.

Proposed method

  • Implements CTC-CRF with a full-fledged training pipeline using discriminative CRF training, where the gradient is computed as the difference between empirical and model expectations.
  • Optimizes the empirical expectation calculation using a modified version of warp-ctc for fast, parallel computation on GPU.
  • Computes the model expectation via CUDA C/C++ interface, inspired by Kaldi’s denominator forward-backward algorithm for efficiency.
  • Builds deep neural networks using PyTorch to leverage automatic differentiation and dynamic computation graphs.
  • Supports both bidirectional and unidirectional RNN architectures, with VGG and TDNN blocks to enable latency control in streaming scenarios.
  • Integrates i-vector based speaker adaptation and language model rescoring to enhance robustness and performance without breaking end-to-end training.

Experimental results

Research questions

  • RQ1Can a CRF-based end-to-end ASR system achieve state-of-the-art performance on major benchmarks while maintaining a simple, end-to-end training pipeline?
  • RQ2How does CTC-CRF training compare to traditional end-to-end models (e.g., CTC, attention, RNN-T) in terms of accuracy and parameter efficiency?
  • RQ3To what extent can CRF-based models support practical ASR requirements such as speaker adaptation and low-latency inference?
  • RQ4Can the integration of language models and i-vector adaptation be effectively combined within a CRF-based end-to-end framework?
  • RQ5How do architectural choices like VGG and TDNN layers affect the performance of unidirectional, latency-controlled models in streaming ASR?

Key findings

  • On the Aishell Mandarin benchmark, CAT achieved a character error rate (CER) of 6.34% with a mono-phone unit and 3-gram LM, outperforming other end-to-end models and even the Kaldi-chain hybrid system (7.43%).
  • On Switchboard, CAT’s mono-phone system achieved a WER of 10.0% on Switchboard and 19.2% on Callhome, closely matching the bi-phone EE-LF-MMI system (9.8% and 19.3%) and significantly outperforming other end-to-end models.
  • With i-vector speaker adaptation, CAT’s WER on Switchboard dropped to 9.7% (SW) and 18.8% (CH), demonstrating strong compatibility with classical speech recognition techniques.
  • Using RNNLM rescoring, CAT further reduced WER to 8.8% (SW) and 17.4% (CH), showing that language model integration enhances performance without compromising the end-to-end nature.
  • Latency control experiments showed that unidirectional models with VGG and TDNN blocks achieved 16.4% WER on Switchboard Eval2000, outperforming other online bidirectional models and approaching offline performance.
  • The model maintained strong performance with minimal parameter increase when transitioning from bidirectional to unidirectional inference, demonstrating architectural efficiency for streaming applications.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.