Beyond PageRank in GraphHD: Centrality Metrics and Efficient Hyperdimensional Encodings

Authors

  • Ignacio Sica Departamento de Informática e Inteligencia Artificial, Universidad Católica del Uruguay, Montevideo, Uruguay
  • Gustavo Vazquez Universidad Católica del Uruguay

DOI:

https://doi.org/10.19153/cleiej.29.4.4

Keywords:

hyperdimensional computing, graph classification, artificial intelligence

Abstract

Graph classification plays a central role in many scientific disciplines. While classical kernel-based methods and graph neural networks achieve strong predictive performance, they often require substantial computational resources. Hyperdimensional Computing (HDC) has recently emerged as an efficient and noise-resilient alternative, providing lightweight models that are attractive for resource-constrained settings. Within this context, GraphHD is a representative HDC-based approach for graph classification; however, its encoding process can become costly on large graphs and its standard configuration relies on a single centrality choice (PageRank) for node-to-hypervector assignment.

In this work, we go beyond PageRank in GraphHD by systematically evaluating alternative centrality measures (degree, closeness, betweenness, Katz, and eigenvector) and by introducing two new encoding variants. GraphHD-Level preserves quantitative structural information by mapping centrality values to level-hypervectors, whereas GraphHD-Order simplifies the algorithm by eliminating edge encoding and aggregating node hypervectors directly. Experiments on six widely used benchmarks from cheminformatics and bioinformatics (MUTAG, ENZYMES, PROTEINS, DD, NCI1, and PTC\_FM) show that replacing PageRank with alternative centralities yields similar F1-scores while offering notable runtime savings, and that GraphHD-Order remains competitive with the original GraphHD baseline while providing consistent speedups in encoding time.

References

A. Bondy and U. S. R. Murty, Graph Theory. New York: Springer, 2008.

F. Xia, K. Sun, S. Yu, A. Aziz, L. Wan, S. Pan, and H. Liu, “Graph Learning: A Survey,” IEEE Transactions on Artificial Intelligence, vol. 2, no. 2, pp. 109–127, Apr. 2021. [Online]. Available:https://ieeexplore-ieee-org.proxy.timbo.org.uy/document/9416834

P. Kanerva, “Fully Distributed Representation,” Real World Computing Symposium (RWC), pp. 358–365, 1997. [Online]. Available: http://www.cap-lore.com/RWC97-kanerva.pdf

D. Kleyko, D. Rachkovskij, E. Osipov, and A. Rahimi, “A Survey on Hyperdimensional Computing aka Vector Symbolic Architectures, Part II: Applications, Cognitive Models, and Challenges,” ACM Computing Surveys, vol. 55, no. 9, pp. 175:1–175:52, Jan. 2023. [Online]. Available: https://doi.org/10.1145/3558000

M. Heddes, I. Nunes, T. Givargis, A. Nicolau, and A. Veidenbaum, “Hyperdimensional computing: a framework for stochastic computation and symbolic AI,” Journal of Big Data, vol. 11, no. 1, p. 145, Oct. 2024. [Online]. Available: https://doi.org/10.1186/s40537-024-01010-8

F. Cumbo and D. Chicco, “Hyperdimensional computing in biomedical sciences: a brief review,” PeerJ Computer Science, vol. 11, p. e2885, May 2025, publisher: PeerJ Inc. [Online]. Available:https://peerj.com/articles/cs-2885

J. E. Q. Ibarra, J. Á. G. Ordiano, J. J. Flores Godoy, and G. E. Vazquez, “Clustering of News Texts Using Hyperdimensional Computing,” in 2024 IEEE URUCON, Nov. 2024, pp. 1–5. [Online]. Available: https://ieeexplore.ieee.org/document/10850161

I. Nunes, M. Heddes, T. Givargis, A. Nicolau, and A. Veidenbaum, “GraphHD: efficient graph classification using hyperdimensional computing,” in Proceedings of the 2022 Conference & Exhibition on Design, Automation & Test in Europe, ser. DATE ’22. Leuven, BEL: European Design and Automation Association, May 2022, pp. 1485–1490.

A. Zakeri, Z. Zou, H. Chen, and M. Imani, “Configurable hyperdimensional graph representation,” Artificial Intelligence, vol. 347, p. 104384, Oct. 2025. [Online]. Available: https://www.sciencedirect.com/science/article/pii/S0004370225001031

I. Sica and G. Vazquez, “Exploring Centrality Measures and Encoding Variants for Graph Classification in Hyperdimensional Computing,” in CLEI Conference Proceedings, Valparaíso, 2025.

P. Kanerva, “Hyperdimensional Computing: An Introduction to Computing in Distributed Representation with High-Dimensional Random Vectors,” Cognitive Computation, vol. 1, no. 2, pp.139–159, Jun. 2009. [Online]. Available: https://doi.org/10.1007/s12559-009-9009-8

T. Plate, Holographic Reduced Representation: Distributed Representation for Cognitive Structures. CSLI Publications, 2003. [Online]. Available: https://web.stanford.edu/group/cslipublications/cslipublications/site/1575864304.shtml

S. D. Levy and R. Gayler, “Vector Symbolic Architectures: A New Building Material for Artificial General Intelligence,” in Proceedings of the 2008 conference on Artificial General Intelligence 2008:Proceedings of the First AGI Conference. NLD: IOS Press, Jun. 2008, pp. 414–418.

D. Kleyko, M. Davies, E. P. Frady, P. Kanerva, S. J. Kent, B. A. Olshausen, E. Osipov, J. M. Rabaey, D. A. Rachkovskij, A. Rahimi, and F. T. Sommer, “Vector Symbolic Architectures as computing framework for nanoscale hardware,” Proceedings of the IEEE, Oct. 2022, publisher: IEEE.

D. Kleyko, D. A. Rachkovskij, E. Osipov, and A. Rahimi, “A Survey on Hyperdimensional Computing aka Vector Symbolic Architectures, Part I: Models and Data Transformations,” ACM Comput. Surv., vol. 55, no. 6, pp. 130:1–130:40, Dec. 2022. [Online]. Available: https://dl.acm.org/doi/10.1145/3538531

M. McCloskey and N. J. Cohen, “Catastrophic Interference in Connectionist Networks: The Sequential Learning Problem,” in Psychology of Learning and Motivation, G. H. Bower, Ed. Academic Press, Jan. 1989, vol. 24, pp. 109–165. [Online]. Available: https://www.sciencedirect.com/science/article/pii/S0079742108605368

T. Plate, “Holographic reduced representations,” IEEE Transactions on Neural Networks, vol. 6, no. 3, pp. 623–641, May 1995, conference Name: IEEE Transactions on Neural Networks.

Y. Huang, A. J. Rad, and Q. Xia, “Hardware-Algorithm Co-Design for Hyperdimensional Computing Based on Memristive System-on-Chip,” in Proceedings NeurIPS2024, Oct. 2024. [Online]. Available:https://openreview.net/forum?id=rRIZblLJHb

P. Poduval, H. Alimohamadi, A. Zakeri, F. Imani, M. H. Najafi, T. Givargis, and M. Imani, “GrapHD: Graph-Based Hyperdimensional Memorization for Brain-Like Cognitive Learning,” Frontiers in Neuroscience, vol. 16, Feb. 2022, publisher: Frontiers. [Online]. Available: https://www.frontiersin.org/journals/neuroscience/articles/10.3389/fnins.2022.757125/full

I. Nunes, M. Heddes, T. Givargis, and A. Nicolau, “An Extension to Basis-Hypervectors for Learning from Circular Data in Hyperdimensional Computing,” in 2023 60th ACM/IEEE Design Automation Conference (DAC), Jul. 2023, pp. 1–6. [Online]. Available: https://ieeexplore.ieee.org/document/10247736

“TUDataset.” [Online]. Available: https://chrsmrrs.github.io/datasets/datasets/

N. M. Kriege, F. D. Johansson, and C. Morris, “A survey on graph kernels,” Applied Network Science, vol. 5, no. 1, pp. 1–42, Dec. 2020, number: 1 Publisher: SpringerOpen. [Online]. Available: https://appliednetsci.springeropen.com/articles/10.1007/s41109-019-0195-3

L. Wei, H. Zhao, Z. He, and Q. Yao, “Neural Architecture Search for GNN-Based Graph Classification,” ACM Trans. Inf. Syst., vol. 42, no. 1, pp. 1:1–1:29, Aug. 2023. [Online]. Available: https://dl.acm.org/doi/10.1145/3584945

Downloads

Published

2026-08-06