potentialpaper

Beyond Coordinates: Encoding Graph Structure via Contextual Distribution and Relational Similarity

Feifei Qian, Lu Bai, Lixin Cui, Ming Li, Hangyuan Du, Bo Jiang, Lixiang Xu, Edwin Hancock

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

TL;DR. This paper introduces a novel structural encoding framework based on contextual distributions.

Abstract. The Message Passing Neural Networks (MPNNs) and Graph Transformers (GTs) have emerged as two dominant paradigms for graph representation learning. However, the expressive power of standard MPNNs is fundamentally bounded by the 1-dimensional Weisfeiler-Lehman (1-WL) test, while GTs lack the inductive bias for graph structure. To enhance structural representation, existing methods typically resort to subgraph-based aggregation or coordinate-based positional encodings. However, the former suffers from prohibitive computational memory overheads, while the latter is limited by rigid reference frames that fail to distinguish fine-grained local topology. To address these limitations, we introduce a novel structural encoding framework based on contextual distributions. Specifically, we move beyond fixed coordinate systems to capture intrinsic local topology by encoding structural information through a compact distributional statistic, i.e., the entropy of the node context. Furthermore, instead of relying on relative positioning, we introduce a kernelized mechanism to encode relational similarity by quantifying the structural affinity between node contexts. Extensive experiments on both synthetic and real-world datasets demonstrate that the proposed framework achieves superior performance, striking a favorable balance between effectiveness and efficiency.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
3 May 2026NeurIPS 2026submittedNeurIPS 2026Accept (spotlight)forumreviews ↓[1]PDF[1]
Missing a version?

NeurIPS 2026

Accept (spotlight) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:50 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (spotlight)
Read decision
Meta-review

This paper presents a contextual-distribution-based structural encoding framework that equips MPNNs and Graph Transformers with compact, coordinate-free structural information through EntSE and KerSE. All three reviewers recognize the novelty, modularity, theoretical value, and broad empirical evaluation, while raising questions about the theoretical scope, entropy collisions, implementation details, and computational cost. The rebuttal provides theoretical clarifications, explicit examples, collision statistics, and detailed efficiency analyses, and all reviewers confirm that their major concerns have been addressed. Given the three ratings, I recommend acceptance.

Final justification

See Metareview.

Area Chair DFRU · Meta-reviewOpenReview ↗
Final justification
See Metareview.
Read meta-review
Meta-review

This paper presents a contextual-distribution-based structural encoding framework that equips MPNNs and Graph Transformers with compact, coordinate-free structural information through EntSE and KerSE. All three reviewers recognize the novelty, modularity, theoretical value, and broad empirical evaluation, while raising questions about the theoretical scope, entropy collisions, implementation details, and computational cost. The rebuttal provides theoretical clarifications, explicit examples, collision statistics, and detailed efficiency analyses, and all reviewers confirm that their major concerns have been addressed. Given the three ratings, I recommend acceptance.

Reviewer mm53OpenReview ↗
Rating
5/6
Confidence
4/5
Quality
4/4
Clarity
4/4
Significance
3/4
Originality
4/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper proposes a coordinate-free structural encoding framework for graph representation learning. The main idea is to encode graph structure through contextual distributions of node ego-subgraphs, rather than relying on explicit positional coordinates or expensive subgraph-based aggregation. The paper instantiates this framework with two encodings: Entropy Structural Encoding (EntSE), which summarizes the local ego-subgraph using von Neumann entropy, and Kernelized Relational Structural Encoding (KerSE), which measures pairwise structural affinity through a kernel over contextual entropy values. These encodings can be integrated into multiple graph learning backbones, including MPNNs and Graph Transformers. The paper evaluates the proposed encodings on expressiveness benchmarks, graph classification tasks, graph regression tasks, and efficiency comparisons.

Strengths and weaknesses

Strengths

  1. The paper studies an important problem in graph representation learning: how to inject structural information into MPNNs and Graph Transformers in a scalable and expressive way.
  2. The contextual-distribution perspective is interesting and provides an alternative to coordinate-based positional encodings such as Laplacian eigenvectors and distance-based encodings.
  3. The proposed EntSE and KerSE modules are simple and modular. They can be added to different backbones without requiring a completely new graph neural architecture.
  4. The paper provides a combination of theoretical motivation and empirical evidence. The expressiveness experiments suggest that the proposed encodings can improve the ability of several models to distinguish difficult non-isomorphic graph pairs.
  5. The experimental evaluation is relatively broad, covering synthetic expressiveness benchmarks, molecular regression datasets, graph classification datasets, and runtime/memory comparisons.

