Linear Script Representations in Speech Foundation Models Enable Zero-Shot Transliteration
About
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.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Script confusion mitigation | FLEURS sr-latn (test) | Accuracy (Normalized Edit Similarity)96 | 21 | |
| Script confusion mitigation | FLEURS sr-cyrl (test) | Normalized Edit Similarity0.94 | 21 | |
| Script confusion mitigation | FLEURS zh-trad (test) | Accuracy91 | 21 | |
| Script confusion mitigation | FLEURS zh-sim (test) | Normalized Edit Similarity Accuracy93 | 21 | |
| Cyrillization | FLEURS Hindi (test) | Accuracy19 | 4 | |
| Cyrillization | FLEURS Greek (test) | Accuracy15 | 4 | |
| Cyrillization | FLEURS Japanese (test) | Accuracy5 | 4 | |
| Cyrillization | FLEURS Korean (test) | Accuracy17 | 4 | |
| Cyrillization | FLEURS Italian (test) | Accuracy43 | 4 | |
| Romanization | FLEURS Hindi (test) | Accuracy71 | 4 |