Hyperdimensional Representation Learning for Node Classification and Link Prediction

Abhishek Dalvi, Vasant Honavar · DOI

Abstract

We introduce Hyperdimensional Graph Learner (HDGL), a novel method for node classification and link prediction in graphs. HDGL maps node features into a very high-dimensional space (hyperdimensional or HD space for short) using the injectivity property of node representations in a family of Graph Neural Networks (GNNs) and then uses HD operators such as bundling and binding to aggregate information from the local neighborhood of each node yielding latent node representations that can support both node classification and link prediction tasks. HDGL, unlike GNNs that rely on computationally expensive iterative optimization and hyperparameter tuning, requires only a single pass through the data set. We report results of experiments using widely used benchmark datasets which demonstrate that, on the node classification task, HDGL achieves accuracy that is competitive with that of the state-of-the-art GNN methods at substantially reduced computational cost; and on the link prediction task, HDGL matches the performance of DeepWalk and related methods, although it falls short of computationally demanding state-of-the-art GNNs.

Introduction

Graph Neural Networks (GNNs) have become the standard for analyzing networked data. However, their deployment is often hindered by high computational costs stemming from iterative backpropagation and extensive hyperparameter tuning. These requirements not only demand significant hardware resources but also contribute to a substantial carbon footprint. Furthermore, GNNs face challenges in incremental learning scenarios, where adding new classes often necessitates full model retraining to prevent "catastrophic forgetting."

This research, presented at WSDM '25, introduces the Hyperdimensional Graph Learner (HDGL). HDGL is designed as a "one-pass" learning algorithm that leverages Hyperdimensional Computing (HDC) to achieve the expressive power of GNNs without the associated overhead. By mapping neighborhood structures to distinct representations in a single pass, HDGL offers a "green" and efficient alternative for graph analysis.

Methodology

HDGL is built upon the principle of "injectivity" — the ability to map distinct neighborhood structures to unique representations. Instead of learning weights through optimization, HDGL utilizes fixed, high-dimensional operators.

Mapping to Hyperdimensional Space

The process begins by mapping node features into a high-dimensional space (typically 10,000 to 50,000 dimensions) using Random Hyperplane Tessellations. This mapping ensures that nodes with similar features are represented by similar HD vectors.

Mapping node features to binary space using random hyperplanes.

Neighborhood Aggregation and Learning

To capture graph topology, HDGL employs three fundamental HD operations:

  1. Bundling ($\oplus$): A bitwise majority operation that aggregates information from multiple neighbors, analogous to a mean operation.
  2. Binding ($\otimes$): An XOR-based operation used to couple a node's representation with its neighborhood context.
  3. Rotation ($\Pi$): A cyclic shift that distinguishes between different neighborhood depths (e.g., 1-hop vs. 2-hop), preventing structural collapse.

For classification, HDGL creates Class Hypervectors by bundling the HD vectors of all training nodes within a specific class. Inference is performed by assigning unlabeled nodes to the class with the nearest hypervector in HD space. This approach allows for seamless incremental learning; new classes can be added simply by computing a new class hypervector without retraining on existing data.

Experimental Evaluation

The authors evaluated HDGL across several benchmark datasets, including citation networks (CORA, CiteSeer, PubMed) and social/academic graphs (BlogCatalog, Coauthor CS, Coauthor Physics). A new version of the DBLP dataset was also introduced, utilizing BERT embeddings for node features to test the model's performance with high-quality continuous features.

Performance and Efficiency

HDGL demonstrates competitive accuracy on node classification tasks, typically remaining within 1-2% of state-of-the-art models like GCN and GAT. For instance, on the PubMed dataset, HDGL achieved 76.8% accuracy, compared to 79.0% for GCN.

The most significant advantage of HDGL lies in its computational efficiency. By bypassing iterative training, HDGL achieves massive speedups in "wall-time" compared to traditional GNNs.

Comparison of wall-time learning performance across datasets.

In link prediction tasks, HDGL matches the performance of traditional methods like DeepWalk. While it currently falls short of specialized GNN-based autoencoders (e.g., GAE/VGAE), its performance scales positively with the dimensionality of the HD space.

Discussion and Conclusion

HDGL represents a significant step toward "Green AI" for graph learning. By utilizing the "blessing of dimensionality" — where random vectors in high-dimensional space are nearly orthogonal — HDGL can pack complex neighborhood information into single vectors with minimal interference.

Current limitations include a performance gap in link prediction and the assumption of homophily in graph structures. Future work will explore more sophisticated HD operators and non-backpropagation-based refinements to further bridge the performance gap with state-of-the-art GNNs while maintaining the efficiency of the hyperdimensional approach.

Summary updated

BibTeX
@inproceedings{dalvi2025hyperdimensional,
  author = {Abhishek Dalvi and Vasant Honavar},
  title = {{Hyperdimensional Representation Learning for Node Classification and Link Prediction}},
  booktitle = {WSDM},
  year = {2025},
  url = {https://openreview.net/forum?id=sLh5g3vHyg},
}
Figure