(S)-carnitine 3-dehydrogenase

From formulasearchengine
Revision as of 02:49, 27 May 2013 by en>Anomalocaris (superscripts; italics)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Katz back-off is a generative n-gram language model that estimates the conditional probability of a word given its history in the n-gram. It accomplishes this estimation by "backing-off" to models with smaller histories under certain conditions. By doing so, the model with the most reliable information about a given history is used to provide the better results.

The method

The equation for Katz's back-off model is: [1]

Pbo(wi|win+1wi1)={dwin+1wiC(win+1...wi1wi)C(win+1wi1) if C(win+1wi)>kαwin+1wi1Pbo(wi|win+2wi1) otherwise

where,

C(x) = number of times x appears in training
wi = ith word in the given context

Essentially, this means that if the n-gram has been seen more than k times in training, the conditional probability of a word given its history is proportional to the maximum likelihood estimate of that n-gram. Otherwise, the conditional probability is equal to the back-off conditional probability of the "(n-1)-gram".

The more difficult part is determining the values for k, d and α.

k is the least important of the parameters. It is usually chosen to be 0. However, empirical testing may find better values for k.

d is typically the amount of discounting found by Good-Turing estimation. In other words, if Good-Turing estimates C as C*, then d=C*C

To compute α, it is useful to first define a quantity β, which is the left-over probability mass for the (n-1)-gram:

βwin+1wi1=1{wi:C(win+1wi)>k}dwin+1wiC(win+1...wi1wi)C(win+1wi1)

Then the back-off weight, α, is computed as follows:

αwin+1wi1=βwin+1wi1{wi:C(win+1wi)k}Pbo(wi|win+2wi1)

Discussion

This model generally works well in practice, but fails in some circumstances. For example, suppose that the bigram "a b" and the unigram "c" are very common, but the trigram "a b c" is never seen. Since "a b" and "c" are very common, it may be significant (that is, not due to chance) that "a b c" is never seen. Perhaps it's not allowed by the rules of the grammar. Instead of assigning a more appropriate value of 0, the method will back off to the bigram and estimate P(c | b), which may be too high.[2]

References

  1. Katz, S. M. (1987). Estimation of probabilities from sparse data for the language model component of a speech recogniser. IEEE Transactions on Acoustics, Speech, and Signal Processing, 35(3), 400–401.
  2. Manning and Schütze, Foundations of Statistical Natural Language Processing, MIT Press (1999), ISBN 978-0-262-13360-9.