How Embeddings Shape Graph Neural Networks: Classical vs Quantum-Oriented Node Representations

Nouhaila Innan, Antonello Rosato, Alberto Marchisio, Muhammad ShafiquearXiv 2026

This paper, set to appear at IJCNN 2026, tackles a persistent headache in the Graph Neural Network (GNN) community: the "confounding variables" problem. When a new node embedding method claims state-of-the-art results, is it because the embedding is actually better, or because the authors used a beefier backbone, a different data split, or a more generous training budget? By introducing a unified, controlled benchmark, the authors isolate the impact of the embedding stage, comparing classical baselines against a suite of quantum-oriented representations.

TL;DR

The authors provide a rigorous, "apples-to-apples" comparison of classical and quantum-oriented node embeddings under a fixed GNN pipeline. Their findings reveal that while classical baselines hold their own on social graphs, quantum-inspired embeddings (specifically those based on quantum walks) offer significant performance gains for structure-heavy tasks like molecular classification.

What Problem Does This Paper Address?

In graph learning, node embeddings serve as the primary interface between raw data and the GNN backbone. However, the literature is currently a "wild west" of mismatched experimental setups. One paper might use a Graph Convolutional Network (GCN) backbone with specific hyperparameters, while another uses a Graph Isomorphism Network (GIN) with different early-stopping criteria.

This makes it nearly impossible to determine the true value of "quantum-oriented" embeddings—representations that either run on quantum circuits or use quantum-mechanical formalisms (like wave dynamics) to describe graph structure. The authors aim to clear this fog by keeping the downstream classifier, data splits, and optimization protocols identical across all tests.

Methods

The researchers integrated various embedding modules into a shared pipeline featuring a fixed GIN backbone and a linear head for graph-level prediction.

Fig. 1: Visual representation of the complete methodology for evaluating embeddings.

The embeddings tested fall into three categories:

  1. Classical Baselines: A fixed random projection and a trainable Multi-Layer Perceptron (MLP).
  2. Circuit-Defined (Quantum): Angle-VQC, which maps node features to rotation angles in a variational quantum circuit. The embedding is derived from measurement outcomes. VQC used as the quantum embedding module.

  3. Quantum-Inspired (Classical Linear Algebra): These methods use quantum math but run on standard hardware:

  4. QuOp: Uses local operator dynamics on "ego-neighborhoods" (a node's immediate vicinity).
  5. QWalkVec: Simulates a "coined quantum walk" to capture how information propagates across the graph.
  6. QPE: A positional encoding method using matrix-exponential formulations to see how nodes respond to operator dynamics.
Fig. 2: VQC used as the quantum embedding module. Angle embedding (Y rotations) is followed by Lq entangling layers, each composed of per-qubit RY /RZ rotations and a ring of CNOT gates. Measurements include single- qubit Z expectations.

Crucially, they tested both frozen and trainable (marked with an asterisk, e.g., QWalkVec*) versions to see if the benefit comes from the math itself or just added learnable parameters.

Datasets

The study utilized a mix of standard benchmarks:

  • Social Graphs: IMDB-BINARY and IMDB-MULTI (attribute-scarce, structure-focused).
  • Bio/Chemical Graphs: MUTAG, PROTEINS, and ENZYMES.
  • Molecular Properties: QM9, converted into a classification task via target binning.

Key Insights and Ideas

  • Inductive Bias is Dataset-Dependent: There is no "one size fits all." Quantum-inspired methods shine when the graph labels depend on complex, multi-hop structural patterns (like in molecules). Conversely, social graphs with minimal node attributes are often best served by simple classical baselines.
  • The Importance of Task Alignment: For walk-based methods (QWalkVec), a learnable projection stage is vital. Without it, the structural signal can "collapse" or become misaligned with the downstream task, leading to poor performance.
  • Operator Bias as a Standalone Win: Interestingly, the QuOp method (operator-based) performed best on IMDB-MULTI even in its non-trainable form, suggesting that its specific way of looking at local neighborhoods provides a very strong "inductive bias" for that data type.
  • VQC Sensitivity: The variational quantum circuit (Angle-VQC) showed high sensitivity to the data regime, performing excellently on MUTAG but struggling to generalize on IMDB, highlighting potential stability issues in current quantum circuit embeddings.

Key Results

  • MUTAG Dominance: QWalkVec achieved a top accuracy of 94.74%* (Macro-F1 0.9360), significantly outperforming the classical MLP baseline (~84%).
  • QM9 Success: On the molecular QM9 dataset, QWalkVec again led the pack with 85.20%* accuracy, compared to 83.00% for the fixed classical baseline.
  • Social Graph Limits: On IMDB-BINARY, the classical MLP remained the champion at 72.00% accuracy, suggesting that extra embedding complexity doesn't help when the underlying node signal is weak.
  • The "Hard" Regime: All methods struggled on the ENZYMES dataset (max accuracy ~30%), indicating that for some complex multi-class problems, the bottleneck might be the backbone capacity or the training budget rather than the embedding choice.

Limitations and Future Work

The authors acknowledge that their benchmark used a fixed, finite optimization budget (30 epochs). It is possible that some complex quantum embeddings might require longer training to reach their full potential. Furthermore, the study focused on a GIN backbone; future work could explore if these embeddings behave differently when paired with Graph Transformers or architectures designed for long-range dependencies. Finally, the authors suggest that "stress-testing" these findings with larger training budgets and multi-seed evaluations would further solidify the reproducible reference point they have established.

Summary updated

BibTeX
@misc{innan2026how,
  author = {Nouhaila Innan and Antonello Rosato and Alberto Marchisio and Muhammad Shafique},
  title = {{How Embeddings Shape Graph Neural Networks: Classical vs Quantum-Oriented Node Representations}},
  year = {2026},
  eprint = {2604.15273},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2604.15273},
}
Figure