Weaknesses

  1. The connection between ConD-WL and the practical EntSE/KerSE instantiations could be clearer. The theoretical result is established for contextual distributions in general, while EntSE uses a scalar entropy summary of each local context. It would be useful to clarify how much of the theoretical guarantee still applies to this specific scalar encoding.
  2. EntSE may lose fine-grained structural information due to scalar compression. Different non-isomorphic local subgraphs may have identical or very similar entropy values. A more systematic discussion of such entropy collisions would strengthen the paper.
  3. The efficiency analysis could be more detailed. Although the method is more scalable than several subgraph-based GNNs, it still requires extracting k-hop contexts and computing entropy features. Separating preprocessing, storage, and training costs would make the scalability claim clearer.
  4. The paper has some minor writing and table-formatting issues. For example, there are typos or grammatical issues such as “i,e.,” and “various subgraph-based method are proposed.” The highlighting conventions in Tables 1–3 also appear somewhat inconsistent or incomplete, especially for bold/underline markings of best and second-best results.
Questions

I would be more positive if the authors can clarify the theoretical scope of EntSE/KerSE and analyze entropy collisions more systematically.

  1. Could the authors clarify which parts of the ConD-WL theoretical guarantee apply specifically to EntSE and KerSE? Since EntSE uses a scalar entropy summary, it would be helpful to distinguish between theoretically guaranteed expressiveness and empirically observed improvements.
  2. How often do entropy collisions occur in practice, especially on synthetic or adversarial graph families? It would be useful to know whether non-isomorphic local contexts with similar or identical entropy values affect downstream performance.
  3. Can the authors provide a more detailed breakdown of the computational cost, including preprocessing time, storage overhead, and training-time overhead? This would help clarify the scalability of the method under different graph sizes, densities, and context radii.
Limitations

yes

Final justification

The clarifications provided adequately address the concerns raised in my original review, and I will maintain my positive evaluation.

Formatting concerns

I did not notice any major formatting or anonymity concerns in the paper.

3 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for this insightful comment. We address the reviewer’s concerns point by point below and will incorporate the corresponding clarifications and revisions into the final version.

W1&Q1: Clarify the theoretical guarantees applicable to EntSE and KerSE.

We clarify the relationship among the general ConD-WL framework, EntSE, and KerSE from the following three aspects.

  1. General theoretical foundation. ConD-WL serves as the theoretical foundation of our work, providing a discrete framework for comparing contextual distribution encoding with 1-WL. EntSE and KerSE are continuous and compact instantiations of this general principle, designed for practical integration into neural architectures such as MPNNs and Graph Transformers.

  2. Guarantees for the neural instantiations. Under the assumptions of Corollary 4.3, when the base MPNN reaches the expressive power of 1-WL, EntSE- and KerSE-augmented models can be directly compared with 1-WL because both are instances of ConD-MPNN. At the model-class level, incorporating EntSE or KerSE does not reduce the expressiveness of the base MPNN, since the original node and neighborhood information is retained and the additional structural features can be ignored when necessary. A strict improvement occurs when the added EntSE or KerSE features distinguish graph pairs that remain indistinguishable to 1-WL.

  3. Instance-specific distinguishing power. For EntSE, Figure 2 provides an explicit instance-specific witness.

    For KerSE, consider two graphs G1G_1 and G2G_2. If, at some refinement step, their nodes have different multisets of kernel similarities to their respective neighbors, i.e., {K(Suk,Svk)∣v∈N(u)}≠{K(Su′k,Sv′k)∣v′∈N(u′)}\lbrace K(S_u^k,S_v^k)\mid v\in\mathcal{N}(u)\rbrace\neq\lbrace K(S_{u'}^k,S_{v'}^k)\mid v'\in\mathcal{N}(u')\rbrace

    then an injective aggregation and readout can preserve this difference and distinguish the two graphs. Table 1 on BREC provides empirical evidence that such additional KerSE-based distinctions occur in practice.

We will revise the paper to distinguish more clearly between the general theoretical guarantee of ConD-WL and the instance-specific improvements provided by EntSE and KerSE.

W2 &Q2: A more systematic discussion of such entropy collisions would strengthen the paper.

We have conducted a large-scale collision analysis in Appendix Table 7. We selected datasets from diverse domains for this statistical analysis and report the corresponding collision rates as follows

Dataset Collision Pairs Total Pairs Collision Rate
ZINC 5,587 23,694,672,171 2.36×10−72.36\times10^{-7}
QM9 600,397 1,894,773,964,327 3.17×10−73.17\times10^{-7}
PEPTIDES-FUNC 2,237,986,137 2,474,675,819,811 9.04×10−49.04\times10^{-4}
COLLAB 87,684,579 1,036,323,664 8.46×10−28.46\times10^{-2}

