arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2511.05053cs.DCcs.AIcs.GR
收藏

利用RISC-V GPU上的自定义指令加速HDC-CNN混合模型

Accelerating HDC-CNN Hybrid Models Using Custom Instructions on RISC-V GPUs

Shimane University, Interdisciplinary Faculty of Science and Engineering(广岛大学,科学与工程跨学科 faculty)

Wakuto Matsumi, Riaz-Ul-Haque Mian

AI总结:

本文针对HDC-CNN混合模型在RISC-V GPU上设计并实现自定义HDC指令,微基准测试显示性能最高提升56.2倍,验证了RISC-V GPU用于节能高性能计算的潜力。

摘要:

基于神经网络的机器学习发展迅速,但训练和推理所需的高能耗仍然是一项重大挑战。超维计算(HDC)提供了一种轻量级、受大脑启发的替代方案,能够实现高度并行性,但在复杂视觉任务上通常精度较低。为了克服这一问题,人们提出了结合HDC和卷积神经网络(CNN)的混合加速器,但其采用受到可推广性和可编程性较差的限制。开源RISC-V架构的兴起为领域专用GPU设计创造了新机遇。与传统的专有GPU不同,新兴的基于RISC-V的GPU提供了灵活、可编程的平台,适用于HDC等自定义计算模型。在本研究中,我们设计并实现了针对HDC操作优化的自定义GPU指令,从而能够高效处理HDC-CNN混合工作负载。使用四种自定义HDC指令的实验结果表明,在微基准测试中性能提升最高可达56.2倍,展示了RISC-V GPU在节能、高性能计算方面的潜力。

英文摘要:

Machine learning based on neural networks has advanced rapidly, but the high energy consumption required for training and inference remains a major challenge. Hyperdimensional Computing (HDC) offers a lightweight, brain-inspired alternative that enables high parallelism but often suffers from lower accuracy on complex visual tasks. To overcome this, hybrid accelerators combining HDC and Convolutional Neural Networks (CNNs) have been proposed, though their adoption is limited by poor generalizability and programmability. The rise of open-source RISC-V architectures has created new opportunities for domain-specific GPU design. Unlike traditional proprietary GPUs, emerging RISC-V-based GPUs provide flexible, programmable platforms suitable for custom computation models such as HDC. In this study, we design and implement custom GPU instructions optimized for HDC operations, enabling efficient processing for hybrid HDC-CNN workloads. Experimental results using four types of custom HDC instructions show a performance improvement of up to 56.2 times in microbenchmark tests, demonstrating the potential of RISC-V GPUs for energy-efficient, high-performance computing.

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

↑