paper-with-me

Papers

A Batch Noise Contrastive Estimation Approach for Training Large Vocabulary Language Models

2017-08-20 · Youssef Oualil, Dietrich Klakow

Training large vocabulary Neural Network Language Models (NNLMs) is a difficult task due to the explicit requirement of the output layer normalization, which typically involves the evaluation of the full softmax function over the complete vocabulary. This paper proposes a Batch Noise Contrastive Estimation (B-NCE) approach to alleviate this problem. This is achieved by reducing the vocabulary, at each time step, to the target words in the batch and then replacing the softmax by the noise contrastive estimation approach, where these words play the role of targets and noise samples at the same time. In doing so, the proposed approach can be fully formulated and implemented using optimal dense matrix operations. Applying B-NCE to train different NNLMs on the Large Text Compression Benchmark (LTCB) and the One Billion Word Benchmark (OBWB) shows a significant reduction of the training time with no noticeable degradation of the models performance. This paper also presents a new baseline comparative study of different standard NNLMs on the large OBWB on a single Titan-X GPU.

📄 PDF Abstract BibTeX arXiv:1708.05997

Code (1)

Stonesjtu/Pytorch-NCE pytorch

Tasks

GPUText Compression

Methods 이 논문이 사용한 방법론

Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…

Similar Papers 제목 키워드 기반

Similarity Contrastive Estimation for Self-Supervised Soft Contrastive Learning

2021-11-29 · Julien Denize, Jaonary Rabarisoa, Astrid Orcesi, Romain Hérault 외

Contrastive representation learning has proven to be an effective self-supervised learning method. Most successful approaches are based on Noise Contrastive Estimation (NCE) and use different views of an instance as posi…

Contrastive LearningLinear evaluationRepresentation LearningSelf-Supervised Image Classification+3

Softmax GAN

2017-04-20 · Min Lin

Softmax GAN is a novel variant of Generative Adversarial Network (GAN). The key idea of Softmax GAN is to replace the classification loss in the original GAN with a softmax cross-entropy loss in the sample space of one s…

Generative Adversarial Network

Less can be more in contrastive learning

2020-10-19 · NeurIPS Workshop ICBINB 2020 12 · Jovana Mitrovic, Brian McWilliams, Melanie Rey

Unsupervised representation learning provides an attractive alternative to its supervised counterpart because of the abundance of unlabelled data. Contrastive learning has recently emerged as one of the most successful…

Contrastive LearningRepresentation Learning

Improved training of neural trans-dimensional random field language models with dynamic noise-contrastive estimation

2018-07-03 · Bin Wang, Zhijian Ou

A new whole-sentence language model - neural trans-dimensional random field language model (neural TRF LM), where sentences are modeled as a collection of random fields, and the potential function is defined by a neural …

Language ModelingLanguage ModellingSentence

Multi-Level Contrastive Learning for Cross-Lingual Alignment

2022-02-26 · Beiduo Chen, Wu Guo, Bin Gu, Quan Liu 외

Cross-language pre-trained models such as multilingual BERT (mBERT) have achieved significant performance in various cross-lingual downstream NLP tasks. This paper proposes a multi-level contrastive learning (ML-CTL) fra…

Contrastive LearningCross-Lingual TransferSentence