Learning Security Classifiers with Verified Global Robustness Properties

Yizheng Chen, Shiqi Wang, Yue Qin, Xiaojing Liao, Suman Jana +1 more
5/24/2021
cs.CRcs.LG

Official code: surrealyz/verified-global-properties (28 stars, Python, last commit 2021-12-01).

Abstract

Many recent works have proposed methods to train classifiers with local robustness properties, which can provably eliminate classes of evasion attacks for most inputs, but not all inputs. Since data distribution shift is very common in security applications, e.g., often observed for malware detection, local robustness cannot guarantee that the property holds for unseen inputs at the time of deploying the classifier.

Show full abstract

Therefore, it is more desirable to enforce global robustness properties that hold for all inputs, which is strictly stronger than local robustness. In this paper, we present a framework and tools for training classifiers that satisfy global robustness properties. We define new notions of global robustness that are more suitable for security classifiers. We design a novel booster-fixer training framework to enforce global robustness properties. We structure our classifier as an ensemble of logic rules and design a new verifier to verify the properties. In our training algorithm, the booster increases the classifier's capacity, and the fixer enforces verified global robustness properties following counterexample guided inductive synthesis. We show that we can train classifiers to satisfy different global robustness properties for three security datasets, and even multiple properties at the same time, with modest impact on the classifier's performance. For example, we train a Twitter spam account classifier to satisfy five global robustness properties, with 5.4% decrease in true positive rate, and 0.1% increase in false positive rate, compared to a baseline XGBoost model that doesn't satisfy any property.

View on arXivView PDF

Code Implementations(1)

Learning Security Classifiers with Verified Global Robustness Properties (CCS'21) https://arxiv.org/pdf/2105.11363.pdf

281PythonSep 15, 20215 years ago

Similar Papers

Cite this paper

@article{chen2021learning,
  title  = {Learning Security Classifiers with Verified Global Robustness Properties},
  author = {Yizheng Chen and Shiqi Wang and Yue Qin and Xiaojing Liao and Suman Jana and David Wagner},
  year   = {2021},
  eprint = {2105.11363},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2105.11363}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2105.11363.svg)](https://codeofpaper.com/paper/2105.11363)

Discussion