I am working on a recurrent language model. To learn word embeddings that can be used to initialize my language model, I am using gensim's word2vec model. After training, the word2vec model holds two vectors for each word in the vocabulary: the word embedding (rows of input/hidden matrix) and the context embedding (columns of hidden/output matrix).
As outlined in this post there are at least three common ways to combine these two embedding vectors:
- summing the context and word vector for each word
- summing & averaging
- concatenating the context and word vector
However, I couldn't find proper papers or reports on the best strategy. So my questions are:
- Is there a common solution whether to sum, average or concatenate the vectors?
- Or does the best way depend entirely on the task in question? If so, what strategy is best for a word-level language model?
- Why combine the vectors at all? Why not use the "original" word embeddings for each word, i.e. those contained in the weight matrix between input and hidden neurons.
Related (but unanswered) questions: