paper-with-me

홈 › Papers

Masked Language Model Scoring

2019-10-31 · ACL 2020 6 · Julian Salazar, Davis Liang, Toan Q. Nguyen, Katrin Kirchhoff

Pretrained masked language models (MLMs) require finetuning for most NLP tasks. Instead, we evaluate MLMs out of the box via their pseudo-log-likelihood scores (PLLs), which are computed by masking tokens one by one. We show that PLLs outperform scores from autoregressive language models like GPT-2 in a variety of tasks. By rescoring ASR and NMT hypotheses, RoBERTa reduces an end-to-end LibriSpeech model's WER by 30% relative and adds up to +1.7 BLEU on state-of-the-art baselines for low-resource translation pairs, with further gains from domain adaptation. We attribute this success to PLL's unsupervised expression of linguistic acceptability without a left-to-right bias, greatly improving on scores from GPT-2 (+10 points on island effects, NPI licensing in BLiMP). One can finetune MLMs to give scores without masking, enabling computation in a single inference pass. In all, PLLs and their associated pseudo-perplexities (PPPLs) enable plug-and-play use of the growing number of pretrained MLMs; e.g., we use a single cross-lingual model to rescore translations in multiple languages. We release our library for language model scoring at https://github.com/awslabs/mlm-scoring.

📄 PDF Abstract BibTeX arXiv:1910.14659

Code (6)

awslabs/mlm-scoring 공식 구현 mxnet
google-research/electra tf
ipieter/universal-distillation pytorch
phueb/unmasked pytorch
soyoung97/fairseq-mlm-scoring pytorch
soyoung97/mlm-scoring pytorch

Tasks

AttributeDomain AdaptationLanguage ModelingLanguage ModellingLinguistic AcceptabilitymodelNMTTranslation

Methods 이 논문이 사용한 방법론

Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Cosine Annealing Cosine Annealing is a type of learning rate schedule that has the effect of starting with a large learning rate that is relatively rapidly decreased to a minimum value before…
Linear Warmup With Cosine Annealing Linear Warmup With Cosine Annealing is a learning rate schedule where we increase the learning rate linearly for $n$ updates and then anneal according to a cosine schedule…
Discriminative Fine-Tuning Discriminative Fine-Tuning is a fine-tuning strategy that is used for ULMFiT type models. Instead of using the same learning rate…
GPT-2 GPT-2 is a Transformer architecture that was notable for its size (1.5 billion parameters) on its release. The…
Residual Connection 설명 없음
Attention Dropout Attention Dropout is a type of dropout used in attention-based architectures, where elements are randomly dropped out of the…
Linear Warmup With Linear Decay Linear Warmup With Linear Decay is a learning rate schedule in which we increase the learning rate linearly for $n$ updates and then linearly decay afterwards.

Similar Papers 제목 키워드 기반

A Better Way to Do Masked Language Model Scoring

2023-05-17 · Carina Kauf, Anna Ivanova

Estimating the log-likelihood of a given sentence under an autoregressive language model is straightforward: one can simply apply the chain rule and sum the log-likelihood values for each successive token. However, for m…

Language ModelingLanguage ModellingSentence

Non-autoregressive Error Correction for CTC-based ASR with Phone-conditioned Masked LM

2022-09-08 · Hayato Futami, Hirofumi Inaguma, Sei Ueno, Masato Mimura 외

Connectionist temporal classification (CTC) -based models are attractive in automatic speech recognition (ASR) because of their non-autoregressive nature. To take advantage of text-only data, language model (LM) integrat…

Automatic Speech RecognitionAutomatic Speech Recognition (ASR)Domain AdaptationLanguage Modeling+3

Masked Audio Text Encoders are Effective Multi-Modal Rescorers

2023-05-11 · Jinglun Cai, Monica Sunkara, Xilai Li, Anshu Bhatia 외

Masked Language Models (MLMs) have proven to be effective for second-pass rescoring in Automatic Speech Recognition (ASR) systems. In this work, we propose Masked Audio Text Encoder (MATE), a multi-modal masked language …

Automatic Speech RecognitionAutomatic Speech Recognition (ASR)Contrastive LearningDomain Generalization+4

On Masked Pre-training and the Marginal Likelihood

2023-09-21 · NeurIPS 2023 11

Masked pre-training removes random input dimensions and learns a model that can predict the missing values. Empirical results indicate that this intuitive form of self-supervised learning yields models that generalize ve…

Stability-Weighted Decoding for Diffusion Language Models

2026-04-18 · Yue Wu, Jian Huang arxiv

Diffusion large language models (dLLMs) enable parallel text generation by iteratively denoising a fully masked sequence, unmasking a subset of masked tokens at each step. Existing decoding strategies rely on static conf…

Mathematical ReasoningCode GenerationText Generation