[Paper Review] Robust Bi-Tempered Logistic Loss Based on Bregman Divergences
This paper proposes a robust bi-tempered logistic loss based on Bregman divergences that replaces standard softmax and log loss with tempered versions using two temperature parameters: a lower temperature for the log loss (ensuring boundedness against outliers) and a higher temperature for the exponential (inducing heavy-tailed class probabilities to better handle mislabeled examples). The method achieves superior robustness to label noise across multiple benchmarks, outperforming standard logistic loss even in noise-free settings.
We introduce a temperature into the exponential function and replace the softmax output layer of neural nets by a high temperature generalization. Similarly, the logarithm in the log loss we use for training is replaced by a low temperature logarithm. By tuning the two temperatures we create loss functions that are non-convex already in the single layer case. When replacing the last layer of the neural nets by our bi-temperature generalization of logistic loss, the training becomes more robust to noise. We visualize the effect of tuning the two temperatures in a simple setting and show the efficacy of our method on large data sets. Our methodology is based on Bregman divergences and is superior to a related two-temperature method using the Tsallis divergence.
Motivation & Objective
- To address the sensitivity of standard logistic loss to label noise and large-margin outliers in deep learning.
- To overcome the limitations of convexity and light-tailed softmax probabilities in standard cross-entropy training.
- To develop a non-convex, robust loss function that maintains properness and generalization under noisy training data.
- To demonstrate that tuning two distinct temperatures in the tempered log and exponential functions improves model robustness and accuracy.
- To provide a theoretically grounded, proper loss function superior to existing two-temperature methods based on Tsallis divergence.
Proposed method
- Introduces a tempered logarithm function $\log_{t_1}(x) = \frac{1}{1-t_1}(x^{1-t_1} - 1)$ for $t_1 \in [0,1)$, which is bounded below and provides robustness to outliers.
- Defines a tempered exponential function $\exp_{t_2}(x) = \left[1 + (1-t_2)x\right]_+^{1/(1-t_2)}$ for $t_2 > 1$, which produces heavy-tailed class probabilities to better handle mislabeled examples near the decision boundary.
- Constructs a bi-tempered loss using the Bregman divergence between the true label and the tempered softmax output, with distinct temperatures $t_1$ and $t_2$ for the log and exponential components.
- Ensures the loss remains proper (i.e., optimal predictions match true labels) by using Bregman divergence, unlike previous Tsallis-based methods which lack properness.
- Employs a two-stage training strategy: first, search over a grid of $t_1 \in [0.5,1)$ and $t_2 \in (1.0,4.0]$ to find optimal temperature pairs; second, train with the best-performing pair on standard datasets.
- Uses standard deep learning pipelines (e.g., SGD with momentum, learning rate decay) but replaces the final layer’s loss with the bi-tempered variant.
Experimental results
Research questions
- RQ1Can a non-convex loss function based on tempered logarithms and exponentials improve robustness to label noise in deep neural networks?
- RQ2Does introducing a higher temperature in the tempered exponential function (for heavy-tailed probabilities) reduce overfitting to mislabeled examples near the decision boundary?
- RQ3Can a lower temperature in the tempered log function (for bounded loss) reduce the impact of large-margin outliers during training?
- RQ4Is the Bregman divergence-based bi-tempered loss superior to existing two-temperature methods, such as those based on Tsallis divergence, in terms of properness and performance?
- RQ5Does the bi-tempered loss improve generalization on clean test sets even when no label noise is present?
Key findings
- On MNIST with 50% label noise, the bi-tempered loss (0.5,4.0) achieved 97.69% top-1 accuracy, outperforming the logistic loss (96.13%) under the same conditions.
- On CIFAR-100 with 50% label noise, the bi-tempered loss (0.8,1.2) achieved 57.80% top-1 accuracy, compared to 52.96% for the logistic loss.
- On ImageNet-2012, the bi-tempered loss improved top-1 accuracy by 0.285% for ResNet-18 (71.618% vs. 71.333%) and by 0.416% for ResNet-50 (76.748% vs. 76.332%).
- The bi-tempered loss delayed and reduced overfitting to label noise, with significantly lower variance in test accuracy across training epochs compared to the logistic loss.
- Even in the noise-free setting (e.g., CIFAR-100), the bi-tempered loss achieved higher test accuracy (75.30%) than the logistic loss (74.03%), indicating generalization benefits beyond noise robustness.
- The method is robust to hyperparameter choice, with consistent performance gains across multiple datasets and architectures when optimal temperature pairs are selected.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.