Global Human-guided Counterfactual Explanations for Molecular Properties via Reinforcement Learning

Danqing Wang, Antonis Antoniades, Kha-Dinh Luong, Edwin Zhang, Mert Kosan +4 more
6/19/2024
cs.LGq-bio.BM

Official code: dqwang122/RLHEX (5 stars, MIT, last commit 2024-04-18).

Abstract

Counterfactual explanations of Graph Neural Networks (GNNs) offer a powerful way to understand data that can naturally be represented by a graph structure. Furthermore, in many domains, it is highly desirable to derive data-driven global explanations or rules that can better explain the high-level properties of the models and data in question. However, evaluating global counterfactual explanations is hard in real-world datasets due to a lack of human-annotated ground truth, which limits their use in areas like molecular sciences. Additionally, the increasing scale of these datasets provides a challenge for random search-based methods. In this paper, we develop a novel global explanation model RLHEX for molecular property prediction. It aligns the counterfactual explanations with human-defined principles, making the explanations more interpretable and easy for experts to evaluate. RLHEX includes a VAE-based graph generator to generate global explanations and an adapter to adjust the latent representation space to human-defined principles. Optimized by Proximal Policy Optimization (PPO), the global explanations produced by RLHEX cover 4.12% more input graphs and reduce the distance between the counterfactual explanation set and the input set by 0.47% on average across three molecular datasets. RLHEX provides a flexible framework to incorporate different human-designed principles into the counterfactual explanation generation process, aligning these explanations with domain expertise. The code and data are released at https://github.com/dqwang122/RLHEX.

View on arXivView PDF

Code Implementations(1)

dqwang122/RLHEXOfficial100%
MIT
50Shell, PythonApr 10, 20242 years agoMIT

Similar Papers

Cite this paper

@article{wang2024global,
  title  = {Global Human-guided Counterfactual Explanations for Molecular Properties via Reinforcement Learning},
  author = {Danqing Wang and Antonis Antoniades and Kha-Dinh Luong and Edwin Zhang and Mert Kosan and Jiachen Li and Ambuj Singh and William Yang Wang and Lei Li},
  year   = {2024},
  eprint = {2406.13869},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2406.13869v1}
}

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/2406.13869.svg)](https://codeofpaper.com/paper/2406.13869)

Discussion