A CLEVER Way to Resist Adversarial Attack

Share this post:

Machine learning is transforming myriad aspects of our lives: our personal assistants, our shopping habits, our daily commutes—even our financial and healthcare systems. But AI models are not infallible: they may be vulnerable to adversarial attack, raising security concerns and potentially compromising people’s confidence in them. Just how vulnerable are they? Until recently, there was no comprehensive way to measure this. But working closely with our MIT collaborators as part of the MIT-IBM Watson AI Lab, we describe in our ICLR 2018 paper a new metric called CLEVER for evaluating the robustness of neural networks against adversarial attack. CLEVER scores can be used to compare the robustness of different network designs and training procedures to help researchers build more reliable AI systems.

Adversarial attack

One way to tamper with neural networks is adversarial attack. This involves carefully crafted perturbations called adversarial examples that, when added to natural examples, lead deep neural network models to misbehave. In image learning tasks, adversarial examples can be imperceptible to human eyes and can lead to big differences in results between humans and well-trained machine learning models. Outside the digital space, adversarial examples can exist as colorful stickers or 3D printing in the physical world, giving rise to rapidly increasing concerns on safety-critical and security-critical machine learning tasks.

In Figure 1, the black point in the center represents a natural example (e.g., an image of an ostrich) and the colored curves represent the boundaries for decision-making of a well-trained machine learning model (e.g., a neural network image classifier). Adversarial examples (the blue points in Figure 1) are very close to the natural example and may be visually similar but will yield different model predictions and be misclassified by the classifier (e.g., as ‘shoe shop’ and ‘vacuum’).

CLEVER adversarial attack Figure 1

Figure 1

Robustness of a model

Despite various efforts to improve the robustness of neural networks against adversarial perturbations, a comprehensive measure of a model’s robustness is still lacking. Current robustness evaluation relies on the empirical defense performance against existing adversarial attacks and may result in a false sense of robustness, since the defense is neither certified nor guaranteed to be generalizable to unseen attacks.

To fill this gap, my team developed CLEVER (Cross Lipschitz Extreme Value for nEtwork Robustness), a comprehensive robustness measure that was presented at the Sixth International Conference on Learning Representations (ICLR) this year in Vancouver, Canada. CLEVER offers an attack-agnostic measure for evaluating the robustness of any trained neural network classifier against adversarial perturbations.

A CLEVER score

For an adversarial attack, one can define the “attack lower bound”, or the least amount of perturbation to a natural example required in order to deceive a classifier (the grey region in Figure 1). We have provided a theoretical justification for converting such an attack lower bound analysis into a local Lipschitz constant estimation problem. We then proposed an efficient way to evaluate the attack lower bound by using the Extreme Value Theory, yielding a novel robustness metric called CLEVER. The proposed CLEVER score is (1) attack-agnostic, meaning that it estimates well a certified attack lower bound for existing and unseen attacks; attacks whose strength are below the lower bound will fail; and (2) computationally feasible for large neural networks, meaning it can be efficiently applied to state-of-the-art ImageNet classifiers. Without invoking any specific adversarial attack, the CLEVER score can be directly used to compare the robustness of different network designs and training procedures to help build more reliable systems. One possible use case is the “before-after” scenario, where one can compare CLEVER scores to assess improvement in model robustness before and after implementing a certain defense strategy. The CLEVER score is also the first attack-independent robustness metric that can be applied to any neural network classifier.

In addition to the CLEVER work, my team has been working on defining effective white-box and black-box methods for crafting adversarial examples (presented at AAAI 2018 and AI-Security Workshop 2017), as well as understanding adversarial robustness (here and here), also presented at the recent ICLR workshops.

An implementation of CLEVER can be found in the open-source Adversarial Robustness ToolBox on GitHub.

Research Staff Member, IBM Research

More AI stories

We’ve moved! The IBM Research blog has a new home

In an effort better integrate the IBM Research blog with the IBM Research web experience, we have migrated to a new landing page:

Continue reading

Pushing the boundaries of human-AI interaction at IUI 2021

At the 2021 virtual edition of the ACM International Conference on Intelligent User Interfaces (IUI), researchers at IBM will present five full papers, two workshop papers, and two demos.

Continue reading

From HPC Consortium’s success to National Strategic Computing Reserve

Founded in March 2020 just as the pandemic’s wave was starting to wash over the world, the Consortium has brought together 43 members with supercomputing resources. Private and public enterprises, academia, government and technology companies, many of whom are typically rivals. “It is simply unprecedented,” said Dario Gil, Senior Vice President and Director of IBM Research, one of the founding organizations. “The outcomes we’ve achieved, the lessons we’ve learned, and the next steps we have to pursue are all the result of the collective efforts of these Consortium’s community.” The next step? Creating the National Strategic Computing Reserve to help the world be better prepared for future global emergencies.

Continue reading