Linear Script Representations in Speech Foundation Models Enable Zero-Shot Transliteration
Ryan Soh-Eun Shim, Kwanghee Choi, Kalvin Chang, Ming-Hao Hsu, Florian Eichin, Zhizheng Wu, Alane Suhr, Michael A. Hedderich, David Harwath, David R. Mortensen, Barbara Plank
TL;DR
This work addresses script non-determinism in multilingual speech recognition by showing that script information is linearly encoded in the decoder activations of Whisper. It introduces Script Steering, a training-free method that learns per-layer script directions from activation differences and injects them at inference to control output script, enabling transliteration even in novel language-script pairings. The approach yields robust improvements across model sizes, demonstrates zero-shot generalization and one-shot efficiency, and reveals that script-based transliteration tends to be phonetic rather than purely orthographic. The findings suggest practical benefits for post-hoc script control in cross-script contexts and invite further exploration of cross-script alignment dynamics during training and across more transliteration directions.
Abstract
Multilingual speech foundation models such as Whisper are trained on web-scale data, where data for each language consists of a myriad of regional varieties. However, different regional varieties often employ different scripts to write the same language, rendering speech recognition output also subject to non-determinism in the output script. To mitigate this problem, we show that script is linearly encoded in the activation space of multilingual speech models, and that modifying activations at inference time enables direct control over output script. We find the addition of such script vectors to activations at test time can induce script change even in unconventional language-script pairings (e.g. Italian in Cyrillic and Japanese in Latin script). We apply this approach to inducing post-hoc control over the script of speech recognition output, where we observe competitive performance across all model sizes of Whisper.
