Manuscript Offprint
arXiv:2610.10520Distilling Graph Geometry: Knowledge Gap from GNNs to MLPs
Abstract
GNN-to-MLP distillation aims to retain the predictive accuracy of a message-passing teacher while deploying a graph-free MLP at inference. Existing methods mainly transfer node-wise predictions or use confidence-based reweighting, but they do not specify where the student should preserve the teacher's graph-induced geometry. We show that this omission leads to two spectral failure modes in the student's representation space. On sparse graphs, the student suffers from spectral underfit, missing high-energy teacher directions concentrated near boundary regions. On dense graphs, it suffers from spectral overfit, retaining spurious directions that the teacher has collapsed through aggregation. Motivated by an energy-weighted teacher–student alignment objective, we propose Graph Geometry-aware MLP (G²MLP), a training-time distillation framework guided by Ollivier–Ricci curvature. Curvature identifies where the two spectral errors concentrate and is used to allocate supervision between prediction-level and representation-level alignment. The deployed model remains a standard MLP and requires no graph access at inference. Across node-classification benchmarks, G²MLP consistently improves over graph-free distillation baselines, reduces the teacher–student rank gap in both regimes, and transfers without architectural changes to Graph Transformer teachers and link prediction.
1 Introduction
Graph Neural Networks (GNNs) [Gilmer et al., 2017] are the standard tool for learning on graphs, but their reliance on message passing makes inference slow in latency-sensitive applications such as fraud detection [Wang et al., 2021]. A growing line of work distils GNN knowledge into a structure-free Multi-Layer Perceptron (MLP), enabling fast graph-free inference [Zhang et al., 2022, Guo et al., 2023, Tian et al., 2023]. Most methods follow GLNN [Zhang et al., 2022] and match teacher logits with a KL loss, sometimes injecting structural priors through positional encodings [Tian et al., 2023, Wang et al., 2023], codebooks [Yang et al., 2024], or neighborhood alignment cues [Hu et al., 2021, Wu et al., 2023a]. These methods improve the student's information source, but they usually treat graph structure as uniformly useful: every node receives the same type of distillation pressure regardless of its topological role.
We argue that this uniform view misses an important source of teacher–student mismatch. Message passing changes representations differently across graph regions. Boundary nodes often contain graph-induced directions that are hard to infer from features alone, while dense interior nodes are often smoothed toward class-level prototypes. As shown in Figure 1, this produces two spectral failure modes in GNN-to-MLP distillation. On sparse graphs, the student has lower effective rank than the teacher, which we call spectral underfit. On dense graphs, the teacher may collapse to a low-rank geometry, while the feature-only student retains unsupported variation, which we call spectral overfit.
Preprint.
(a) Conceptual spectra
(b) Rank-direction view
Mode 1: spectral underfit (sparse graphs)


Mode 2: spectral overfit (dense graphs)

(c) Signed embedding rank gap (10 seeds, mean ± SE)

Figure 1: Two spectral failure modes of GNN-to-MLP distillation. (a) Singular-value spectra: GLNN exhibits spectral underfit on sparse graphs and spectral overfit on dense graphs. (b) Rank-direction sketch. (c) Per-dataset rank gap.
Our analysis in Section 3 formalizes this phenomenon through the mismatch between the GNN kernel and the MLP kernel. The resulting energy-weighted alignment objective explains why pointwise KL distillation is insufficient: two students can match the same logits while inducing different representation geometries. It also suggests that a practical surrogate should allocate supervision according to where the spectral error concentrates. Ollivier–Ricci curvature (ORC) provides such a local signal: low-curvature edges mark boundary regions where random-walk neighborhoods disagree, while high-curvature edges mark dense regions where aggregation strongly smooths representations.
We instantiate this principle in Graph Geometry-aware MLP (G²MLP). G²MLP uses ORC to approximate this principled alignment: low-curvature nodes receive stronger prediction-level supervision to correct spectral underfit, while high-curvature nodes receive stronger representation-level neighborhood alignment to reduce spectral overfit. The representation term uses a closed-form diagonal Gaussian surrogate. All graph-dependent quantities are used only during training, so the deployed model remains a vanilla MLP. Our contributions are:
• We identify spectral underfit and spectral overfit as two failure modes of GNN-to-MLP distillation, and connect them to boundary and interior graph regions.
• We derive an energy-weighted alignment objective that characterizes teacher–student geometric mismatch and motivates curvature-dependent allocation of distillation supervision.
• We propose G MLP, a curvature-guided distillation framework that combines prediction- and representation-level alignment while preserving graph-free MLP inference.
Optimal transport for distillation. WCoRD [Chen et al., 2021] and EMD+IPOT [Lohit and Jones, 2022] transfer knowledge via discrete Wasserstein distances at the penultimate layer, but rely on cross-instance matching that does not exploit class structure. WKD [Lv et al., 2024] introduces continuous Gaussian as a Riemannian metric for feature distillation, sharper than geometry-unaware KL [Peyré and Cuturi, 2019]. We extend WKD's Gaussian- template to the graph setting, fitting it per node over neighborhood representations and weighting it by curvature.
Curvature on graphs. Ollivier–Ricci curvature (ORC) [Ollivier, 2009] measures the distance between neighborhood walks of adjacent nodes, and has been used for community detection [Sia et al., 2019] and information-flow analysis [Topping et al., 2022]. In GNNs, Nguyen et al. [2023] link positive curvature to over-smoothing and negative curvature to over-squashing, motivating rewiring (BORF) and dropout (CurvDrop [Liu et al., 2023]) schemes; Hevapathige et al. [2025] adapt depth via learnable Bakry–Émery curvature. These works treat curvature as a structural signal for modifying the GNN itself; we instead use it to stratify distillation pressure between teacher and student.
3 Why Uniform Distillation Fails under Curvature Heterogeneity
We develop a kernel-motivated analysis of GNN-to-MLP distillation. Our goal is not to derive an exact computable form of the GNTK, but to identify which parts of the teacher geometry a graph-free student tends to miss and how graph curvature can guide a tractable surrogate. The argument proceeds in three steps: the teacher kernel contains graph-dependent aggregation terms absent from the MLP kernel; this mismatch appears as two opposite spectral failure modes; and ORC provides a local graph signal for allocating supervision where these modes concentrate. The result is an energy-weighted target objective and a curvature-guided approximation developed in Section 4.
Teacher and Student Kernel Mismatch. NTK theory [Jacot et al., 2018] characterizes infinitely wide networks trained by gradient flow: at convergence, the network output lies in the function space induced by a fixed kernel, the network's NTK. For a K-layer GNN with feature aggregation A and activation , the GNTK admits a recursion of the schematic form
where is the post-activation covariance and its derivative kernel; the full recursion follows Du et al. [2019] and is given in Appendix B. Here denotes the input graph, the node feature matrix, and the 1-hop neighborhood of . The aggregation term sums covariance over neighborhood pairs, so depends jointly on . The MLP student's NTK is the aggregation-free counterpart and depends only on . Thus captures the graph-dependent component introduced by message passing. The following statement is used qualitatively to motivate local surrogates; we do not claim that the full GNTK is sparse or that curvature exactly estimates its eigenspectrum.
Lemma 3.1 (Aggregation Locality). For a K-layer message-passing GNN with Lipschitz activation, the graph-dependent aggregation component of is generated through paths contained in K-hop receptive fields. Hence the graph-induced contribution associated with a node pair depends on the overlap and feature similarity of their K-hop neighborhoods. The full kernel need not be sparse, since feature covariance may remain nonzero for distant nodes.
3.1 Two Failure Modes and the Ideal Distillation Objective
Spectral distortion. We characterize the student’s coverage of the teacher’s geometry in the teacher’s eigenbasis. Let , with . For each direction with , define
When , the student has insufficient energy along a teacher direction, which we call spectral underfit; when , the student retains energy in directions that the teacher kernel weakly supports, which we call spectral overfit. We summarize the diagonal mismatch in the teacher eigenbasis by
This quantity does not compare all off-diagonal kernel entries. It measures how much MLP energy differs from teacher energy along teacher eigendirections, with high-energy teacher directions receiving larger weight. Understanding where these discrepancies arise is therefore key to allocating distillation effort.
Define Ollivier–Ricci curvature as , where is the lazy random-walk distribution on the closed neighborhood . Let average over , and let . For a Lipschitz feature map , define the neighborhood embedding . The following proposition links ORC to local aggregation disagreement under explicit metric assumptions.
Proposition 3.2 (ORC as a Local Mismatch Proxy). Suppose is L-Lipschitz with respect to the ground metric used in . Then for any edge ,
Thus low-curvature edges correspond to pairs whose local random-walk neighborhoods are difficult to align, while high-curvature edges correspond to locally coherent neighborhoods.
Therefore, ORC is a locally computable proxy for where graph-dependent teacher information is likely to matter, without requiring construction or diagonalization of . This motivates the curvature-stratified weights in Section 4.3.
Why pointwise KL is insufficient. The standard distillation loss sums node-wise divergences that depend on the teacher's marginal predictive distribution. Two students may match the same teacher logits while inducing different neighborhood geometries in hidden space. Consequently, pointwise KL does not directly control the graph-induced representation geometry encoded by . Reducing spectral distortion therefore requires an additional objective sensitive to neighborhood-level teacher-student alignment.
The target alignment loss. A natural energy-weighted target is
where and denotes the finite-dimensional teacher-kernel energy form, not the RKHS norm. The weights emphasize teacher directions with high functional energy. In spectral underfit, this prioritizes teacher directions that the MLP does not recover; in spectral overfit, it downweights near-null teacher directions where the student retains unsupported variation. Directly using is impractical because it requires storing and diagonalizing the full teacher kernel. We therefore use it as a principled target and approximate it with local, curvature-guided alignment in Section 4.
3.2 Curvature Stratifies the Failure Modes
Mode-conditional failure structure. Proposition 3.2 indicates that curvature separates locally incoherent boundary neighborhoods from coherent interior neighborhoods. Let denote penultimate-layer representations, and define the demeaned effective rank erank( ) = , where . The rank gap is used as an observable diagnostic of representation geometry, not as an exact estimator of the teacher-kernel spectrum.
• Spectral underfit ( ). On sparse graphs with heterogeneous curvature, aggregation can create boundary-sensitive teacher directions that the feature-only student does not recover. These directions have large boundary variation , and are therefore associated with low-curvature edges.
• Spectral overfit ( ). On dense graphs with relatively homogeneous curvature, aggregation can collapse teacher representations toward low-rank class prototypes, while the feature-only student retains variation in directions weakly supported by the teacher. This excess variation is most visible in high-curvature interior subgraphs where local neighborhoods are already strongly smoothed.
Implication for the loss design. The two modes concentrate at different parts of the curvature spectrum: spectral underfit appears mainly in low- boundary regions, whereas spectral overfit appears mainly in high- interior subgraphs. A uniformly weighted loss does not explicitly distinguish these regimes. Increasing pressure on boundary-discriminative directions also increases pressure on already-smoothed interior regions, and the converse is also true. This motivates a curvature-stratified objective in which prediction-side and representation-side alignment receive opposite curvature-dependent emphasis, as developed in Section 4.
4 G MLP: Curvature-Guided Graph Wasserstein Alignment