For every extracted local context, we compute both its eigenvalue distribution and scalar entropy. A collision pair is defined as two contexts with different eigenvalue distributions but identical entropy values. We found that such cases are extremely rare. Therefore, the entropy can serve as a direct measure for characterizing the contextual distribution. Besides, the consistent downstream improvements reported in our experiments suggest that these entropy collisions do not substantially limit performance on the evaluated datasets.

Synthetic graph families. To further examine entropy collisions on challenging synthetic graphs, we conduct an additional analysis on BREC, which contains non-isomorphic graph pairs specifically designed to challenge expressive graph models. Furthermore, we analyze how the entropy collision rate varies with different values of KK. The results are shown below.

BREC Category Number of Pairs K=2K=2 K=4K=4 K=8K=8
Basic 60 0/60 (0.00%) 0/60 (0.00%) 0/60 (0.00%)
Regular 100 1/100 (1.00%) 1/100 (1.00%) 1/100 (1.00%)
Extension 100 0/100 (0.00%) 0/100 (0.00%) 0/100 (0.00%)
CFI 100 100/100 (100.00%) 94/100 (94.00%) 87/100 (87.00%)
4-Vertex Condition 20 0/20 (0.00%) 0/20 (0.00%) 0/20 (0.00%)
Distance-Regular 20 20/20 (100.00%) 20/20 (100.00%) 20/20 (100.00%)

EntSE exhibits no collisions on the Basic, Extension, and 4-Vertex Condition categories and only a 1%1\% collision rate on Regular graphs. These results indicate that scalar entropy retains strong discriminative information for most of these synthetic graph families. The results are also consistent with the distinguishing results reported in Table 1, supporting our interpretation that the additional distinguishing signal is primarily introduced by EntSE.

The results also reveal the limitation of scalar entropy compression on deliberately challenging families. In particular, CFI graphs exhibit high collision rates, although the rate decreases from 100%100\% to 87%87\% as KK increases, while Distance-Regular graphs remain indistinguishable under the tested contextual scales. This pattern is also consistent with classification performance on BREC reported in Table 1. Thus, EntSE is not a complete or collision-free graph invariant, but a compact structural signal that improves discrimination when contextual entropy representations differ. We will include this analysis in the revised paper to clarify the practical strengths and limitations of EntSE on synthetic graph families.

W3 & Q3: Detailed breakdown of the computational cost

To assess the dependence of computational cost on graph size and density, we select three datasets with markedly different structural characteristics. The PROTEINS dataset contains relatively small and sparse graphs, DD contains substantially larger graphs, and COLLAB consists of highly dense graphs. Appendix Table 13 reports their detailed statistics, including graph size, degree, clustering coefficient, and diameter, which we reproduce below.

Dataset # Graphs Avg. (|V|) Avg. (|E|) Avg. Degree Max Degree Avg. Clustering Avg. Diameter Max Diameter
PROTEINS 1,113 39.1 72.8 3.73 25 0.5142 11.56 61
DD 1,178 284.3 715.7 5.03 19 0.4794 19.29 75
COLLAB 5,000 74.5 2,457.8 65.99 491 0.8908 1.86 2

We report preprocessing and training times separately in Appendix Table 14, and total runtime and peak memory usage in Table 4. We consolidate these results below for clarity.

Model DD Pre. (s) DD Train (s) DD Memory COLLAB Pre. (s) COLLAB Train (s) COLLAB Memory PROTEINS Pre. (s) PROTEINS Train (s) PROTEINS Memory
KP-GIN 1933 17163 1116M $\gg$1 day — — 119 1841 476M
K-GIN+EntSE 298 6532 1544M 826 19213 2620M 14 1910 474M
K-GIN+KerSE 329 6290 1808M 854 18360 2208M 18 2001 416M

The results show that our method achieves a favorable balance among computational efficiency, memory consumption, and expressive power.

W4: Some writing and formatting issues

We thank the reviewer for identifying these issues. We will carefully proofread the manuscript, correct the reported typos and grammatical errors.

Reviewer mm53 · CommentOpenReview ↗

Response to authors

Thank you for the detailed response. The clarifications provided adequately address the concerns raised in my original review, and I will maintain my positive evaluation.

Authors · CommentOpenReview ↗

Thank you for your response and for recognizing our rebuttals. We sincerely appreciate your time and consideration.

Reviewer 1nsNOpenReview ↗
Rating
5/6
Confidence
4/5
Quality
4/4
Clarity
3/4
Significance
4/4
Originality
4/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

