An FPGA-Based Accelerator for Graph Embedding using Sequential Training Algorithm
Abstract: A graph embedding is an emerging approach that can represent a graph structure with a fixed-length low-dimensional vector. node2vec is a well-known algorithm to obtain such a graph embedding by sampling neighboring nodes on a given graph with a random walk technique. However, the original node2vec algorithm typically relies on a batch training of graph structures; thus, it is not suited for applications in which the graph structure changes after the deployment. In this paper, we focus on node2vec applications for IoT (Internet of Things) environments. To handle the changes of graph structures after the IoT devices have been deployed in edge environments, in this paper we propose to combine an online sequential training algorithm with node2vec. The proposed sequentially-trainable model is implemented on an FPGA (Field-Programmable Gate Array) device to demonstrate the benefits of our approach. The proposed FPGA implementation achieves up to 205.25 times speedup compared to the original model on ARM Cortex-A53 CPU. Evaluation results using dynamic graphs show that although the accuracy is decreased in the original model, the proposed sequential model can obtain better graph embedding that achieves a higher accuracy even when the graph structure is changed.
- Node2vec: Scalable Feature Learning for Networks. In Proceedings of the ACM International Conference on Knowledge Discovery and Data Mining (SIGKDD), pages 855–864, August 2016.
- Efficient Estimation of Word Representations in Vector Space. arXiv Preprint 1301.3781, September 2013.
- Malware classification based on multilayer perception and Word2Vec for IoT security. ACM Transactions on Internet Technology (TOIT), 22(1):1–22, 2021.
- What IoT devices and applications should be connected? Predicting user behaviors of IoT services with node2vec embedding. Information Processing and Management, 59(2):102869, 2022.
- A Fast and Accurate Online Sequential Learning Algorithm for Feedforward Networks. IEEE Transactions on Neural Networks, 17(6):1411–1423, November 2006.
- LightRW: FPGA Accelerated Graph Dynamic Random Walks. In Proceedings of the ACM Management of Data, number 1, pages 1–27, 2023.
- FPGA-Based Acceleration of Word2vec using OpenCL. In Proceedings of the IEEE International Symposium on Circuits and System (ISCAS), pages 1–5, 2019.
- Using the Output Embedding to Improve Language Models. arXiv preprint arXiv:1608.05859, February 2017.
- Distributed Representations of Words and Phrases and their Compositionality. In Proceedings of the International Conference on Neural Information Processing Systems (NeurIPS), volume 2, pages 3111–3119, December 2013.
- Parallelizing word2vec in shared and distributed memory. IEEE Transactions on Parallel and Distributed Systems, 30(9):2090–2100, 2019.
- Automating the construction of internet portals with machine learning. Information Retrieval, 3:127–163, 2000.
- Pitfalls of graph neural network evaluation. arXiv preprint arXiv:1811.05868, November 2018.
- Image-based recommendations on styles and substitutes. In Proceedings of the International ACM Conference on Research and Development in Information Retrieval (SIGIR), pages 43–52, 2015.
Paper Prompts
Sign up for free to create and run prompts on this paper using GPT-5.
Top Community Prompts
Collections
Sign up for free to add this paper to one or more collections.