paper-with-me

홈 › Papers

Notes on Noise Contrastive Estimation and Negative Sampling

2014-10-30 · Chris Dyer

Estimating the parameters of probabilistic models of language such as maxent models and probabilistic neural models is computationally difficult since it involves evaluating partition functions by summing over an entire vocabulary, which may be millions of word types in size. Two closely related strategies---noise contrastive estimation (Mnih and Teh, 2012; Mnih and Kavukcuoglu, 2013; Vaswani et al., 2013) and negative sampling (Mikolov et al., 2012; Goldberg and Levy, 2014)---have emerged as popular solutions to this computational problem, but some confusion remains as to which is more appropriate and when. This document explicates their relationships to each other and to other estimation techniques. The analysis shows that, although they are superficially similar, NCE is a general parameter estimation technique that is asymptotically unbiased, while negative sampling is best understood as a family of binary classification models that are useful for learning word representations but not as a general-purpose estimator.

📄 PDF Abstract BibTeX arXiv:1410.8251

Code (3)

dhyeon/ingredient-vectors pytorch
hithisisdhara/doc2vec pytorch
inejc/paragraph-vectors pytorch

Tasks

Binary Classificationparameter estimation

Similar Papers 제목 키워드 기반

Do More Negative Samples Necessarily Hurt in Contrastive Learning?

2022-05-03 · Pranjal Awasthi, Nishanth Dikkala, Pritish Kamath

Recent investigations in noise contrastive estimation suggest, both empirically as well as theoretically, that while having more "negative samples" in the contrastive loss improves downstream classification performance i…

Contrastive Learning

Noise Contrastive Estimation for Autoencoding-based One-Class Collaborative Filtering

2020-08-03 · Jin Peng Zhou, Ga Wu, Zheda Mai, Scott Sanner

One-class collaborative filtering (OC-CF) is a common class of recommendation problem where only the positive class is explicitly observed (e.g., purchases, clicks). Autoencoder based recommenders such as AutoRec and var…

Collaborative Filtering

Improving Word Representations: A Sub-sampled Unigram Distribution for Negative Sampling

2019-10-21 · Wenxiang Jiao, Irwin King, Michael R. Lyu

Word2Vec is the most popular model for word representation and has been widely investigated in literature. However, its noise distribution for negative sampling is decided by empirical trials and the optimality has alway…

SentenceSentence Completion

Noise Contrastive Estimation and Negative Sampling for Conditional Models: Consistency and Statistical Efficiency

2018-09-06 · EMNLP 2018 10 · Zhuang Ma, Michael Collins

Noise Contrastive Estimation (NCE) is a powerful parameter estimation method for log-linear models, which avoids calculation of the partition function or its derivatives at each training step, a computationally demanding…

ClassificationGeneral ClassificationLanguage ModelingLanguage Modelling+2

Mitigating the Impact of False Negatives in Dense Retrieval with Contrastive Confidence Regularization

2023-12-30 · Shiqi Wang, Yeqin Zhang, Cam-Tu Nguyen

In open-domain Question Answering (QA), dense retrieval is crucial for finding relevant passages for answer generation. Typically, contrastive learning is used to train a retrieval model that maps passages and queries to…

Answer GenerationContrastive LearningOpen-Domain Question AnsweringQuestion Answering+2