Graph neural networks mainly rely on the information propagation between adjacent nodes to learn effective deep representation, for graph classification, node classification and link prediction. There are two manner to propagate the node information, that are MPNN and graph transformer. This paper first analyzes the weakness of MPNN and graph transformer. MPNN is restricted with the power of 1-WL test, and graph transformer relies on fully-connected information and ignores topological sparsity. Although some method based on subgraph-based aggregation and coordinate-based positional encoding were developed to solve the restriction of MPNN and graph transformer, these works still struggle with the computational overheads and loss of local topology. Different from the former works, this paper propose to use the entropy to encode the structural information of subgraph and define a new kernelized operation to compute affinity information between subgraphs around adjacent nodes. The kernelized operation is related to the MPNN and propagate structural distribution between adjacent nodes. This new kernelized perspective enables stable and semantically meaningful message propagation, offering a robust alternative to absolute or relative positioning. The idea seems very novel, and the author also provided thorough experiments and justifications to demonstrate theoretical and experimental effectiveness.

Strengths and weaknesses

Strengths: This paper uses a theoretical different framework to define a new structural information propagation strategy, instead of traditional MPNN. It use the entropy to encode the local structual information, and the entropy based kernel measure to define the propagation mechanism and exchange subgraph structure distribution seem very novel. Some theoretical analysis also gives detailed justification to theoretically explain the reason why the new entropy and kernel based propagation is effective.

Weaknesses: Overall, the idea of this paper is interesting and technically sound. However, exclude the theoretical effectiveness, some clarifications need to be more clear or comprehensive. For instance, this work usesthe VN entropy to encode subgraph information, whether this means other entropies can also used for this encoding. In addition, whether other kernels based on entropy can also be used to define the propagation operation. I trust that these theoretical clarification can further enhance the completeness of this paper.

Questions

I have some questions for theoretical details of this paper.

First, it seems that the entropy computation for subgraphs and the kernelized measure between entropies for subgraphs are core operation for this new developed structural propagation. I wonder, why use vn entropy and reproducing kernel? If my understanding is correct, this means this work also provides a general entropy-based structural information propagation, where any entropy measure and any entropy-based kernel can be adopted into the new propagation operation. The authors need to clarify why they chose vn entropy and reproducing kernel. In addition, I suggest the authors can explain the operation through a higher viewpoint. Second, this paper gives some examples where 1 to 3 WL can not distinguish, but their vn entropies are different. But the difference between their entropies is very minor, that is 1.686 vs 1.698. I wonder whether such minot difference can really distinguish such tow graphs, can you give an example about how reproducing kernel identify the difference? Third, it seems that the new proposed propagation operation based on entropies integrate multiple different computational component together, the authors may consider to use a toy example to exhibit detailed computation procedures and steps.

Limitations

I have summarized some limitations in my questions. Please refer to them for details.

Final justification

The authors solved all my issues, I recommend accepting for the paper.

Formatting concerns

None

3 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for this helpful suggestion. We address the reviewer’s concerns point by point below and will incorporate the corresponding clarifications and revisions into the final version.

Weakness & Q1: The authors need to clarify why they chose vn entropy and reproducing kernel. In addition, I suggest the authors can explain the operation through a higher viewpoint.

We clarify our design choices from the following two perspectives.

  1. High-level motivation and design choices. From a higher-level perspective, we use entropy to represent a subgraph distribution because it provides a compact and permutation-invariant summary derived directly from that distribution. More specifically, Appendix D explains why we adopt von Neumann entropy, which is defined over the normalized Laplacian eigenvalue distribution, rather than structural Shannon entropy depends primarily on the degree distribution. References [1] and [2] have also shown that von Neumann entropy is an effective measure of graph complexity and regularity. It requires only a one-dimensional feature while still distinguishing certain graph pairs that cannot be distinguished by 3-WL, as illustrated in Figure 2. This compact representation also avoids repeatedly applying WL-style refinement within each extracted subgraph, as required by several subgraph-based GNNs.

    For the choice of KerSE, the reproducing kernel further converts the absolute entropy descriptors into pairwise structural similarities between node contexts, as also motivated by Ref. [3]. Specifically, it maps the entropy difference into a bounded similarity:

K(Suk,Svk)=12exp⁡(−∣HVN(Suk)−HVN(Svk)∣).K(S_u^k,S_v^k)=\frac{1}{2}\exp\left(-\left|H_{\mathrm{VN}}(S_u^k)-H_{\mathrm{VN}}(S_v^k)\right|\right).

