Robust Deep Prototype Classifiers via Lipschitz Training
Adia Khalid Khan, Lukas Gehring, Benjamin Paa{\ss}en
Key points
From the paper's conclusion- We close this gap with a theorem: if the embedding network is locally L-Lipschitz around a point, and the classifier is {\epsilon}-robust around its embedding, then the full model is {\epsilon}/L-robust in the input space.
Abstract
Robustness and interpretability are interrelated and desirable properties of machine learning models. A model that changes its prediction under imperceptible perturbations behaves inconsistently with human-recognizable features and, hence, is not interpretable. Prototype-based classifiers such as Generalized Learning Vector Quantization address both at once. They are interpretable by construction because they make the decision by comparing the input to the prototypical example; and their hypothesis margin yields a closed form robustness certificate. However, on high-dimensional data, these shallow models need deep embedding networks to achieve high accuracy, and this voids the robustness certificate. The margin is a statement about distances in the embedding space, and an unconstrained network can map an arbitrarily small input perturbation to arbitrarily large attacks in the embedding space. We close this gap with a theorem: if the embedding network is locally L-Lipschitz around a point, and the classifier is {\epsilon}-robust around its embedding, then the full model is {\epsilon}/L-robust in the input space. Based on this, we propose a Lipschitz training scheme to achieve L-Lipschitz properties for embedding networks. We evaluate three classification heads (linear, linear Support Vector Machine, and GLVQ) crossed with two embedding networks (standard and Lipschitz-constrained) on MNIST, CIFAR-10, and Imagenette-160, under FGS, PGD and C\&W attacks. The evaluation results show that combining a prototype-based head with a Lipschitz-constrained embedding provides the strongest robustness. This suggests that the Lipschitz constraint provides an additional robustness benefit in addition to the advantage provided by the prototype-based head. Since the Lipschitz constraint is enforced by sampling rather than by construction, the reported robustness is empirical rather than certified.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Diverse by Design: Architectural Constraints for Prototype-Based InterpretabilityarXiv · 2026
- On the tradeoff between robustness and geometric accuracy in adversarial trainingarXiv · 2026
- Affine-Image Propagation for Tight and Scalable Neural Network VerificationarXiv · 2026
- Probabilistic Adversarial TrainingarXiv · 2026
- LipCache: A Local Inference Proxy with Certified Caching for Edge Image Classification ServicearXiv · 2026
- Certified Interface Aliases: Exact Collisions in Vision-Language Preprocessing, and When They ExistarXiv · 2026