Rethinking Softmax Cross-Entropy Loss for Adversarial RobustnessRethinking Softmax Cross-Entropy Loss for Adversarial Robustness
The researchers propose the Max-Mahalanobis center (MMC) loss, which improves adversarial robustness by inducing high-density sample regions in the feature space. Against the background that robust generalization requires greater sample complexity, that the same dataset (e.g., CIFAR-10) may yield good standard accuracy yet be insufficient to train a robust model, and that adding training data is costly, the paper chooses to make better use of existing data. The paper first formally points out that the softmax cross-entropy (SCE) loss and its variants convey inappropriate supervisory signals, prompting the learned feature points to be sparsely scattered in space during training; the MMC loss, by contrast, explicitly induces dense feature regions, encouraging the model to learn ordered, compact representations around preset optimal centers for each class. Experiments show that the MMC loss still significantly improves robustness under strong adaptive attacks while maintaining state-of-the-art accuracy on clean inputs, with very little additional computation compared with the SCE loss.