Term
negative log likelihood
Meaning
The negative logarithm of the likelihood a model assigns to observed data. Lower values mean the model assigns higher probability to the data.
Source Layer Normalization
How papers use it 6 papers
Layer Normalization
Use Tracked during training in the handwriting sequence generation experiment, where the layer-normalized model reaches a log likelihood comparable to the baseline but more quickly. In the DRAW experiment, the test negative log likelihood curves for the baseline and the layer-normalized model are compared over the first 100 epochs.
Generating Sentences from a Continuous Space
Use Reported together with perplexity in the Penn Treebank language modeling results, where lower is better. For the VAE, the reported value is the variational lower bound on test likelihood rather than the exact likelihood, which places the VAE at a potential disadvantage against exactly evaluated rnnlms.
Meaning A measure of model fit equal to the negative of the log probability a model assigns to the data, where lower values indicate a better fit.
On the difficulty of training Recurrent Neural Networks
Use Reported as the score for polyphonic music prediction on train and test splits, where lower is better. On the test split, SGD-CR achieves 7.46 on Piano-midi.de, 3.46 on Nottingham and 6.99 on MuseData. Its training score on Piano-midi.de (7.01) is higher than the SGD score (6.87).
Meaning A score equal to the average negative log likelihood of the observed data per time step, so that lower values indicate a better fit. It is used to evaluate sequence models.
On Calibration of Modern Neural Networks
Use Used as the objective for fitting the calibration parameters of temperature scaling, matrix scaling, and vector scaling on the validation set, with the network weights held fixed. The paper also uses NLL as an indirect signal of miscalibration, since models can keep reducing NLL on training data after their accuracy stops improving.
Meaning The negative sum of the log probabilities that a probabilistic model assigns to the true labels over n samples. Lower values mean the model assigns higher probability to the correct outcomes, and in expectation it is minimized when the model recovers the true conditional distribution.
Dense Passage Retrieval for Open-Domain Question Answering
Use Serves as the training objective for the dense retriever over one question, its positive text and its n negatives, with the similarity given by the dot product. In the comparison of loss functions, it is contrasted with triplet loss, and the choice between the two has little effect on retrieval accuracy.
Meaning A training loss that takes the negative log of the softmax probability assigned to the positive item among a set of candidates, where the softmax is computed over the similarity scores of the positive and the negative items. Minimizing it pushes the positive item's score above those of the negatives.
Denoising Diffusion Probabilistic Models
Use Reported for CIFAR10 in bits per dimension on the test set, with the training set value in parentheses. The gap between training and test values is at most 0.03 bits per dimension. Models trained on the true variational bound reach better codelengths than models trained on the simplified objective, but the simplified objective gives the better sample quality.
Meaning A measure of how well a model assigns probability to data, expressed as the average negative log probability of the data. Here it is expressed as a lossless codelength in bits per dimension.