Skip to main content
QUICK REVIEW

[Paper Review] GraphNNK -- Graph Classification and Interpretability

Željko Bolević, Miloš Brajović|arXiv (Cornell University)|Jan 31, 2026
Explainable Artificial Intelligence (XAI)Computer Science0 citations
TL;DR

The paper replaces the parametric softmax classifier in a Graph Isomorphism Network with Non-Negative Kernel regression (NNK) to achieve interpretable, example-based graph classification, evaluated on NCI1.

ABSTRACT

Graph Neural Networks (GNNs) have become a standard approach for learning from graph-structured data. However, their reliance on parametric classifiers (most often linear softmax layers) limits interpretability and sometimes hinders generalization. Recent work on interpolation-based methods, particularly Non-Negative Kernel regression (NNK), has demonstrated that predictions can be expressed as convex combinations of similar training examples in the embedding space, yielding both theoretical results and interpretable explanations.

Motivation & Objective

  • Motivate interpretability in graph classification beyond parametric softmax layers.
  • Investigate whether a non-parametric, neighbor-based inference (NNK) can replace the softmax classifier in GNNs.
  • Assess how embedding quality affects NNK performance and interpretability.
  • Demonstrate an end-to-end architecture where NNK provides transparent, example-driven predictions.

Proposed method

  • Train a Graph Isomorphism Network (GIN) to learn graph embeddings.
  • Replace the final linear softmax classifier with a Non-Negative Kernel regression (NNK) interpolator in the embedding space.
  • Use FAISS to retrieve k nearest training graph embeddings at test time and solve a Cholesky-based quadratic program to obtain non-negative reconstruction weights θ.
  • Compute class probabilities by convexly combining labels of active neighbors according to normalized weights w.
  • Interpretability arises because predictions are expressed as interpolations over a subset of informative training examples with explicit weights.
  • Evaluate on the NCI1 dataset, comparing NNK against a supervised baseline under identical training conditions.

Experimental results

Research questions

  • RQ1Does replacing the softmax classifier with NNK improve or maintain graph classification accuracy on well-optimized GIN embeddings?
  • RQ2How does embedding quality affect the performance and stability of NNK in graph classification?
  • RQ3To what extent can NNK provide transparent, example-based explanations for predictions in graph classification?
  • RQ4What is the impact of using non-parametric inference on generalization and interpretability for graph-structured data?

Key findings

  • NNK consistently outperforms the supervised baseline at the best validation checkpoint on NCI1 (e.g., accuracy improves from 0.7786 to 0.8273 at epoch 90).
  • NNK’s advantages depend on the embedding quality; performance declines when embeddings are less stable or well-optimized.
  • Interpretability is gained because the prediction is a convex combination of a subset of active neighbors with nonzero weights.
  • The approach demonstrates that non-parametric inference can match or exceed parametric classifiers given good embedding representations.
  • Explanations are directly tied to the specific training examples that contribute to the prediction, via interpolation weights.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.