Word Error Rate (WER) Measure

From GM-RKB
(Redirected from Word Error Rate (WER))
Jump to navigation Jump to search

A Word Error Rate (WER) Measure is an error rate measure that is a performance metric for evaluating natural language processing systems.



References

2020

2018

$WER = \dfrac{I + D + S}{N} \times 100$.

(1)
To obtain a reliable estimate of the WER, at least two hours of test data are required for a typical LVCSR system.

2017

  • (Wikipedia, 2017) ⇒ https://en.wikipedia.org/wiki/word_error_rate Retrieved:2017-4-7.
    • Word error rate (WER) is a common metric of the performance of a speech recognition or machine translation system.

      The general difficulty of measuring performance lies in the fact that the recognized word sequence can have a different length from the reference word sequence (supposedly the correct one). The WER is derived from the Levenshtein distance, working at the word level instead of the phoneme level. The WER is a valuable tool for comparing different systems as well as for evaluating improvements within one system. This kind of measurement, however, provides no details on the nature of translation errors and further work is therefore required to identify the main source(s) of error and to focus any research effort.

      This problem is solved by first aligning the recognized word sequence with the reference (spoken) word sequence using dynamic string alignment. Examination of this issue is seen through a theory called the power law that states the correlation between perplexity and word error rate. Word error rate can then be computed as:

      [math]\displaystyle{ \mathit{WER} = \frac{S+D+I}{N} = \frac{S+D+I}{S+D+C} }[/math]

      where

      • S is the number of substitutions,
      • D is the number of deletions,
      • I is the number of insertions,
      • C is the number of the corrects,
      • N is the number of words in the reference (N=S+D+C)
    • The intuition behind 'deletion' and 'insertion' is how to get from the reference to the hypothesis. So if we have the reference "This is wikipedia" and hypothesis "This — wikipedia", we call it a deletion.

      When reporting the performance of a speech recognition system, sometimes word accuracy (WAcc) is used instead:

      [math]\displaystyle{ \mathit{WAcc} = 1 - \mathit{WER} = \frac{N-S-D-I}{N} = \frac{H-I}{N} }[/math] where

      • H is N-(S+D), the number of correctly recognized words.
    • IF I=0 then WAcc will be equivalent to Recall (information retrieval) a ratio of correctly recognized words 'H' to Total number of words in reference 'N'.

      Note that since N is the number of words in the reference, the word error rate can be larger than 1.0, and thus, the word accuracy can be smaller than 0.0. This problem can be overcome by using the hit rate with respect to the total number of test-reference match pairs found by the matching process used in scoring, (H+S+D+I), rather than with respect to the number of reference words, (H+S+D). This gives the match-accuracy rate as MAcc = H/(H+S+D+I) and match error rate, MER = 1-MAcc = (S+D+I)/(H+S+D+I). [1] WAcc and WER as defined above are, however, the de facto standard most often used in speech recognition.

2007