Kernel Learning with Adversarial Features: Numerical Efficiency and Adaptive Regularization
Antônio H. Ribeiro, David Vävinggren, Dave Zachariah, Thomas B. Schön, Francis Bach
TL;DR
The paper addresses adversarial robustness for nonparametric regression in RKHS by moving perturbations from inputs to the feature space, where the inner maximization admits a closed-form, enabling a convex reformulation that resembles ridge regression with adaptive regularization $ (|y_i - f(\boldsymbol{x}_i)| + \delta \|f\|_{\mathcal{H}})^2 $. It then develops Iterative Kernel Ridge Regression (IKRR) with the eta-trick to solve the reformulated objective efficiently, and provides generalization bounds showing adaptivity to noise without knowledge of the noise level $\sigma$, along with extensions to Adversarial Multiple Kernel Learning (AMKL). The method demonstrates competitive performance in both clean and adversarial settings, with robustness that transfers beyond the feature-perturbed objective, and offers scalable pathways via conjugate gradient and Nyström approximations. The framework connects robust kernel regression, adversarial training, and MKL, and lays groundwork for extensions to classification and infinite-width neural networks through NTK analysis.
Abstract
Adversarial training has emerged as a key technique to enhance model robustness against adversarial input perturbations. Many of the existing methods rely on computationally expensive min-max problems that limit their application in practice. We propose a novel formulation of adversarial training in reproducing kernel Hilbert spaces, shifting from input to feature-space perturbations. This reformulation enables the exact solution of inner maximization and efficient optimization. It also provides a regularized estimator that naturally adapts to the noise level and the smoothness of the underlying function. We establish conditions under which the feature-perturbed formulation is a relaxation of the original problem and propose an efficient optimization algorithm based on iterative kernel ridge regression. We provide generalization bounds that help to understand the properties of the method. We also extend the formulation to multiple kernel learning. Empirical evaluation shows good performance in both clean and adversarial settings.