Figure 2: Overview of G MLP. A frozen GNN teacher and an MLP student produce embeddings and logits; precomputed Ollivier–Ricci curvature yields per-node weights and that allocate prediction-level and representation-level alignment during training.
The target objective in Eq. (5) is computationally intractable because it requires the full teacher kernel spectrum. We approximate it through three practical relaxations: global kernel alignment is replaced by local neighborhood distribution matching, discrete optimal transport is replaced by a diagonal Gaussian surrogate, and uniform node weighting is replaced by ORC-dependent weighting. These steps are not exact equivalences; they are tractable approximations designed to preserve the graph-dependent teacher geometry most relevant to spectral underfit and spectral overfit.
4.1 From Global Alignment to Local Neighborhood Measures
The first source of intractability is the global scope of . By Lemma 3.1, the graph-dependent part of the teacher kernel is generated through message-passing neighborhoods, even though the full kernel may also contain nonlocal feature covariance. We therefore approximate the energy-weighted alignment in by matching local teacher and student representation distributions.
For each node , let be the lazy random walk distribution over , defined as , and define the local representation measures
where denotes the Dirac measure at point and concatenates the penultimate hidden features and output logits of node . Matching and in Wasserstein-2 distance encourages agreement in both local means and local dispersion. Aggregating over nodes gives the Graph Wasserstein objective
Unlike pointwise KL, this term depends on neighborhood representation geometry: students with identical nodewise predictions can receive different gradients if their local representation distributions differ. In practice, we use the uniform one-hop proxy for computational simplicity, and write for the resulting empirical measure.
4.2 Efficient Neighborhood Alignment via Moment Matching
Each is an optimal transport problem over atoms, costing per node. To obtain a scalable surrogate, we match the first two marginal moments of the teacher and student neighborhood measures. This approximation is most reliable in high-curvature neighborhoods, where adjacent nodes have large structural overlap and the local representation distribution is often concentrated. We use the diagonal Gaussian approximation
where and denotes the coordinate-wise variance. The resulting closed-form distance is
This reduces the per-node cost to . The diagonal covariance follows standard practice in Gaussian- distillation [Lv et al., 2024]; it avoids the cost of full covariances while retaining coordinate-wise dispersion. The surrogate may be less accurate for multimodal or strongly heterophilic neighborhoods, which we treat as a limitation. Since , the distance in Eq. (9) splits additively into a feature-side term over and a logit-side term over , enabling the curvature-dependent weighting in Section 4.3. We denote this objective .
4.3 Curvature-Adaptive Weighting
The remaining gap between and is that weights every node uniformly, while emphasizes high-energy teacher directions. Section 3.2 suggests that these directions are associated with different curvature regimes: in the two failure modes: low-curvature boundary regions are important for recovering missing decision-relevant teacher directions, whereas high-curvature interior regions are important for suppressing unsupported student variation after teacher smoothing. We therefore use ORC as a local proxy for allocating the alignment budget, rather than as an exact estimator of kernel eigenvalues.
We instantiate this proxy with opposite monotone weights for the logit and feature components:
where upweights prediction-side alignment at low-curvature boundary nodes and upweights representation-side alignment at high-curvature interior nodes. The normalization enforces , so curvature redistributes emphasis without changing the overall loss scale. Hyperparameters control the strength of stratification.
Let and denote the hidden and logit marginals of . The resulting Curvature-Adaptive Wasserstein objective is
which is computable in per iteration. This construction keeps the approximation aligned with the two regimes: low-curvature nodes receive stronger prediction-level correction, while high-curvature nodes receive stronger neighborhood representation matching where the Gaussian moment surrogate is most appropriate.
Objective Function. The full training objective is
where and is cross-entropy on labeled nodes , with in all node-classification and Graph Transformer experiments. The stop-gradient normalization rescales the CAW gradient by a batch-level constant without changing its direction, making its magnitude comparable to entropy-scaled losses. The KL term preserves probability-simplex calibration, while aligns local teacher-student geometry.
5 Experiments
5.1 Experimental Setup
Datasets. We evaluate on six node classification benchmarks: three citation networks (Cora, Citeseer, Pubmed), two Amazon co-purchase graphs (A-Computer, A-Photo) [Shchur et al., 2018], and the large-scale OGB graph ogbn-Arxiv [Hu et al., 2020]. The first five follow the CPF setting [Yang et al., 2021]; ogbn-Arxiv follows the standard OGB split. Dataset statistics are given in Appendix E.
Settings. We follow the protocol of GLNN [Zhang et al., 2022], evaluating the result in two regimes: transductive, where all nodes are visible during training but test labels are hidden; and inductive, where a disjoint set of test nodes (and their incident edges) is held out from training. The interpolated production score prod = 0.2×ind + 0.8×tran [Tian et al., 2023] summarizes a realistic deployment mix of seen and unseen nodes.
Baselines. We focus on the canonical GNN-to-MLP distillation setup: a frozen pretrained GNN teacher distilled into an MLP student that consumes only the original node features at training and inference. The GNN teacher is GraphSAGE [Hamilton et al., 2017] throughout, following GLNN, NOSMOG. We compare against: vanilla MLP; GLNN [Zhang et al., 2022], soft-label KL distillation; KRD [Wu et al., 2023b], reliability-based sample reweighting; FF-G2M [Wu et al., 2023a], low-and high-frequency distillation. We do not compare against positional-encoding augmented variants (e.g., NOSMOG [Tian et al., 2023]), which augment the student's input with precomputed structural features, or codebook-augmented variants (e.g., VQGraph [Yang et al., 2024]), which jointly train the teacher with auxiliary codebooks. Both depart from setup, precluding fair comparison.
Implementation. We use a 2-layer GraphSAGE teacher and a 2-layer MLP student with matched hidden dimension, following standard practice [Zhang et al., 2022]; ogbn-Arxiv uses the OGB-standard 3-layer architecture for both teacher and student. All models are trained with Adam [Kingma and Ba, 2015] and early stopping on validation accuracy. Student learning rate, weight decay, and dropout follow the GLNN-released configurations and are not tuned; our loss-balance hyperparameters are set per dataset. Hyperparameter ranges and per-dataset optimizer settings are in Appendix E. We report mean accuracy ± standard deviation over 10 unique random seeds.
5.2 Main Results
Table 1: Node classification accuracy (%) under the transductive setting. Best student is in bold.
| Dataset | Teacher | Graph-free students | ||||
|---|---|---|---|---|---|---|
| SAGE | MLP | GLNN | KRD | FF-G2M | MLP | |
| Citeseer | 70.49±1.53 | 58.50±1.86 | 71.22±1.50 | 72.84±1.70 | 72.85±1.59 | 74.51±2.35 |
| Pubmed | 75.56±2.06 | 68.39±3.09 | 75.59±2.46 | 77.01±3.11 | 76.56±3.41 | 78.17±2.75 |
| Cora | 80.64±1.57 | 59.18±1.60 | 80.26±1.66 | 82.27±1.31 | 82.38±1.41 | 82.54±1.87 |
| A-computer | 82.82±1.37 | 67.62±2.21 | 82.71±1.18 | 82.87±0.87 | 83.67±1.04 | 83.87±1.09 |
| A-photo | 90.85±0.87 | 77.29±1.79 | 91.95±1.04 | 91.95±1.44 | 92.51±0.56 | 92.85±0.78 |
| Arxiv | 70.73±0.35 | 55.67±0.24 | 63.75±0.48 | 59.26±0.51 | 58.51±0.35 | 64.57±0.31 |
Transductive Setting. MLP achieves the best graph-free accuracy on all six datasets, improving over the strongest baseline (FF-G2M, KRD, or GLNN depending on the dataset) by 0.16 to 1.66 pp. MLP further surpasses the GraphSAGE teacher on five of the six datasets, with gains up to 4.02 pp on Citeseer; only on ogbn-Arxiv does the student fall short of the teacher (-6.16 pp), reflecting the known difficulty of feature-only inference on this large-scale graph [Zhang et al., 2022]. Component ablation (Appendix E.4) confirms that gains arise from curvature stratification.
Inductive and Production Settings. MLP achieves the best graph-free production accuracy on 5/6 datasets, with gains of 0.16–1.60 pp over the strongest baseline. The advantage is most pronounced in the inductive regime, where MLP improves by 2.07–2.69 pp on Cora, Citeseer, Pubmed, and A-computer—substantially larger than under transductive evaluation, suggesting curvature-stratified alignment transfers better to unseen nodes than nodewise distillation. On A-computer (ind), MLP reaches 82.67%, essentially matching the SAGE teacher (82.83%) without graph access; on Citeseer and Pubmed (prod), MLP surpasses the teacher by 3.61 and 2.68 pp respectively.
Table 2: Node classification accuracy (%) under the production setting.
| Dataset | Eval | Teacher | Graph-free students | ||||
|---|---|---|---|---|---|---|---|
| SAGE | MLP | GLNN | KRD | FF-G2M | MLP | ||
| Citeseer | prod | 68.06 | 58.49 | 69.08 | 71.38 | 71.89 | 71.67 |
| ind | 69.14±2.99 | 59.31±4.56 | 68.48±2.38 | 69.78±3.04 | 69.75±3.16 | 71.85±2.27 | |
| tran | 67.79±2.80 | 58.29±1.94 | 69.23±2.39 | 71.77±2.81 | 72.12±2.69 | 71.62±1.31 | |
| Pubmed | prod | 74.77 | 68.39 | 74.67 | 76.00 | 73.98 | 77.45 |
| ind | 75.07±2.89 | 68.28±3.25 | 74.52±2.95 | 75.17±3.11 | 73.49±7.91 | 77.30±1.48 | |
| tran | 74.70±2.33 | 68.42±3.06 | 74.70±2.75 | 76.20±3.00 | 74.10±7.78 | 77.49±1.25 | |
| Cora | prod | 79.53 | 59.18 | 77.82 | 75.74 | 78.60 | 79.73 |
| ind | 81.03±1.71 | 59.44±3.36 | 73.21±1.50 | 70.26±1.94 | 72.02±1.43 | 75.90±1.87 | |
| tran | 79.16±1.60 | 59.12±1.49 | 78.97±1.56 | 77.11±1.44 | 80.01±1.41 | 80.69±0.73 | |
| A-computer | prod | 82.73 | 67.62 | 82.10 | 81.17 | 82.69 | 84.29 |
| ind | 82.83±1.51 | 67.69±2.20 | 80.27±2.11 | 79.15±1.82 | 80.52±1.56 | 82.67±0.93 | |
| tran | 82.70±1.34 | 67.60±2.23 | 82.56±1.80 | 81.67±1.92 | 83.23±1.36 | 84.69±0.85 | |
| A-photo | prod | 90.45 | 77.29 | 91.34 | 91.84 | 92.35 | 92.51 |
| ind | 90.56±1.47 | 77.44±1.50 | 89.50±1.12 | 90.04±1.12 | 90.70±0.76 | 90.61±0.50 | |
| tran | 90.42±0.68 | 77.25±1.90 | 91.80±0.49 | 92.29±0.63 | 92.77±0.24 | 92.98±0.51 | |
| Arxiv | prod | 70.69 | 55.35 | 63.50 | 59.32 | 59.60 | 63.90 |
| ind | 70.69±0.58 | 55.29±0.63 | 59.04±0.46 | 57.32±0.31 | 57.02±0.43 | 59.82±0.42 | |
| tran | 70.69±0.39 | 55.36±0.34 | 64.61±0.15 | 59.82±0.27 | 60.24±0.23 | 64.92±0.26 | |
5.3 GT-to-MLP Distillation
Graph Transformers (GTs) incur quadratic attention cost at inference, making distillation to MLP students particularly attractive. We evaluate three GT teachers: GT [Dwivedi and Bresson, 2020] with local masked attention, GraphGPS [Rampásek et al., 2022] with hybrid MPNN+global attention, and NAGphormer [Chen et al., 2023] with per-node hop-token attention. Experiments use the same five datasets as Section 5.2 except ogbn-Arxiv, which exceeds GraphGPS dense-attention memory. The student is the same MLP used throughout.
Table 3: Transformer-teacher to MLP distillation. : teacher; : GLNN student; : student. Bold: student value teacher. Underline: .
| Dataset | GT | GraphGPS | NAGphormer | ||||||
|---|---|---|---|---|---|---|---|---|---|
| T | S | T | S | T | S | ||||
| Citeseer | 71.16±2.31 | 71.85±2.45 | 72.35±1.85 | 68.07±2.62 | 69.38±2.30 | 69.68±2.05 | 70.09±1.81 | 71.24±1.64 | 71.82±1.29 |
| Pubmed | 74.09±2.48 | 74.61±2.48 | 74.76±2.83 | 71.77±2.81 | 71.68±2.61 | 72.03±2.58 | 76.19±2.86 | 76.85±3.34 | 77.06±3.49 |
| Cora | 78.53±2.08 | 78.98±1.90 | 79.21±2.09 | 76.21±1.91 | 76.06±1.99 | 76.77±1.97 | 80.88±1.77 | 81.00±1.45 | 81.48±1.53 |
| A-computer | 83.89±1.59 | 84.53±1.42 | 84.72±1.32 | 78.30±1.70 | 78.99±1.73 | 80.12±1.55 | 82.78±1.92 | 83.02±1.87 | 83.31±1.77 |
| A-photo | 90.94±0.87 | 91.90±0.56 | 92.06±0.82 | 90.41±1.10 | 91.03±0.95 | 91.32±0.93 | 91.45±0.82 | 92.07±0.74 | 92.49±0.65 |
Results. The MLP student meets or exceeds its transformer teacher on 13/15 cells ( : GT 5/5, GraphGPS 3/5, NAGphormer 5/5), and further improves over the vanilla-KL GLNN baseline on every cell ( on 15/15) without changing the student architecture or inference cost. Detailed teacher configurations, the reversal mechanism, per-cell hyperparameter patterns, and GraphGPS dense-vs-sparse comparison are in Appendix F.
5.4 Extension to Link Prediction
So far we have evaluated the GNN-to-MLP distillation paradigm on node classification. To probe whether the framework generalizes beyond label-fitting, we test it on link prediction (LP), where supervision lives on edges and the student must produce embeddings whose inner product reproduces the teacher's edge ranking. We follow the standard 85/5/10 RandomLinkSplit protocol with 1:1 negative sampling, score edges by , train all models for up to 500 epochs with best-validation-AUC checkpointing, and report mean±std of test AUC / AP over 10 seeds. The student is trained with both an embedding-MSE distillation term and an edge-BCE supervision term (the multi-task regime; ablating either is deferred to Appendix G).
Table 4: Link prediction (multi-task regime). SAGE row: teacher reference. Bold: best graph-free student per column. Underline: exceeds the teacher.
| Method | Cora | Citeseer | Pubmed | |||
|---|---|---|---|---|---|---|
| AUC | AP | AUC | AP | AUC | AP | |
| SAGE (teacher, ref) | 81.29±1.99 | 80.54±2.69 | 81.21±3.15 | 81.80±3.87 | 88.36±1.65 | 86.83±1.54 |
| MLP | 77.92±1.78 | 76.23±2.01 | 76.47±2.08 | 76.13±2.74 | 90.29±0.38 | 89.34±0.44 |
| GLNN | 78.61±1.68 | 77.05±1.76 | 83.32±2.34 | 83.71±2.53 | 90.03±0.38 | 89.12±0.32 |
| KRD | 79.20±1.65 | 77.89±2.31 | 83.31±2.23 | 83.81±2.42 | 90.32±0.42 | 89.38±0.51 |
| MLP (Ours) | 83.90±1.10 | 83.36±0.99 | 83.62±2.33 | 84.32±2.43 | 90.36±1.29 | 89.96±1.07 |
Result. GMLP wins on all three datasets in both AUC and AP, with the largest gain on Cora (+4.70 AUC over KRD, +5.47 AP) and narrow margins on Citeseer (+0.30 / +0.51) and Pubmed (+0.04 / +0.58). All three GMLP rows exceed the SAGE teacher (Cora +2.61, Citeseer +2.41, Pubmed +2.00 AUC). On Cora and Citeseer, where the plain MLP stays below the teacher, this shows that the graph-free student preserves and extends the teacher's edge-ranking knowledge without graph access at inference. The plain MLP is competitive only where node features alone carry the LP signal (Pubmed); on Citeseer it loses 7 AUC to GLNN, confirming that the embedding-distillation term contributes structural information the edge-BCE term alone cannot recover. The largest gain over KRD concentrates on Cora; on Citeseer and Pubmed, where KRD already exceeds the teacher, the margin over KRD is smaller but remains positive in both AUC and AP.
5.5 Inference Efficiency
GMLP shares the same MLP architecture as GLNN: curvature reweighting is applied entirely at training time, so deployment reduces to a feature-vector → logit forward pass with no neighborhood fetching, sampling, or graph traversal. As Figure 3 shows, this yields a 58× speedup over the 3-layer GraphSAGE teacher under standard layer-wise full inference (8.6 vs. 499.7 ms). In accuracy, GMLP recovers 59.1% of the teacher's gain over a vanilla MLP, ahead of GLNN (53.7%, same student architecture) and matching the non-canonical TINED [Zhou et al., 2025] (58.2%, with a deeper student), placing GMLP on the speed–accuracy Pareto frontier alongside the GNN teachers.

