What is a log-bilinear model?
A log-bilinear Language Model (LM) computes the probability of the next word \(w_i\) given the previous words (context) as follows:
Here \(\phi(w)\) is a word-vector and c is the context for \(w_{i}\) computed as
Thus, the log-bilinear LM computes a context vector as a linear combination of the previous word vectors. And a distribution of the next word \(w_{i}\) is computed based on similarity between the word embedding \(\phi(w)\) and the context, by taking a softmax over the vocabulary V.
The log-bilinear name comes from the fact that the log of the numerator is a bilinear map: \(f(u, v)=u^{T}v\) for two vectors \(u\) and \(v\).
作者:brooksj —— XDU->NJU
出处:http://www.cnblogs.com/brooksj
本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则我特么还能打你啊,强烈谴责。

浙公网安备 33010602011771号