Compared with directly summing or averaging neighboring entropy values, this kernel characterizes their relative structural compatibility and smooths large disparities between neighboring contexts, resulting in more stable message aggregation. Figure 6 provides empirical evidence for this effect, showing that the kernel-based representations are more concentrated than the original entropy representations.

  1. Empirical comparisons with alternative choices. Our framework is not restricted to a particular entropy measure or kernel function. We evaluate structural Shannon entropy as an alternative entropy and the Jensen–Shannon kernel as an alternative kernel in Table 23:
Category Method MUTAG D&D PTC-MR PROTEINS IMDB-BINARY
Entropy Structural Shannon Entropy 92.8±4.692.8\pm4.6 79.0±3.579.0\pm3.5 66.8±9.466.8\pm9.4 76.4±3.476.4\pm3.4 75.5±3.375.5\pm3.3
Entropy von Neumann Entropy 93.9±5.593.9\pm5.5 79.7±3.079.7\pm3.0 67.4±9.467.4\pm9.4 77.0±3.177.0\pm3.1 76.3±4.376.3\pm4.3
Kernel Jensen–Shannon Kernel 92.8±7.092.8\pm7.0 79.5±5.879.5\pm5.8 65.6±6.965.6\pm6.9 76.2±4.076.2\pm4.0 75.9±4.375.9\pm4.3
Kernel Reproducing Kernel 92.8±4.692.8\pm4.6 80.4±4.980.4\pm4.9 65.9±8.065.9\pm8.0 76.7±6.576.7\pm6.5 76.6±4.176.6\pm4.1

Both alternative choices can be incorporated into the proposed framework, confirming its generality. Nevertheless, von Neumann entropy consistently achieves higher mean accuracy than structural Shannon entropy, while the reproducing kernel matches or outperforms the Jensen–Shannon kernel across all five datasets. These results empirically support our specific choices of von Neumann entropy and the reproducing kernel.

[1] Passerini F, Severini S. The von Neumann entropy of networks[J]. arXiv preprint arXiv:0812.2597, 2008.

[2] Lin Han, Francisco Escolano, Edwin R. Hancock, Richard C. Wilson, Graph characterizations from von Neumann entropy, Pattern Recognition Letters, Volume 33, Issue 15, 2012.

[3] Xu L, Jiang X, Bai L, et al. A hybrid reproducing graph kernel based on information entropy[J]. Pattern Recognition, 2018, 73: 89-98.

Q2: Whether a minor difference can really distinguish two graphs, can you give an example about how reproducing kernel identify the difference?

We first clarify that Figure 2 provides an EntSE-specific witness, i.e., the two graphs are distinguished by their absolute contextual entropy values, while the reproducing kernel in KerSE further transforms entropy differences into relational similarities.

For the starred nodes in Figure 2, we obtain

HVN(Su1)=1.686,HVN(Sv1)=1.698,H_{\mathrm{VN}}(S_u^1)=1.686,\qquad H_{\mathrm{VN}}(S_v^1)=1.698,

and hence

ΔH=∣HVN(Su1)−HVN(Sv1)∣=0.012.\Delta H=\left|H_{\mathrm{VN}}(S_u^1)-H_{\mathrm{VN}}(S_v^1)\right|=0.012.

Although this difference appears small, the values shown in the paper are rounded to three decimal places, whereas the implementation retains their full numerical precision. Theoretically, any injective projection preserves the distinction as long as the two entropy values are unequal, as detailed in our response to Reviewer gose (W2). Moreover, both graphs contain 16 nodes. Under sum readout, their contextual entropy contributions are respectively

16×1.686=26.976,16×1.698=27.168,16\times1.686=26.976,\qquad 16\times1.698=27.168,

yielding a graph-level difference of 0.1920.192.

Regarding how the reproducing kernel identifies such differences, we need to clarify the motivation behind KerSE. On some datasets such as DD, the contextual entropy values can vary substantially across neighboring nodes, and directly aggregating these raw values may lead to unstable message propagation. KerSE therefore maps the raw entropy difference to a bounded similarity score, serving as a normalization and smoothing mechanism rather than as a means of identifying such differences. The details are reported in Appendix J.11.

Q3: The authors may consider to use a toy example to exhibit detailed computation procedures and steps.

To make the complete entropy-based propagation procedure more intuitive, we provide the following toy example.

Consider a four-node graph consisting of a triangle (u,v,w)(u,v,w) and a node xx connected to uu. For the extracted one-hop contexts, suppose their von Neumann entropies are

HVN(Su1)=0.9743,HVN(Sv1)=HVN(Sw1)=0.6931,HVN(Sx1)=0.H_{\mathrm{VN}}(S_u^1)=0.9743,\qquad H_{\mathrm{VN}}(S_v^1)=H_{\mathrm{VN}}(S_w^1)=0.6931,\qquad H_{\mathrm{VN}}(S_x^1)=0.

The kernel similarities between node uu and its neighbors are therefore

K(Su1,Sv1)=K(Su1,Sw1)=12e−∣0.9743−0.6931∣≈0.3774,K(S_u^1,S_v^1)=K(S_u^1,S_w^1)=\frac{1}{2}e^{-|0.9743-0.6931|}\approx0.3774,

and

K(Su1,Sx1)=12e−∣0.9743−0∣≈0.1887.K(S_u^1,S_x^1)=\frac{1}{2}e^{-|0.9743-0|}\approx0.1887.

These values characterize the structural similarity between the context of uu and those of its neighbors. They are then incorporated into message propagation as

mut+1=Mt(hut,hvt,0.3774,euv)+Mt(hut,hwt,0.3774,euw)+Mt(hut,hxt,0.1887,eux),m_u^{t+1}=M^t(h_u^t,h_v^t,0.3774,e_{uv})+M^t(h_u^t,h_w^t,0.3774,e_{uw})+M^t(h_u^t,h_x^t,0.1887,e_{ux}),

followed by the standard node update

hut+1=Ut(hut,mut+1).h_u^{t+1}=U^t(h_u^t,m_u^{t+1}).

Thus, messages from structurally similar contexts are associated with higher kernel similarities, while those from structurally different contexts receive lower similarities. This example illustrates how contextual entropy is converted into relational structural information and propagated through the graph. In the final version, we will also include a visual illustration of this toy example to explain the propagation procedure more clearly.

Reviewer 1nsN · CommentOpenReview ↗

The authors solve all my concerns. I think this paper can be accepted now. Congratulations!

Authors · CommentOpenReview ↗

We sincerely thank the reviewer for recognizing our rebuttals. We greatly appreciate your constructive feedback throughout the review process.

Reviewer goseOpenReview ↗
Rating
5/6
Confidence
3/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper proposes a structural encoding framework for graph representation learning. It uses node-centered kk-hop contextual distributions to characterize local topological structures and injects this information into MPNNs and Graph Transformers. The paper proposes two concrete instances, EntSE and KerSE, which are used for node feature enhancement and relational bias modeling, respectively. The authors claim that this framework can improve the expressive power of standard MPNNs, which are limited by 1-WL, and validate the effectiveness of the method on multiple datasets and through efficiency experiments. Overall, the paper addresses an important problem, the method design is concise, and the experiments cover a broad range of settings; however, the correspondence between the theoretical claims and the actual method remains insufficiently clear, and some expressiveness conclusions need further clarification.

Strengths and weaknesses

Strengths

  1. The problem setting is meaningful. The paper focuses on how to inject more fine-grained local structural information into MPNNs and Graph Transformers without using expensive subgraph GNNs. This problem has practical value for improving the expressive power and scalability of graph neural networks.
  2. The method design is relatively concise. Both EntSE and KerSE are based on node-local contextual distributions, do not rely on node order or explicit coordinates, and have natural permutation invariance. The paper also explains fairly clearly how EntSE is used as node feature enhancement and how KerSE is used as a relational bias in message passing or Transformer attention.
  3. The experiments are fairly comprehensive. The paper conducts experiments on graph isomorphism discrimination, molecular property prediction, TU datasets, and efficiency comparisons, which can demonstrate the potential effectiveness of the method from multiple perspectives.

Weaknesses

  1. The relationship between the theoretical results and the main method is not sufficiently clear. Proposition 4.2 proves that there exists some instantiation of Φ\Phi such that ConD-WL is strictly stronger than 1-WL. However, the witness instance in the main text is closer to a degree multiset form of WL-HistSE rather than the EntSE used in the main experiments. Therefore, this proposition more directly supports the general contextual distribution framework rather than the scalar entropy encoding EntSE itself. The paper needs to distinguish the theoretical applicability more clearly.
  2. Some expressiveness claims are too strong. Corollary 4.3 claims that when MPNNs have the same expressive power as 1-WL, ConD-MPNNs are strictly stronger than both 1-WL and 2-WL in distinguishing non-isomorphic graphs. This is a strong conclusion, but the main text does not sufficiently explain the specific assumptions and proof idea required for it to hold.
  3. The efficiency analysis still needs to be more fine-grained. Scalability is an important selling point of this paper, so the paper should more systematically report how the preprocessing cost changes with kk, graph size, and contextual size, rather than only emphasizing that the online-stage complexity remains unchanged.
  4. The implementation details of KerSE are still insufficient. In particular, in Equation (16), it is still unclear how the sampled kernel features are aggregated, what the input and output dimensions of ϕ\phi are, and how this term is added to the original message term.