Figure 3: Inference time on Arxiv ( 170K nodes).
Curvature precomputation cost. Exact Ollivier–Ricci curvature requires solving optimal-transport problems, where is the average degree. Precomputation is feasible for small and medium graphs but scales poorly to very large graphs. For graphs where exact ORC becomes prohibitive, two well-studied alternatives apply: Sinkhorn-regularized optimal transport [Cuturi, 2013] reduces per-edge cost to while preserving the ORC formulation, and Forman–Ricci curvature [Sreejith et al., 2016], a combinatorial surrogate, can substitute for ORC in our weighting scheme since both encode local connectivity strength similarly on homophilic graphs. Curvature is computed once per graph as preprocessing, so this overhead amortizes across all training runs and the deployment.
6 Conclusion
We presented Graph Geometry-aware MLP (GMLP), a distillation framework that intervenes against spectral misalignment: the failure mode in which uniform KD either misses class-discriminative directions at low-curvature boundary nodes (spectral underfit) or retains spurious diversity at high-curvature interior nodes (spectral overfit). GMLP combines curvature-stratified reweighting with graph Wasserstein alignment and modifies only training. Across multiple node classification benchmarks, GMLP closes the embedding rank gap in both regimes and consistently outperforms graph-free baselines while preserving the inference speed of a vanilla MLP. The same recipe transfers to Graph Transformer teachers and to link prediction without modification.
References
Jinsong Chen, Kaiyuan Gao, Gaichao Li, and Kun He. NAGphormer: A tokenized graph transformer for node classification in large graphs. In International Conference on Learning Representations (ICLR), 2023.
Liqun Chen, Dong Wang, Zhe Gan, Jingjing Liu, Ricardo Henao, and Lawrence Carin. Wasserstein contrastive representation distillation. In CVPR, pages 16296–16305, 2021.
Youngmin Cho and Lawrence Saul. Kernel methods for deep learning. Advances in neural information processing systems, 22, 2009.
Marco Cuturi. Sinkhorn distances: Lightspeed computation of optimal transport. In NeurIPS, 2013.
Rui Dong, Jiaxing Li, Weihuang Zheng, and Youyong Kong. Suit the node pair to the case: A multi-scale node pair grouping strategy for graph-mlp distillation. In Proceedings of the Thirty-Fourth International Joint Conference on Artificial Intelligence, pages 2775–2783, 2025.
Simon S Du, Kangcheng Hou, Russ R Salakhutdinov, Barnabas Poczos, Ruosong Wang, and Keyulu Xu. Graph neural tangent kernel: Fusing graph neural networks with graph kernels. Advances in neural information processing systems, 32, 2019.
Vijay Prakash Dwivedi and Xavier Bresson. A generalization of transformer networks to graphs. CoRR, abs/2012.09699, 2020. URL https://arxiv.org/abs/2012.09699.
Tommaso Furlanello, Zachary Lipton, Michael Tschannen, Laurent Itti, and Anima Anandkumar. Born again neural networks. In International conference on machine learning, pages 1607–1616. PMLR, 2018.
Justin Gilmer, Samuel S Schoenholz, Patrick F Riley, Oriol Vinyals, and George E Dahl. Neural message passing for quantum chemistry. In ICML, 2017.
Zhichun Guo, William Shiao, Shichang Zhang, Yozen Liu, Nitesh V Chawla, Neil Shah, and Tong Zhao. Linkless link prediction via relational distillation. In ICML, 2023.
Will Hamilton, Zhitao Ying, and Jure Leskovec. Inductive representation learning on large graphs. In NeurIPS, 2017.
Asela Hevapathige, Ahad N Zehmakan, and Qing Wang. Depth-adaptive graph neural networks via learnable Bakry–Émery curvature. In KDD, 2025.
Geoffrey Hinton, Oriol Vinyals, and Jeff Dean. Distilling the knowledge in a neural network. arXiv, 2015.
Weihua Hu, Matthias Fey, Marinka Zitnik, Yuxiao Dong, Hongyu Ren, Bowen Liu, Michele Catasta, and Jure Leskovec. Open graph benchmark: Datasets for machine learning on graphs. In NeurIPS, 2020.
Yang Hu, Haoxuan You, Zhecan Wang, Zhicheng Wang, Erjin Zhou, and Yue Gao. Graph-mlp: Node classification without message passing in graph. arXiv, 2021.
Arthur Jacot, Franck Gabriel, and Clément Hongler. Neural tangent kernel: Convergence and generalization in neural networks. Advances in neural information processing systems, 31, 2018.
Diederik P. Kingma and Jimmy Ba. Adam: A method for stochastic optimization. In International Conference on Learning Representations (ICLR), 2015.
Yang Liu, Chuan Zhou, Shirui Pan, Jia Wu, Zhao Li, Hongyang Chen, and Peng Zhang. CurvDrop: A Ricci curvature based approach to prevent graph neural networks from over-smoothing and over-squashing. In Proceedings of the ACM Web Conference 2023, pages 221–230, 2023.
Suhas Lohit and Michael Jones. Model compression using optimal transport. In WACV, pages 2764–2773, 2022.
Weigang Lu, Ziyu Guan, Wei Zhao, and Yaming Yang. AdaGMLP: AdaBoosting GNN-to-MLP knowledge distillation. In Proceedings of the 30th ACM SIGKDD Conference on Knowledge Discovery and Data Mining (KDD '24), pages 2060–2071, 2024. doi: 10.1145/3637528.3671699.
Jiaming Lv, Haoyuan Yang, and Peihua Li. Wasserstein distance rivals Kullback-Leibler divergence for knowledge distillation. In NeurIPS, 2024.
Khang Nguyen, Nong Minh Hieu, Vinh Duc Nguyen, Nhat Ho, Stanley Osher, and Tan Minh Nguyen. Revisiting over-smoothing and over-squashing using Ollivier–Ricci curvature. In ICML, pages 25956–25979, 2023.
Chien-Chun Ni, Yu-Yao Lin, Feng Luo, and Jie Gao. Community detection on networks with Ricci flow. Scientific Reports, 9(1):1–12, 2019.
Yann Ollivier. Ricci curvature of Markov chains on metric spaces. Journal of Functional Analysis, 256(3):810–864, 2009.
Gabriel Peyré and Marco Cuturi. Computational optimal transport with applications to data sciences. Foundations and Trends in Machine Learning, 11(5-6):355–607, 2019.
Ladislav Rampášek, Michael 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 35, 2022.
Oleksandr Shchur, Maximilian Mumme, Aleksandar Bojchevski, and Stephan Günnemann. Pitfalls of graph neural network evaluation. arXiv, 2018.
Jayson Sia, Edmond Jonckheere, and Paul Bogdan. Ollivier–Ricci curvature-based method to community detection in complex networks. Scientific Reports, 9(1):1–12, 2019.
RP Sreejith, Karthikeyan Mohanraj, Jürgen Jost, Emil Saucan, and Areejit Samal. Forman curvature for complex networks. Journal of Statistical Mechanics, 2016.
Yijun Tian, Chuxu Zhang, Zhichun Guo, Xiangliang Zhang, and Nitesh Chawla. Learning MLPs on graphs: A unified view of effectiveness, robustness, and efficiency. In ICLR, 2023.
Jake Topping, Francesco Di Giovanni, Benjamin Paul Chamberlain, Xiaowen Dong, and Michael M Bronstein. Understanding over-squashing and bottlenecks on graphs via curvature. In ICLR, 2022.
Xuhong Wang, Ding Lyu, Mengjian Li, Yang Xia, Qi Yang, Xinwen Wang, Xinguang Wang, Ping Cui, Yupu Yang, Bowen Sun, and Zhenyu Guo. APAN: Asynchronous propagation attention network for real-time temporal graph embedding. In Proceedings of the 2021 International Conference on Management of Data, pages 2628–2638, 2021.
Yiwei Wang, Bryan Hooi, Yozen Liu, and Neil Shah. Graph explicit neural networks: Explicitly encoding graphs for efficient and accurate inference. In WSDM, 2023.
Zehong Wang, Zheyuan Zhang, Chuxu Zhang, and Yanfang Ye. Training mlps on graphs without supervision. In Proceedings of the Eighteenth ACM International Conference on Web Search and Data Mining, pages 697–706, 2025.
Lirong Wu, Haitao Lin, Yufei Huang, Tianyu Fan, and Stan Z Li. Extracting low-/high-frequency knowledge from graph neural networks and injecting it into mlps: An effective gnn-to-mlp distillation framework. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 37, pages 10351–10360, 2023a.
Lirong Wu, Haitao Lin, Yufei Huang, and Stan Z. Li. Quantifying the knowledge in GNNs for reliable distillation into MLPs. In ICML, 2023b.
Lirong Wu, Yunfan Liu, Haitao Lin, Yufei Huang, and Stan Z. Li. Teach harder, learn poorer: Rethinking hard sample distillation for GNN-to-MLP knowledge distillation. In CIKM, pages 2554–2563, 2024.
Cheng Yang, Jiawei Liu, and Chuan Shi. Extract the knowledge of graph neural networks and go beyond it: An effective knowledge distillation framework. In Proceedings of the web conference 2021, pages 1227–1237, 2021.
Ling Yang, Ye Tian, Minkai Xu, Zhongyi Liu, Shenda Hong, Wei Qu, Wentao Zhang, Bin CUI, Muhan Zhang, and Jure Leskovec. VQGraph: Rethinking graph representation space for bridging GNNs and MLPs. In ICLR, 2024.
Zhilin Yang, William Cohen, and Ruslan Salakhutdinov. Revisiting semi-supervised learning with graph embeddings. In ICML, 2016.
Shichang Zhang, Yozen Liu, Yizhou Sun, and Neil Shah. Graph-less neural networks: Teaching old MLPs new tricks via distillation. In ICLR, 2022.
Ziang Zhou, Zhihao Ding, Jieming Shi, Qing Li, and Shiqi Shen. Tined: Gnns-to-mlps by teacher injection and dirichlet energy distillation. In International Conference on Machine Learning, pages 78616–78632. PMLR, 2025.
A Notation and Preliminaries
Graph and feature notation. We use throughout:
• undirected; the shortest-path metric on .
• For : feature , hidden state , pre-softmax logits , and degree .
• Closed k-hop neighborhood: , with .
• Lazy random-walk distribution with laziness : .
• Mean aggregation (under any feature map ): .
• Ollivier–Ricci curvature on edge : .
Kantorovich–Rubinstein duality. For any probability measures on ,
where
Standing assumption. Throughout the proofs we assume (A1): the feature map (or, more generally, a Lipschitz embedding of node features) is -Lipschitz with respect to for all .
B Full GNTK Recursion and Proofs
B.1 Full GNTK Recursion
For an infinitely wide K-layer GNN, the full GNTK recursion following Du et al. [2019] is as follows. Initialize and . For each layer :
where is the arc-cosine derivative kernel [Cho and Saul, 2009]. The MLP NTK is the special case in which the double sum in Eq. (14) is replaced by the identity, so depends only on .
B.2 Proof of Lemma 3.1 (Aggregation Locality)
We make precise the structural claim of Lemma 3.1: the GNTK entry depends on node features only through the -hop closed neighborhoods of and , while the MLP NTK depends only on and themselves. Their difference is therefore the graph-induced contribution generated by paths in the -hop receptive fields of and . The kernel need not be sparse, since the input covariance is generically nonzero for any pair.
Proof. We prove the support claim by induction on the layer index :
and depend on features only through .
Base case . is a function of and alone, i.e. of features in . The same holds for .
Inductive step. Suppose the claim holds at layer . Fix any pair . By the recursion Eq. (14),
The arc-cosine derivative kernel is a deterministic function of the three entries , , and [Cho and Saul, 2009]. By the inductive hypothesis, each of these depends on features only through . Since implies , the triangle inequality gives , and analogously . Summing over thus yields a function of features in , proving the claim for .
For , the recursion Eq. (15) combines , , and . The first two depend on features in by the argument above; the third depends, by the inductive hypothesis, on features in .
MLP comparison. Replacing the double sum in Eq. (14) by the identity gives the MLP recursion, in which depends only on the previous-layer entry at the same pair . Iterating yields as a function of alone.
The Lemma follows on identifying and : is determined by features in but not, in general, by those at alone — unlike .
B.3 Proof of Proposition 3.2 (ORC as a Local Mismatch Proxy)
Proof. Fix an edge . By definition, and .
Step 1 (Coupling lift). Let be any coupling of , i.e. a joint distribution on with marginals and . Linearity of expectation gives
Step 2 (Jensen + Lipschitz). Applying the triangle inequality for the Bochner integral (Jensen for the convex norm ),
where the second inequality uses (A1).
Step 3 (Wasserstein and ORC substitution). Taking the infimum over couplings :
Substituting ORC definition for adjacent yields the stated bound.
C Derivation of the Multi-Granularity Decomposition
We derive the closed-form decomposition that justifies separating the joint Gaussian alignment in Eq. (9) into independent feature-side and logit-side terms, and that motivates the curvature-stratified weighting Eq. (10).
Joint Gaussian model. For each node and neighbor , stack the hidden representation and pre-softmax logits: . Fit a Gaussian to from empirical moments, with block-form covariance
Assumption D1 (Negligible cross-covariance). We model . This is a modeling simplification rather than an empirical fact: the logits are computed from the hidden representations, so the exact cross-covariance is not zero in general. The simplification is consistent with the diagonal surrogate of Eq. (9), which drops all off-diagonal entries, and it is what allows the two blocks to be weighted separately.
Assumption D2 (Diagonal within blocks). Following WKD [Lv et al., 2024], we assume and are diagonal. This reduces the matrix square root from cost per node to coordinate-wise square roots in cost .
Decomposition. Under (D1)+(D2), the closed-form between two joint Gaussians on [Lv et al., 2024] factorizes additively along the hidden / logit blocks:
where each diagonal-Gaussian term reduces to . This is the additive structure exploited in Eq. (9) of the main body and consumed in the curvature-adaptive objective Eq. (11).
Implementation note. Decomposition Eq. (17) separates the two blocks but does not by itself prescribe their relative weighting. The curvature-adaptive weights in Eq. (10) apply a sign-opposite stratification of the two terms emphasizes feature-side alignment at high-curvature interior nodes; emphasizes logit-side alignment at low-curvature boundary nodes), mirroring the two failure-mode regimes characterized in Section 3.2. The sign convention is therefore fixed by the theoretical analysis for node classification rather than tuned, and the only curvature-temperature hyperparameters introduced here are .
D Training Algorithm
Algorithm 1 summarizes the two-stage G²MLP training pipeline. Stage 1 trains a standard GNN teacher and precomputes node-level Ollivier–Ricci curvature once as a graph-level preprocessing step. Stage 2 trains the MLP student under the curvature-adaptive objective. At inference time, only the student MLP is deployed; no graph access, neighborhood fetching, or sampling is required.
The stop-gradient normalization in line 10 keeps the CAW gradient direction unchanged but rescales its magnitude to match entropy-scaled losses, stabilizing the loss scale across datasets with different feature norms and reducing the sensitivity of selection. The constant is fixed across all experiments.
E Datasets, Baselines, and Implementation Details
E.1 Datasets and Splits
We evaluate on the six node-classification benchmarks summarized in Table 5. Statistics for the citation networks (Cora, Citeseer, Pubmed) follow Yang et al. [2016]; the Amazon co-purchase graphs
Algorithm 1 Training Pipeline
Require: Graph , teacher GNN , student MLP , joint-loss weights , curvature temperatures
1: Stage 1: Teacher pre-training and graph preprocessing
2: Train teacher with cross-entropy until validation convergence
3: Precompute node-level ORC (once, with lazy-walk parameter ; cached to disk)
4: Cache teacher soft labels and hidden representations
5: Stage 2: Student training
6: for epoch do
7: Forward student: ,
8: Compute curvature-adaptive weights: , (Eq. (10))
9: Compute curvature-adaptive Wasserstein loss (Eq. (11))
10: Compute full objective (Eq. (12))
11: Update by minimizing with Adam
12: end for
13: Inference: deploy only (no graph access required)
(A-computer, A-photo) follow Shchur et al. [2018]; the OGB graph follows the standard release of Hu et al. [2020]. The homophily ratio is the edge-level fraction .
Table 5: Benchmark statistics of the full graphs as published. is the mean degree; is edge homophily. Following CPF, node-classification experiments on the five CPF datasets use the largest connected component (Cora 2,485, Citeseer 2,110, Pubmed 19,717, A-computer 13,381, A-photo 7,487 nodes).
| Dataset | #Nodes | #Edges | #Feat. | #Cls. | h | |
|---|---|---|---|---|---|---|
| Cora | 2,708 | 5,429 | 1,433 | 7 | 3.9 | 0.81 |
| Citeseer | 3,327 | 4,732 | 3,703 | 6 | 2.7 | 0.74 |
| Pubmed | 19,717 | 44,338 | 500 | 3 | 4.5 | 0.80 |
| A-computer | 13,752 | 245,861 | 767 | 10 | 35.8 | 0.78 |
| A-photo | 7,650 | 119,081 | 745 | 8 | 31.1 | 0.83 |
| ogbn-arxiv | 169,343 | 1,166,243 | 128 | 40 | 13.7 | 0.65 |
The benchmarks differ in their curvature profiles. Under exact ORC with lazy-walk parameter , the mean edge curvature is negative on all five CPF graphs: most strongly on the citation graphs Pubmed (-0.29) and Cora (-0.17), and closest to zero on the dense co-purchase graph A-photo (-0.02, with about half of its edges positively curved); Citeseer (-0.09) and A-computer (-0.08) lie in between.
Splits and evaluation protocol. For Cora, Citeseer, Pubmed, A-computer, and A-photo, we use the CPF split protocol of Yang et al. [2021]: 10 random splits per dataset with the standard CPF train/validation/test ratios; we report mean±std over the 10 splits. For ogbn-arxiv, we use the canonical OGB time-based split [Hu et al., 2020] (training on papers published until 2017, validation on 2018, and test on 2019 onward) and vary 10 seeds for model initialization and dropout.
E.2 Baselines
We compare against the canonical GNN-to-MLP distillation baselines grouped by inference-time graph access. For all baselines we use the standard student configurations released by the original authors and refrain from inference-time tricks such as enlarged hidden dimensions or increased depth.
Vanilla baseline. MLP: a 2-layer MLP (3-layer on ogbn-arxiv) with hidden dimension matched to the teacher and identical optimization (no distillation signal).
Graph-free distillation students. GLNN [Zhang et al., 2022]: soft-label KL distillation with no architectural change to the student. KRD [Wu et al., 2023b]: adds reliability-based per-node sample weighting on top of GLNN; reliability is estimated from the teacher's noise sensitivity following the released protocol. FF-G2M [Wu et al., 2023a]: distillation of the low- and high-frequency components of the teacher's knowledge.
Excluded. We do not include positional-encoding (PE) augmented variants such as NOSMOG. PE augmentation departs from the standard graph-free distillation setup, introduces additional preprocessing cost, and modifies the model's input representation in ways that make a like-for-like architectural comparison infeasible. Stacking with PE-style augmentations is orthogonal to our contribution and is left to future work.
The teacher is a GraphSAGE network with the GCN aggregator (2 layers; 3 layers on ogbn-arxiv) in all non-transformer experiments, with the same hidden dimension as the student.
E.3 Implementation and Hyperparameters
Teacher and student architectures. The GraphSAGE teacher uses the GCN aggregator. On Cora, Citeseer, Pubmed, A-computer, and A-photo it has 2 layers (learning rate , weight-decay , dropout 0, fan-out 5,5 for neighbor sampling); on ogbn-arxiv it follows the OGB-standard 3-layer configuration (hidden dimension 256, dropout 0.2, weight-decay 0, batch normalization, fan-out 5,10,15). It is trained for 200 epochs with early stopping on validation accuracy (patience 50). The MLP student has the same depth and hidden dimension as the teacher (2 layers and 128 on the five CPF datasets, 3 layers and 256 on ogbn-arxiv); it is trained for 500 epochs with Adam under the combined objective in Eq. (12), with early stopping on validation accuracy (patience 50). Per-dataset student optimizer settings (learning rate , weight-decay, dropout) follow the GLNN-released configurations (Table 6); these are held fixed across all our runs and are not returned.
Table 6: Student MLP optimizer hyperparameters.
| Dataset | weight-decay | dropout | |
|---|---|---|---|
| Cora | 0.6 | ||
| Citeseer | 0.1 | ||
| Pubmed | 0 | 0.4 | |
| A-computer | 0.3 | ||
| A-photo | 0.3 | ||
| ogbn-arxiv | 0 | 0.2 |
Hyperparameter search. The only -specific knobs we sweep are
set per dataset. All remaining knobs are fixed across all datasets: , (pure distillation), , temperature . ORC is computed with lazy-walk parameter , and the detach-normalized uses .
Per-dataset implementation note. We additionally apply a small learnable projection (Linear + ReLU, hidden-dim preserving) on the student-side before the term, jointly trained with the student. This is an architectural detail that absorbs teacher-student feature-scale mismatch on amazon-style graphs and is not part of the formulation; it can be safely omitted on the Planetoid graphs (Cora, Citeseer, Pubmed). The exact configuration per dataset will be released with the code.
E.4 Component Ablation
We ablate along two axes: (i) alignment vs. KL distillation under uniform weights, and (ii) which side of the representation is curvature-stratified. All variants share the same MLP architecture, optimizer, and 10-seed protocol as the main results.
alignment alone is neutral relative to GLNN; single-side curvature stratification yields most of the improvement (+1.5 to +2.8 over GLNN); the two sides are complementary, validating the sign-opposite stratification predicted by Section 3.2.
Table 7: Component ablation on transductive node classification. Baseline reproduced from Table 1.
| Variant | Cora | Citeseer | Pubmed |
|---|---|---|---|
| GLNN baseline | 80.26±1.66 | 71.22±1.50 | 75.59±2.46 |
| + W2 uniform (no curvature) | 80.86±2.30 | 71.07±2.19 | 75.22±2.15 |
| + curvature, logit-side only | 81.78±1.55 | 73.87±2.09 | 77.27±2.92 |
| + curvature, feature-side only | 81.34±1.88 | 73.99±2.02 | 77.14±2.93 |
| Full G2MLP (both sides) | 82.54±1.87 | 74.51±2.35 | 78.17±2.75 |
ORC computation. We use the GraphRicciCurvature library [Ni et al., 2019] to compute exact Ollivier–Ricci curvature on all benchmarks except ogbn-arxiv, where we use an approximate variant from the same library. ORC is computed once per graph as preprocessing and cached.
E.5 Compute Environment
Hardware. All node-classification, Graph Transformer, and link-prediction experiments run on a single NVIDIA GeForce RTX 3090 (24 GB GDDR6X, Ampere) on a shared SLURM cluster, with an Intel Xeon Gold 6136 host (3.0 GHz, dual-socket) and 256 GB system RAM. The 24 GB GPU memory is sufficient for full-batch inference on all six benchmarks (no neighborhood sampling is required for ogbn-arxiv at our hidden dimensions).
Software. Ubuntu 24.04 LTS (kernel 6.8); CUDA 12.4 / cuDNN 9.1; Python 3.10.20; PyTorch 2.6.0; DGL 2.5.0. The GraphRicciCurvature [Ni et al., 2019] library is used for ORC precomputation.
Wall-clock cost. Total wall-clock cost across all reported runs is approximately: GPU-hours for the node-classification experiments (6 datasets 2 settings 5 methods 10 seeds); GPU-hours for the Graph Transformer experiments (see Appendix F); GPU-hours for the link-prediction experiments (see Appendix G). Inference-latency measurements (Figure 3) follow the standard layer-wise full-inference protocol on the same hardware.
F Graph Transformer Teacher Experiments
This appendix consolidates implementation and analysis details for the Graph Transformer (GT) to MLP distillation experiments in Section 5.3. All experiments use the hardware and software stack described in Appendix E.5.
F.1 GT Architectures and Configurations
Teachers. We evaluate three GT architectures as teachers, matching the columns of Table 3 in the main body: vanilla GT [Dwivedi and Bresson, 2020], GraphGPS [Rampášek et al., 2022], and NAGphormer [Chen et al., 2023]. Each teacher is trained for 500 epochs with Adam (lr , weight decay ). Per-dataset hidden dimensions and head counts follow each method's released defaults; exact configurations will be released with the code. The GraphGPS teacher uses dense attention as its canonical default; we additionally analyze a sparse edge-softmax variant in Appendix F.4.
Students and hyperparameter selection. Across all GT teachers, the student is a 2-layer MLP with hidden dimension matched to the teacher. For each (teacher, dataset) cell we tune the CAW weight and the learning rate on the validation split, with grids matched to the main experiments (, ). Per-cell selected values are released with the code. We observe no systematic interaction between and teacher choice: the validation-best depends primarily on graph size, with smaller graphs favoring larger values () and the denser A-computer/A-photo graphs favoring smaller values ().
F.2 Why Students Can Exceed Their GT Teachers
Table 3 shows that the MLP student meets or exceeds its GT teacher on 13/15 cells. This reversal arises because GTs at the dataset sizes considered (2K–20K nodes) are difficult to train well: the small label budget (140 / 120 / 60 nodes on Cora / Citeseer / Pubmed) provides limited supervision for attention parameters, so randomly initialized full attention often produces near-uniform patterns that the 500-epoch training schedule does not escape. Distillation acts as a regularizer in this regime: the student inherits the teacher's prediction targets while shedding the teacher's overfit attention noise, with the curvature-adaptive weighting in further focusing the alignment budget on neighborhoods where the teacher's geometry is reliable. The same phenomenon has been observed for "born-again" distillation in vision under analogous data-scarce regimes [Furlanello et al., 2018]; our contribution is showing that it persists with GT teachers and that the gain extends to MLP-only inference.
F.3 Why NAGphormer Is Often the Strongest GT Teacher
NAGphormer is the strongest teacher on 3/5 benchmarks (Cora, Pubmed, A-photo; vanilla GT leads on Citeseer and A-computer) because its hop-token embedding produces a permutation-invariant summary at every hop distance, which (i) regularizes the attention pattern when the training signal is small, and (ii) injects graph structure into the token sequence rather than relying on attention alone to recover it.
F.4 GraphGPS: Sparse vs. Dense Attention
GraphGPS canonically uses dense attention; sparse edge-softmax is a common alternative that restricts attention to graph edges. On the dataset sizes considered (), both variants fit comfortably in 24 GB GPU memory and converge in 500 epochs. The dense vs. sparse comparison in Table 8 is therefore not a memory tradeoff but an inductive-bias one: edge-softmax acts as an explicit locality prior, while dense attention must learn locality from scratch.
Table 8: vs. GLNN with the GraphGPS teacher under both canonical dense () and sparse (edge-softmax) attention. Conventions as in Table 3: teacher, GLNN student, student. Bold: student value teacher. Underline: .
| Dataset | GraphGPS (dense, canonical) | GraphGPS (sparse, edge-softmax) | ||||
|---|---|---|---|---|---|---|
| T | S | T | S | |||
| Cora | 76.21±1.91 | 76.06±1.99 | 76.77±1.97 | 78.12±2.12 | 77.86±2.09 | 78.74±1.87 |
| Citeseer | 68.07±2.62 | 69.38±2.30 | 69.68±2.05 | 68.88±2.25 | 70.29±2.13 | 70.44±2.13 |
| Pubmed | 71.77±2.81 | 71.68±2.61 | 72.03±2.58 | 75.61±2.13 | 76.08±2.34 | 75.97±2.21 |
| A-computer | 78.30±1.70 | 78.99±1.73 | 80.12±1.55 | 81.84±0.88 | 82.05±1.18 | 82.55±0.86 |
| A-photo | 90.41±1.10 | 91.03±0.95 | 91.32±0.93 | 90.34±1.21 | 91.12±1.04 | 91.26±1.02 |
Discussion. The dense GraphGPS teacher is intrinsically weaker than vanilla GT or NAGphormer on small citation graphs: with random Q/K initialization, the softmax over all N nodes produces near-uniform attention, and the small label budget (140 / 120 / 60 nodes on Cora / Citeseer / Pubmed) plus 500-epoch schedule does not escape this basin — the MPNN branch of GraphGPS carries most of the model's capacity. Even so, with the dense teacher improves over GLNN and surpasses the teacher on all five datasets; with the sparse teacher it surpasses the teacher on all five and improves over GLNN on four (Pubmed: -0.11 pp). The sparse variant is a stronger teacher than dense on four of the five graphs (e.g. A-computer T = 81.84 vs. 78.30; Cora T = 78.12 vs. 76.21; A-photo is a tie, 90.34 vs. 90.41), because the edge-restriction acts as a built-in locality prior that random-init dense attention lacks at small scale. The gains over GLNN hold in nine of the ten cells across the two attention modalities.
G Link Prediction: Pure-Distillation Ablation
This appendix accompanies Section 5.4 of the main body, which reports only the multi-task regime (KD + edge-BCE). Here we ablate the edge-BCE term to isolate the contribution of embedding distillation alone, and analyze the resulting cross-regime gap. All experiments use the hardware and software stack described in Appendix E.5.
Setup. We use the LCC-standardized CPF graphs (Cora 2,485, Citeseer 2,110, Pubmed 19,717 nodes after removing isolated components) to remain comparable with the node-classification tables. The teacher is a 2-layer GraphSAGE (hidden 128, GCN-style aggregator) trained end-to-end with binary cross-entropy on training edges. The student is a vanilla 2-layer MLP with hidden dimension 128. Per-dataset MLP optimizer settings: Cora , weight-decay , dropout 0.6; Citeseer , weight-decay , dropout 0.1; Pubmed , weight-decay 0, dropout 0.4. KRD's reliability weights are estimated from the teacher's noise sensitivity (10 noise realizations of magnitude 1.0, bin count 50, momentum 0.99) following the released protocol of Wu et al. [2023b]. The teacher is trained once per seed and shared across both regimes.
hyperparameter search. introduces three task-specific hyperparameters in addition to the curvature temperatures shared with node classification: the KD weight , the CAW weight , and the sign of in the feature-side weight of Eq. (10). The node-classification analysis (Section 3.2) fixes the convention for label-fitting tasks; link prediction is governed by a different inductive signal (inner-product edge ranking), so we treat the sign as task-specific and validate it per dataset. We refer to the two choices as the community direction , emphasizing high-curvature interior nodes) and the bridge direction , emphasizing low-curvature boundary nodes). The logit-side direction is held fixed at its node-classification convention , emphasizing boundary nodes) for all LP experiments. We select per dataset from a 72-config grid by mean validation AUC on the multi-task split: , , , direction . Other settings are held fixed at the validated configuration from node-classification (Appendix E.3). Selected values:
| Dataset | direction | |||
|---|---|---|---|---|
| Cora | 0.20 | 10 | bridge | |
| Citeseer | 0.05 | 10 | community | |
| Pubmed | 0.05 | 1 | community |
The dataset-dependent shape is informative. Cora prefers a strong distillation weight ( ) and the bridge direction, consistent with its sparse, high-curvature-variance structure where bridge nodes carry disproportionate LP-relevant information. Citeseer and Pubmed prefer weaker distillation and the community direction, where neighborhood Gaussians are denser and statistically more reliable, and LP supervision benefits from interior alignment. Baselines (MLP, GLNN, KRD) use a single global hyperparameter set; 's per-dataset selection mirrors KRD's own per-dataset p-power tuning in the original paper [Wu et al., 2023b].
Pure regime: ablating the edge-BCE term. In the pure-distillation regime the student sees only the teacher's frozen embeddings (MSE loss); no edge labels are available. On Citeseer and Pubmed the GLNN / KRD pure-KD students already exceed the teacher, clearly on Citeseer (84.26 AUC vs. 81.21) and marginally on Pubmed (88.63 vs. 88.36), showing that the teacher's embeddings carry essentially sufficient LP information; the edge-BCE term in the multi-task default changes Citeseer AUC by less than one point and adds 1.4–1.7 AUC on Pubmed. On Cora, however, the GLNN / KRD pure students collapse to 56–57 AUC, a 25-point drop from the teacher's 81.29: the teacher's embeddings encode label-discriminative directions but lose the geometric anisotropy needed for inner-product LP scoring on this small, sparse graph. eliminates this collapse: with curvature-adaptive reweighting and neighborhood Gaussian alignment, the pure student recovers to 81.77 AUC on Cora (+24.5 over KRD; matches the teacher), and stays competitive with KRD on the other two graphs. This is direct evidence that curvature-aware geometry transfers more LP-relevant structure than uniform or reliability-weighted MSE.
Table 9: Link prediction (pure-distillation regime, no edge-BCE). Conventions as in Table 4.
| Method | Cora | Citeseer | Pubmed | |||
|---|---|---|---|---|---|---|
| AUC | AP | AUC | AP | AUC | AP | |
| SAGE (teacher, ref) | 81.29±1.99 | 80.54±2.69 | 81.21±3.15 | 81.80±3.87 | 88.36±1.65 | 86.83±1.54 |
| GLNN | 56.18±5.79 | 56.81±4.55 | 83.99±2.03 | 84.23±2.16 | 88.62±1.57 | 87.17±1.58 |
| KRD | 57.23±5.53 | 57.41±5.02 | 84.26±2.56 | 84.46±2.59 | 88.63±1.56 | 87.18±1.57 |
| MLP (Ours) | 81.77±2.25 | 80.28±2.84 | 82.89±3.61 | 83.15±4.39 | 88.82±1.46 | 87.43±1.35 |
Cross-regime gap. Subtracting the pure-regime AUC (Table 9) from the multi-task AUC (Table 4) on the same teacher and split yields, for GLNN: +22.4 on Cora, -0.7 on Citeseer, +1.4 on Pubmed; KRD is almost identical (+22.0/ - 1.0/ + 1.7). Where the gap is large and positive (Cora), the edge-BCE term is doing genuine work for the uniform-MSE baselines. GMLP-LP closes most of the Cora gap on its own (pure 81.77 vs. multi 83.90; gap +2.1), confirming that curvature-aware geometry already encodes the structural signal that uniform MSE needs the BCE term to supply.
H Limitations and Future Directions
We discuss three limitations of and the directions they suggest.
Diagonal Gaussian neighborhood surrogate. The CAW objective in Eq. (11) approximates each neighborhood's hidden-feature distribution by a diagonal Gaussian via moment matching (Section 4.2, Assumption D2 in Appendix C). This surrogate is exact only when the underlying neighborhood distribution is itself Gaussian with diagonal covariance. For neighborhoods exhibiting strong multimodality — for example, heterophilic graphs with mixed community membership, or nodes on the boundary between two well-separated label groups — the surrogate may under-represent the true alignment cost by collapsing multiple modes onto a single mean and per-coordinate variance. Empirically the diagonal approximation is sufficient on every benchmark we evaluate (Tables 1, 2), but extensions to mixture-of-Gaussian or full-covariance surrogates remain open. The full-covariance variant would require a per-node matrix square root and is unlikely to be competitive with 's current per-node cost; a low-rank covariance approximation is the more promising direction.
Upper-bound nature of the theoretical results. Lemma 3.1 (kernel locality) and Proposition 3.2 (ORC as a local mismatch proxy) are upper bounds and structural statements: they show that the GNN-MLP kernel gap is contained in -hop receptive fields and that ORC provides a locally computable proxy for where this gap concentrates. We do not establish matching lower bounds, and in particular do not prove that the curvature-stratified regimes (Section 3.2) are necessary for closing the spectral mismatch — only that they are theoretically well-motivated and empirically effective. A complete characterization of which graphs and which teacher kernels demand curvature-adaptive treatment (rather than uniform alignment) is an open theoretical question.
Limited heterophilic evaluation. Our empirical evaluation is restricted to homophilic node-classification benchmarks (Cora, Citeseer, Pubmed, A-computer, A-photo, ogbn-arxiv) where neighborhood Gaussians are statistically reliable and the diagonal moment surrogate is well-justified. On strongly heterophilic graphs (e.g., Texas, Wisconsin, Chameleon, Squirrel) where neighborhood distributions are multimodal and label-mixed, the diagonal Gaussian surrogate may underrepresent the true alignment cost, and the curvature-stratified weighting may require sign-flipped variants (analogous to the bridge direction in our LP experiments). A systematic heterophilic evaluation, potentially with mixture-of-Gaussian surrogates and learned sign convention, is left to future work.