Can We Leverage Predictive Uncertainty to Detect Dataset Shift and Adversarial Examples in Android Malware Detection?
Li, Deqiang, Qiu, Tian, Chen, Shuo, Li, Qianmu, Xu, Shouhuai
The deep learning approach to detecting malicious software (malware) is promising but has yet to tackle the problem of dataset shift, namely that the joint distribution of examples and their labels associated with the test set is different from that of the training set. This problem causes the degradation of deep learning models without users' notice. In order to alleviate the problem, one approach is to let a classifier not only predict the label on a given example but also present its uncertainty (or confidence) on the predicted label, whereby a defender can decide whether to use the predicted label or not. While intuitive and clearly important, the capabilities and limitations of this approach have not been well understood. In this paper, we conduct an empirical study to evaluate the quality of predictive uncertainties of malware detectors. Specifically, we re-design and build 24 Android malware detectors (by transforming four off-the-shelf detectors with six calibration methods) and quantify their uncertainties with nine metrics, including three metrics dealing with data imbalance. Our main findings are: (i) predictive uncertainty indeed helps achieve reliable malware detection in the presence of dataset shift, but cannot cope with adversarial evasion attacks; (ii) approximate Bayesian methods are promising to calibrate and generalize malware detectors to deal with dataset shift, but cannot cope with adversarial evasion attacks; (iii) adversarial evasion attacks can render calibration methods useless, and it is an open problem to quantify the uncertainty associated with the predicted labels of adversarial examples (i.e., it is not effective to use predictive uncertainty to detect adversarial examples).
Sep-20-2021
- Country:
- Oceania > Australia
- New South Wales > Sydney (0.04)
- North America
- United States
- Texas > Travis County
- Austin (0.04)
- Arizona > Maricopa County
- Scottsdale (0.04)
- Massachusetts > Middlesex County
- Cambridge (0.04)
- Wisconsin > Dane County
- Madison (0.04)
- Washington > King County
- Seattle (0.04)
- Georgia > Chatham County
- Savannah (0.04)
- Colorado > El Paso County
- Colorado Springs (0.04)
- California
- San Francisco County > San Francisco (0.14)
- Santa Clara County > Santa Clara (0.04)
- San Diego County > San Diego (0.04)
- Los Angeles County > Long Beach (0.04)
- New York > New York County
- New York City (0.04)
- Texas > Travis County
- Canada > British Columbia
- United States
- Europe
- Austria (0.04)
- Spain (0.04)
- France > Hauts-de-France
- United Kingdom > England
- Hampshire > Southampton (0.04)
- Greece > Attica
- Athens (0.04)
- Italy > Sicily
- Palermo (0.04)
- Germany > North Rhine-Westphalia
- Cologne Region > Bonn (0.04)
- Norway > Eastern Norway
- Oslo (0.04)
- Middle East > Republic of Türkiye
- Istanbul Province > Istanbul (0.04)
- Asia
- Middle East
- Republic of Türkiye > Istanbul Province
- Istanbul (0.04)
- Qatar > Ad-Dawhah
- Doha (0.04)
- Republic of Türkiye > Istanbul Province
- Japan
- Kyūshū & Okinawa > Okinawa (0.04)
- Honshū > Kantō
- Saitama Prefecture > Saitama (0.04)
- China > Jiangsu Province
- Nanjing (0.04)
- Middle East
- Oceania > Australia
- Genre:
- Research Report > Promising Solution (0.34)
- Industry:
- Information Technology > Security & Privacy (1.00)