Skip to main content
QUICK REVIEW

[Paper Review] Adversarial Examples, Uncertainty, and Transfer Testing Robustness in Gaussian Process Hybrid Deep Networks

John Bradshaw, Alexander Matthews|arXiv (Cornell University)|Jul 8, 2017
Gaussian Processes and Bayesian InferenceComputer Science36 references122 citations
TL;DR

The paper proposes Gaussian Process hybrid deep networks (GPDNNs) that combine CNN representations with a GP top layer to improve uncertainty calibration and robustness to adversarial examples and domain shift, evaluated on MNIST and CIFAR-10. GPDNNs show better uncertainty and resilience than standard NNs, especially under domain transfer.

ABSTRACT

Deep neural networks (DNNs) have excellent representative power and are state of the art classifiers on many tasks. However, they often do not capture their own uncertainties well making them less robust in the real world as they overconfidently extrapolate and do not notice domain shift. Gaussian processes (GPs) with RBF kernels on the other hand have better calibrated uncertainties and do not overconfidently extrapolate far from data in their training set. However, GPs have poor representational power and do not perform as well as DNNs on complex domains. In this paper we show that GP hybrid deep networks, GPDNNs, (GPs on top of DNNs and trained end-to-end) inherit the nice properties of both GPs and DNNs and are much more robust to adversarial examples. When extrapolating to adversarial examples and testing in domain shift settings, GPDNNs frequently output high entropy class probabilities corresponding to essentially "don't know". GPDNNs are therefore promising as deep architectures that know when they don't know.

Motivation & Objective

  • Motivate the need for well-calibrated uncertainties in deep models for real-world deployment.
  • Propose GPDNNs—Gaussian processes atop deep networks trained end-to-end—to combine CNN representations with Bayesian uncertainty.
  • Assess classification performance, adversarial robustness, and transfer testing of GPDNNs against vanilla CNNs.
  • Demonstrate that GPDNNs provide better uncertainty estimates and robustness, especially under domain shift.

Proposed method

  • Structure GPDNNs as CNNs with a GP top layer using variational inducing points trained end-to-end.
  • Use the variational lower bound log p(Y) ≥ sum_y,x∈Y E_q(f_x)[log p(y|f_x)] − KL(q(f_Z)||p(f_Z)) for inducing points.
  • Employ a robust max likelihood (robustmax) for multi-class classification instead of standard softmax.
  • Train end-to-end with TensorFlow and GPflow to backpropagate through the GP components.
  • Compare architectures A (NN), B (NN with extra layer), and C (GPDNN) across MNIST and CIFAR-10 datasets.
  • Evaluate with accuracy and log-likelihood, and analyze robustness to FGSM and Carlini–Wagner L2 attacks, plus transfer to out-of-domain digit datasets.

Experimental results

Research questions

  • RQ1Can GPDNNs achieve competitive classification accuracy while providing better calibrated uncertainties?
  • RQ2Do GPDNNs exhibit increased robustness to adversarial perturbations compared to standard CNNs?
  • RQ3Are GPDNNs more robust to domain shift when transferring to out-of-domain image datasets?
  • RQ4How do uncertainty measures (predictive entropy/log-likelihood) behave in adversarial and transfer settings for GPDNNs?

Key findings

  • GPDNNs achieve lower error rates and higher log-likelihoods than vanilla NNs on MNIST, especially with limited training data.
  • On CIFAR-10, GPDNNs show marginal improvements in accuracy and log-likelihood, with deeper base networks benefitting training dynamics.
  • Under FGSM adversarial perturbations on MNIST, GPDNNs exhibit slower degradation in error and log-likelihood, and higher predictive entropy in uncertain regions.
  • Against CW L2 attacks, many GPDNN perturbations fail to fool the model, indicating improved robustness.
  • In transfer testing to ANOMNIST, Semeion, and SVHN, GPDNNs maintain better log-likelihoods (less overconfidence) than vanilla NNs, signaling better handling of domain shift.

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.