Whisper Has an Internal Word Aligner
Authors:
- 6 December 2025
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 1-7
Abstract
There is an increasing interest in obtaining accurate word-level timestamps from strong automatic speech recognizers, in particular Whisper. Existing approaches either require additional training or are simply not competitive. The evaluation in prior work is also relatively loose, typically using a tolerance of more than 200 ms. In this work, we discover attention heads in Whisper that capture accurate word alignments and are distinctively different from those that do not. Moreover, we find that using characters produces finer and more accurate alignments than using wordpieces. Based on these findings, we propose an unsupervised approach to extracting word alignments by filtering attention heads while teacher forcing Whisper with characters. Our approach not only does not require training but also produces word alignments that are more accurate than prior work under a stricter tolerance between 20 ms and $100 \mathrm{~ms}$. 11The source code is available at https://github.com/30stomercury/whisper-char-alignment
Keywords
All Related Versions
This publication has 32 references indexed in Scilit:
- The Conformer Encoder May Reverse the Time Dimension2025
- Less Peaky and More Accurate CTC Forced Alignment by Label Priors2024
- Improvements to Prosodic Alignment for Automatic Dubbing2021
- On The Usefulness of Self-Attention for Automatic Speech Recognition with Transformers2021
- CTC-Segmentation of Large Corpora for German End-to-End Speech Recognition2020
- Joint Phoneme Alignment and Text-Informed Speech Separation on Highly Corrupted Speech2020
- State-of-the-Art Speech Recognition with Sequence-to-Sequence Models2018
- Listen, attend and spell: A neural network for large vocabulary conversational speech recognition2016
- Librispeech: An ASR corpus based on public domain audio books2015
- Recognition and understanding of meetings the AMI and AMIDA projects2007