arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2512.08089cs.AR
收藏

基于FPGA的超维计算高效准确图分类

Efficient and Accurate Graph Classification with Hyperdimensional Computing on FPGA

University of Southern California(南加州大学)

Jebacyril Arockiaraj, Dhruv Parikh, Viktor Prasanna

AI总结:

本文提出HyperX,首个端到端FPGA加速器,用于边缘设备上的基于Nyström的超维计算图分类,通过四种关键优化提升性能和准确性,实现显著的速度和能效提升。

摘要:

在边缘设备上实现实时、节能的图分类推理对于各种应用至关重要。超维计算(HDC)是一种受大脑启发的计算范式,通过简单的元素级操作将输入特征编码为低精度、高维向量,使其非常适合资源受限的边缘平台。最近的研究通过Nyström核近似提高了HDC在图分类中的准确性。边缘加速此类方法面临几个挑战:(i)通过均匀采样选择的(地标)样本之间的冗余,(ii)在有限的片上内存下存储Nyström投影矩阵,(iii)昂贵且易发生冲突的代码本查找,以及(iv)由于SpMV中的不规则稀疏性导致的负载不平衡。为了解决这些挑战,我们提出了HyperX,首个端到端FPGA加速器,用于边缘设备上的基于Nyström的HDC图分类。HyperX集成了四种关键优化:(i)结合均匀采样与确定性点过程(DPPs)的混合地标选择策略,以减少冗余并提高准确性;(ii)用于Nyström投影矩阵的流式架构,以最大化外部内存带宽利用率;(iii)一个最小完美哈希查找引擎,实现O(1)的键到索引映射;以及(iv)具有静态负载平衡的稀疏性感知SpMV引擎。在AMD Zynq UltraScale+(ZCU104)FPGA上实现的HyperX,相比优化的CPU(GPU)基线,实现了6.85×(4.32×)的速度提升和169×(314×)的能效提升,同时在TUDataset基准测试中平均提高了3.4%的分类准确性。

英文摘要:

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. Edge acceleration of such methods faces several challenges: (i) redundancy among (landmark) samples selected via uniform sampling, (ii) storing the Nyström projection matrix under limited on-chip memory, (iii) expensive, contention-prone codebook lookups, and (iv) load imbalance due to irregular sparsity in SpMV. To address these challenges, we propose HyperX, the first end-to-end FPGA accelerator for Nyström-based HDC graph classification at the edge. HyperX integrates four key optimizations: (i) a hybrid landmark selection strategy combining uniform sampling with determinantal point processes (DPPs) to reduce redundancy while improving accuracy; (ii) a streaming architecture for Nyström projection matrix maximizing external memory bandwidth utilization; (iii) a minimal-perfect-hash lookup engine enabling $O(1)$ key-to-index mapping; and (iv) sparsity-aware SpMV engines with static load balancing. Implemented on an AMD Zynq UltraScale+ (ZCU104) FPGA, HyperX achieves $6.85\times$ ($4.32\times$) speedup and $169\times$ ($314\times$) energy efficiency gains over optimized CPU (GPU) baselines, while improving classification accuracy by $3.4\%$ on average across TUDataset benchmarks, a widely used standard for graph classification.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