LGOCMay 22, 2024

Adversarial Training of Two-Layer Polynomial and ReLU Activation Networks via Convex Optimization

arXiv:2405.14033v21 citationsh-index: 25
Originality Incremental advance
AI Analysis

This addresses the problem of adversarial robustness in deep learning for safety-critical applications, offering a convex optimization approach that is incremental but scalable to large-scale problems.

The paper tackles adversarial training for two-layer neural networks by formulating it as a convex semidefinite program, proving it achieves global optimality and improving robust test accuracy against ℓ∞ attacks on multiple datasets, with retrained models on CIFAR-10 showing significantly higher robust accuracies than a baseline.

Training neural networks which are robust to adversarial attacks remains an important problem in deep learning, especially as heavily overparameterized models are adopted in safety-critical settings. Drawing from recent work which reformulates the training problems for two-layer ReLU and polynomial activation networks as convex programs, we devise a convex semidefinite program (SDP) for adversarial training of two-layer polynomial activation networks and prove that the convex SDP achieves the same globally optimal solution as its nonconvex counterpart. The convex SDP is observed to improve robust test accuracy against $\ell_\infty$ attacks relative to the original convex training formulation on multiple datasets. Additionally, we present scalable implementations of adversarial training for two-layer polynomial and ReLU networks which are compatible with standard machine learning libraries and GPU acceleration. Leveraging these implementations, we retrain the final two fully connected layers of a Pre-Activation ResNet-18 model on the CIFAR-10 dataset with both polynomial and ReLU activations. The two `robustified' models achieve significantly higher robust test accuracies against $\ell_\infty$ attacks than a Pre-Activation ResNet-18 model trained with sharpness-aware minimization, demonstrating the practical utility of convex adversarial training on large-scale problems.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes