WorksComputer Science
Random Probing for Structural Self-Interactions in Graph Neural Networks
Abstract
Graph Neural Networks (GNNs) fundamentally lack the ability to capture structural properties defined by node self-interactions, such as cycle counts, subgraph centrality, and heat kernel signatures. Existing solutions often rely on computationally expensive higher-order architectures or hand-crafted features. In this work, we introduce DIAL, a message-passing layer that gives nodes access to graph structure through the diagonal of graph-derived operators. Our approach uses randomized probing to provide nodes with learnable, permutation equivariant access to diagonal entries. We prove that our approach can express important structural features, including cycle counts, subgraph centrality, and heat kernel signatures. The proposed method can be integrated directly into message passing layers. Experiments on molecular property prediction, cycle counting, and pattern detection demonstrate the effectiveness of DIAL across a range of graph learning tasks.
Introduction
Graph Neural Networks (GNNs) have been successful in many applications. However, they are known to have limited expressive power, often failing to distinguish basic structures or count fundamental motifs like cycles [1]. Higher-order GNN architectures can partially address these limitations, but often at a significant computational cost [2]. In practice, one often resorts to hand-crafted structural features, such as cycle or motif counts [3]. While effective, this approach is brittle and requires choosing the relevant structures in advance.
Many structural node properties that message passing fails to capture can be described in terms of self-interactions of nodes. Intuitively, these interactions quantify how information originating from a node flows through the graph and returns to it. Standard GNNs cannot capture such patterns—for example closed-walk participation—as they require isolating information that originates from a node and later returns to it. This concept naturally generalizes to subgraph centrality, which characterizes a node’s global importance by weighing its closed walk participation. In the spectral domain, Laplacian-based self-interactions cover graph angles (Figure 2), as well as diffusion dynamics like the heat kernel signature, which measures heat return rates over time.
Figure 2. Graph-angle structural encodings compared to Laplacian positional encodings. Left: Laplacian PE represents node by , the row of eigenvector coordinates (in practice only a subset). This captures relative position in the graph: nodes 0 and 1 are close to each other so their encodings are similar, whereas nodes 4 and 5 are in different components so their encodings can be very different. Right: graph angles represent node by , where are the distinct (Laplacian) eigenvalues. Graph angles are an example of a structural encoding: unlike eigenvectors, graph angles assign the same representation to automorphic nodes (such as 4 and 5). They are also invariant to basis and sign choices.
Mathematically, these notions can all be expressed as functions of a Graph Shift Operator (GSO) , such as the adjacency matrix or Laplacian . Crucially, all such node-level self-interactions correspond to the diagonal entries of these GSO-derived operators . In practice, is often approximated by low-degree polynomials of the GSO, . This naturally aligns with message-passing architectures, which implicitly compute GSO polynomials through neighborhood aggregation. However, standard message-passing GNNs cannot express any of the self-interaction-based structural properties above. The aggregation mechanism mixes information from different nodes, failing to isolate self-interactions.
Our key observation is that message passing algorithms can access diagonal entries in a permutation equivariant way using a randomized probing mechanism. With a stochastic approach based on the Hutchinson diagonal estimator [4], nodes can efficiently approximate the diagonal of GSO powers, and hence the diagonal of any graph-derived operator, through simple message passing steps. This mechanism allows nodes to capture structural properties, such as cycle counts, within a fully learnable framework, avoiding rigid hand-crafted features and expensive higher-order architectures. See Figure 1 for an example of triangle counting.

