Deep neural networks are notoriously fragile; tiny, invisible perturbations—known as adversarial attacks—can easily flip a model's prediction. While empirical defenses like adversarial training exist, they offer no formal guarantees. This gap has driven the field of certified robustness, which seeks to develop models that are mathematically proven to be stable within a specific perturbation radius.
A highly promising approach involves $\ell_\infty$-distance nets. In these networks, neurons calculate the $\ell_\infty$ distance between inputs and weights, guaranteeing the network is 1-Lipschitz. This means the output cannot change faster than the input, making certification as simple as checking the output margin during a standard forward pass. However, despite their theoretical elegance, these models have historically struggled to match the performance of standard networks. This paper identifies the root cause of this underperformance and introduces a novel training methodology that dramatically boosts their certified robustness.
The Optimization Bottleneck
The authors discovered that the standard training trick for these networks—using an $\ell_p$-relaxation to handle the non-smooth gradients of the $\ell_\infty$ norm—was actually sabotaging the model. This relaxation caused the network's Lipschitz constant to explode exponentially during early training.
Specifically, the constant could grow as large as $d^{L/p}$ (where $d$ is the input dimension and $L$ is the number of layers). For a standard CIFAR-10 model, this value can exceed 500, effectively neutralizing the architecture's "inherent robustness" during the most critical phases of optimization and leading the model into poor local minima.
A Novel Training Objective
To overcome this bottleneck, the researchers proposed a two-pronged solution. First, they provided theoretical justification, proving that a simple two-layer $\ell_\infty$-distance net is expressive enough to achieve 100% certified accuracy on any dataset where classes are sufficiently separated.
Second, they introduced a new hybrid training objective to replace the standard hinge loss:
- Scaled Cross-Entropy Loss: Utilizes a learnable "temperature" parameter to help the model converge quickly in the early stages when gradients are messy.
- Clipped Hinge Loss: A modified hinge loss that focuses exclusively on samples the model already classifies correctly. This pushes them further into the "safe" zone without the optimization process being distracted by hopeless misclassifications.
- Decaying Mixing Coefficient: A parameter $\lambda$ slowly shifts the training focus from cross-entropy (optimizing for standard accuracy) to the clipped hinge loss (optimizing for robustness) as training progresses.
Key Results
The proposed training strategy was evaluated on standard benchmarks (MNIST and CIFAR-10) and yielded massive improvements across the board. Unlike other certification methods (such as Randomized Smoothing or IBP) that require thousands of forward passes or complex interval arithmetic, $\ell_\infty$-distance nets achieve these results with zero additional computational cost beyond a standard inference pass.
- CIFAR-10 ($\epsilon = 8/255$): Certified accuracy jumped from 33.30% to 40.06%, setting a new state-of-the-art and beating complex relaxation-based methods like CROWN-IBP by over 5 percentage points.
- CIFAR-10 ($\epsilon = 16/255$): Under even larger perturbations, the improvement was more dramatic, rising from 19.28% to 29.04%.
- MNIST: Achieved 93.20% certified accuracy at $\epsilon = 0.3$, outperforming previous distance-net implementations and matching the best specialized IBP methods.
Limitations and Future Directions
While the results firmly establish the potential of $\ell_\infty$-distance nets, the authors note a few areas for future growth. For very small perturbation radii (e.g., $\epsilon = 2/255$), conventional networks still hold a slight edge, likely because the strict 1-Lipschitz constraint becomes overly restrictive.
Additionally, the current work focuses on fully-connected layers; scaling these principles to more complex architectures, such as specialized convolutional layers, is a logical next step. Finally, because the $\ell_\infty$ operation remains non-smooth and leads to sparse gradients, developing tailored optimization algorithms could unlock even greater performance gains.
Summary updated