Conceptio › Archive › arXiv CS
arXiv CS open access

Pricing Symbolic Rules by What GNNs Leave Unlearned

Satabarto Sarkar et al. · arxiv_cs
arXiv CS · Papers
Open Source ↗Direct PDF ↓
artificial-intelligenceknowledge-representationreasoning
Symbolic knowledge (motif counts, ring counts, label constraints) is routinely added to graph neural networks (GNNs) and justified by their limited expressivity. We replace this yardstick with an exact one. The largest log-loss reduction a rule $S$ can give a model family is $I(Y;S\midσ)$ given what
Conceptio Open Archive

Analyze & explore related research in Conceptio

Connect this record directly into your research workflow or AI agent. Explore citations across open repositories, query full text, and export structured proof bundles.

arXiv:2611.12446v1 [cs.NE] 9 Nov 2026

P RICING S YMBOLIC RULES BY W HAT GNN S L EAVE U NLEARNED ∗

Satabarto Sarkar Department of Computer Science and Engineering University of Engineering and Management Kolkata 700091, India Satabarto.Sarkar2023@iem.edu.in

Prithwineel Paul Department of Computer Science and Engineering University of Engineering and Management Kolkata 700091, India prithwineel.paul@iem.edu.in

A BSTRACT Symbolic knowledge (motif counts, ring counts, label constraints) is routinely added to graph neural networks (GNNs) and justified by their limited expressivity. We replace this yardstick with an exact one. The largest log-loss reduction a rule S can give a model family is I(Y ; S | σ) given what the family computes; every realised gain splits exactly into this term plus repaid neural debt; and for a trained network with representation T the value is I(Y ; S | T ), the label information training failed to extract. Rule design thus becomes rule discovery: we score candidates on the network’s out-of-fold residual against calibrated permutation nulls with family-wise error control. On ZINC, discovery recovers the hidden ring term max(0, ℓmax − 6) of the target in three independent runs (padj = 0.001) and beats expert cycle counts; frozen and applied to five unseen datasets it is never significantly worse than the plain network or the expert rule, and on BBBP it significantly beats both. Keywords graph neural networks · neuro-symbolic learning · Weisfeiler–Leman · usable information · learnability · rule discovery

1

Introduction

Neuro-symbolic graph learning augments GNNs with cycle and motif counts (Bouritsas et al., 2023; Bodnar et al., 2021), probabilistic label models (Qu et al., 2019; Huang et al., 2021) and logic (Qu and Tang, 2019; Zhang et al., 2020). The standard argument is expressivity: message passing is at most as strong as 1-WL (Xu et al., 2019; Morris et al., 2019), which cannot count many substructures (Chen et al., 2020), so the missing structure should be supplied symbolically. This says why rules can help, not how much a rule is worth to a given network on given data. We prove an absorption identity (Theorem 1), a gain ledger (Theorem 2) and a learnability decomposition (Theorem 3) with a Fano certificate, and turn them into calibrated out-of-fold rule discovery (Section 4). Unlike rule extraction, which reads out what a network has learned (Geng et al., 2025; Morris et al., 2024), discovery targets what it has not.

2

Background

A graph G with label Y is drawn from P ; predictors are scored by log-loss L(f ) = E[− log f (Y | G)] (nats). A family F has computable information σF = σ{h(G) : h ∈ HF }, where every f ∈ F is f (y | G) = g(y, h(G)). Following Xu et al. (2020), HF (Y | G) = inf f ∈F L(f ). The rule-augmented family F ⊕ S adds a branch ϕ(S) to the logits, with ϕ ≡ 0 admissible, and the rule’s value is ∆F (S) = HF (Y | G) − HF ⊕S (Y | G, S) ≥ 0. (1) A t-layer GIN computes a function of the 1-WL colouring WLt (G) and can be injective on the WLt classes of any finite sample, so σF = σ(WLt ) there (Xu et al., 2019). The ambiguity of a rule on a dataset {Gi }N i=1 is 1 αt (s) = N {i : ∃j, WLt (Gi ) = WLt (Gj ), s(Gi ) ̸= s(Gj )} , (2) ∗

Accepted at the GraphML Workshop (Graph Machine Learning: Foundations, Frontiers, and Applications) at the 18th Asian Conference on Machine Learning (ACML 2026), Melbourne, Australia.

Pricing Symbolic Rules by What GNNs Leave Unlearned

and αt (s) = 0 means s is WLt -measurable on the data. For a trained network, T = ĥ(G) is the input of its readout, and σ(T ) ⊆ σF . Throughout, Y and every rule S take values in countable sets with finite entropy. σ-algebras are identified with the random variables that generate them, and H(Y | σ) is the conditional entropy given σ. All information quantities are in nats. The following lemma is used repeatedly. Lemma 1 (Gibbs). Let A be a σ-algebra and q(· | A) any A-measurable conditional distribution on Y. Then E[− log q(Y | A)] ≥ H(Y | A), with equality iff q = PY |A almost surely. P (y|A)  Proof. E[− log q(Y | A)] − H(Y | A) = E y P (y | A) log Pq(y|A) = E KL(PY |A ∥ q) ≥ 0, with equality iff the KL divergence vanishes almost surely.

3

Theory

3.1

Representational value: the absorption identity

Theorem 1 (Absorption identity). Let F ⋆ contain all σ-measurable predictors and F ⋆ ⊕ S all σ ∨ σ(S)-measurable ones. Then ∆⋆ (S) = I(Y ; S | σ) = I(Y ; S) − I(S; σ) + I(S; σ | Y ),   I(Y ; S) − I(S; σ) + ≤ ∆⋆ (S) ≤ min{H(S | σ), H(Y | σ)},

(3) (4)

and the upper bound H(S | σ) exceeds the unclipped lower bound by exactly H(S | Y ). Proof. F ⋆ contains every σ-measurable conditional distribution, so by Lemma 1 HF ⋆ (Y | G) = H(Y | σ), attained at PY |σ . The augmented family contains every (σ ∨ σ(S))-measurable conditional distribution whose logits are additive in a σ-measurable and an S-measurable term. When the branch ϕ ranges over all functions of (S, σ) (the Bayes family), the same lemma gives H(Y | σ, S). In general it gives at least this value, with equality whenever log P (y | σ, S) − log P (y | σ) is a function of (y, S) alone. Hence ∆⋆ = H(Y | σ) − H(Y | σ, S) = I(Y ; S | σ), which is the first equality in (3). The chain rule applied to I(S; Y, σ) in both orders gives I(S; σ) + I(S; Y | σ) = I(S; Y ) + I(S; σ | Y ), which rearranges to the second equality in (3). Since I(S; σ | Y ) ≥ 0 and I(Y ; S | σ) ≥ 0, the lower bound in (4) holds. For discrete variables, I(Y ; S | σ) = H(S | σ) − H(S | Y, σ) ≤ H(S | σ) and symmetrically ≤ H(Y | σ), which is the upper bound. Finally,   H(S | σ) − I(Y ; S) − I(S; σ) = H(S | σ) + I(S; σ) − I(Y ; S) = H(S) − I(Y ; S) = H(S | Y ), so the gap between the bounds is H(S | Y ), which is zero iff S is a function of Y . Additive branches. The equality case above explains a design choice of rule branches. An additive branch reaches the Bayes gain when the log-likelihood ratio contributed by S does not interact with σ. Otherwise the realised gain is lower, and the shortfall enters the ledger of Theorem 2 as εF ⊕S . Corollary 1 (Expressible knowledge is worthless). If S is σ-measurable, then H(S | σ) = 0 and ∆⋆ (S) = 0. For a t-layer GIN, every rule with αt (s) = 0 on the data distribution has zero representational value, including rules that 1-WL cannot compute on general graphs. Proof. If S is σ-measurable, H(S | σ) = 0, and the upper bound in (4) gives ∆⋆ = 0. For a t-layer GIN with injective aggregation, σF = σ(WLt ) on every finite sample (Xu et al., 2019; Morris et al., 2019). αt (s) = 0 means that s is constant on every WLt class present, so s is WLt -measurable on the empirical distribution and its plug-in conditional entropy Ĥ(S | WLt ) is zero. Hence a rule with αt (s) = 0 is worth zero to a Bayes-optimal t-layer GIN, even if 1-WL cannot compute it on general graphs. 2

Pricing Symbolic Rules by What GNNs Leave Unlearned

3.2

Realised value: the gain ledger

Real networks are not Bayes-optimal; their neural debt is εF = HF (Y | G) − H(Y | σF ) ≥ 0. Theorem 2 (Gain ledger). For every family F and rule S, ∆F (S) = I(Y ; S | σF ) + εF − εF ⊕S , | {z } | {z } representational

0 ≤ ∆F (S) ≤ I(Y ; S | σF ) + εF .

(5)

debt repaid

Hence a σF -measurable rule can only repay debt, ∆F (S) ≤ εF , and if F ⊆ F ′ with σF ′ = σF , every nat of debt the larger family repays removes one nat from the ceiling of any such rule. Proof. By the definitions of the debts, HF (Y | G) = H(Y | σF ) + εF and HF ⊕S (Y | G, S) = H(Y | σF , S) + εF ⊕S . Subtracting the second from the first and using H(Y | σF )−H(Y | σF , S) = I(Y ; S | σF ) yields (5). Every f ∈ F ⊕S is a conditional distribution measurable with respect to σF ∨ σ(S), so Lemma 1 gives εF ⊕S ≥ 0 and therefore the upper bound. Choosing ϕ ≡ 0 shows F ⊆ F ⊕ S, so HF ⊕S ≤ HF and ∆F ≥ 0. For the consequences: if S is σF -measurable, I(Y ; S | σF ) = 0 in (5), so ∆F (S) = εF − εF ⊕S ≤ εF . In particular a test-loss reduction g by such a rule certifies εF ≥ g up to estimation error. If F ⊆ F ′ , then HF ′ ≤ HF ; with σF ′ = σF the Bayes term H(Y | σF ) is shared, so εF ′ = εF − (HF − HF ′ ), and the ceiling ε of every σF -measurable rule falls by exactly the debt the larger family repays. If εF = 0, (5) reduces to Theorem 1. 3.3

Trained networks: the learnability decomposition

Theorem 3 (Learnability decomposition). If σ(T ) ⊆ σF , the best post-hoc gain of adding S to T is H(Y | T ) − H(Y | T, S) = I(Y ; S | T ), and I(Y ; S | T ) = I(Y ; S | σF ) + I(Y ; σF | T ) − I(Y ; σF | T, S) {z } | ΛT (S): lost in training, restored by S

(6)

  ≤ I(Y ; S | σF ) + H(Y | T ) − H(Y | σF ) . Proof. The post-hoc family of all conditional distributions measurable in (T, S) attains H(Y | T, S) by Lemma 1, and the family measurable in T attains H(Y | T ), so ∆T (S) = I(Y ; S | T ). By the chain rule, I(Y ; S, σF | T ) = I(Y ; S | T ) + I(Y ; σF | T, S) = I(Y ; σF | T ) + I(Y ; S | σF , T ). Because σ(T ) ⊆ σF , conditioning on (σF , T ) is conditioning on σF , so I(Y ; S | σF , T ) = I(Y ; S | σF ). Rearranging gives (6). Since I(Y ; σF | T, S) ≥ 0, ΛT (S) ≤ I(Y ; σF | T ) = H(Y | T ) − H(Y | σF , T ) = H(Y | T ) − H(Y | σF ). If S is σF -measurable, the first term of (6) vanishes. Expressivity is thus neither necessary nor sufficient: a rule T determines is worthless however far beyond 1-WL it lies, and an unlearned σF -measurable rule can be worth ΛT (S) > 0. Theorems 2 and 3 are two views of one identity. Let FT be the family of predictors that read T only. Its debt relative to σF is H(Y | T ) − H(Y | σF ), exactly the bound in Theorem 3. The learnability decomposition is therefore the ledger identity for the family “trained network plus arbitrary post-hoc head”, with the debt made explicit as lost label information. A probe checks which case holds: Proposition 1 (Fano certificate). For discrete rule columns Sc with alphabets Sc and any probe Ŝ = φ(T ) with error rates Pe,c ,  P  I(Y ; S | T ) ≤ H(S | T ) ≤ H(S | Ŝ) ≤ c hb (Pe,c ) + Pe,c log(|Sc | − 1) . (7) Proof. I(Y ; S | T ) = H(S | T ) − H(S | T, Y ) ≤ H(S | T ). Since Ŝ = φ(T ), conditioning on T refines conditioning on Ŝ, so H(S | T ) ≤ H(S | Ŝ). By the chain rule and because conditioning reduces entropy, H(S | Ŝ) = P P c H(Sc | S<c , Ŝ) ≤ c H(Sc | Ŝc ). Fano’s inequality (Cover and Thomas, 2006, Thm. 2.10.1) bounds each term by hb (Pe,c ) + Pe,c log(|Sc | − 1). If Pe,c = 0 for all c, the bound is zero.

4

Methodology: out-of-fold rule discovery

Theorem 3 names the rule worth adding: the candidate maximising I(Y ; S | T ). Discovery therefore selects rules from a candidate library: it decides which named, interpretable statistic carries the label information a trained network failed to extract. It does not synthesise new functional forms, and every library used is listed in Section 5. Let r = Y − E[Y | T ] 3

Pricing Symbolic Rules by What GNNs Leave Unlearned

be the residual (one-hot minus probabilities for classification) and C̃B = CB − E[CB | T ] the part of a block CB of standardised candidate columns that T does not predict, with orthonormal basis QB . The block energy 2 EB = n1 ∥Q⊤ (8) B r∥F is a local surrogate of value (Proposition 2). Proposition 2 (Local value of a block). (a) If (r, C̃B ) are jointly Gaussian given T , then I(Y ; CB | T ) = − 21 log 1 −  pop pop pop EB /Var(r) , where EB is the population variance of the projection of r on C̃B , and EB → EB . (b) Adding β ⊤ C̃B to the logit of a binary predictor p(T ) changes the expected log-loss by − 21 g ⊤ J −1 g + o(∥g∥2 ) at its optimum, ⊤ with g = E[(Y − p)C̃B ] and J = E[p(1 − p)C̃B C̃B ]. With whitened C̃B and p(1 − p) ≈ w, the reduction is EB /(2w) to first order. (c) For K classes the exact local reduction is 12 vec(G)⊤ J −1 vec(G) with G = E[C̃B r⊤ ] and ⊤ J = E[(diag p − pp⊤ ) ⊗ C̃B C̃B ]; EB = ∥G∥2F replaces J by a multiple of the identity, which is exact when the ⊤ curvature is uncorrelated with C̃B C̃B . Proof. (a) Let r = Y − E[Y | T ] and C̃ = CB − E[CB | T ] be jointly Gaussian given T , with Σrr = Var(r), Σrc = Cov(r, C̃) and Σcc = Var(C̃). Then I(Y ; CB | T ) = I(r; C̃) = − 12 log 1 − Σrc Σ−1 cc Σcr /Σrr . The quantity Σrc Σ−1 Σ is the variance of the projection of r onto C̃, whose sample analogue with an orthonormal basis QB of the cr cc 2 centred columns is ∥Q⊤ r∥ /n = E . Consistency follows from the law of large numbers for second moments. B B   ⊤ (b) Let η = logit p(T ) and L(β) = E −Y (η + β ⊤ C̃) + log(1 + eη+β C̃ ) . Then ∇L(0) = −E[(Y − p)C̃] = −g and ∇2 L(0) = E[p(1 − p)C̃ C̃ ⊤ ] = J. A second-order Taylor expansion gives L(β) = L(0) − β ⊤ g + 12 β ⊤ Jβ + O(∥β∥3 ), which is minimised at β ⋆ = J −1 g + O(∥g∥2 ) with L(0) − L(β ⋆ ) = 12 g ⊤ J −1 g + o(∥g∥2 ). If E[C̃ C̃ ⊤ ] = I and √ p(1 − p) ≈ w, then J ≈ wI and the reduction is ∥g∥2 /(2w). With whitened sample rows zi = n QB,i· , the plug-in P 2 score is ĝ = n1 i ri zi = n−1/2 Q⊤ B r, so ∥ĝ∥ = EB . (c) For K classes, r is the one-hot label minus the predicted probabilities, and the same argument applied to each logit gives the Frobenius form in (8). For Gaussian residuals the energy is therefore an exact monotone transform of value, and for a classifier it is the first-order log-loss reduction. Otherwise EB only ranks blocks, so significance nominates and validation decides. Out-of-fold residuals. In-sample residuals carry a memorisation term that cancels all evidence when fˆ interpolates (Proposition 3). We take r and T from networks trained on the other half of the data (cross-fitting, Chernozhukov et al., 2018). Proposition 3 (Out-of-fold versus in-sample evidence).  Let fˆ(−k) be trained on D \ Dk . For i ∈ Dk , E[(Yi − fˆ(−k) (Gi )) c(Gi ) | fˆ(−k) ] = CovP Y − fˆ(−k) (G), c(G) + E[Y − fˆ(−k) ] E[c]. For a network fˆ trained on all of D and fˆ(−i) trained without graph i,       E (Yi − fˆ(Gi )) c(Gi ) = E (Yi − fˆ(−i) (Gi )) c(Gi ) − E (fˆ(Gi ) − fˆ(−i) (Gi )) c(Gi ) . (9) | {z } ω: memorisation

If fˆ interpolates its training labels, the in-sample residual vanishes and the evidence for every candidate collapses. Proof. For i ∈ Dk , (Gi , Yi ) is independent of fˆ(−k) , which is a function of D \ Dk and of the training randomness only. Conditioning on fˆ(−k) and writing e(G, Y ) = Y − fˆ(−k) (G) gives E[e(Gi , Yi )c(Gi ) | fˆ(−k) ] = EP [e c] = CovP (e, c) + EP [e] EP [c]. For the in-sample residual, add and subtract fˆ(−i) (Gi ):   Yi − fˆ(Gi ) = Yi − fˆ(−i) (Gi ) − fˆ(Gi ) − fˆ(−i) (Gi ) , then multiply by c(Gi ) and take expectations to obtain (9). If fˆ interpolates the training labels, Yi − fˆ(Gi ) = 0 for every i, so all in-sample covariances vanish. The leave-one-out residual is unaffected, so the memorisation term ω exactly cancels the true residual covariance. Remark 1 (Statistical debt). The out-of-fold residual measures the debt of a network trained on n/2 graphs, part of which disappears at n graphs. A block can therefore be significant for the half-data network and worth little to the full-data network, which is why significance nominates rules and validation loss decides how many to keep. In particular, the half-data networks are used only to compute residuals: every gain we report is measured after retraining on the full training set with the rule added, so a rule that a fully trained network already learns shows no gain there (Section 6.6). 4

Pricing Symbolic Rules by What GNNs Leave Unlearned

1 Plain GNN on two halves

2 Out-of-fold debt

out-of-fold

