Abstract
SummaryOne of the best methods for estimating the softmax layer in neural network language models is the noise‐contrastive estimation (NCE) method. However, this method is not proper for word embedding applications compared with some other robust methods such as the negative sampling (NEG) method. The NEG method implements the pointwise mutual information (PMI) relation between the word‐context space in the neural network, and the NCE method implements conditional probability. Both the NCE and NEG methods use dot‐product‐based mapping to map words and contexts vector to the probabilities. This article presents the parametric objective function, which uses the mapping function as the parameter. Also, we obtained a parametric relation between word‐context space according to the mapping parameter. Using the parametric objective function, we identify conditions for a mapping that make it a proper selection for both softmax estimation and word embedding. The article also presents two specific mapping functions with the required conditions, and we compared their performance with that of the dot‐product mapping function. The performance of the new mapping functions is also reported over common word embedding and language models' benchmarks.
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have
More From: Concurrency and Computation: Practice and Experience
Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.