Margin and Consistency Supervision for Calibrated and Robust Vision Models
Salim Khazem

TL;DR
MaCS is a regularization framework that improves calibration and robustness of vision models by enforcing logit margins and local prediction stability, applicable across architectures without extra data or overhead.
Contribution
Introduces MaCS, a simple, architecture-agnostic regularization method combining margin and consistency losses to enhance calibration and robustness in vision models.
Findings
MaCS improves calibration metrics like ECE and NLL.
MaCS enhances robustness to common corruptions.
MaCS maintains or boosts top-1 accuracy.
Abstract
Deep vision classifiers often achieve high accuracy while remaining poorly calibrated and fragile under small distribution shifts. We present Margin and Consistency Supervision (MaCS), a simple, architecture-agnostic regularization framework that jointly enforces logit-space separation and local prediction stability. MaCS augments cross-entropy with (i) a hinge-squared margin penalty that enforces a target logit gap between the correct class and the strongest competitor, and (ii) a consistency regularizer that minimizes the KL divergence between predictions on clean inputs and mildly perturbed views. We provide a unifying theoretical analysis showing that increasing classification margin while reducing local sensitivity formalized via a Lipschitz-type stability proxy yields improved generalization guarantees and a provable robustness radius bound scaling with the margin-to-sensitivity…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdvanced Neural Network Applications · Adversarial Robustness in Machine Learning · Domain Adaptation and Few-Shot Learning