Questions
  1. Does the expressiveness improvement in Proposition 4.2 directly apply to EntSE? If not, the authors should clearly state that this conclusion mainly applies to the general ConD framework rather than EntSE itself.
  2. What assumptions are required for the conclusion in Corollary 4.3 that "ConD-MPNN is strictly stronger than 1-WL and 2-WL"? Can the authors provide explicit witness graph families and a proof idea?
  3. What are the implementation details of KerSE in Equation (16)? Specifically, how are the sampled kernel features aggregated, what are the input and output dimensions of ϕ\phi, and how is this term combined with the original message term?
  4. How does the offline preprocessing cost vary with kk, graph size, and local contextual scale? Can the authors provide more detailed efficiency statistics?
Limitations

yes

Final justification

All identified issues have been resolved, and there are no further problems. Therefore, I have decided to raise the rating to 5.

Formatting concerns

There are no obvious formatting problems.

1 comment
Authors · RebuttalOpenReview ↗
Rebuttal

W1& Q1: The relationship between the theoretical results and the main method is not sufficiently clear.

We thank the reviewer for pointing out this. Our intended relationship among WL, ConD-WL, and the practical neural models can be clarified at the following three levels.

  1. ConD-WL as the discrete theoretical foundation. WL provides a discrete theoretical foundation for analyzing MPNN expressiveness. Under injective aggregation and update functions, an MPNN can match 1-WL. Analogously, ConD-WL provides the discrete theoretical foundation for ConD-MPNN, while ConD-MPNN is its learnable and continuous neural realization.

    ConD-WL retains the node and neighborhood labels used by 1-WL and additionally incorporates a contextual summary Φ\Phi. Therefore, any ConD-WL instantiation is at least as expressive as 1-WL. Whether ConD-WL is strictly more expressive than 1-WL depends on whether the chosen contextual summary Φ\Phi can distinguish non-isomorphic graphs that 1-WL cannot. EntSE satisfies this condition for certain graph pairs, as demonstrated by the explicit example in Figure 2.

  2. Why WL-HistSE is used. In the proof, we instantiate Φ\Phi as the degree multiset used in WL-HistSE because its discrete multiset form naturally aligns with WL’s label-refinement and injective-hashing mechanism.

  3. Why EntSE is used in the neural models. The EntSE instantiates Φ\Phi as a compact continuous scalar. It is therefore more suitable for integration into the continuous representations of MPNNs and Graph Transformers than a discrete degree multiset. Under the assumptions of Corollary 4.3, a ConD-MPNN equipped with a particular Φ\Phi can realize the corresponding ConD-WL instantiation.

We will revise the paper to distinguish more clearly among ConD-WL as the theoretical foundation, WL-HistSE as the proof instantiation, and EntSE as the continuous neural instantiation with its own explicit witness.

W2 & Q2: Clarifying the Assumptions of Corollary 4.3

We thank the reviewer for raising this question. We clarify Corollary 4.3 from the following three aspects.

  1. Assumptions. Corollary 4.3 assumes that the base MPNN has the same expressive power as 1-WL. This is a standard assumption in GNN expressiveness analyses. The classical GIN result [1] shows that an MPNN can match 1-WL when it has sufficient layers and its neighborhood aggregation, node update, and graph-level readout functions are injective. GIN is a representative architecture satisfying these conditions.

  2. Proof idea. When the base MPNN is 1-WL expressive, ConD-MPNN can match the expressive power of the corresponding ConD-WL instantiation. As noted in PPGN [2], standard 1-WL and 2-WL have equivalent graph-distinguishing power. Combining this equivalence with Proposition 4.2 yields that, when the base MPNN is 1-WL expressive, there exists a contextual summary Φ\Phi for which ConD-MPNN is strictly more expressive than both 1-WL and 2-WL. This proof strategy, i.e., first establishing the expressiveness of an enhanced discrete WL test and then transferring the result to its neural counterpart under injectivity assumptions, is consistent with the analyses adopted in GIN [1] and GNN-AK [3].

  3. Explicit witness family. Under the injectivity assumptions above, when a ConD-WL instantiation distinguishes a pair of graphs, the corresponding ConD-MPNN can distinguish them as well. Therefore, it suffices to identify a family of non-isomorphic graphs that is indistinguishable by 1-WL but distinguishable by ConD-WL. As an explicit example, we instantiate Φ\Phi using WL-HistSE, the witness pair can be generalized to

    Gm=mC3,Hm=C3m,m≥2.G_m=mC_3,\qquad H_m=C_{3m},\qquad m\geq 2.

    where GmG_m is the disjoint union of mm triangles and HmH_m is a cycle of length 3m3m. Both graphs have the same number of nodes and are 2-regular. Therefore, neither 1-WL nor the equivalent standard 2-WL can distinguish them. However, the degree multisets within their one-hop induced contexts are respectively:

    2,2,2and2,1,1.\\{2,2,2\\}\quad\text{and}\quad\\{2,1,1\\}.

    Hence, ConD-WL instantiated with WL-HistSE distinguishes this family. Under the stated assumptions, which are satisfied by architectures such as GIN, the corresponding ConD-MPNN with a degree-distribution summary can distinguish this family as well.

