VeSGA: Microsecond, Microjoule Hyperdimensional Graph Classification through Algorithm-Hardware Co-Design

Ahmad Tahmasivand, Hamed Poursiami, Guojing Cong, Catherine Schuman, Gina Adam, Thomas Potok, Khaled N. Khasawneh, Maryam ParsaarXiv 2026

TL;DR

Classifying graphs—like molecules or social networks—usually demands power-hungry GPUs running complex neural networks, making tiny, battery-powered edge devices a non-starter. By simultaneously redesigning a brain-inspired computing algorithm and building a custom FPGA chip around pure, single-bit logic, researchers created VeSGA. It classifies graphs in tens of microseconds using just microjoules of energy—running up to 25× faster and using up to 3,900× less energy than a desktop-grade RTX 3090 GPU, all without losing accuracy.

What Problem Does This Paper Address?

Imagine trying to classify small molecular graphs (15 to 300 nodes) directly on a sensor with a power budget of just a few watts. Graph Neural Networks (GNNs) are the standard tool for this, but they rely on heavy, irregular floating-point math. On small graphs, the sheer overhead of launching kernels on a CPU or GPU takes longer than the actual math.

Hyperdimensional Computing (HDC) offers a brain-inspired alternative. Instead of dense matrices of floating-point weights, HDC represents data using ultra-wide binary vectors (say, 8,192 bits long) called hypervectors, learning via simple, parallel bit operations rather than gradient descent. Recently, an HDC algorithm called VS-Graph closed the accuracy gap with GNNs by introducing iterative "message passing" (nodes blending information with their neighbors).

The catch? VS-Graph was written for software. It blends binary vectors using real-valued weights, turning crisp 1-bit states into messy floating-point numbers, and relies on a massive ~6 MB lookup table in memory. Bit-level operations on wide vectors map terribly onto standard CPUs and GPUs, making VS-Graph sluggish in practice.

Methods

Instead of forcing a software algorithm onto hardware, the authors practiced algorithm-hardware co-design, governed by a strict rule: every node state is a single bit per lane, and every operation is a simple addition or comparison.

Fig. 2: The VS-Graph pipeline (left), the published formulation [9] (center) and the co-designed VeSGA kernel (right). The two changes that shape the architecture, hashed codes C and the binary majority vote D , are outlined.

On the algorithmic side, VeSGA overhauls VS-Graph in three big ways:

  • Binary Majority-Vote Message Passing: Instead of blending neighbor vectors with real-valued weights, a node updates its state via a simple 1-bit majority vote among its neighbors—throwing in its own initial vector as a "self-vote" to anchor its identity. Node state drops from 16 bits to 1 bit, eliminating all multipliers.
  • On-the-Fly Hashed Codebooks: Rather than fetching initial node vectors from a 5.9 MB memory table, VeSGA generates them on the fly using a fast, deterministic integer hash function (lowbias32). Memory footprint: zero bytes.
  • Integer Readout & Sorting: Floating-point divisions and general sorts are replaced with hardware-friendly bit-shifts and a linear-time radix sort.
Inside one of VeSGA's six on-chip Processing Elements

On the hardware side (implemented on an embedded AMD ZCU104 FPGA), VeSGA packs six parallel Processing Elements (PEs). Each PE holds an entire graph on-chip (up to 4,096 nodes) and streams two edges per clock cycle into a 512-lane majority-voting array. To process an 8,192-bit vector using 512 lanes, it breaks the vector into 16 slices—cleverly computing and writing the initial codes for the next slice into a free buffer during the final pass of the current slice for zero extra latency. If a graph is too big to fit in one PE, the host splits it into overlapping subgraphs ("halos") that reconstruct the exact whole-graph result.

Datasets

The system was evaluated on six standard graph classification benchmarks from the TUDataset collection (in topology-only form, meaning no node/edge feature labels are used):

  • Small molecular/chemical graphs: MUTAG, PTC_FM, NCI1
  • Bioinformatics/protein graphs: ENZYMES, PROTEINS, DD (which includes large graphs up to 5,748 nodes, testing VeSGA's exact graph-splitting capability).

No new datasets were introduced.

Key Insights and Ideas

  • Self-voting replaces floating-point blending: Including a node's initial binary vector in its own neighborhood majority vote acts just like a residual connection in deep learning. It prevents the graph state from saturating or drifting across layers without needing a single floating-point number.
  • Deterministic hashing unlocks massive scalability: Generating hypervectors mathematically from a node's rank doesn't just save megabytes of on-chip RAM; it means a massive graph split across multiple PEs can generate the exact same global vectors independently without cross-chip communication.
  • Brain-inspired math shrugs off hardware faults: Because HDC distributes information across thousands of bits and relies on majority voting, the datapath is naturally error-tolerant. When the authors pushed the chip past its timing limits by overclocking, a specific group of lanes started spitting out corrupted bits—yet classification accuracy didn't budge because the majority vote absorbed the noise! (Ultimately, the control path and DMA handshakes crashed long before the HDC math failed.)

Key Results

Time and dynamic energy per graph across platforms

Time and dynamic energy per graph across platforms
  • Bit-Exact Accuracy: The hardware-friendly approximations lose virtually nothing—staying well within the fold-to-fold variance of the original floating-point algorithm across all six benchmarks (e.g., 85.1% on MUTAG, 75.5% on DD).
  • Blistering Speed: At a batch size of 1, VeSGA classifies small graphs in 22–46 µs and large DD graphs in 257 µs. At full throughput across six PEs, it hits 341,000 graphs/second—running 11× to 25× faster than an Nvidia RTX 3090 GPU's compute time alone (while VeSGA's time includes data transfers), and up to 42× lower latency than HyperX, the closest prior FPGA HDC accelerator.
  • Microjoule Efficiency: Dynamic energy sits at 3.5 to 12.5 µJ per small graph and ~96 µJ for DD. That is 450× to 750× more efficient than the board's own embedded Arm CPU, and 1,700× to 3,900× less energy than the RTX 3090.
  • Free Lunch via Undervolting: Dropping the FPGA core voltage by 23% (from 0.85 V to 0.65 V) remained 100% bit-exact across all 7,538 test graphs while cutting dynamic rail energy in half. Overclocking to 214 MHz squeezed out 12% lower latency with zero accuracy loss despite minor timing errors.

Limitations and Future Work

  • Topology-Only Scope & Algorithmic Ceilings: The evaluation strictly tests graph structure (topology-only), inhering VS-Graph's baseline accuracy profile—including a known accuracy deficit compared to GIN (a popular GNN) on the NCI1 dataset. Additionally, hardware counters are sized for a maximum node in-degree of 30 (which covers all tested benchmarks, though denser graphs would require wider counters).
  • Host Overhead on Tiny Batches: When calling the accelerator end-to-end from Python for small batches, a fixed ~27 µs OS/DMA transaction overhead dominates the actual microsecond hardware execution.
  • Future Directions: Because VeSGA reduces graph learning to ultra-simple, error-tolerant single-bit adders and comparators, the authors point toward custom ASICs and processing-in-memory (PIM) realizations as natural next steps.

Summary updated

BibTeX
@misc{tahmasivand2026vesga,
  author = {Ahmad Tahmasivand and Hamed Poursiami and Guojing Cong and Catherine Schuman and Gina Adam and Thomas Potok and Khaled N. Khasawneh and Maryam Parsa},
  title = {{VeSGA: Microsecond, Microjoule Hyperdimensional Graph Classification through Algorithm-Hardware Co-Design}},
  year = {2026},
  eprint = {2611.38453},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.38453},
}
Figure