Skip to main content
QUICK REVIEW

[Paper Review] Can we achieve robustness from data alone?

Nikolaos Tsilivis, Jingtong Su|arXiv (Cornell University)|Jul 24, 2022
Adversarial Robustness in Machine LearningComputer Science9 citations
TL;DR

This paper proposes adv-KIP, a meta-learning algorithm that optimizes training data to improve adversarial robustness via kernel regression with Neural Tangent Kernels (NTKs), enabling standard training to yield models robust to gradient-based attacks. Despite high robustness on PGD attacks, models trained on adv-KIP-optimized data fail against AutoAttack due to gradient obfuscation and overconfidence, revealing a false sense of robustness.

ABSTRACT

We introduce a meta-learning algorithm for adversarially robust classification. The proposed method tries to be as model agnostic as possible and optimizes a dataset prior to its deployment in a machine learning system, aiming to effectively erase its non-robust features. Once the dataset has been created, in principle no specialized algorithm (besides standard gradient descent) is needed to train a robust model. We formulate the data optimization procedure as a bi-level optimization problem on kernel regression, with a class of kernels that describe infinitely wide neural nets (Neural Tangent Kernels). We present extensive experiments on standard computer vision benchmarks using a variety of different models, demonstrating the effectiveness of our method, while also pointing out its current shortcomings. In parallel, we revisit prior work that also focused on the problem of data optimization for robust classification \citep{Ily+19}, and show that being robust to adversarial attacks after standard (gradient descent) training on a suitable dataset is more challenging than previously thought.

Motivation & Objective

  • To investigate whether robustness in machine learning can be achieved solely through data optimization, without specialized training algorithms.
  • To develop a model-agnostic method that pre-processes datasets to eliminate non-robust features and enhance robust generalization.
  • To evaluate whether standard training on optimized data can yield robust models comparable to adversarial training.
  • To diagnose why data-optimized models appear robust to some attacks but fail against others, especially adaptive ones.

Proposed method

  • Formulates data optimization as a bi-level optimization problem over Neural Tangent Kernels (NTKs), which model infinitely wide neural networks.
  • Uses a meta-optimization framework to iteratively adjust training data to minimize the robust loss under adversarial perturbations.
  • Employs a gradient-based approach to optimize the dataset such that models trained on it exhibit high robustness to gradient-based attacks.
  • Leverages the Kernel Inducing Point (KIP) framework as a foundation, extending it to adversarial robustness via adversarial training signals.
  • Applies the method to standard benchmarks (MNIST, CIFAR-10) using various kernel types and perturbation sets (ε = 0.3, PGD steps = 10).
  • Analyzes model behavior via gradient norms, confidence histograms, and loss decomposition to diagnose failure modes.

Experimental results

Research questions

  • RQ1Can adversarial robustness be achieved purely through data optimization, without modifying the training algorithm?
  • RQ2Does standard training on a data-optimized set yield models robust to gradient-based adversarial attacks?
  • RQ3Why do models trained on optimized data fail against adaptive attacks like AutoAttack despite high PGD robustness?
  • RQ4What are the underlying failure mechanisms in data-optimized models, such as gradient obfuscation or overconfidence?
  • RQ5How do the properties of data-optimized models compare to those of models trained via standard adversarial training?

Key findings

  • On MNIST, adv-KIP improved robust accuracy from 0.07% to 42.94% while maintaining 97.67% clean accuracy.
  • On CIFAR-10, models trained on adv-KIP-optimized data achieved high robustness against PGD attacks but failed completely against AutoAttack.
  • The models exhibited vanishing gradients on correctly classified examples, indicating gradient obfuscation, a hallmark of fragile robustness.
  • Both adv-KIP and RFD datasets induced models with exploding gradient norms on misclassified examples, signaling poor learning dynamics.
  • Models trained on optimized data were highly overconfident and poorly calibrated, unlike adversarially trained models with balanced confidence profiles.
  • The study reveals that data-based robustness via gradient-based optimization can create a false sense of security, as robustness does not generalize to adaptive attacks.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.