LOTOS: Layer-wise Orthogonalization for Training Robust Ensembles
Ali Ebrahimpour-Boroojeny, Hari Sundaram, Varun Chandrasekaran
TL;DR
The paper investigates adversarial transferability in model ensembles and identifies a trade-off: reducing the Lipschitz constant $L$ boosts per-model robustness but can increase the transferability rate $T_{rate}$ between ensemble members. To counteract this, LOTOS (Layer-wise Orthogonalization for Training Robust Ensembles) promotes orthogonality among the top-$k$ sub-spaces of corresponding affine layers across models, implemented as an additional loss term with weight $rac{ ext{loss}_{CE}}{M N (N-1)}$ and a parameter $ ext{mal}$, with strong efficiency for convolutional layers (theoretical bound showing $k=1$ can be effective). Empirically, LOTOS lowers $T_{rate}$ and improves robust ensemble accuracy—e.g., approximately a 6 percentage-point gain on CIFAR-10 with ResNet-18 against black-box attacks, and up to an additional 10.7 percentage points when combined with prior robust-ensemble methods or adversarial training. LOTOS also works with heterogeneous architectures and can be integrated with adversarial training to further boost robustness, while maintaining modest computational overhead; its limitations include reduced accuracy of clipping in networks with batch-norm layers, which can temper gains in some settings.
Abstract
Transferability of adversarial examples is a well-known property that endangers all classification models, even those that are only accessible through black-box queries. Prior work has shown that an ensemble of models is more resilient to transferability: the probability that an adversarial example is effective against most models of the ensemble is low. Thus, most ongoing research focuses on improving ensemble diversity. Another line of prior work has shown that Lipschitz continuity of the models can make models more robust since it limits how a model's output changes with small input perturbations. In this paper, we study the effect of Lipschitz continuity on transferability rates. We show that although a lower Lipschitz constant increases the robustness of a single model, it is not as beneficial in training robust ensembles as it increases the transferability rate of adversarial examples across models in the ensemble. Therefore, we introduce LOTOS, a new training paradigm for ensembles, which counteracts this adverse effect. It does so by promoting orthogonality among the top-$k$ sub-spaces of the transformations of the corresponding affine layers of any pair of models in the ensemble. We theoretically show that $k$ does not need to be large for convolutional layers, which makes the computational overhead negligible. Through various experiments, we show LOTOS increases the robust accuracy of ensembles of ResNet-18 models by $6$ percentage points (p.p) against black-box attacks on CIFAR-10. It is also capable of combining with the robustness of prior state-of-the-art methods for training robust ensembles to enhance their robust accuracy by $10.7$ p.p.
