Term
cross entropy loss
Meaning
The standard training loss for predicting target tokens from logits, which yields a scalar loss value for each token position.
Source Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelism
How papers use it 8 papers
Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelism
Use Fused with the vocabulary-parallel output GEMM so that each device communicates per-token scalar losses, b×s values in total, instead of the full logits with b×s×v elements, where b is the batch size, s the sequence length and v the vocabulary size. The paper treats this reduction as a major saving in communication for the output layer.
Scheduled denoising autoencoders
Use Used as the reconstruction loss in the experiments, together with masking noise and sigmoid encoder and decoder, following earlier denoising autoencoder work.
Meaning A reconstruction loss for inputs that are binary or lie in [0, 1]. It sums, over all input dimensions, the negative log-likelihood of each input value under the predicted value, given as \(L(x,z) = -\sum_i (x_i \log z_i + (1-x_i)\log(1-z_i))\), where \(x\) is the target and \(z\) is the reconstruction.
Recurrent Models of Visual Attention
Use Used to train the action network when the correct label is known, in the classification tasks. Training maximizes the log-probability of the true label at the final time step, and the gradients are passed back through the core and glimpse networks. The location network is not trained with this loss and uses REINFORCE.
Meaning A loss function for classification that equals the negative log-likelihood the model assigns to the correct class. Minimizing it raises the predicted probability of the true label.
Rethinking RGB-D Salient Object Detection: Models, Data Sets, and Large-Scale Benchmarks
Use Trains the saliency predictions of D3Net, namely the RGB map, the RGB-D map and the depth map, against binary ground-truth maps. The loss is averaged over the N pixels of the 224×224 maps, and the training data is taken from the NJU2K and NLPR image pairs.
Meaning A pixel-wise loss for binary classification that compares predicted probabilities with binary labels. It is averaged over all pixels and grows large when the model assigns low probability to the correct label.
Focal Loss for Dense Object Detection
Use The baseline loss that focal loss reshapes.
Meaning The standard loss that takes the negative log of the probability assigned to the true class.
Self-critical Sequence Training for Image Captioning
Use Used to pretrain the captioning models before reinforcement learning, with the cross-entropy-trained model acting as the seed for SCST. In Table 1, the cross-entropy model reaches 90.9 CIDEr on the Karpathy test split for FC-2K models, and beam search with cross entropy reaches 94.0, which the authors report as the reference point for the reinforcement learning gains.
Meaning Cross entropy loss is a maximum-likelihood training objective that minimizes the negative sum of log-probabilities assigned to the ground-truth words, each conditioned on the preceding ground-truth words. It is the standard supervised loss for next-word prediction in sequence models.
A Survey of Convolutional Neural Networks: Analysis, Applications, and Prospects
Use Described as the most typical classification loss and as the default choice for CNNs ending in a softmax layer. The paper notes that AlexNet, Inception v1 and ResNet used it in their original papers, and that it only addresses classification correctness rather than the compactness within classes or the margins between them, which motivated losses such as contrastive loss.
Meaning A classification loss that measures the gap between the predicted class probabilities and the true class labels, computing a logarithmic penalty that grows as the predicted probability of the correct class falls. It is commonly paired with a softmax output layer and is also called softmax loss.
Unsupervised Learning of Video Representations using LSTMs
Use Used as the training and evaluation loss for the logistic output units when the models predict frames of moving MNIST digits. In the future prediction comparison, the cross entropy of the predicted MNIST frames against the ground-truth frames is reported, and the Composite Model with a conditional future predictor obtains the lowest value in the table.
Meaning A loss function that measures the mismatch between predicted probabilities and target binary values, summed over output units. It is minimized when the predictions match the targets.