atlas

Research map / Label-efficient and robust learning / OOD and anomaly detection

MaxEnt Loss: Constrained Maximum Entropy for Calibration under Out-of-Distribution Shift

AAAI 2024 · Label-efficient and robust learning › OOD and anomaly detection · approach: Out-of-distribution generalization theory · 4 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes MaxEnt Loss, a Focal-loss-derived objective that adds global and local mean/variance constraints (Lagrange multipliers solved by Newton-Raphson) to improve calibration under OOD shift on CIFAR-C, TinyImageNet-C and Wilds benchmarks.

Problem

Neural network calibration degrades under out-of-distribution (OOD) shift, and existing calibration objective functions do not consistently remain well calibrated OOD.

Approach

Relates Focal loss to the Principle of Maximum Entropy and adds training-derived constraints (mean and/or variance of the label distribution, global and local) as Lagrange-multiplier terms, with multipliers estimated numerically via Newton-Raphson rather than hand-tuned.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
add mean constraint to Focal lossFocal loss · CIFAR10-CECE: 9.30$\pm{0.1}$ -> 8.70$\pm{0.2}$Helped
use variance constraint instead of mean constraint (ablation)MaxEnt loss · CIFAR10-CECE: 8.70$\pm{0.2}$ -> 8.90$\pm{0.2}$No clear effect
combine mean and variance constraints (ablation)MaxEnt loss · CIFAR10-CECE: 8.70$\pm{0.2}$ -> 11.5$\pm{0.5}$Hurt
add mean constraint to Focal lossFocal loss · CIFAR100-CECE: 8.80$\pm{0.7}$ -> 6.30$\pm{0.2}$Helped
use variance constraint instead of mean constraint (ablation)MaxEnt loss · CIFAR100-CECE: 6.30$\pm{0.2}$ -> 8.60$\pm{1.2}$No clear effect
combine mean and variance constraints (ablation)MaxEnt loss · CIFAR100-CECE: 6.30$\pm{0.2}$ -> 7.30$\pm{0.5}$Hurt
add mean constraint to Focal lossFocal loss · TinyImageNet-CECE: 13.9$\pm{0.1}$ -> 10.2$\pm{0.1}$Helped
use variance constraint instead of mean constraint (ablation)MaxEnt loss · TinyImageNet-CECE: 10.2$\pm{0.1}$ -> 9.40$\pm{0.1}$Helped
combine mean and variance constraints (ablation)MaxEnt loss · Camelyon17-WildsECE: 12.3$\pm{0.7}$ -> 8.30$\pm{2.0}$Helped
use variance constraint instead of mean constraint (ablation)MaxEnt loss · iWildCam-WildsECE: 20.0$\pm{1.2}$ -> 25.0$\pm{0.5}$Hurt
apply temperature scaling to MaxEnt MMaxEnt M · Camelyon17-WildsECE: 12.3$\pm{0.7}$ -> $\downarrow$7.40$\pm{1.4}$Helped
apply label smoothing to MaxEnt MMaxEnt M · CIFAR100-CECE: 6.30$\pm{0.2}$ -> 15.4$\pm{2.5}$Hurt

Surprising findings

Limitations

Experimental setup

Datasets: CIFAR10 CIFAR100 TinyImageNet CIFAR10-C CIFAR100-C TinyImageNet-C Camelyon17-Wilds iWildCam-Wilds FMoW-Wilds

Benchmarks: CIFAR10-C CIFAR100-C Tiny ImageNet-C Camelyon17-Wilds iWildCam-Wilds FMoW-Wilds

Metrics: accuracy ECE CECE KSE MCE AdaECE NLL Brier score

Baselines: CE Focal loss Inverse Focal loss AvUC Soft AvUC Poly loss

Builds on: Focal loss Principle of Maximum Entropy AvUC Poly loss label smoothing

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy