by tensor · 9y ago · 0 comments
This is all well and good, but from an industry practitioner standpoint this doesn't explain why one would avoid using, or actually stop using word2vec.
1. Several known good word2vec implementations exist, the complexity of the technique doesn't really matter as you can just pick one of these and use it.
2. Pretrained word vectors produced from word2vec and newer algorithms exist for many languages.
Why should someone stop using these and instead spend time implementing a simpler method that produces maybe good enough vectors? Being a simpler method isn't a reason in of itself.
That depends on your corpus and vocabulary size. word2vec is O(n) where n is the length of the training corpus. Vanilla SVD is O(mn^2) for a co-occurence matrix size of m x n. I have been training word2vec and GloVe embeddings on 'web-scale' corpora and training time is usually not a problem.
the SVD approach is often much faster and almost as effective
SVD-derived embeddings does bad on some tasks, such as analogy tasks (see Levy & Goldberg, 2014).
I agree with your parent poster that the author does not really provide good arguments against the use of word2vec et al.
Moreover,
But because of advances in our understanding of word2vec, computing word vectors now takes fifteen minutes on a single run-of-the-mill computer
Which advances in our understanding? SVD on word-word co-occurrence matrices was proposed by Schütze in 1992 ;). There have been many works since then exploring various co-occurrence measures (including PMI) in combination with SVD.
But on twitter, Chris promised a sequel post, with extra tricks and tips. So I see this as a warm up :) Looking forward to part 2.
And your blog post is much better :)
Also, Glove (which is one of the newer word2vec alternatives you mentioned) works pretty similar to the approach in the blog post, but has some tweaks that make it perform better than this.