Figure 1. Message-passing view of Hutchinson’s diagonal estimator. We illustrate triangle counting for all nodes simultaneously using random probes and ordinary message passing. Left: The arrowed paths show a subset of length-3 messages received at and . After propagation, node observes , which mixes self-returning messages with messages originating elsewhere. Without identifying information, standard message passing cannot isolate the diagonal term. Right: Hutchinson’s estimator correlates the propagated value with the original probe . Since for and , the non-diagonal terms vanish in expectation, yielding . For an adjacency matrix, this diagonal entry counts length-3 closed walks at , i.e., twice the number of triangles incident to .
The resulting architecture, which we call DIAL, can be integrated into any standard GNN and is permutation equivariant in expectation. Adjusting the number of random probes allows a trade-off between computational cost and estimation accuracy. We prove DIAL can express a variety of important structural properties, including cycle counts, graph angles, subgraph centrality, and heat kernel signatures.
Empirically, we evaluate DIAL on molecular property prediction on ZINC and on synthetic node-level pattern counting tasks. The results show that DIAL is competitive with spectral and random-probe positional encoding methods on ZINC, and improves over other random-probe methods on cycle counting while remaining substantially cheaper than specialized subgraph and higher-order architectures.1
Preliminaries
A graph is denoted with . A graph shift operator (GSO) is a matrix . Common choices include the adjacency matrix , normalized adjacency , the Laplacian , where is the degree matrix, or the normalized Laplacian. We consider message-passing layers of the form
where is a nonlinearity and are learnable weights. The parameter controls the maximum hop distance used for aggregation (specifically ), with for typical GNNs such as GCN.
In what follows, we assume the graph is undirected, making the GSO symmetric. Let be the eigendecomposition of the GSO , where is the diagonal matrix of eigenvalues and is the matrix of eigenvectors. For symmetric GSOs (undirected graphs), is orthonormal, i.e. .
Each eigenvalue defines an eigenspace spanned by the eigenvectors with eigenvalue . Let denote the corresponding index set and let be the matrix whose columns are these eigenvectors. The projector onto is . These projections allow the GSO to be expressed as a sum over eigenspaces: , where the sum is over distinct eigenvalues.
Graph angles describe how nodes relate to these eigenspaces. For a node , let denote its indicator vector. The graph angle of with respect to is
The term graph angle comes from the geometric interpretation
Unlike individual eigenvector coordinates, graph angles are invariant to sign changes and changes of basis inside eigenspaces. These invariances remove arbitrary choices from the representation and can therefore simplify learning [5].
Graph filters are operators of the form , where is applied to the GSO . For symmetric GSOs, spectral filters can be written as
A polynomial filter is the special case where , equivalently
The linear propagation part of Equation (1) naturally implements polynomial filters of the GSO.
Related Work
Expressivity of GNNs. Standard message passing architectures are limited in their expressiveness. In particular, they are at most as powerful as the Weisfeiler-Leman test [1] in distinguishing non-isomorphic graphs. This limitation surfaces in the inability of message-passing GNNs to count many basic substructures [6]. For example, standard GNNs cannot count triangles [2] or longer cycles, despite the practical relevance of this information in several applications, such as molecular property prediction [7]. From the perspective of this work, this limitation stems from the fact that message passing aggregates information arriving from neighboring nodes, but does not keep track of where that information originally comes from. Consequently, message passing cannot isolate self-interactions such as cycles.
There have been many works proposing more expressive GNN architectures [2, 6, 8, 9, 10]. Higher-order GNNs operate on tuples of nodes, making richer structural interactions available to the model [2]. However, this comes at a cost growing polynomially with the tuple order. Other approaches increase expressivity by explicitly augmenting node representations with structural information. Substructure-counting methods add counts of selected substructures [3, 6], but require selecting the relevant substructures in advance. Distance encodings instead assign each node an encoding of its distance to a target node set [11], conditioning the resulting representation on that set. In contrast to these approaches, our method exposes self-interaction information through randomized diagonal estimation. This allows a standard message passing backbone to access structural information without higher-order tuples, a preselected substructure vocabulary, or target-conditioned encodings.
Random Features in GNNs. Random node features have been studied as a way to overcome expressivity limitations in message passing [12, 13, 14]. These works show that random initialization can break node symmetries and increase expressive power, with universality results in some settings [15].
However, this relies on the model learning to use randomness as node identifiers, and the theoretical power does not directly provide stable, task-relevant structural quantities. Hence, more direct uses of random features have been proposed [16, 17, 18].
R-PEARL [17] introduces a randomized variant of a positional encoding framework. While effective for PEs, its expressivity guarantees are limited.2
Eliasof et al. [18] use message passing with random features to learn positional encodings. They show that, combined with appropriate normalization, random feature propagation simulates power iteration and subspace iteration. This allows approximating the leading eigenvectors of the graph shift operator. They also note that random features can be used to estimate cycle counts using Hutchinson’s trace estimator. However, the focus of their work is on positional encodings, and their analysis is based on what can be achieved in the limit as the propagation depth increases. In contrast, we focus on structural self-interactions and explicitly correlate propagated signals with the input randomness. This correlation is essential: it yields an unbiased estimator of diagonal entries in expectation and provides a stable structural signal that can be learned from finite random probes.
Spectral Graph Theory and GNNs. Spectral approaches to graph learning are rooted in spectral graph theory and graph signal processing [19]. Graph signal processing interprets node features as signals on the graph and defines filters as functions of a graph shift operator [20]. Classical spectral filters are typically fixed or analytically chosen.
Spectral GNNs learn such filters from data. Early spectral GNNs implemented filters directly in the Fourier basis, requiring an eigendecomposition [21]. ChebNet [22] introduced Chebyshev polynomial approximations. GCN can be viewed as a first-order approximation of this spectral filtering perspective [23]. These methods apply graph-derived operators to node features, but the resulting node representations do not explicitly expose the diagonal entries of those operators. Our method complements spectral GNNs by showing how randomized probing can make these diagonal entries accessible to message passing.
Main Tool: Diagonal Estimation via Message Passing
This section presents our main technical tool: a randomized technique to estimate the diagonal entries of a matrix via message passing. It is based on Hutchinson’s diagonal estimator [4], which is formalized in the next lemma:
Lemma 4.1. Let . Let be a random vector with i.i.d. Rademacher entries (i.e., each entry is independently or with probability ). Then
where is the elementwise product. The variance of the th entry is .
Proof. The th entry is . Here, for since and are independent, making all cross terms vanish. Thus, only the term remains, giving .
The variance is computed from . Here,
because . Taking the expectation, , since for . Thus,
In the context of GNNs, the matrix can be the GSO or a matrix derived from it, such as powers or spectral filters. corresponds to a message passing operation on the graph with input features .
Warm-up: Cycle Counting via Diagonal Estimation
Consider a message passing model of the form
Ignoring nonlinearities and weights, after layers, we have . We illustrate how diagonal estimation can be used to compute cycle counts of the graph:
Lemma 4.2. With a GNN in Equation (2) and uniformly random initial features , each node can compute the number of closed walks of length starting and ending at in expectation.
Proof. Initialize node features as independent Rademacher random variables, . By Lemma 4.1, . It is well known that counts the number of closed walks of length starting and ending at node (see Lemma B.1).
DIAL: Diagonal Access Layer
Building on Lemma 4.1, we propose the Diagonal Access Layer (DIAL), a stochastic message-passing module that gives nodes access to structural quantities through diagonal entries of graph-derived operators. DIAL is based on propagating random features, and correlating the propagated probes with the original random values. The technique is general and can be applied to directed and undirected graphs for any GNN architecture.
Random probes. For initial features, we sample a probe vector with i.i.d. Rademacher entries.
Probe propagation. Let . DIAL’s main hyperparameter is , the number of layers from which diagonal estimates are formed. For , DIAL propagates the probe features by
where is a local propagation operator built from the GSO . For example, choosing gives . More generally, the stack of probe-propagation layers may implement powers of the GSO or polynomial filters, such as those arising from the linear propagation part of Equation (1). Thus each propagated probe state can be written as for some graph-derived operator .
Diagonal readout. For each state , DIAL forms a local correlation with the original probe,
where denotes the elementwise product. For every , Lemma 4.1 gives
Thus the DIAL readouts expose structural signals corresponding to the diagonals of . For instance, if , these signals give closed-walk counts up to length .
Aggregation. In practice, we reduce variance by using independent probes . Equivalently, stacking them as introduces a sample dimension, and the same probe propagation is applied column-wise to produce estimates . The state-wise estimates are then aggregated across propagation depths and independent probes using a shared readout:
Averaging over probes reduces the estimator variance at a rate of , while the distribution of the probes makes the construction permutation equivariant in expectation.
The resulting DIAL layer can be stacked with a standard message-passing GNN by using directly as a structural node representation or concatenating it with ordinary node features,
Structural Embeddings via Diagonal Estimation
Many classical node-level structural features, such as closed-walk counts and centrality measures, can be expressed as node-wise statistics derived from linear operators on the graph. In this section, we first show that DIAL gives nodes access to diagonal entries of graph filters. This can be used to recover several classical node quantities relevant for structural embeddings, including closed-walk counts, subgraph centrality, heat kernel signatures and graph angles. We also extend the diagonal estimation technique to off-diagonals for neighboring nodes, which is useful for counting simple cycles. Proofs for this section are in Appendix § 9.
Diagonals of Graph Filters
Recall that a polynomial filter of degree can be expressed as
where is a graph shift operator. With diagonalization, this can also be written as , where . In particular, spectral filters act independently on each eigenspace of .
The linear propagation part of Equation (1) allows such filters to be applied in message passing effectively. However, many relevant structural properties, such as cycle counts, depend on self-interactions. Intuitively, this is encoded in the diagonal entries of . The diagonal is not accessible via standard message passing, which aggregates information row-wise and cannot isolate self-interactions. The following theorem shows that diagonal entries can be accessed in expectation using DIAL:
Theorem 5.1. DIAL can compute node-wise statistics of the form
in expectation, where is a polynomial filter of degree at most . Equivalently, DIAL can compute expressions of the form
where and are the eigenvalues and eigenvectors of the GSO, and is any polynomial function of degree at most . Moreover, multiple polynomial filters can be expressed in parallel by increasing the (output) feature dimension.
Structural Quantities
The diagonal-filter view gives a compact way to recover several standard structural embeddings. We first focus on the quantities that can be expressed as polynomials of the GSO.
Example: graph angles. Figure 2 illustrates the distinction between positional and structural spectral encodings. Graph angles, defined in the preliminaries, are a canonical example of diagonal spectral features. They describe how strongly a node participates in an eigenspace through . This differs from eigenvector positional encodings, which assign nodes coordinates in selected eigenvectors. While eigenvector coordinates are useful positional features, they depend on sign choices and, for repeated eigenvalues, on an arbitrary basis for the eigenspace. Graph angles instead summarize the whole eigenspace through the projector , making them intrinsic structural features.
Theorem 5.2. DIAL can compute the following node-level structural quantities in expectation:
Closed-walk counts. For every ,
gives the number of closed walks of length starting and ending at .
Graph angles. For a Laplacian eigenspace with projector ,
can be computed, provided the eigenspace projector is represented by a polynomial in of degree at most . In particular, this holds if has at most distinct eigenvalues.
Spectral quantities defined by exponential graph filters can be approximated with polynomials of the GSO:
Theorem 5.3. DIAL can approximate the following node-level structural quantities in expectation:
Subgraph centrality. For , if is symmetric and , the degree- Taylor approximation yields an estimate satisfying
Heat kernel signature. For , if is symmetric and , the degree- Taylor approximation yields an estimate satisfying
Estimator variances for both the exact and approximate quantities above are derived in Appendix § 9.§ 1.
Neighbor Off-Diagonal Readout
Some structural quantities require off-diagonal entries of graph-derived operators. For example, the number of common neighbors of adjacent nodes and is , which is useful for link prediction, and also appears in formulas for counting simple cycles. The same random probing idea can estimate such entries: nodes first share their original probe values with their neighbors, and after layers of message propagation, each endpoint correlates the last layer state with the original probe values of their neighbors.
Theorem 5.4. For each node , DIAL can compute the multiset of off-diagonal elements of over neighbors :
in expectation, where is a polynomial filter of degree at most .
The proof is in Appendix § 9.
Combined with closed-walk counts from Theorem 5.2, the off-diagonal estimation from Theorem 5.4 can be used to express counts of simple cycles:
Theorem 5.5. A DIAL-augmented message-passing model can compute the number of simple cycles of lengths 3, 4 and 5 at each node.
The proof of Theorem 5.5 is given in Section B.
Experiments
We present empirical results in three main settings: molecular property prediction on ZINC [24, 25], synthetic node-level cycle counting [26], and directed structural pattern detection on synthetic multigraphs [27]. These experiments test the usefulness of DIAL as a lightweight structural encoding, and its ability to recover explicitly structural information in controlled settings.
Our comparisons include standard message-passing GNNs, hand-crafted cycle features, spectral positional encodings, PEARL and other random-probe baselines, as well as subgraph and higher-order architectures for cycle counting. Random Feature Propagation (RFP) [18] is a closely related baseline, but we omit it from the experiments because no public implementation was available.3
Setup
We use the PEARL codebase [17] as the starting point, modifying the positional-encoding module for DIAL. In the DIAL variants reported here, Hutchinson correlations are applied at two levels inside the structural encoding module: first after explicit graph-shift propagation of the random probes, and then again after a number of learned GIN layers. The outputs of each layer are concatenated and projected to the final node encoding. Full experimental details can be found in Appendix § 13.
Results
Table 1 reports a PE-focused comparison on ZINC, with logP prediction evaluated by test MAE. The non-DIAL entries follow the baseline set reported by Kanatsoulis et al. [17]. Hence, the table should be read as a comparison to positional-encoding methods rather than as a comprehensive ZINC leaderboard. DIAL performs comparably to strong spectral and random-probe positional encoding methods.
Table 1: Test MAE for logP prediction on ZINC; lower is better. For SignNet, BasisNet, and SPE, “8 smallest” uses the eigenvectors corresponding to the eight smallest eigenvalues of the normalized Laplacian, whereas “full” uses the complete eigenbasis. Best within each block is bolded.
| Method | Test MAE |
| GCN [23] | 0.469 ± 0.002 |
| GIN [1] | 0.209 ± 0.018 |
| GSN with cycles [3] | 0.115 ± 0.012 |
| GIN + random ID [1] | 0.279 ± 0.023 |
| SignNet (8 smallest) [5] | 0.1034 ± 0.0056 |
| SignNet (full) [5] | 0.0853 ± 0.0026 |
| BasisNet (8 smallest) [5] | 0.1554 ± 0.0048 |
| BasisNet (full) [5] | 0.1555 ± 0.0124 |
| SPE (8 smallest) [28] | 0.0736 ± 0.0007 |
| SPE (full) [28] | 0.0693 ± 0.0040 |
| R-PEARL [17] | 0.0699 ± 0.002 |
| B-PEARL [17] | 0.0644 ± 0.001 |
| DIAL () | 0.0703 ± 0.0012 |
| DIAL () | 0.0658 ± 0.0020 |
| DIAL () | 0.0733 ± 0.0026 |
| DIAL () | 0.0752 ± 0.0074 |
Table 1.
Table 2 compares DIAL with several baselines on node-level cycle counting. Methods designed specifically to expose cycle information, such as subgraph and higher-order architectures, achieve the lowest errors, but require substantially higher space or time complexity. Among random-probe methods, DIAL improves over R-PEARL across all cycle lengths while retaining linear scaling in , , and .
Table 2: Normalized MAE for node-level cycle counting. Complexities assume fixed hidden width; is the number of nodes, the average degree, the maximum extracted subgraph size, the number of probes, the number of learned layers or blocks, and the propagation depth. Inference space excludes graph storage. The lower block contains the random-probe methods; best results are bolded separately in the final two blocks. R-PEARL and DIAL are reported as mean ± standard deviation.
| Method | Complexity | Synthetic (norm. MAE) | ||||
| Space | Time | 3-Cycle | 4-Cycle | 5-Cycle | 6-Cycle | |
| Base GNN | 0.3515 | 0.2742 | 0.2088 | 0.1555 | ||
| ID-GNN [29] | 0.0006 | 0.0022 | 0.0490 | 0.0495 | ||
| NGNN [30] | 0.0003 | 0.0013 | 0.0402 | 0.0439 | ||
| GNN-AK+ [31] | 0.0004 | 0.0041 | 0.0133 | 0.0238 | ||
| PPGN [8] | 0.0003 | 0.0009 | 0.0036 | 0.0071 | ||
| I²-GNN [26] | 0.0003 | 0.0016 | 0.0028 | 0.0082 | ||
| 2-DRFWL(2) [32] | 0.0004 | 0.0015 | 0.0034 | 0.0087 | ||
| R-PEARL [17] | .0118±.0037 | .0360±.0054 | .0561±.0035 | .0622±.0025 | ||
| DIAL (Ours) | .0041±.0001 | .0185±.0027 | .0271±.0005 | .0348±.0030 |
Table 2.
We further evaluate DIAL on a directed synthetic pattern-detection task introduced by Egressy et al. [27]. See Table 3 for the results. The task is node-level multi-label classification: nodes are labeled by whether they participate in directed cycles of length 2–6, scatter-gather motifs (S-G), or bicliques (B-C), following Altman et al. [33]. DIAL outperforms R-PEARL on every directed pattern. The improvement is especially large for short directed cycles. Overall, DIAL raises macro F1 from 52.24 to 77.84. This suggests that correlating propagated representations with the original probes provides a substantially stronger signal for directed structural patterns.
Table 3: Pattern detection on synthetic directed graphs. We report minority-class F1 scores in percent for node-level binary labels; higher is better. The detected patterns include directed cycles of length 2–6, scatter-gather motifs (S-G), and bicliques (B-C). Both methods use and six learned probe-aggregation layers. Best in each column is bolded.
| Method | 2-Cycle | 3-Cycle | 4-Cycle | 5-Cycle | 6-Cycle | S-G | B-C | Macro F1 |
| R-PEARL [17] | 15.48 ± 7.59 | 41.21 ± 5.42 | 66.05 ± 0.52 | 55.13 ± 0.80 | 54.74 ± 0.60 | 70.54 ± 1.09 | 62.56 ± 2.49 | 52.24 |
| DIAL (Ours) | 91.07 ± 3.33 | 82.44 ± 4.48 | 79.72 ± 1.50 | 72.10 ± 2.21 | 74.83 ± 2.95 | 78.68 ± 2.79 | 66.07 ± 1.48 | 77.84 |
Table 3.
Conclusions
We introduce DIAL, a message-passing layer that uses randomized probing to give nodes access to structural self-interactions expressed as the diagonals of graph-derived operators. We showed that DIAL can express or approximate closed-walk and short-cycle counts, graph angles, subgraph centrality, and heat kernel signatures. In our experiments, DIAL is competitive with strong positional-encoding methods on ZINC. It also outperforms comparable random-probe methods on undirected cycle counting and directed pattern detection. Overall, DIAL provides a simple way to improve structural expressivity without using higher-order architectures or a fixed set of motifs.
Acknowledgements
The support of the Swiss National Science Foundation (project number: 212158) for this work is gratefully acknowledged.
Proofs for Section 5
Theorem 5.1. DIAL can compute node-wise statistics of the form
in expectation, where is a polynomial filter of degree at most . Equivalently, DIAL can compute expressions of the form
where and are the eigenvalues and eigenvectors of the GSO, and is any polynomial function of degree at most . Moreover, multiple polynomial filters can be expressed in parallel by increasing the (output) feature dimension.
Proof. Let be the target polynomial filter. Since the linear propagation part of Equation (1) represents polynomial graph filters of degree , the DIAL probe-propagation weights can learn the coefficients of . Thus, for a Rademacher probe , the learned probe propagation can produce
The DIAL readout then forms the node-wise correlation
Applying Lemma 4.1 with gives
Hence node obtains in expectation. For the equivalent spectral expression, write . Then , and therefore
Since is an arbitrary polynomial of degree at most , this gives the stated expression for any polynomial response of that degree. Multiple polynomial filters can be handled in parallel by using separate output channels for and applying the same argument channel-wise.
Theorem 5.4. For each node , DIAL can compute the multiset of off-diagonal elements of over neighbors :
in expectation, where is a polynomial filter of degree at most .
Proof. Let . Since the linear propagation part of Equation (1) represents polynomial graph filters of degree , the DIAL probe-propagation weights can learn the coefficients of . Thus, after the corresponding probe-propagation layer, the probe feature is
For the readout, each node keeps its original probe value alongside the propagated state . A subsequent GIN layer allows node to receive the multiset of probe values of its neighbors while retaining . Node can therefore form for every , and permutation-invariant aggregation encodes the resulting unordered collection
To analyze this, temporarily retain the identity of the sending neighbor and write . Since
we have
because for and . Therefore estimates the multiset in expectation. Substituting gives the claim.
Estimator Variance and Concentration
Lemma 4.1 establishes unbiasedness for diagonal entries, and Theorem 5.4 extends this to neighbor off-diagonal entries. Here, we compute the variance of these estimators in terms of the number of probes.
Lemma A.1. Let be fixed, and let be independent Rademacher probes. For fixed nodes , define
The variance of this estimator is
If is symmetric, the diagonal case simplifies to
Proof. For one probe, write and separate the desired entry from the remaining terms:
Thus, the desired entry is recovered as a deterministic term and does not contribute to the variance. Every other entry in row contributes a zero-mean random term. Expanding the square of these remaining terms gives
since the cross terms vanish. Finally, independence across probes gives
The row-norm expression follows directly. If is symmetric, then .
Corollary A.2. For independent probes, the random-probe estimators satisfy the following:
Closed walks and triangles. On an undirected graph,
In particular, for a simple graph without self-loops, , so
Graph angles. Let be the orthogonal projector onto the eigenspace associated with , and assume it is represented by a polynomial filter available to DIAL, as in Theorem 5.2. Then
Subgraph centrality and heat kernel signature. Define the polynomial filters
Their estimator variances are
Proof. For closed walks, set in Lemma A.1 and use . Scaling the resulting estimate by gives the triangle-count variance. For graph angles, set and use . Finally, substituting and gives the subgraph-centrality and heat-kernel formulas.
Combining estimates. Lemma A.1 also gives the variance of each randomized matrix-entry estimate used in the longer-cycle constructions. When several estimates formed from the same probes are combined (as in Theorem 5.5), the variance of the final quantity additionally depends on their covariance.
Concentration. Let . The products are jointly independent Rademacher variables, so for every ,
Structural Quantities
The next proofs use a Lagrange polynomial, which is a construction for polynomials of minimal degree interpolating a given set of points:
Lemma A.3 (Lagrange interpolation polynomials). Given a set of points , where , there is a polynomial of degree such that for all .
Proof. For each , construct a polynomial such that and for all . Such a polynomial is given by
since all factors are equal to one for , and for , , . Note that the degree of is . The polynomial is given by .
Theorem 5.2. DIAL can compute the following node-level structural quantities in expectation:
Closed-walk counts. For every ,
gives the number of closed walks of length starting and ending at .
Graph angles. For a Laplacian eigenspace with projector ,
can be computed, provided the eigenspace projector is represented by a polynomial in of degree at most . In particular, this holds if has at most distinct eigenvalues.
Proof. Closed walks: With the adjacency matrix as the GSO, gives the number of closed walks of length starting and ending at $v (Lemma B.1). This is the diagonal of the polynomial filter , which has degree . Theorem 5.1 gives access to in expectation.
Graph angles: Use the Laplacian as the GSO, and let be the distinct eigenvalues of . Fix an eigenvalue . Let be the projector onto the eigenspace , so that the graph angle is . By Lemma A.3, there is a polynomial of degree at most such that
With this choice of polynomial,
If the Laplacian has at most distinct eigenvalues, then . Theorem 5.1 then gives access to in expectation, which is exactly the vector of graph angles for $E_\mu.
Note that for graph angles, this theorem is an exact-recovery result. Since an -node graph may have up to distinct Laplacian eigenvalues, the interpolation construction may require a large .
Subgraph centrality and heat kernel signature. For completeness, the subgraph centrality of node is
and thus measures participation in closed walks of all lengths, with longer walks receiving smaller weights. Similarly, if , the heat kernel signature is
It gives the heat at at time when one unit of heat is initially placed at .
Theorem 5.3. DIAL can approximate the following node-level structural quantities in expectation:
Subgraph centrality. For , if is symmetric and , the degree- Taylor approximation yields an estimate satisfying
Heat kernel signature. For , if is symmetric and , the degree- Taylor approximation yields an estimate satisfying
Proof. For subgraph centrality, use the degree- Taylor polynomial
By Theorem 5.1, DIAL can compute an estimate such that
Since is symmetric, write . Then
Taylor’s theorem gives
Therefore
For the heat kernel signature at time , use
Theorem 5.1 gives an estimate satisfying
Since is symmetric positive semidefinite, its eigenvalues satisfy . Taylor’s theorem applied to on gives
As above,
Simulating BasisNet
BasisNet [5] computes functions of the projection matrices . Permutation equivariance requires that any such function satisfy
for any permutation matrix , since a permutation of the nodes permutes both the rows and columns of the projection matrix. The class of functions with this property is characterized in [34], and BasisNet instantiates using the Invariant Graph Network (IGN) [35].
IGNs are a family of GNNs that operate on tensors of order representing -tuples of nodes. Maron et al. [35] characterize all linear equivariant layers between such tensors. In the setting of BasisNet, only a mixed-order equivariant layer is needed, mapping a matrix to node features . The following operations can be shown to span the space of all linear layers of this type.
The diagonal operation:
Row-wise sum:
Column-wise sum:
Sum of all entries:
Sum of diagonal entries:
Lemma A.4. DIAL with a virtual node can simulate BasisNet.
Proof. From Theorem 5.1, DIAL can compute for each eigenspace. This gives the diagonal operation. For a symmetric graph shift operator, the row-wise and column-wise sums can be computed with as the initial features. The sum of all entries and sum of diagonal entries can be computed with the help of a virtual node, by summing over the node features obtained from the previous operations.
The diagonal estimate is key to obtaining the diagonal operation, which is not possible with standard message passing GNNs. The diagonal operation is the most important one, as it is the only one not constant across nodes:
Lemma A.5. Let be the Laplacian matrix and be the projection matrix to the eigenspace of eigenvalue . Then, the diagonal operation is the only non-constant operation among the five operations above when applied to .
Proof. The vector is an eigenvector with eigenvalue , since . The row-wise sums are zero for : since is orthogonal to these eigenspaces for any . The same holds for the column sums by symmetry. For the case , since is an eigenvector. Thus, the row-wise and column-wise sums are constant across nodes in all cases.
The diagonal sum and total sum are constant across nodes by definition. Note that the diagonal sum is equal to the multiplicity of , since .
Cycle Counting Proofs
The following lemma is a basic result in graph theory, which we include for completeness.
Lemma B.1. Let be the adjacency matrix. gives the number of walks of length exactly from to .
Proof. By induction on . The base case is true by definition of the adjacency matrix. Assume the claim holds for . The number of walks of length from to can be partitioned according to the node visited at step , where must be a neighbor of . This is given by :
This completes the induction.
Let denote the number of distinct simple undirected -cycles containing vertex . for . Let denote the number of distinct simple directed -cycles containing vertex . Note that since each undirected cycle can be traversed in two directions.
Lemma B.2 (Triangles). For any vertex ,
Proof. Since there are no self-loops, any closed walk of length 3 is a simple directed 3-cycle.
Lemma B.3 (4-cycles).
Proof. We count the number of closed walks of length 4 that are not simple cycles, starting from . Closed walks of length 4 which are not simple cycles must revisit some node. This node can be , meaning the walk must be of the form , which can be formed in ways. If the revisited node is not , the walk must be of the form , which can be formed in ways. These cases overlap for paths of the form , of which there are in total.
Lemma B.4 (5-cycles).
Proof. The entry counts all closed walks of length 5 starting and ending at . We subtract those that are not simple 5-cycles.
Every non-simple closed walk of length 5 in a simple graph consists of a directed triangle together with a backtracking walk of the form . We count such 5-walks in two cases.
First suppose that the triangle contains . Let be the set of undirected triangles containing ,
Fix an undirected triangle . There are two orientations. For one orientation, say
the backtracking walk can be inserted at one of the four positions , , , . Here, the two occurrences of are distinct, since the 5-walk is rooted at . Thus, before correcting overcounting, this gives
walks for the triangle .
However, if the edge on the backtracking walk is one of the triangle edges, the same walk is counted twice: once as a backtrack inserted at one endpoint of the edge and once as a backtrack inserted at the other endpoint. For each orientation there are three such choices. Therefore the number of non-simple closed 5-walks whose underlying triangle contains is
We now rewrite this expression in matrix form. First, since is independent of the triangle,
Second, consider the term involving the degrees of the two non- vertices:
We rewrite this by summing over neighbors . A neighbor appears as one of the two non- vertices in exactly as many triangles as there are common neighbors of and . This number is . Thus
Finally,
Combining the three identities gives
It remains to count the non-simple closed 5-walks whose triangle does not contain . Such a walk must have the form
for some . The number of directed triangles through is . Among these, the directed triangles that also contain are exactly those using the edge , and there are of them. Therefore this case contributes
The expression can be simplified using the fact that . Hence, the second case contributes
Adding the two cases, the number of non-simple closed 5-walks from to itself is
Subtracting these walks from all closed 5-walks gives the claimed formula.
Cycle Counting in kanatsoulis2024counting and kanatsoulis2025learning
Kanatsoulis and Ribeiro [16] study the substructure-counting power of GNNs under random inputs. However, a key assumption in their analysis does not appear to be satisfiable, which undermines the validity of the resulting guarantees. We highlight this issue because the same assumption is directly reused in PEARL [17], which is closely related to our method.
In more detail, the analysis in [16] uses higher-order moments of random variables. A core assumption is access to random variables with all moments equal to 1:
We assume that they are identically distributed and satisfy , for and
While this assumption can hold for even moments (for example by taking ), it cannot hold simultaneously for odd moments:
Lemma C.1. There does not exist a random variable such that
hold simultaneously.
Proof. Applying the Cauchy–Schwarz inequality (Theorem C.2) to and gives
Thus equality holds. Equality in Cauchy–Schwarz implies that almost surely for some constant . Taking expectations gives
which is a contradiction.
The Cauchy-Schwarz inequality is included below for convenience:
Theorem C.2 (Cauchy-Schwarz inequality). For any two random variables , , we have
where equality holds iff , for some constant $c.
Dataset Details
ZINC. We use the 12,000-molecule subset of ZINC and its 10,000/1,000/1,000 train/validation/test split [24, 25]. Molecules are represented by graphs with categorical atom types as node features and categorical bond types as edge features. The task is graph-level regression with the standard normalized penalized-logP as target, evaluated by mean absolute error.
Cycle counting. We use the synthetic benchmark of Huang et al. [26], containing 5,000 undirected graphs divided into 1,500/1,000/2,500 training, validation, and test graphs. The node-level targets are the numbers of 3-, 4-, 5-, and 6-cycles containing each node. The graphs have no input node or edge attributes, so every node receives the same constant feature. We report mean absolute error normalized by the target standard deviation.
Directed pattern detection. We use the synthetic directed-multigraph benchmark of Egressy et al. [27]. The dataset has a separate 8,192-node graph for training, validation, and testing. The task is node-level multi-label classification of participation in directed cycles of lengths 2–6, scatter-gather motifs, and bicliques [33]. Node features are constant and there are no edge attributes. Performance is measured by minority-class F1 for each pattern.
DrugOOD. We use the LBAP-core IC50 task from DrugOOD [36], under distribution shifts defined by assay, molecular scaffold, and molecule size. Molecules are represented using 39-dimensional atom features, including atom type, hybridization, hydrogen count, and chirality, and 10-dimensional bond features, including bond type, conjugation, ring membership, and stereochemistry. Each setting provides an in-distribution training split and both in- and out-of-distribution validation and test splits. The split sizes depend on the chosen shift.
CIFAR10 superpixels. We use the CIFAR10 superpixel benchmark of Dwivedi et al. [25], with 45,000/5,000/10,000 train/validation/test graphs. Each image is represented by an 8-nearest-neighbor graph containing 85–150 superpixels. Node features contain continuous RGB values and two-dimensional coordinates, while each edge has a scalar feature derived from spatial distance. The task is graph classification with 10 classes, evaluated by accuracy.
| Dataset | #Graphs (train/val/test) | Avg. nodes | Avg. edges | Node inputs | Edge inputs |
| ZINC | 10,000 / 1,000 / 1,000 | 23.16 | 49.83 | Atom type (28 cat.) | Bond type (3 cat.) |
| Cycle counting | 1,500 / 1,000 / 2,500 | 18.80 | 62.68 | Constant | None |
| Directed pattern detection | 1 / 1 / 1 | 8,192.00 | 23,630.67 | Constant | None |
| CIFAR10 superpixels | 45,000 / 5,000 / 10,000 | 117.63 | 941.07 | RGB + coordinates (5D) | Spatial distance (1D) |
Table 4. Statistics and input features for the datasets with fixed train/validation/test splits. Average node and edge counts are computed over the full dataset. DrugOOD uses shift-dependent five-way splits and is described in the text.
Experimental Details
For ZINC, the structural encoder uses Rademacher probes, a 37-dimensional output encoding, and an eight-layer GIN with hidden dimension 40. The resulting encoding is added to the initial node embeddings and passed to the task GNN: four GINE layers with hidden dimension 128, additive graph pooling, and a three-layer prediction MLP.
For the cycle counting task, we use the same DIAL structural encoder and no additional base GNN. DIAL uses Rademacher probes, a 37-dimensional output encoding, and a six-layer GIN with hidden dimension 40. This encoding is added to 64-dimensional node embeddings, and node-level predictions are made directly with a two-layer MLP.
For directed pattern detection, both R-PEARL and DIAL are trained as node-level multi-label classifiers using random probes, , a 37-dimensional structural encoding, six learned GIN layers with hidden dimension 40, and no additional downstream base GNN. Predictions are made from the resulting node embeddings with a two-layer MLP.
In all experiments, the DIAL structural encoder and the downstream task GNN are trained jointly in an end-to-end fashion. We use the Adam [37] optimizer with a base learning rate of 0.001. For directed pattern detection and ZINC, we train for 150 and 2000 epochs, respectively, using a cosine learning-rate schedule with warmup. For the cycle counting task, we train for 2000 epochs and use a ReduceLROnPlateau learning-rate scheduler. Results are averaged over five random seeds for pattern detection and ZINC, and over three random seeds for node-level cycle counting, following the evaluation protocol of the compared methods.
Runtime Results
Table 5 reports the per-epoch training and inference times for DIAL on each benchmark used in the paper. Experiments were run on a single machine with an NVIDIA RTX 4090 (24 GB) GPU and an AMD Ryzen 9 7950X CPU using PyTorch 2.2.2 and CUDA 11.8. Training and inference times are reported as per-epoch means over 22 measured epochs, excluding 3 warmup epochs, and averaged across 3 independent runs.
| Dataset | Epochs | Train (s/epoch) | Inference (s) | Total train (h) | Peak mem. (GiB) |
| ZINC | 2000 | 8.42 | 9.94 | ||
| Directed pattern detection | 150 | 0.01 | 10.67 | ||
| Cycle counting | 2000 | 0.66 | 5.11 |
Table 5. Per-epoch training and inference time for DIAL on each main benchmark used in the paper. Total training time is a projection, computed as the mean per-epoch training time multiplied by the reported number of training epochs.
Additional Experimental Results
GraphGPS Backbone
To test whether DIAL is also useful with a hybrid message-passing/Transformer architecture, we combine it with a GraphGPS backbone [38]. We use the same dataset, fixed train/validation/test splits, target normalization, evaluation metric, three seeds, and 2,000-epoch training budget as in the original cycle-counting experiment. The GraphGPS and DIAL+GraphGPS variants use identical four-layer GraphGPS backbones with GIN as the local model and four attention heads, and differ only in whether DIAL is included. The original DIAL results are included as a reference.
| Method | 3-Cycle | 4-Cycle | 5-Cycle | 6-Cycle |
| GraphGPS | ||||
| DIAL (original) | ||||
| DIAL + GraphGPS |
Table 6. Node-level cycle-counting results with a GraphGPS backbone. We report normalized MAE as mean standard deviation over three seeds; lower is better. Best results are bolded.
Adding DIAL substantially reduces the error of GraphGPS across all four targets. Relative to the original DIAL architecture, DIAL+GraphGPS has lower mean error on 4- and 6-cycles, similar error on 5-cycles, and higher error on 3-cycles.
Ablation of the Post-GIN Correlation
DIAL correlates the original random probes with their propagated representations at two points in the structural encoder: after linear graph-shift propagation and after the learned GIN layers. The first correlation is the mechanism analyzed theoretically. Since the GIN layers contain nonlinearities, the same analysis does not directly apply to the second correlation. We therefore ablate only the post-GIN correlation, leaving the GIN layers and all other architectural and training choices unchanged.
| Method | 3-Cycle | 4-Cycle | 5-Cycle | 6-Cycle |
| DIAL | .0041 ± .0001 | .0185 ± .0027 | .0271 ± .0005 | .0348 ± .0030 |
| DIAL (no post-GIN corr.) | .0046 ± .0007 | .0203 ± .0020 | .0260 ± .0006 | .0371 ± .0042 |
Table 7. Effect of removing the post-GIN probe correlation on node-level cycle counting. We report normalized MAE as mean ± standard deviation over three seeds; lower is better. Best results are bolded.
| Method | 2-Cycle | 3-Cycle | 4-Cycle | 5-Cycle | 6-Cycle | S-G | B-C | Macro F1 |
| DIAL | 91.07 ± 3.33 | 82.44 ± 4.48 | 79.72 ± 1.50 | 72.10 ± 2.21 | 74.83 ± 2.95 | 78.68 ± 2.79 | 66.07 ± 1.48 | 77.84 |
| DIAL (no post-GIN corr.) | 70.56 ± 17.03 | 71.42 ± 5.06 | 75.36 ± 2.50 | 69.21 ± 2.57 | 73.52 ± 4.64 | 75.81 ± 4.26 | 65.45 ± 0.78 | 71.62 |
Table 8. Effect of removing the post-GIN probe correlation on directed pattern detection. Per-pattern entries are minority-class F1 scores in percent, reported as mean ± standard deviation over five seeds. Macro F1 is the unweighted mean of the per-pattern means; higher is better. Best results are bolded.
Removing the post-GIN correlation has a small and mixed effect on cycle counting: it increases the error for 3-, 4-, and 6-cycles, but slightly reduces it for 5-cycles. On directed pattern detection, the ablation performs worse on every target and reduces macro F1 from 77.84 to 71.62, with the largest drops on 2 and 3-cycles. Thus, the post-GIN correlation is empirically useful, particularly for directed pattern detection, even though our estimator analysis applies only to the correlation after linear propagation.
We do not include a variant without either probe correlation because it would closely overlap with the R-PEARL random-feature architecture already evaluated in Table 2 and Table 3.
CIFAR10 Superpixels
We additionally evaluate DIAL on CIFAR10 superpixels, where the input node features contain continuous color and coordinate information. Both methods use 120 probes and concatenate the resulting representation with the task features. All variants use the same four-layer downstream GINE classifier. Table 9 shows that both methods improve over the task-only GINE backbone, while R-PEARL performs better than DIAL on this benchmark.
| Method | Test accuracy |
| GINE (task only) | 57.55 ± 0.78 |
| R-PEARL | 61.00 ± 0.34 |
| DIAL | 59.35 ± 0.53 |
Table 9. CIFAR10 superpixel graph-classification accuracy (%) at the checkpoint with the highest validation accuracy. We report mean ± standard deviation over three seeds; higher is better.
DrugOOD
Table 10 reports in-distribution (ID) and out-of-distribution (OOD) AUROC for DIAL () alongside previously reported baselines. DIAL is close to the strongest baseline on the assay split, but performs slightly worse on the scaffold and size splits.
| Domain | Method | ID Val | ID Test | OOD Val | OOD Test |
| Assay | No PE | ||||
| Assay | PEG | ||||
| Assay | SignNet | ||||
| Assay | BasisNet | ||||
| Assay | SPE | ||||
| Assay | SPE-8S | ||||
| Assay | R-PEARL | ||||
| Assay | B-PEARL | ||||
| Assay | DIAL () | ||||
| Scaffold | No PE | ||||
| Scaffold | PEG | ||||
| Scaffold | SignNet | ||||
| Scaffold | BasisNet | ||||
| Scaffold | SPE | ||||
| Scaffold | SPE-8S | ||||
| Scaffold | R-PEARL | ||||
| Scaffold | B-PEARL | ||||
| Scaffold | DIAL () | ||||
| Size | No PE | ||||
| Size | PEG | ||||
| Size | SignNet | ||||
| Size | BasisNet | ||||
| Size | SPE | ||||
| Size | SPE-8S | ||||
| Size | R-PEARL | ||||
| Size | B-PEARL | ||||
| Size | DIAL () |
Table 10. DrugOOD binding-affinity prediction results (AUROC, %). Baseline results are taken from Kanatsoulis et al. [17] and reported as mean standard deviation over five seeds. Best point estimates for each domain are bolded.
References
- [1]Keyulu Xu, Weihua Hu, Jure Leskovec, and Stefanie Jegelka. How powerful are graph neural networks? In International Conference on Learning Representations, 2019. URL https://openreview.net/forum?id=ryGs6iA5Km. 1, 3, 9arxiv.org/abs/1810.00826
- [2]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. 1, 3arxiv.org/abs/1810.02244
- [3]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. 1, 3, 9DOI
- [4]M.F. Hutchinson. A stochastic estimator of the trace of the influence matrix for laplacian smoothing splines. Communications in Statistics - Simulation and Computation, 19(2):433–450, 1990. doi: 10.1080/03610919008812866. URL https://doi.org/10.1080/03610919008812866. 1, 4
- [5]Derek Lim, Joshua Robinson, Lingxiao Zhao, Tess Smidt, Suvrit Sra, Haggai Maron, and Stefanie Jegelka. Sign and basis invariant networks for spectral graph representation learning. In International Conference on Learning Representations, 2023. 3, 9, 17arxiv.org/abs/2202.13013
- [6]Zhengdao Chen, Lei Chen, Soledad Villar, and Joan Bruna. Can graph neural networks count substructures? Advances in neural information processing systems, 33:10383–10395, 2020. 3arxiv.org/abs/2002.04025
- [7]Tom Wollschläger, Niklas Kemper, Leon Hetzel, Johanna Sommer, and Stephan G üṅnemann. Expressivity and generalization: Fragment-biases for molecular GNNs. In Ruslan Salakhutdinov, Zico Kolter, Katherine Heller, Adrian Weller, Nuria Oliver, Johann Christoph Scarlett, and Felix Berkenkamp, editors, Proceedings of the 41st International Conference on Machine Learning, volume 235 of Proceedings of Machine Learning Research, pages 53113–53139. PMLR, 21–27 Jul 2024. URL https://proceedings.mlr.press/v235/wollschlager24a.html. 3arxiv.org/abs/2406.08210
- [8]Haggai Maron, Heli Ben-Hamu, Hadar Serviansky, and Yaron Lipman. Provably powerful graph networks. Advances in neural information processing systems, 2019. 3, 9arxiv.org/abs/1905.11136
- [9]Pál András Papp, Karolis Martinkus, Lukas Faber, and Roger Wattenhofer. DropGNN: Random dropouts increase the expressiveness of graph neural networks. Advances in Neural Information Processing Systems, 34:21997–22009, 2021.arxiv.org/abs/2111.06283
- [10]Clement Vignac, Andreas Loukas, and Pascal Frossard. Building powerful and equivariant graph neural networks with structural message-passing. Advances in neural information processing systems, 33:14143–14155, 2020. 3
- [11]Pan Li, Yanbang Wang, Hongwei Wang, and Jure Leskovec. Distance encoding: Design probably more powerful neural networks for graph representation learning. Advances in Neural Information Processing Systems, 33:4465–4478, 2020. 3
- [12]George Dasoulas, Ludovic Dos Santos, Kevin Scaman, and Aladin Virmaux. Coloring graph neural networks for node disambiguation. In Christian Bessiere, editor, Proceedings of the Twenty-Ninth International Joint Conference on Artificial Intelligence, IJCAI-20, pages 2126–2132. International Joint Conferences on Artificial Intelligence Organization, 2020. doi: 10.24963/ijcai.2020/294. URL https://doi.org/10.24963/ijcai.2020/294.
- [13]Ralph Abboud, Ismail Ilkan Ceylan, Martin Grohe, and Thomas Lukasiewicz. The surprising power of graph neural networks with random node initialization. In Zhi-Hua Zhou, editor, Proceedings of the Thirtieth International Joint Conference on Artificial Intelligence, IJCAI-21, pages 2112–2118. International Joint Conferences on Artificial Intelligence Organization, 2021. doi: 10.24963/ijcai.2021/291. URL https://doi.org/10.24963/ijcai.2021/291.
- [14]Pál András Papp and Roger Wattenhofer. A theoretical consideration of graph neural network extensions. In International Conference on Machine Learning, pages 17323–17345. PMLR, 2022.arxiv.org/abs/2201.12884
- [15]Omri Puny, Heli Ben-Hamu, and Yaron Lipman. Global attention improves graph networks generalization, 2020. URL https://arxiv.org/abs/2006.07846.
- [16]Charilaos Kanatsoulis and Alejandro Ribeiro. Counting graph substructures with graph neural networks. In The twelfth international conference on learning representations, 2024.
- [17]Charilaos Kanatsoulis, Evelyn Choi, Stefanie Jegelka, Jure Leskovec, and Alejandro Ribeiro. Learning efficient positional encodings with graph neural networks. In International Conference on Learning Representations, 2025.arxiv.org/abs/2502.01122
- [18]Moshe Eliasof, Fabrizio Frasca, Beatrice Bevilacqua, Eran Treister, Gal Chechik, and Haggai Maron. Graph positional encoding via random feature propagation. In International conference on machine learning, pages 9202–9223. PMLR, 2023.arxiv.org/abs/2303.02918
- [19]Fan RK Chung. Spectral graph theory, volume 92. American Mathematical Soc., 1997.
- [20]David I Shuman, Sunil K Narang, Pascal Frossard, Antonio Ortega, and Pierre Vandergheynst. The emerging field of signal processing on graphs: Extending high-dimensional data analysis to networks and other irregular domains. IEEE signal processing magazine, 30(3):83–98, 2013.DOI
- [21]Joan Bruna, Wojciech Zaremba, Arthur Szlam, and Yann LeCun. Spectral networks and locally connected networks on graphs. In International Conference on Learning Representations, 2014.arxiv.org/abs/1312.6203
- [22]Michaël Defferrard, Xavier Bresson, and Pierre Vandergheynst. Convolutional neural networks on graphs with fast localized spectral filtering. Advances in neural information processing systems, 29, 2016.arxiv.org/abs/1606.09375
- [23]Thomas N. Kipf and Max Welling. Semi-supervised classification with graph convolutional networks. In International Conference on Learning Representations, 2017.arxiv.org/abs/1609.02907
- [24]John J Irwin, Teague Sterling, Michael M Mysinger, Erin S Bolstad, and Ryan G Coleman. Zinc: a free tool to discover chemistry for biology. Journal of chemical information and modeling, 52(7):1757–1768, 2012.DOI
- [25]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.
- [26]Yinan Huang, Xingang Peng, Jianzhu Ma, and Muhan Zhang. Boosting the cycle counting power of graph neural networks with L²-GNNs. In International Conference on Learning Representations, 2023.arxiv.org/abs/2210.13978
- [27]Béni Egressy, Luc Von Niederhäusern, Jovan Blanuša, Erik Altman, Roger Wattenhofer, and Kubilay Atasu. Provably powerful graph neural networks for directed multigraphs. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 38, pages 11838–11846, 2024.arxiv.org/abs/2306.11586
- [28]Yinan Huang, William Lu, Joshua Robinson, Yu Yang, Muhan Zhang, Stefanie Jegelka, and Pan Li. On the stability of expressive positional encodings for graphs. In International Conference on Learning Representations, 2024.arxiv.org/abs/2310.02579
- [29]Jiaxuan You, Jonathan M Gomes-Selman, Rex Ying, and Jure Leskovec. Identity-aware graph neural networks. In Proceedings of the AAAI conference on artificial intelligence, volume 35, pages 10737–10745, 2021.
- [30]Zhang, Muhan and Pan Li. Nested graph neural networks. Advances in Neural Information Processing Systems, 34:15734–15747, 2021. 9arxiv.org/abs/2110.13197
- [31]Lingxiao Zhao, Wei Jin, Leman Akoglu, and Neil Shah. From stars to subgraphs: Uplifting any GNN with local structure awareness. In International Conference on Learning Representations, 2022. URL https://openreview.net/forum?id=Mspk_WYKoEH. 9arxiv.org/abs/2110.03753
- [32]Junru Zhou, Jiarui Feng, Xiyuan Wang, and Muhan Zhang. Distance-restricted folklore weisfeiler-leman GNNs with provable cycle counting power. Advances in Neural Information Processing Systems, 36:14293–14327, 2023. 9arxiv.org/abs/2309.04941
- [33]Erik Altman, Jovan Blanuša, Luc Von Niederhäusern, Béni Egressy, Andreea Anghel, and Kubilay Atasu. Realistic synthetic financial transactions for anti-money laundering models. Advances in Neural Information Processing Systems, 36:29851–29874, 2023. 8, 20arxiv.org/abs/2306.16424
- [34]Haggai Maron, Ethan Fetaya, Nimrod Segol, and Yaron Lipman. On the universality of invariant networks. In Kamalika Chaudhuri and Ruslan Salakhutdinov, editors, Proceedings of the 36th International Conference on Machine Learning, volume 97 of Proceedings of Machine Learning Research, pages 4363–4371. PMLR, 09–15 Jun 2019. URL https://proceedings.mlr.press/v97/maron19a.html. 17arxiv.org/abs/1901.09342
- [35]Haggai Maron, Heli Ben-Hamu, Nadav Shamir, and Yaron Lipman. Invariant and equivariant graph networks. In International Conference on Learning Representations, 2019. 17arxiv.org/abs/1812.09902
- [36]Yuanfeng Ji, Lu Zhang, Jiaxiang Wu, Bingzhe Wu, Lanqing Li, Long-Kai Huang, Tingyang Xu, Yu Rong, Jie Ren, Ding Xue, et al. Drugood: Out-of-distribution dataset curator and benchmark for ai-aided drug discovery—a focus on affinity prediction problems with noise annotations. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 37, pages 8023–8031, 2023. 20
- [37]Diederik P. Kingma and Jimmy Ba. Adam: A method for stochastic optimization. In International Conference on Learning Representations (ICLR), 2015. 20arxiv.org/abs/1412.6980
- [38]Ladislav Rampášek, Mikhail Galkin, Vijay Prakash Dwivedi, Anh Tuan Luu, Guy Wolf, and Dominique Beaini. Recipe for a general, powerful, scalable graph transformer. In Advances in Neural Information Processing Systems, volume 35, pages 14501–14515, 2022. 21arxiv.org/abs/2205.12454