[1] Xu et al. How Powerful Are Graph Neural Networks? International Conference on Learning Representations (ICLR), 2019.

[2] Maron et al. Provably Powerful Graph Networks. Advances in Neural Information Processing Systems (NeurIPS), 2019.

[3] Zhao et al. From Stars to Subgraphs: Uplifting Any GNN with Local Structure Awareness. International Conference on Learning Representations (ICLR), 2022.

W3 & Q4: preprocessing time

We thank the reviewer for this helpful suggestion. We provide both theoretical and empirical analyses of the preprocessing cost.

First, Appendix H analyzes the preprocessing-time complexity and introduces our caching repeated contexts strategy for accelerating EntSE computation. Since von Neumann entropy is invariant under graph isomorphism, isomorphic kk-hop contexts have identical entropy values. We therefore hash each extracted context and reuse the cached entropy whenever the same structural pattern appears again, avoiding repeated eigendecomposition.

Second,following the reviewer’s suggestion, we evaluate how the preprocessing time varies with the contextual radius kk. We select the datasets cover substantially different structural regimes, ranging from relatively small and sparse molecular graphs to large graphs and highly dense collaboration networks. The detailed statistics can be found in Appendix Table 13.

The experimental results are shown below

Dataset KK Preprocessing Time (s)
PROTEINS 1 9.535
PROTEINS 2 15.075
PROTEINS 3 21.250
PROTEINS 4 27.663
DD 1 71.390
DD 2 123.876
DD 3 195.750
DD 4 308.465
COLLAB 1 372.99
COLLAB 2 867.23
COLLAB 3 1378.58
COLLAB 4 1886.33

In addition, Table 14 compares our preprocessing time with that of KP-GNN.

Model DD Pre. (s) DD Train (s) DD Memory COLLAB Pre. (s) COLLAB Train (s) COLLAB Memory PROTEINS Pre. (s) PROTEINS Train (s) PROTEINS Memory
KP-GIN 1933 17163 1116M $\gg$1 day — — 119 1841 476M
K-GIN+EntSE 298 6532 1544M 826 19213 2620M 14 1910 474M
K-GIN+KerSE 329 6290 1808M 854 18360 2208M 18 2001 416M

As expected, preprocessing time increases with kk because larger radii produce larger local contexts. Nevertheless, context caching substantially reduces redundant entropy computation, particularly when repeated local structures occur.

W4 &Q3: The implementation details of KerSE

The Equation (16) presents the efficient realization of KerSE integrated into an MPNN, while Equation (13) describes its general form. In the general form, for each edge (u,v)(u,v), node vv passes both its node representation and the scalar kernel value K(Suk,Svk)K(S_u^k,S_v^k) to node uu. The kernel value is then used together with the node and edge features to compute the message.

In the efficient realization in Equation (16), we sample mm representative neighbors v1,…,vmv_1,\ldots,v_m for each node uu from a multinomial distribution pup_u defined by the normalized contextual entropies. Their kernel values are collected into

ku=[K(Suk,Sv1k),…,K(Suk,Svmk)]∈Rmk_u=\left[K(S_u^k,S_{v_1}^k),\ldots,K(S_u^k,S_{v_m}^k)\right]\in\mathbb{R}^{m}

The sampled kernel features are aggregated and projected by a learnable mapping

ϕ:Rm→Rdmsg.\phi:\mathbb{R}^{m}\rightarrow\mathbb{R}^{d_{\mathrm{msg}}}.

where dmsgd_{\mathrm{msg}} is the dimension of the original aggregated message term. Consequently, ϕ(ku)\phi(\mathbf{k}_u) has the same dimension as the original message and is combined with it by element-wise addition:

mut+1=∑v∈Nu1Mt(hut,hvt,euv)+ϕ(ku).m_u^{t+1}=\sum_{v\in N_u^1}M^t(h_u^t,h_v^t,e_{uv})+\phi(k_u).

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…