STAR Protocols (Dec 2022)

Protocol to explain graph neural network predictions using an edge-centric Shapley value-based approach

  • Andrea Mastropietro,
  • Giuseppe Pasculli,
  • Jürgen Bajorath

Journal volume & issue
Vol. 3, no. 4
p. 101887

Abstract

Read online

Summary: Here we present EdgeSHAPer, a workflow for explaining graph neural networks by approximating Shapley values using Monte Carlo sampling. In this protocol, we describe steps to execute Python scripts for a chemical dataset from the original publication; however, this approach is also applicable to any user-provided dataset. We also detail steps encompassing neural network training, an explanation phase, and analysis via feature mapping.For complete details on the use and execution of this protocol, please refer to Mastropietro et al. (2022).1 : Publisher’s note: Undertaking any experimental protocol requires adherence to local institutional guidelines for laboratory safety and ethics.

Keywords