Whisper Has an Internal Word Aligner

Sung-Lin Yeh, Yen Meng, Hao Tang
9/12/2025
eess.AScs.CL

No confident code implementation found for this paper.

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 ms.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{yeh2025whisper,
  title  = {Whisper Has an Internal Word Aligner},
  author = {Sung-Lin Yeh and Yen Meng and Hao Tang},
  year   = {2025},
  eprint = {2509.09987},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2509.09987v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2509.09987.svg)](https://codeofpaper.com/paper/2509.09987)

Discussion