Explaining Graph Neural Networks for Vulnerability Discovery


연구 분야: Artificial Intelligence



학회: AISec '21: Proceedings of the 14th ACM Workshop on Artificial Intelligence and Security


초록

Graph neural networks (GNNs) have proven to be an effective tool for vulnerability discovery that outperforms learning-based methods working directly on source code. Unfortunately, these neural networks are uninterpretable models, whose decision process is completely opaque to security experts, which obstructs their practical adoption. Recently, several methods have been proposed for explaining models of machine learning. However, it is unclear whether these methods are suitable for GNNs and support the task of vulnerability discovery. In this paper we present a framework for evaluating explanation methods on GNNs. We develop a set of criteria for comparing graph explanations and linking them to properties of source code. Based on these criteria, we conduct an experimental study of nine regular and three graph-specific explanation methods. Our study demonstrates that explaining GNNs is a non-trivial task and all evaluation criteria play a role in assessing their efficacy. We further show that graph-specific explanations relate better to code semantics and provide more information to a security expert than regular methods.


Author Profile
Tom Ganz

SAP SE - Security Research Karlsruhe Germany

Germany
Author Profile
Martin Härterich

SAP SE - Security Research Karlsruhe Germany

Germany
Author Profile
Alexander Warnecke

TU Braunschweig Braunschweig Germany

Germany

📄 논문 정보

발행 연도 2021년
인용수 14
출판 국가 Germany
사이트 ACM
좋아요 수 0

연관 논문 목록 (416건)