residual ri = yi − y ̂ (Gi) unlearned part ̂ i) C̃ i = Ci − C(T

(−k)

predictions y ̂ (Gi) and codes Ti

3 Calibrated block pursuit

Eb = ‖Qb⊤ r‖2/n

(−k)

scaled-χ 2 surprise Westfall-Young p

4 Add the named rule

logit + ϕ(Sb̂ ) number of blocks chosen on validation

ZINC: the first block is max(0, ℓmax − 6), the hidden ring term of penalised logP (padj = 0.001 in three independent runs)

Figure 1: Out-of-fold rule discovery. Networks trained on half of the training graphs expose what the architecture fails to generalise; candidate rules are scored by how much of that residual their unlearned part explains, each block against its own permutation null; the winning named rule is added to the network. Calibration and family-wise error. Blocks differ in size and skew, so we permute the residual rows Π = 1000 times, fit the null energies by a moment-matched scaled χ2 , aB χ2νB with aB = Var/2µ and νB = 2µ2 /Var (Satterthwaite, 1946; Box, 1954), and score each block by its surprise sB = − log Pr(aB χ2νB ≥ EB ). The pick B̂ = arg maxB sB receives the Westfall–Young max-T p-value (Westfall and Young, 1993) (π)

padj =

1 + #{π : maxB sB ≥ sB̂ } , 1+Π

(10)

which controls the family-wise error rate over all blocks. The residual is projected off the picked span and the search repeats (group OMP, Pati et al., 1993); validation loss picks how many blocks to keep (Algorithm 1, Figure 1). Scope of the guarantee. The family-wise error control of (10) is a guarantee for the first round: it bounds the probability that the first pick is declared significant when no block carries signal. The p-values of later greedy rounds are conditional on the earlier picks and are reported descriptively; the number of blocks kept is decided by validation loss, not by these p-values. Validity of the calibrated max-T test. Under the complete null that the residual rows are exchangeable with respect to the candidate rows, every permutation π of the residual leaves the joint distribution of (rπ , C̃) unchanged. The surprises sB are fixed monotone transforms of the energies EB , with transforms estimated from the same permutations. The max-T p-value (10) is therefore a valid permutation p-value for the family-wise null, and it controls the family-wise error rate at any level α (Westfall and Young, 1993). Strong control holds under subset pivotality. Because the transform is fitted on the permutation null itself, it only rescales the blocks to a common scale and does not affect validity. Moment-matched scaled chi-square. If nEB /Var(r) were exactly χ2dB (Gaussian residual, fixed basis), its mean and variance would be dB and 2dB . For non-Gaussian residuals and skewed candidate columns, the null of EB has mean µB and variance vB that deviate from this. Matching aχ2ν to them gives aν = µB and 2a2 ν = vB , hence a = vB /(2µB ) and ν = 2µ2B /vB (Satterthwaite, 1946; Box, 1954). This calibration removes the bias of raw z-scores towards single-column blocks, whose nulls are heavy-tailed. We confirmed this on planted signals: both a single planted column and a weak planted ten-column group were recovered, and the pure null gave padj ≈ 0.5. Cost. A discovery round costs O(Π n D K) for n graphs, total block dimension D and K residual columns, on top of training four half-data networks. This took seconds to minutes on one GPU for a few hundred candidates.

5

Experimental setup

Data. Data are real only: TU benchmarks (Morris et al., 2020), ZINC-12k (Dwivedi et al., 2023), scaffoldsplit OGB molecules (Hu et al., 2020a) and eleven node-classification graphs (Table 1). Sources: TU benchmarks, https://chrsmrrs.github.io/datasets/; OGB, https://ogb.stanford.edu/docs/graphprop/; ZINC-12k, https://github.com/graphdeeplearning/benchmarking-gnns; node-level graphs, https: //github.com/kimiyoung/planetoid, https://github.com/shchur/gnn-benchmark, https://github. 5

Pricing Symbolic Rules by What GNNs Leave Unlearned

Algorithm 1: Out-of-fold rule discovery Input: training graphs D, candidate library C ∈ Rn×p with blocks B (every column and every family), rounds K, permutations Π (−k) Split D into D1 , D2 ; for seeds s = 1, 2 train fˆs on D \ Dk and keep its best-validation outputs; for i ∈ Dk do P (−k) ŷi ← 12 s fˆs (Gi ), Ti ← ĥ(−k) (Gi ), ri ← yi − ŷi ; for k = 1, 2 do b )[Dk ] ; C̃[Dk ] ← C[Dk ] − C(T // cross-fitted MLP probe within fold P ← ∅, r ← r − r̄; for j = 1, . . . , K do 2 for B ∈ B do QB ← orth(C̃B ), EB ← ∥Q⊤ B r∥F /n; permute rows of r Π times, compute null energies, fit aB χ2νB , surprises sB ; B̂ ← arg maxB ∈P / sB , padj by (10), P ← P ∪ {B̂}; r ← r − ΠP r ; // project off the picked span Train the network with rule branches for the nested sets P1 ⊂ · · · ⊂ PK ; keep the set with the best validation loss; Table 1: Datasets. Splits: CV = stratified 10-fold cross-validation (WL, absorption and ledger experiments); 80/10/10 = fixed stratified split (discovery experiments); scaffold = OGB scaffold split; ZINC = the standard 10k/1k/1k split. Dataset

task

MUTAG, PTC PROTEINS NCI1 IMDB-BINARY IMDB-MULTI COLLAB REDDIT-BINARY ZINC-12k ogbg-molhiv ogbg-molbace ogbg-molbbbp

binary classification binary classification binary classification binary classification 3-class classification 3-class classification binary classification regression (MAE) binary (ROC-AUC) binary (ROC-AUC) binary (ROC-AUC)

graphs

classes

188, 344 1113 4110 1000 1500 5000 2000 12000 41127 1513 2039

2 2 2 2 3 3 2 – 2 2 2

splits used CV CV, 80/10/10, random/size CV, random/size CV, 80/10/10, random/size CV CV, 80/10/10 80/10/10 standard scaffold, random scaffold, random scaffold, random

Node level: Cora, CiteSeer, PubMed, Amazon-Photo, Amazon-Computers, Actor, Roman-empire, Amazon-ratings, Minesweeper, Tolokers, Questions; label rates 5% and 50%; 5 seeds.

com/graphdml-uiuc-jlu/geom-gcn and https://github.com/yandex-research/heterophilous-graphs. ZINC, molhiv and COLLAB served for development; five datasets were held out. Rule libraries. The classical library has eleven rules: graph size, degree histogram, node-type histogram, closed-walk counts, cyclomatic number, triangle counts, cycle counts of length 3–8, ring-atom counts, Laplacian spectral moments, bond-type histogram and a Gaussian-noise placebo. The discovery library adds, for molecules, chordless-ring counts by size (3–12), ring summaries (number of rings, ℓmax , max(0, ℓmax − 6), rings with more than six atoms), fusion and spiro counts and the 150 most frequent ring compositions; for social graphs, 26 statistics of size, density, degree shape, triangles and clustering, cores and cliques, components, spectrum and assortativity. The classical library is included as distractors. The same discovery library is used for every molecular dataset; the term max(0, ℓmax − 6) is one of its ring summaries, among about 300 ring statistics. Networks. Models are four-layer GIN (Xu et al., 2019) or GINE with all OGB features (HuP et al., 2020b);  rules enter as an MLP branch on the logits. GIN updates node states as h′v = MLP (1 + ϵ)hv + u∈N (v) hu with a two-layer MLP and batch normalisation. GINE adds a learned embedding of the bond features to each message before the ReLU. On OGB data, the nine atom and three bond features each have their own embedding table, and the embeddings are summed, as in the OGB AtomEncoder and BondEncoder. The representation T is the concatenation of the sum-pooled node states of all layers, including the input layer, so dim T = 5×hidden. The readout is batch normalisation followed by a two-layer MLP. A rule branch maps the standardised rule columns through a two-layer MLP to the output dimension, and its output is added to the logits. For efficiency, all members of one experiment 6

Pricing Symbolic Rules by What GNNs Leave Unlearned

Table 2: Hyperparameters. All models use four layers and Adam. Experiment

model

WL/absorption/ledger (TU, 10-fold) Classical rules on ZINC/NCI1/PROTEINS Discovery, ZINC Discovery, molhiv Discovery, molbace/molbbbp Discovery, COLLAB/TU Random-split absorption, OGB Random-split absorption, TU

hidden

GIN, DeepSets 64 GIN, GINE 128 GINE 128 GINE (OGB feat.) 256 GINE (OGB feat.) 256 GIN (degree tags) 64 GINE (OGB feat.) 256 (128 molhiv) GIN 64

lr

schedule

−2

10 patience 100 10−3 cosine 10−3 cosine 10−3 cosine 10−3 cosine 10−3 cosine 10−3 cosine 10−3 cosine

dropout 0.5 0 0 0.5 0.5 0 0.5 0

epochs

batch

350 – 200 128 200 128 80 128 100 32 150 32 100 (60) 32 (128) 150 32

Table 3: Exact 1-WL ambiguity αt (%, maximum over six beyond-1-WL rules) and test-accuracy gain of adding those rules (10-fold CV).

α0 α1 / α≥2 gain, DeepSets gain, GIN

MUTAG

PTC

PROTEINS

NCI1

IMDB-B

IMDB-M

COLLAB

13.3 0/0 +11.3 −1.6

3.2 0/0 +2.0 −3.8

46.4 0/0 +4.6 +2.4

33.5 0.12 / 0 +3.1 +0.8

0 0/0 +1.6 −0.3

0 0/0 −0.5 +0.3

0 0/0 +1.9 +2.1

(seeds × rule sets × fold networks) are trained jointly as one batched network. Each member has its own weights and batch-normalisation statistics, all members share mini-batches, and each keeps the outputs of its own best validation epoch. Table 2 lists the hyperparameters. Probes and RT2 . The probe that predicts a rule (or a candidate) from T is a two-layer MLP with 64 hidden units, trained with Adam (learning rate 3 × 10−3 , weight decay 10−4 ) for 300 steps with early stopping on a held-out fifth. It is cross-fitted over two folds, so every prediction is out-of-sample. RT2 = 1 − E∥S − Ŝ(T )∥2 /Var(S) is averaged over the rule’s columns. Discovery. Out-of-fold residuals come from two seeds × two folds of networks trained on half of the training graphs. For every training graph, the residual uses the average prediction of the two networks that did not see it, and the representation comes from the first of them. Candidate columns are signed-log transformed, standardised on training graphs and clipped to [−6, 6]. Ring patterns enter the pool if they occur in at least 20 training graphs (at most 150 patterns), and chordless rings are enumerated up to length 12. Blocks are every single column plus every family. The families are: each classical rule, ring sizes, ring summary, ring fusion, ring atom patterns, ring bond patterns, size, degree shape, triangles and clustering, cores and cliques, components and spectrum. We use Π = 1000 residual permutations per round and three rounds. Rule sets blk1 ⊂ blk2 ⊂ blk3 are retrained on the full training set with the same seeds as the plain network, and the set with the lowest mean validation loss is reported. Controls are the expert rule, a size-matched random set of non-picked candidate columns, and the whole pool. Statistics. Every comparison is paired by seed. Intervals are 95% percentile bootstrap intervals of the mean paired difference (4000 resamples). Classification log-losses are per graph in nats. OGB atom types are atomic number minus one, so in ring patterns 5 is C, 6 is N and 7 is O; bond types are 0 single, 1 double, 2 triple and 3 aromatic.

6

Results

6.1

Expressible knowledge is absorbed

Computing αt exactly on every graph of seven TU benchmarks (Table 3, Figure 2), up to 46% of graphs are ambiguous before message passing (PROTEINS), at most 0.12% after one round (NCI1) and none after two. By Theorem 1, six beyond-1-WL rules are worth zero to a GIN of depth two; their gain to a graph-blind DeepSets model (up to +11.3 points) largely vanishes under GIN. GNNs absorb a median 99% of a belief-propagation layer’s value on eleven node-classification graphs, and where GIN still gains, an MLP readout repays 80–83% of it (COLLAB, NCI1), as the ledger predicts. 7

Pricing Symbolic Rules by What GNNs Leave Unlearned

Exact 1-WL ambiguity of beyond-1-WL rules, by refinement round before message passing (t = 0) after one round (t = 1) 40

after two rounds (t = 2)

30 20

MUTAG

PTC

PROTEINS

NCI1

IMDB-B

0%

0%

0%

0%

0%

0%

0%

0%

0%

0%

0.12%

0%

0%

0%

0%

0

0%

10 0%

ambiguous graphs (%)

50

IMDB-M COLLAB

Figure 2: Exact 1-WL ambiguity of beyond-1-WL rules, maximum over six rules (Table 3). One round of colour refinement removes the ambiguity almost entirely, and two rounds remove it completely. Table 4: Gain ledger for 1-WL-computable rules on GIN (10-fold CV, test log-loss gain in nats, 95% CI). The readout and coordinate parts are the reductions in rule gain when the linear readout is replaced by an MLP readout and when log-size coordinates are added. Dataset COLLAB NCI1 PROTEINS

6.2

observed gain

readout part

coordinate part

residual

+0.052 [+0.038, +0.067] +0.026 [+0.011, +0.041] +0.026 [+0.007, +0.044]

+0.042 +0.022 +0.007

−0.003 −0.007 −0.019

+0.013 [+0.003, +0.023] +0.011 [−0.021, +0.043] +0.038 [−0.001, +0.076]

The gain ledger on graph-level benchmarks

For 1-WL-computable rules on GIN, the ledger of Theorem 2 splits the observed gain into the part repaid by an MLP readout, the part repaid by log-size coordinates and a residual (Table 4, Figure 3). Most of the gain on COLLAB and NCI1 is debt that a better readout also repays (Table 5). For beyond-1-WL rules, the ledger gives an observed gain of +0.020 nats on COLLAB, with a residual of +0.012 [+0.003, +0.021] after the readout and coordinate parts. On PROTEINS the observed gain is +0.023, with a residual of +0.032 [−0.002, +0.066]. On every other dataset the observed gain is not significant. The shuffled-rule placebo is significantly negative on COLLAB (−0.052), IMDB-B (−0.047) and IMDB-M (−0.031) and never significantly positive, because an extra branch that carries no information can only overfit. 6.3

Learnability, not expressivity, decides

On ZINC (Figure 4a, Table 6) bond-type counts are invisible to GIN, yet it decodes them from atoms (RT2 = 0.86) and they are worth nothing. Ring counts are the least learned rules (RT2 = 0.49/0.59) and the only ones that pay, cutting MAE by 27% (GIN) and 32% (GINE). Triangles are unlearned (RT2 = 0.40) but worthless: large H(S | T ) is necessary, not sufficient. On NCI1 and PROTEINS (GIN, same protocol), the largest single-rule gains in test log-loss are +0.021 (cyclomatic number on NCI1, RT2 = 0.95) and +0.037 (type histogram on PROTEINS, RT2 = 0.71). Both are learnable rules that repay debt in the sense of Theorem 2. The Fano bound of Proposition 1 held for all 14 rules for which it is defined, at 0.26–32 nats. 6.4

Discovery recovers the hidden term of the target

ZINC’s penalised logP subtracts the ring penalty max(0, ℓmax − 6) from Crippen logP (Gómez-Bombarelli et al., 2018; Jin et al., 2018); atom-additive logP is easy for message passing, the longest-cycle term is not. Among 300 ring statistics plus the classical library, the first pick is exactly max(0, ℓmax − 6) for GIN and GINE in three independent runs (padj = 0.001, the minimum for Π = 1000). The method selects this term from the library; what the result shows is that, among hundreds of plausible ring statistics and distractors, the out-of-fold residual singles out the one term of the target that message passing leaves unlearned. The validation-selected set reaches MAE 0.1196 against 0.1306 for expert cycle counts (+0.011 [0.009, 0.012]). On molhiv it adds +0.021 [+0.010, +0.031] ROC-AUC (Tables 7 and 8). 8

Pricing Symbolic Rules by What GNNs Leave Unlearned

Gain ledger of 1-WL-computable rules on GIN (95% CI)

test log-loss gain (nats)

0.08

observed gain

coordinate part

readout part

residual

0.06 0.04 0.02 0.00 −0.02 COLLAB

NCI1

PROTEINS

Figure 3: Gain ledger of 1-WL-computable rules on GIN (Table 4). The observed gain decomposes into the part repaid by an MLP readout, the part repaid by log-size coordinates, and the residual. Error bars are the 95% intervals of the observed gain and the residual. Table 5: Plain GIN with three readouts (10-fold CV): test log-loss (nats) and accuracy. The MLP readout repays most of the debt that rules otherwise repay (Table 4). log-loss

accuracy

Dataset

linear

MLP

log-MLP

linear

MLP

log-MLP

COLLAB NCI1 PROTEINS IMDB-B

0.518 0.484 0.574 0.516

0.468 0.479 0.550 0.533

0.470 0.474 0.575 0.529

0.751 0.783 0.735 0.726

0.790 0.788 0.731 0.724

0.792 0.783 0.704 0.721

On ZINC the first pick dominates every later pick by a factor of about five, and it lies far above the 95th percentile of its 1000-permutation null (Figure 5). Earlier discovery runs on ZINC confirm the result. The first discovery run used single columns, in-sample residuals and k ∈ {1, 3, 8} picks chosen by validation. On GIN it reached MAE 0.1829 (plain 0.2673, cycles 0.1951, whole pool 0.1653, random 8 columns 0.2057). On GINE it reached 0.1186 (plain 0.1938, cycles 0.1333, whole pool 0.1277, random 0.1118). The fresh-seed certification run reached 0.1779 on GIN (plain 0.2722, cycles 0.1965, whole pool 0.1659) and 0.1173 on GINE (plain 0.1885, cycles 0.1322, whole pool 0.1269, random 0.1147). Discovery beat the expert cycle counts in all four cases, by between 0.012 and 0.019 MAE with intervals above zero. Earlier molhiv runs fed the network only atom and bond type and are superseded by the full-feature protocol of Table 7. 6.5

Held-out datasets

On five held-out datasets (10 seeds; Figure 4b, Tables 7 and 9), the discovered set is never significantly worse than the plain network or the expert rule. On molbbbp it significantly beats both (+0.035 [+0.025, +0.045] and +0.016 [+0.002, +0.030] ROC-AUC). On the other four, point estimates lie in [−0.012, −0.002] with every interval covering zero. The molbace interval against the expert rule only just covers zero (upper limit +0.0003). 6.6

Out-of-fold versus in-sample evidence

For the first pick, log10 p (scaled-χ2 ) out-of-fold vs. in-sample was −9.1 vs. −3.9 on molhiv. On the held-out datasets it was −3.3 vs. −2.1 (molbbbp), −12.3 vs. −4.0 (REDDIT-B), −1.2 vs. −0.9 (IMDB-B), −4.1 vs. −4.6 (molbace) and −2.6 vs. −2.9 (PROTEINS). The networks trained on half the data are weaker than those trained on all of it (ZINC MAE 0.279 vs. 0.191, molhiv ROC-AUC 0.737 vs. 0.759, COLLAB accuracy 0.758 vs. 0.800), which is the statistical debt of Remark 1. This weakness affects which rules are nominated, not the gains we report. Every gain in Tables 7–9 is measured on networks retrained on the full training set with the rule branch added, against the full-data plain network with the same seeds. A rule that only the half-data network fails to learn, and that a fully trained network absorbs, would therefore show no gain in these tables. On ZINC the ring term alone (blk1 ) still cuts the full-data MAE from 0.1911 to 0.1181, so 9

Pricing Symbolic Rules by What GNNs Leave Unlearned

test-MAE reduction on ZINC (%)

(a) A rule pays only for what is not learned 35

(b) Discovered rules vs. the expert rule off scale: discovered 37.5%, expert 31.7%

ZINC (MAE)

ring counts: the ring term of the target

30

molhiv (AUC)

25 20 15

COLLAB (acc)

bond counts: invisible to GIN, yet decoded (RT2 = 0.86), worth 0

GIN

molbbbp (AUC)

GINE

development frozen method, unseen data

triangles: unlearned molbace (AUC) but label-irrelevant

10

PROTEINS (acc)

5

IMDB-B (acc)

0

REDDIT-B (acc)

−5 0.0

0.2

0.4

0.6

−4

−2

0

2

4

6

8

improvement over the plain network (% of its score)

unlearned share of the rule, 1 − RT2

discovered (out-of-fold)

expert rule

Figure 4: (a) ZINC: a rule’s gain tracks its unlearned share 1 − RT2 , not 1-WL expressivity. (b) Discovered (blue) and expert (orange) rules vs. the plain network, 95% intervals; rows below the dashed line were held out. Table 6: Classical rules added to GIN and GINE on ZINC (3 seeds). Gain: reduction in test MAE (plain GIN 0.2742, GINE 0.1918) with 95% interval. RT2 : share of the rule decoded from the plain network’s representation. Probe pick: the two rules with the largest residual score, chosen before any rule model was trained. GIN Rule

RT2

cycles (3–8) triangles spectrum bond histogram ring atoms degree histogram cyclomatic number type histogram closed walks size noise (placebo)

0.49 0.40 0.85 0.86 0.94 0.98 0.98 0.99 0.99 0.99 –

probe pick (top 2) all rules

GINE

gain [95% CI]

RT2

gain [95% CI]

+0.0751 [+0.0643, +0.0900] +0.0019 [−0.0206, +0.0168] −0.0070 [−0.0286, +0.0083] +0.0054 [−0.0069, +0.0226] −0.0034 [−0.0196, +0.0055] +0.0004 [−0.0179, +0.0163] +0.0068 [−0.0094, +0.0198] −0.0046 [−0.0123, +0.0086] +0.0067 [−0.0094, +0.0163] −0.0032 [−0.0150, +0.0050] −0.0003 [−0.0018, +0.0027]

0.59 0.64 0.86 0.98 0.95 0.98 0.98 0.99 0.99 0.99 –

+0.0617 [+0.0565, +0.0667] −0.0008 [−0.0085, +0.0052] +0.0032 [−0.0044, +0.0114] −0.0014 [−0.0041, +0.0039] −0.0063 [−0.0165, −0.0010] −0.0093 [−0.0106, −0.0070] +0.0068 [−0.0022, +0.0167] +0.0040 [−0.0012, +0.0092] +0.0011 [−0.0044, +0.0041] +0.0042 [−0.0010, +0.0071] −0.0018 [−0.0083, +0.0103]

+0.0755 [+0.0627, +0.0820] +0.0745 [+0.0614, +0.0872]

+0.0608 [+0.0536, +0.0648] +0.0523 [+0.0500, +0.0553]

it is information that the fully trained network also leaves unlearned. Where a nominated block is worth little at full data (REDDIT-B: padj = 0.001, no gain), validation loss and the paired comparison expose it, which is why significance nominates and validation decides.

6.7

In-distribution and shifted splits

Under train-small/test-large splits, the plain networks are badly overconfident on large graphs: their test log-loss is 2.85 nats (NCI1) and 4.64 nats (PROTEINS), against 0.46 and 0.50 under random splits. Rule gains under size shift therefore mix information and calibration effects, which is why we report them without interpretation (Table 10). Under random splits every classical rule set lies within ±0.02 nats of its noise-input twin (Figure 6). 10

Pricing Symbolic Rules by What GNNs Leave Unlearned

(a) one dominant pick on ZINC

(b) 1000-permutation null 0.25

ZINC / GIN −1

null 95th percentile 0.20

molhiv / GINE

score

residual score

10

observed first pick

ZINC / GINE

0.15 0.10 0.05

10−2

0.00 2

4

6

8

ZINC / GIN

ZINC / GINE

greedy step

Figure 5: (a) Greedy residual scores of the first discovery run (log scale). On ZINC the first pick, the ring term of the target, dominates every later pick by a factor of about five. (b) Fresh-seed run: the first pick against the 95th percentile of its 1000-permutation null. Table 7: Out-of-fold discovery with the frozen method. Expert: cycle counts (molecules, PROTEINS) or graph size (social graphs). Gains are paired by seed with 95% bootstrap intervals; for MAE a positive gain means lower error. First block: the first pick and its Westfall–Young padj . Dataset (metric)

seeds

development ZINC (MAE↓) molhiv (AUC) COLLAB (acc)

3 8 5

held out, frozen method molbbbp (AUC) 10 molbace (AUC) 10 PROTEINS (acc) 10 IMDB-B (acc) 10 REDDIT-B (acc) 10

7

plain

expert discovered

gain vs. plain

gain vs. expert

first block (padj )

0.1911 0.1306 0.7588 0.7871 0.7996 0.8072

0.1196 0.7796 0.8064

+0.072 [.065, .077] +0.021 [.010, .031] +0.007 [.000, .016]

+0.011 [.009, .012] ring term (.001) −0.008 [−.023, .010] 12-ring, arom. (.001) −0.001 [−.008, .006] clustering (.001)

0.6421 0.8084 0.7786 0.7590 0.9175

0.6768 0.7959 0.7759 0.7520 0.9155

+0.035 [.025, .045] −0.012 [−.029, .008] −0.003 [−.015, .008] −0.007 [−.023, .010] −0.002 [−.014, .012]

+0.016 [.002, .030] −0.011 [−.024, .000] +0.006 [−.005, .017] −0.004 [−.017, .008] −0.002 [−.015, .011]

0.6610 0.8074 0.7696 0.7560 0.9170

C5 O 6-ring (.046) walks (.006) assortativity (.105) type hist. (.995) mean degree (.001)

Scope

Large gains concentrate where a structural term is unlearned (ring-dependent molecular targets); on social and protein graphs trained GINs leave little usable debt. Selection buys parsimony more than accuracy: the whole candidate pool sometimes matches the selected set (molbbbp +0.047 vs. +0.035) but can also hurt (molhiv −0.039). Significance nominates but does not measure size (REDDIT-B: padj = 0.001, no gain; Remark 1). Under scaffold or size shift classical rules gain more on four of six datasets, but no in-distribution quantity predicted the shifted value. The Fano certificate is valid but loose (0.26–32 nats); the usable-information bound E[− log q(S | T )] ≥ H(S | T ) (Xu et al., 2020) is a tighter alternative. A discovered rule is a residual correlate of one trained network, not a causal mechanism; named chemotypes are hypotheses for domain experts.

8

Conclusion

A rule is worth what a GNN fails to learn, I(Y ; S | T ), of which expressivity controls only the first term. Out-of-fold residuals turn this identity into a calibrated search over named candidate rules, which recovered the hidden ring term of ZINC’s target and transferred, frozen, to unseen datasets without significant loss and with a significant gain on BBBP.

References Cristian Bodnar, Fabrizio Frasca, Nina Otter, Yuguang Wang, Pietro Liò, Guido F. Montúfar, and Michael Bronstein. Weisfeiler and Lehman go cellular: CW networks. In Advances in Neural Information Processing Systems, volume 34, 11

Pricing Symbolic Rules by What GNNs Leave Unlearned

Table 8: Development datasets with the frozen out-of-fold method: every configuration, paired gain over the plain network with 95% interval (MAE: positive = lower error). Bold: validation-selected. Blocks in order of discovery. ZINC: max(0, ℓmax − 6); 10-ring count; closed walks. molhiv: 12-ring with seven aromatic bonds; 7-ring with two aromatic bonds; type histogram. COLLAB: triangles/clustering family; 90th percentile of degree.

ZINC (MAE, 3 seeds) Config

score

gain

plain expert rule blk1 blk2 blk3 random (size-matched) whole pool

0.1911 0.1306 0.1181 0.1196 0.1215 0.1814 0.1301

– +0.061 [.056, .065] +0.073 [.066, .079] +0.072 [.065, .077] +0.070 [.066, .076] +0.010 [.005, .013] +0.061 [.054, .070]

molhiv (AUC, 8 seeds) score

gain

COLLAB (acc, 5 seeds) score

0.7588 – 0.7871 +0.028 [.013, .042] 0.7741 +0.015 [.007, .025] 0.7796 +0.021 [.010, .031] 0.7783 +0.020 [.005, .033] 0.7742 +0.015 [.008, .023] 0.7202 −0.039 [−.046, −.031]

gain

0.7996 – 0.8072 +0.008 [.001, .014] 0.8064 +0.007 [.000, .016] 0.8092 +0.010 [.002, .024] 0.8052 +0.006 [−.003, .015] 0.7968 −0.003 [−.016, .014] 0.8168 +0.017 [.010, .026]

Table 9: Held-out datasets (frozen method, 10 seeds): every configuration, paired gain over the plain network with 95% interval. Bold: validation-selected. Config

molbace (AUC)

molbbbp (AUC)

PROTEINS (acc)

IMDB-B (acc)

REDDIT-B (acc)

plain 0.8084 0.6421 0.7786 0.7590 0.9175 expert rule −0.001 [−.019, .018] +0.019 [.011, .027] −0.009 [−.023, .005] −0.003 [−.016, .009] −0.001 [−.011, .011] blk1 −0.017 [−.039, .002] +0.019 [.010, .031] −0.003 [−.015, .008] −0.019 [−.034, −.005] +0.008 [−.006, .022] blk2 −0.007 [−.027, .014] +0.032 [.016, .046] −0.013 [−.030, .001] −0.022 [−.041, −.002] −0.002 [−.014, .012] blk3 −0.012 [−.029, .008] +0.035 [.025, .044] −0.003 [−.016, .011] −0.007 [−.023, .010] −0.006 [−.017, .006] random (size-matched) −0.024 [−.047, .001] +0.022 [.011, .033] −0.001 [−.015, .013] +0.001 [−.012, .015] +0.002 [−.009, .013] whole pool −0.005 [−.026, .015] +0.047 [.037, .058] +0.004 [−.006, .016] +0.015 [.002, .027] −0.003 [−.013, .008]

pages 2625–2640, 2021. doi: 10.48550/arXiv.2106.12575. Giorgos Bouritsas, Fabrizio Frasca, Stefanos Zafeiriou, and Michael M. Bronstein. Improving graph neural network expressivity via subgraph isomorphism counting. IEEE Transactions on Pattern Analysis and Machine Intelligence, 45(1):657–668, 2023. doi: 10.1109/TPAMI.2022.3154319. G. E. P. Box. Some theorems on quadratic forms applied in the study of analysis of variance problems, I. effect of inequality of variance in the one-way classification. The Annals of Mathematical Statistics, 25(2):290–302, 1954. doi: 10.1214/aoms/1177728786. Zhengdao Chen, Lei Chen, Soledad Villar, and Joan Bruna. Can graph neural networks count substructures? In Advances in Neural Information Processing Systems, volume 33, pages 10383–10395, 2020. doi: 10.48550/arXiv.2002.04025. Victor Chernozhukov, Denis Chetverikov, Mert Demirer, Esther Duflo, Christian Hansen, Whitney Newey, and James Robins. Double/debiased machine learning for treatment and structural parameters. The Econometrics Journal, 21 (1):C1–C68, 2018. doi: 10.1111/ectj.12097. Thomas M. Cover and Joy A. Thomas. Elements of Information Theory. John Wiley & Sons, Hoboken, NJ, 2nd edition, 2006. doi: 10.1002/047174882X. Vijay Prakash Dwivedi, Chaitanya K. Joshi, Anh Tuan Luu, Thomas Laurent, Yoshua Bengio, and Xavier Bresson. Benchmarking graph neural networks. Journal of Machine Learning Research, 24(43):1–48, 2023. doi: 10.48550/ arXiv.2003.00982. Chuqin Geng, Ziyu Zhao, Zhaoyue Wang, Haolin Ye, Yuhe Jiang, and Xujie Si. LogicXGNN: Grounded logical rules for explaining graph neural networks, 2025. arXiv:2503.19476; first version titled “Extracting Interpretable Logic Rules from Graph Neural Networks”. Rafael Gómez-Bombarelli, Jennifer N. Wei, David Duvenaud, José Miguel Hernández-Lobato, Benjamín SánchezLengeling, Dennis Sheberla, Jorge Aguilera-Iparraguirre, Timothy D. Hirzel, Ryan P. Adams, and Alán Aspuru-Guzik. Automatic chemical design using a data-driven continuous representation of molecules. ACS Central Science, 4(2): 268–276, 2018. doi: 10.1021/acscentsci.7b00572. Weihua Hu, Matthias Fey, Marinka Zitnik, Yuxiao Dong, Hongyu Ren, Bowen Liu, Michele Catasta, and Jure Leskovec. Open graph benchmark: Datasets for machine learning on graphs. In Advances in Neural Information Processing Systems, volume 33, pages 22118–22133, 2020a. doi: 10.48550/arXiv.2005.00687. 12

Pricing Symbolic Rules by What GNNs Leave Unlearned

Table 10: Mean test log-loss gain of the classical rules over the noise-input twin (3 seeds), random split vs. shifted split (scaffold for molecules, train-small/test-large for TU). Plain: ROC-AUC (molecules) or accuracy (TU) of the plain network. Dataset ogbg-molhiv ogbg-molbace ogbg-molbbbp NCI1 PROTEINS IMDB-B

plain (random)

plain (shifted)

mean rule gain, random

mean rule gain, shifted

0.828 0.862 0.954 0.813 0.771 0.716

0.756 0.810 0.664 0.564 0.593 0.744

+0.0021 −0.0195 −0.0062 +0.0063 −0.0157 −0.0062

+0.0016 +0.0627 +0.0105 +0.2112 +0.1702 −1.2528

mean rule gain (nats)

0.04

Classical rules under random splits: gain over the noise-input twin

0.02

0.00

−0.02

−0.04 IMDB-B

NCI1

PROTEINS molbace

molbbbp

molhiv

Figure 6: Mean test log-loss gain of the classical rules over the noise-input twin under random splits. Every dataset lies within ±0.02 nats (shaded band). Weihua Hu, Bowen Liu, Joseph Gomes, Marinka Zitnik, Percy Liang, Vijay Pande, and Jure Leskovec. Strategies for pre-training graph neural networks. In International Conference on Learning Representations, 2020b. doi: 10.48550/arXiv.1905.12265. Qian Huang, Horace He, Abhay Singh, Ser-Nam Lim, and Austin R. Benson. Combining label propagation and simple models out-performs graph neural networks. In International Conference on Learning Representations, 2021. doi: 10.48550/arXiv.2010.13993. Wengong Jin, Regina Barzilay, and Tommi Jaakkola. Junction tree variational autoencoder for molecular graph generation. In Proceedings of the 35th International Conference on Machine Learning, volume 80 of Proceedings of Machine Learning Research, pages 2323–2332. PMLR, 2018. doi: 10.48550/arXiv.1802.04364. Christopher Morris, Martin Ritzert, Matthias Fey, William L. Hamilton, Jan Eric Lenssen, Gaurav Rattan, and Martin Grohe. Weisfeiler and Leman go neural: Higher-order graph neural networks. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 33, pages 4602–4609, 2019. doi: 10.1609/aaai.v33i01.33014602. Christopher Morris, Nils M. Kriege, Franka Bause, Kristian Kersting, Petra Mutzel, and Marion Neumann. TUDataset: A collection of benchmark datasets for learning with graphs. In ICML 2020 Workshop on Graph Representation Learning and Beyond (GRL+), 2020. doi: 10.48550/arXiv.2007.08663. Matthew Morris, David J. Tena Cucala, Bernardo Cuenca Grau, and Ian Horrocks. Relational graph convolutional networks do not learn sound rules. In Proceedings of the 21st International Conference on Principles of Knowledge Representation and Reasoning (KR 2024), pages 897–908. IJCAI Organization, 2024. doi: 10.24963/kr.2024/84. Yagyensh C. Pati, Ramin Rezaiifar, and Perinkulam S. Krishnaprasad. Orthogonal matching pursuit: Recursive function approximation with applications to wavelet decomposition. In Proceedings of 27th Asilomar Conference on Signals, Systems and Computers, pages 40–44, 1993. doi: 10.1109/ACSSC.1993.342465. Meng Qu and Jian Tang. Probabilistic logic neural networks for reasoning. In Advances in Neural Information Processing Systems, volume 32, 2019. doi: 10.48550/arXiv.1906.08495. Meng Qu, Yoshua Bengio, and Jian Tang. GMNN: Graph Markov neural networks. In Proceedings of the 36th International Conference on Machine Learning, volume 97 of Proceedings of Machine Learning Research, pages 5241–5250. PMLR, 2019. doi: 10.48550/arXiv.1905.06214. F. E. Satterthwaite. An approximate distribution of estimates of variance components. Biometrics Bulletin, 2(6): 110–114, 1946. doi: 10.2307/3002019. 13

Pricing Symbolic Rules by What GNNs Leave Unlearned

Peter H. Westfall and S. Stanley Young. Resampling-Based Multiple Testing: Examples and Methods for p-Value Adjustment. Wiley Series in Probability and Mathematical Statistics. Wiley, New York, 1993. ISBN 0-471-55761-7. Keyulu Xu, Weihua Hu, Jure Leskovec, and Stefanie Jegelka. How powerful are graph neural networks? In International Conference on Learning Representations, 2019. doi: 10.48550/arXiv.1810.00826. Yilun Xu, Shengjia Zhao, Jiaming Song, Russell Stewart, and Stefano Ermon. A theory of usable information under computational constraints. In International Conference on Learning Representations, 2020. doi: 10.48550/arXiv. 2002.10689. Yuyu Zhang, Xinshi Chen, Yuan Yang, Arun Ramamurthy, Bo Li, Yuan Qi, and Le Song. Efficient probabilistic logic reasoning with graph neural networks. In International Conference on Learning Representations, 2020. doi: 10.48550/arXiv.2001.11850.

14

Related documents

Record · ID 1605305 · SHA-256 a69401805c1ef9f0
Retrieved via Conceptio: every document is proof-bundled with source, license, and retrieval metadata.
Bring this data into your agent: Connect via MCP or API · 20 free credits to start · no card required
Read the Docs → · View CLI source on GitHub · Conceptio Open Knowledge Archive