Decoder-only Architecture for Speech Recognition with CTC Prompts and Text Data Augmentation

Emiru Tsunoo, Hayato Futami, Yosuke Kashiwagi, Siddhant Arora, Shinji Watanabe · DOI

Introduction

Standard end-to-end Automatic Speech Recognition (ASR) models typically rely on encoder-decoder architectures with cross-attention layers. While effective, these models face challenges in data scarcity—requiring expensive paired audio-transcript data—and architectural rigidity, as the decoder is not inherently a language model (LM). This makes integrating abundant text-only data difficult, often necessitating complex workarounds like shallow fusion.

This research, a collaboration between Sony Group Corporation and Carnegie Mellon University, proposes a streamlined "decoder-only" ASR architecture. By treating audio as a starting prompt for a standard language model, the system bridges the gap between traditional speech models and the architectures popularized by Large Language Models (LLMs).

Methodology

The proposed system utilizes a decoder-only architecture fed by compressed audio "prompts."

The proposed Decoder-only ASR architecture, showing the interaction between the Speech domain (CTC-based encoder) and the Linguistic domain (decoder).

CTC Prompts and Compression

To integrate audio into a text-only decoder, audio signals are first processed through a Conformer encoder. A Connectionist Temporal Classification (CTC) module predicts initial tokens. Crucially, the system removes all "blank" frames, compressing audio features to approximately 15% of their original length. These compressed features serve as a prefix or "prompt" for the decoder.

Unified Decoder-only Architecture

By eliminating standard source-target attention layers, the decoder becomes a pure autoregressive transformer. It treats audio prompts and preceding text tokens identically within its embedding space. This design allows the model to function as a native language model that refines CTC predictions.

Text Data Augmentation and Joint Training

The model is trained using a multi-task loss function combining ASR (paired data) and LM (text-only data) objectives. During text-only training, a "pseudo-prompt" strategy is employed, providing the model with ground-truth text embeddings to simulate audio prompts. This allows the decoder to learn linguistic patterns directly from massive text corpora.

Experimental Setup

The models were evaluated on several benchmarks:

  • LibriSpeech: The 100-hour "clean" subset was used for paired training, supplemented by transcriptions from the full 960-hour set for text augmentation.
  • Switchboard: Paired training data was augmented with text-only data from the Fisher corpus.
  • Evaluation Metrics: Performance was measured using Word Error Rate (WER) and Real-Time Factor (RTF) to assess accuracy and inference speed.

Results and Analysis

The decoder-only architecture demonstrated significant improvements in both accuracy and efficiency compared to traditional baselines.

Performance comparison on the LibriSpeech 100h task. The proposed Decoder-only models (D1-D3) show superior WER and significantly lower RTF compared to baselines.

On the LibriSpeech 100h task, the proposed model (D3) achieved a WER of 7.0% on the "test-clean" set, outperforming the standard Encoder-Decoder baseline (8.9%) and the RNN-Transducer (7.5%). Notably, the inference speed nearly doubled, with an RTF of 0.29 compared to 0.53 for the baseline.

Similar success was observed on the Switchboard dataset, where the model achieved a 7.3% WER, improving upon the 8.1% baseline. Qualitative analysis revealed that the decoder effectively acts as a refiner, correcting local phonetic errors made by the CTC module (e.g., correcting "council" to "castle") using its learned linguistic context.

Conclusion

The decoder-only ASR architecture offers a powerful alternative to traditional encoder-decoder models, particularly in low-resource scenarios. By leveraging CTC-based compression and native LM integration, the model achieves higher accuracy with half the computational cost. Future work will explore scaling this approach to larger pre-trained decoders and adapting the architecture for real-time streaming applications.

Summary updated

BibTeX
@misc{tsunoo2023decoder,
  author = {Emiru Tsunoo and Hayato Futami and Yosuke Kashiwagi and Siddhant Arora and Shinji Watanabe},
  title = {{Decoder-only Architecture for Speech Recognition with CTC Prompts and Text Data Augmentation}},
  year = {2023},
  eprint = {2309.08876},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2309.08876},
}
Figure