What Is Word Timestamp Error? Evaluating Boundary Accuracy
Word timestamps mark when each transcribed word starts and ends in audio. Learn how to distinguish boundary error from tolerance-based accuracy and evaluate recognition errors separately from alignment errors.
What Is Word Timestamp Error? Evaluating Boundary Accuracy
Word timestamp error measures how far predicted word start and end times differ from reference times. To compare systems with one score, first fix the boundary definition, tolerance, and word-matching rules. Timestamps emitted with ASR can combine recognition and timing errors, so separate them when the evaluation question requires it.
Decide which output you are evaluating
A forced aligner locates a supplied reference transcript in audio, so it evaluates timing under the condition that the text is correct. A timestamped ASR system outputs both its own words and their times, combining recognition and timing. A two-stage pipeline aligns ASR output afterward; if the recognizer supplies the wrong words, the aligner’s timing skill is not isolated. Do not mix these three results in one ranking.
Basic calculation: signed and absolute boundary error
For word i, let the reference start and end be sᵢ and eᵢ, and the predictions be ŝᵢ and êᵢ. Signed errors are δsᵢ = ŝᵢ − sᵢ and δeᵢ = êᵢ − eᵢ. Positive means late; negative means early. One possible mean absolute boundary error is MAE = (Σ|δsᵢ| + Σ|δeᵢ|)/(2N). State which boundaries are included and how words are matched.
The mean signed error can reveal systematic delay or early bias. Absolute error alone hides direction. If both boundaries are 150 ms early, the duration may be accurate even though the word appears 150 ms too soon in captions.
Boundary scores within a tolerance
Choose a tolerance τ, such as 100 ms, and count a matched boundary as correct when its absolute time error is at most τ. Precision, recall, and F1 can also account for missing or extra boundaries. A low MAE alone may miss a system that omits boundaries or invents them.
FA-Bench includes both utterance edges in its word-boundary score. A boundary is a hit only when the labels on both sides match the reference and the time is within tolerance. A deleted or substituted word therefore affects its adjacent boundaries. This is one benchmark design that answers different questions for timing-only aligners and ASR outputs with recognition errors. Check and document the benchmark’s actual matching rules.
Interval overlap and boundary definitions
You can also compare a reference and predicted word interval using intersection over union (IoU). IoU summarizes how much the intervals overlap relative to their union, but alone may not fully describe a location error when both boundaries shift together. Pair it with MAE or tolerance-based boundary F1.
Word boundaries in connected speech can be ambiguous because articulations blend. Record the annotation guideline and reference quality rather than assuming a human label is a single absolute truth. If the reference comes from automatic alignment, the result includes differences from that alignment and does not by itself establish accuracy against human-perceived boundaries.
A reproducible comparison checklist
Use the same audio and split; record noise and reverberation conditions separately.
Fix the reference transcript and normalization rules, including casing, punctuation, and contractions.
Specify word matching, deletion and insertion handling, and whether utterance edges count.
Record how reference boundaries were produced and reviewed, plus the languages and speech styles evaluated.
Report signed error and MAE for starts and ends, plus hit rate or F1 at stated tolerances. If useful, report interval IoU and word recognition accuracy separately.
Inspect results by recording quality, speaking rate, speaker, and utterance-edge position so averages do not hide failures.
In brief
Word timestamp evaluation measures boundary displacement and, in some setups, whether the words themselves were recognized correctly. Fix the output type, reference annotation, and boundary matching rules first; then examine absolute error, directional bias, and tolerance-based scores together. This helps distinguish timing bias from recognition omissions and protocol differences.
References
[FA-Bench paper: evaluation of forced-alignment and ASR word and phone timestamps](https://arxiv.org/abs/2609.32396)
[CrisperWhisper (Interspeech 2024): word timestamp estimation and forced alignment](https://www.isca-archive.org/interspeech_2024/zusag24_interspeech.pdf)