Robust Deep Prototype Classifiers via Lipschitz Training
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 ε-robust around its embedding, then the full model is ε/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.
Create a lesson
Related papers
On Lipschitz Explosion in Deep Neural Networks with Normalization: Consequences for Optimization and Adversarial Robustness
Shared title terminology · Ashkan Soleymani, Reyhaneh Hosseinpourkhoshkbari, Hadi Daneshmand et al.
On Adaptive Step Sizes for Eligibility Traces in Deep Reinforcement Learning
Shared title terminology · Esraa Elelimy, Martha White
Mirrored Min-of-K Training
Shared title terminology · Jiaru Zhang, Zeyun Deng, Hyunsoo Yun et al.
Interaction Retention and Output-Likelihood Training in Parallel Sampling
Shared title terminology · Da Li, Bo Jin, Xiaopeng Wei et al.
Hidden Sensitivity in LLM Pre-training: A Dynamic System View
Shared title terminology · Bo Liu, Yuan Xie, Junan Chen et al.
Operating-Condition Normalization in C-MAPSS: Matched Historical Baselines, Multi-Seed Robustness, and Prognostic-Score Trade-offs
Shared title terminology · Mohammad Adeel