arXiv:2610.34623cs.AIOct 2026

Manuscript Offprint

arXiv:2610.34623

One Mean Log-Mel Vector per Phoneme: Simple and Fast Text Injection for Speech Recognition

Albert Zeyer, Davyd Naveriani, Dorian Koch, Ralf Schlüter, Hermann Ney

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original. This text is shared under the same licence.

ABSTRACT

Text injection trains speech recognition models on unpaired text alongside paired audio. We feed the speech encoder synthetic input derived from text so the whole model learns from it. Previously, we synthesized this input with a frozen text-to-speech (TTS) model. Here, a simple lookup table replaces the TTS model: a mean log-mel vector (or one-hot encoding) per phoneme, repeated for a random duration drawn from alignment statistics, with silence between words. Training is 1.8 times faster than with the neural TTS, achieving comparable word error rates. With an external language model, our system reaches 1.36/2.90/1.52/3.24% WER on LibriSpeech {dev,test}-{clean,other}, to our knowledge state-of-the-art using only LibriSpeech paired data, text, and lexicon. We analyze components of synthetic input (durations, acoustic features), compare different HMM aligners, evaluate scaling on the 25 000 h Loquacious dataset, and show that full-encoder injection yields strong relative improvements compared to partial-encoder and decoder methods. The code of the whole pipeline behind every number in this paper is public: github.com/rwth-i6/returnn-experiments/tree/master/2026-text-injection

Index Terms— speech recognition, text injection, unpaired text, pseudo speech, forced alignment

1. INTRODUCTION

Text without audio exists in far larger amounts than transcribed audio. Text corpora for language models exceed 101310^{13} words [12], whereas the largest weakly transcribed speech collection (680 000 h) [13] contains fewer than 101010^{10} words. Even at industrial scale, transcribed speech is a small fraction of the text: 90 000 h (about 10910^{9} words) against 28 billion text sentences [14]. On the scale of this paper, the 960 h of LibriSpeech carry 9.4 M words, while its text corpus has 800 M [15]. Traditionally, text is used for an external language model (LM) in search [16]. Text injection directly trains the end-to-end model on unpaired text [3, 8, 9]. We inject synthetic input derived from text at the speech encoder input, training the whole model. Previously [17], a frozen TTS model synthesized this input [18], yielding consistent gains but requiring TTS pretraining and dominating training time. Here, a per-phoneme log-mel table replaces the TTS model. The input enters where audio features enter, leaving the model, losses, and search unchanged.

Text injection integrates unpaired text into ASR via decoder-side LMs [9, 19–22] or encoder-side modality matching, either explicit via specific alignment losses [2, 23–26] or implicit via shared

Figure

used text : audio ratio

ours, LS 960 h

ours, Loquacious

ours, LS GlowTTS

ours, LS EncL24-DecL8

ours, LS +LM

ours, LS CTC greedy

tts4pretrain'21, LS 960 h (+SSL)

FastInject'24+, LS 100 h

Rossenbach'20 TTS, LS 960 h

Textogram'22, telephony, transcripts

D'Alterio'23, 120k h, transcripts

ours, LS emb. after layer 4

ours, LS emb. after layer 8

J-TAED'25+, LS 960 h

JOIST'23 full-ctx., 300M utt

JOIST'23 streaming, 650M utt

Peyser'23 JOIST, 200k h

CTI'24, 490k h

CJIT'23 (JOIST + JEIT), 650M utt

CJST'25, LS 960 h

JEIT'23, 650M utt

Fig. 1. Relative WER reduction vs. used text : audio ratio: ours (Tables 5 and 8) and the literature with in-domain text, against the same model without text [1–11]. Color: text enters the whole encoder (blue), a shared upper encoder only (orange), or the decoder only (purple); +: explicit modality-matching loss. WER on test-other, Loquacious test, or the general voice-search set.

dynamics [6, 8, 27–32]. While implicit matching generally outperforms explicit matching, TTS synthesis significantly outperforms both [5, 7, 17, 21, 22]. However, neural TTS introduces severe system complexity and computational expense. To overcome this, we propose a simplified synthetic acoustic approach, replacing the neural TTS with a simple lookup table, allowing us to easily scale down durations and accelerate ASR training.

The closest approach is the textogram family [1, 4, 6, 7, 32, 33], where text enters the encoder as a symbol sequence, often masked. Our input is instead acoustic: a mean log-mel vector per phoneme, held for a duration drawn from alignment statistics. It takes the audio path with SpecAugment, requiring no text encoder, masking, or extra losses. Alignment-derived durations perform best (Section 3.2), though simpler character textograms (fixed 4 frames) still retain 60 % of our gain (Table 4). Previous textogram results report large relative gains but rely on weak baselines (5.5–28 % WER) or out-of-domain text [1, 4, 6, 7, 32, 33]. Only [1] shares our strict condition of using solely matched-domain text from scratch.

Our contributions are fourfold: (1) replacing neural TTS with a synthesizer-free lookup table, accelerating training by 1.8×1.8\times; (2) achieving a 12% relative WER reduction on LibriSpeech, reaching state-of-the-art for the constrained data case; (3) demonstrating

Albert Zeyer was at AppTek during part of this work; now at NVIDIA.

through ablations and textogram comparisons that simple duration and acoustic models suffice for strong performance; and (4) comparing across the literature, we show that full-encoder injection yields highly competitive relative improvements over partial-encoder or decoder methods.

References (41)