Fpga speeds up energy efficient graph classification with hyperdimensional computing
StreamHD: A Streaming FPGA Architecture for Graph Classification with Hyperdimensional Computing
Hardware Architecture
Summary
Classifying graphs quickly and using little energy is important for devices like sensors or smart cameras. The paper's authors improve a brain-inspired technique called Hyperdimensional Computing (HDC) that handles graphs by encoding features into simple, high-dimensional vectors. They build a specialized FPGA hardware design called StreamHD that processes large graphs faster and more efficiently than older methods and common CPUs or GPUs. This new approach streams data through the chip to reduce delays and handle graphs too big to fit inside the chip memory.
What this means in practice
- •For edge device engineers: Build faster, energy-saving graph classification hardware for smart sensors and IoT devices handling large graph data.
- •For network equipment developers: Integrate efficient graph-based pattern recognition in FPGA-powered routers or switches to quickly analyze network topologies and traffic patterns.
Authors
Jebacyril Arockiaraj, Dhruv Parikh, Viktor Prasanna
Abstract
Real-time, energy-efficient inference on edge devices is essential for graph classification across a range of applications. Hyperdimensional Computing (HDC) is a brain-inspired computing paradigm that encodes input features into low-precision, high-dimensional vectors with simple element-wise operations, making it well-suited for resource-constrained edge platforms. Recent work enhances HDC accuracy for graph classification via Nyström kernel approximations. Existing FPGA implementations of Nyström-based HDC, however, primarily target small graph benchmarks and execute processing stages sequentially. This limits support for large graphs and increases end-to-end inference latency. To address these challenges, we propose StreamHD, a streaming FPGA architecture for Nyström based HDC graph classification at the edge that supports graphs exceeding on-chip storage capacity while reducing end-to-end inference latency. Implemented on an AMD Zynq UltraScale+ (ZCU104) FPGA, StreamHD achieves an average 3.1x speedup over the non-streaming implementation. Compared with optimized CPU and GPU baselines, StreamHD achieves 14.3x (8.4x) speedup and 199.7x (273.8x) better energy efficiency, respectively.