arXiv:2610.12039cs.LGOct 2026

Manuscript Offprint

arXiv:2610.12039

MPGE: A Multi-Perspective Graph Explainer for Molecular Classification Explanation

Mahtab Sarvmaili

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Mahtab Sarvmaili

Dalhousie University

Halifax, Nova Scotia, Canada

Graph neural networks (GNNs) predict molecular properties from chemical graph data, but predictive accuracy does not explain how graph information supports an individual decision. A compact prediction-preserving rationale does not necessarily reveal which changes reverse the decision or which modifications the model tolerates. We propose the Multi-Perspective Graph Explainer (MPGE), unifying factual support, counterfactual sensitivity, and exemplar tolerance for a frozen classifier. The factual view, originally termed prototype (PT), seeks a compact retained edge set with the same label and required confidence. Counterfactual (CF) explanations seek bounded prediction-changing deletions; exemplar (EXE) explanations seek non-trivial bounded deletions that preserve the label and confidence. A shared constrained formulation connects prediction behavior, compactness, and edit cost, while separate objectives generate the three views. Our graph-classification extension of CF-GNNExplainer learns symmetric edge rankings and verifies discrete candidates, recording unsuccessful searches. A separate BBBP fragment backend returns RDKit-sanitized molecules. We evaluate the primary GCN implementation on MUTAG, Mutagenicity, AIDS, COX2_MD, and BBBP using semantic coverage, conditional quality, stability, and runtime. Successful factual masks retained 8.6%-15.5% of input edges on average across datasets; bounded counterfactual coverage was 4.8-67.6% and exemplar preservation coverage was 98.9-100.0%. Exploratory controls reveal the influence of hard projection and retained node information. Quantitative comparisons and molecular visualizations characterize model support, sensitivity, and tolerance without treating them as validated chemical mechanisms.

Keywords—graph neural networks, explainable artificial intelligence, counterfactual explanations, exemplar explanations, molecular property prediction

I. INTRODUCTION

Molecular property prediction connects chemical structure to outcomes such as mutagenicity, biological activity, and blood–brain barrier penetration. Graph neural networks (GNNs) provide a natural representation-learning approach to these tasks by processing atom features and their structural relationships [1]. Predictive performance alone, however, does not reveal which information supports an individual model decision. Explanations can help inspect that decision and formulate structural hypotheses, although model-faithfulness evidence must be distinguished from validated chemical knowledge [2].

Understanding a molecular prediction requires more than identifying one compact rationale. Factual explainers seek a subset of graph information that supports the current prediction [3], [4]. Such a subset can be sufficient without identifying the changes needed to reverse the decision. Counterfactual explainers instead search for prediction-changing perturbations [5], [6]. A successful counterfactual identifies sensitivity to a particular edit, but does not characterize which other changes the model tolerates. These distinctions motivate three complementary questions about the same query: what supports the prediction, what changes it, and what can change while the prediction is preserved?

We address these questions through factual, counterfactual (CF), and exemplar (EXE) explanations. The factual view seeks a compact retained edge set that preserves the query label and required confidence. This view was originally termed prototype (PT) in our study; we use factual in the formal definition and experiments because it explains an individual query rather than a class-level prototype. The counterfactual view seeks a bounded deletion that changes the predicted property class. The exemplar view seeks a non-trivially modified query that retains its label and a prescribed fraction of its confidence. Here, an exemplar is a generated query variant, not a representative training example. A positive edit requirement excludes the unchanged query, while the budget restricts the permitted deletions. Its same-outcome-under-change condition is related to the neighborhood and prediction relations of Explanation Sets [7]. Together, the views describe prediction support, sensitivity, and tolerance within the chosen intervention space; they do not certify a chemical mechanism or robustness to arbitrary modifications.

We propose the Multi-Perspective Graph Explainer (MPGE), which unifies these three views through a constrained formulation and a common explanation interface. Their objectives connect prediction preservation or change with compactness and edit cost. Prior work already couples factual and counterfactual reasoning [8], [6]; our focus is to include the prediction-preserving edited query and evaluate all three views under explicit output constraints. The structural implementation, MPGX-CF, extends the CF-GNNExplainer architecture to graph classification [5]. It shares a frozen predictor across perspectives but optimizes a separate symmetric edge mask for each. A ranked hard-mask search checks the actual returned graph and records a failure when no searched candidate meets the requested constraints. A separate BBBP fragment-search backend returns RDKit-sanitized molecules, distinguishing chemical representability from the structural feasibility of an edge mask.

The contributions are:

  • a three-view formulation connecting compact factual support, bounded counterfactual change, and non-trivial

exemplar preservation;

  • a graph-classification extension of CF-GNNExplainer with view-specific objectives, discrete feasibility checks, and explicit search-failure reporting;

  • a chemistry-aware fragment-search instantiation that evaluates the three views in a separately sanitized molecular candidate space; and

  • a multi-dataset evaluation that separates semantic coverage, conditional quality, and mask stability, with exploratory controls for discretization, retained node information, and edit budgets.

We evaluate the primary GCN implementation on four TU molecular graph benchmarks—MUTAG, Mutagenicity, AIDS, and COX2_MD—and the scaffold-held-out BBBP dataset. Quantitative comparisons assess the three views using compatible baselines, while visualizations show how their retained and removed structures answer the different explanation questions. The following sections position the framework in the literature, define its objectives and search procedures, and present the evaluation together with the limits of molecular interpretation.

References (31)