Probing Model Signal-Awareness via Prediction-Preserving Input Minimization
Thu 26 Aug 2021 05:00 - 05:10 - SE & AI—Software Engineering for Machine Learning 1 Chair(s): Lei Ma
This work explores the signal awareness of AI models for source code understanding. Using a software vulnerability detection use case, we evaluate the models' ability to capture the correct vulnerability signals to produce their predictions. Our prediction-preserving input minimization (P2IM) approach systematically reduces the original source code to a minimal snippet which a model needs to maintain its prediction. The model's reliance on incorrect signals is then uncovered when the vulnerability in the original code is missing in the minimal snippet, both of which the model however predicts as being vulnerable. We measure the signal awareness of models using a new metric we propose – Signal-aware Recall (SAR). We apply P2IM on three different neural network architectures across multiple datasets. The results show a sharp drop in the model's Recall from the high 90s to sub-60s with the new metric, highlighting that the models are presumably picking up a lot of noise or dataset nuances while learning their vulnerability detection logic. Although the drop in model performance may be perceived as an adversarial attack, but this isn't P2IM's objective. The idea is rather to uncover the signal-awareness of a black-box model in a data-driven manner via controlled queries. SAR's purpose is to measure the impact of task-agnostic model training, and not to suggest a shortcoming in the Recall metric. The expectation, in fact, is for SAR to match Recall in the ideal scenario where the model truly captures task-specific signals.
Wed 25 AugDisplayed time zone: Athens change
17:00 - 18:00 | SE & AI—Software Engineering for Machine Learning 1Research Papers +12h Chair(s): Na Meng Virginia Tech | ||
17:00 10mPaper | Probing Model Signal-Awareness via Prediction-Preserving Input Minimization Research Papers Sahil Suneja , Yunhui Zheng IBM Research, Yufan Zhuang IBM Research, Jim A. Laredo IBM Research, Alessandro Morari IBM Research DOI | ||
17:10 10mPaper | Generating Efficient Solvers from Constraint Models Research Papers DOI | ||
17:20 10mPaper | A Comprehensive Study of Deep Learning Compiler Bugs Research Papers Qingchao Shen Tianjin University, Haoyang Ma Tianjin University, Junjie Chen Tianjin University, Yongqiang Tian University of Waterloo, Shing-Chi Cheung Hong Kong University of Science and Technology, Xiang Chen Nantong University DOI | ||
17:30 30mLive Q&A | Q&A (SE & AI—Software Engineering for Machine Learning 1) Research Papers |
Thu 26 AugDisplayed time zone: Athens change
05:00 - 06:00 | SE & AI—Software Engineering for Machine Learning 1Research Papers Chair(s): Lei Ma University of Alberta | ||
05:00 10mPaper | Probing Model Signal-Awareness via Prediction-Preserving Input Minimization Research Papers Sahil Suneja , Yunhui Zheng IBM Research, Yufan Zhuang IBM Research, Jim A. Laredo IBM Research, Alessandro Morari IBM Research DOI | ||
05:10 10mPaper | Generating Efficient Solvers from Constraint Models Research Papers DOI | ||
05:20 10mPaper | A Comprehensive Study of Deep Learning Compiler Bugs Research Papers Qingchao Shen Tianjin University, Haoyang Ma Tianjin University, Junjie Chen Tianjin University, Yongqiang Tian University of Waterloo, Shing-Chi Cheung Hong Kong University of Science and Technology, Xiang Chen Nantong University DOI | ||
05:30 30mLive Q&A | Q&A (SE & AI—Software Engineering for Machine Learning 1) Research Papers |