Learning Graph-Conditioned Predictors in Weight Space

Zhewei Chen, Hao Zhu, Ahad N. ZehmakanarXiv 2026

TL;DR

SCOPE (Structure-COnditioned PrEdictor) is a novel architecture that uses graph topology to dynamically adapt the weights of a neural network for each individual node. By treating structural information as a "context" that determines how features should be interpreted—rather than just another input feature—it achieves GNN-level performance while maintaining the high-speed, message-passing-free inference of a standard MLP.

What Problem Does This Paper Address?

In graph machine learning, we often face a dilemma: Message-Passing Neural Networks (GNNs) are accurate because they leverage local structure, but they are slow and computationally expensive at inference time. Conversely, Graphless MLPs are lightning-fast but often fail to capture the relational nuances of the graph.

The authors identify a subtle but critical limitation in how we currently bridge this gap. Most "fast" models treat graph structure (like node degrees or positional encodings) as additional evidence to be concatenated to the input. However, the meaning of a feature can change entirely depending on its context. For example, a specific keyword in a citation network might imply a "machine learning" label for a paper in a dense AI cluster, but mean something else for a paper on the periphery. A single, globally shared weight matrix is often too rigid to handle these competing interpretations.

Methods

The authors introduce SCOPE, which shifts the structural signal from the input space to the weight space.

  1. Structural Fingerprints: For every node, a low-dimensional "fingerprint" (e.g., degree, PageRank, or Laplacian Positional Encodings) is precomputed and cached.
  2. Weight Generation: Instead of a fixed weight matrix $W$, SCOPE uses a small "generator" network. This generator takes the node's fingerprint and outputs a set of mixing coefficients.
  3. Low-Rank Adaptation: These coefficients are used to combine a shared set of rank-one basis matrices. This creates a context-specific update to a global base weight matrix: $$W_{eff} = W_0 + U \text{diag}(s(z)) V^T$$ where $W_0$ is the base weight, $U$ and $V$ are the shared basis, and $s(z)$ are the generated coefficients.

  4. Message-Passing-Free Inference: Because the fingerprints are cached, the model performs a standard forward pass during inference. There is no need to look at neighboring nodes or perform expensive graph operations on the fly.

Datasets

The authors evaluated SCOPE across a diverse set of benchmarks:

  • Node Classification: Two large-scale graphs from the Open Graph Benchmark (OGB)—ogbn-arxiv and ogbn-products—alongside five standard CPF benchmarks (Cora, Citeseer, Pubmed, A-computer, A-photo).
  • Graph Classification: The ogbg-molhiv dataset and five TU benchmarks (PROTEINS, DD, IMDB-B, REDDIT-B, NCI1).

Key Insights and Ideas

  • Structure as Context, Not Just Evidence: The "aha moment" is that topology shouldn't just be "more data." It should be the lens through which the model views the data. By changing the weights, the model effectively uses a different "expert" for different parts of the graph.
  • The Power of Weight-Space Adaptation: The paper shows that for certain signals, like raw positional encodings, putting the information into the weights is significantly more effective than concatenating it to the input. This suggests that the "input pathway" in standard MLPs has a hard time resolving certain structural ambiguities.
  • Low-Rank Efficiency: By using a low-rank basis, the authors ensure that the model doesn't explode in parameter count. The model learns a few "modes" of how parameters should change across the graph and simply picks the right mixture for each node.
  • Symmetry Inheritance: The authors prove that if the structural fingerprints are permutation-equivariant (like degree), the resulting SCOPE model also preserves these essential graph symmetries.

Key Results

  • Accuracy Gains: On ogbn-arxiv, SCOPE achieved a +5.10% accuracy boost over the state-of-the-art graphless baseline (GLNN). On ogbn-products, using DeepWalk fingerprints led to a massive +14.5% gain.
  • Efficiency: SCOPE is significantly faster than GNNs. On ogbn-products, inference took 101ms for SCOPE compared to 412ms for a GraphSAGE teacher, while maintaining comparable accuracy.
  • Generalization: The method isn't just for distillation (learning from a GNN teacher). It also showed strong results in teacher-free graph classification, outperforming plain MLPs by up to 9% in ROC-AUC on the molhiv dataset.

Limitations and Future Work

  • Signal Dependency: The authors note that the benefit of weight-space adaptation is "signal-dependent." If a fingerprint is already a highly processed, smooth embedding (like DeepWalk), it works just as well as a standard input. The weight-space approach is most beneficial for "rawer" structural signals.
  • Cold Start: SCOPE requires a structural fingerprint. In a strict "cold start" scenario where a new node arrives with no edges, the model would revert to its base MLP behavior.
  • Future Directions: The authors suggest exploring whether this shared-basis approximation holds for other structured domains, such as 3D meshes, molecular fragments, or even long-form sequences. They also highlight the need to study how these models behave under "distribution shift"—when the structural patterns in the test graph differ significantly from the training graph.

Summary updated

Abstract

The same node attributes can imply different labels in different structural contexts. Yet fast graphless models typically treat topology as additional evidence supplied to a globally shared predictor. This assumes that structure augments the available information, rather than determining how node attributes should be interpreted. We introduce SCOPE (Structure-COnditioned PrEdictor), in which a small generator maps each node's cached structural fingerprint to coefficients over a shared low-rank basis, producing a context-specific update to a global weight matrix. The base predictor, basis, and generator remain shared across all nodes, while the resulting transformation adapts how attributes are processed in each relational environment. Once fingerprints are cached, inference requires only a forward pass and no online message passing. This design combines context-specific specialization with global parameter sharing, compact low-rank adaptation, and message-passing-free inference. On two large OGB node-classification graphs, conditioning the weights with raw positional signals yields clear gains over supplying the same signals through input concatenation. Further results under a structure-transductive held-out-node protocol and in teacher-free graph classification show that the mechanism extends beyond a particular distillation setting. These findings establish graph structure not only as predictive evidence, but as context that determines the predictor used to interpret that evidence.
BibTeX
@misc{chen2026learning,
  author = {Zhewei Chen and Hao Zhu and Ahad N. Zehmakan},
  title = {{Learning Graph-Conditioned Predictors in Weight Space}},
  year = {2026},
  eprint = {2611.19250},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.19250},
}
Figure