arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2606.26547cs.PLcs.CLcs.PF
收藏

编译器驱动的超维计算近似调优

Compiler-Driven Approximation Tuning for Hyperdimensional Computing

University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);University of California San Diego(加州大学圣迭戈分校)

Xavier Routh, Abdul Rafae Noor, Akash Kothari, Zheyu Li, Mahbod Afarin, Tajana Rosing, Vikram Adve

AI总结:

提出ApproxHDC框架,通过编译器自动识别和应用超维计算中的领域特定近似,结合高效搜索与多硬件后端支持,实现性能大幅提升且精度损失极小。

摘要:

随着摩尔定律达到其物理和经济极限,领域特定方法越来越多地被用于加速机器学习工作负载。超维计算(HDC)是一种新兴范式,为传统深度学习技术提供了替代方案。HDC植根于认知计算模型,其设计自底向上以硬件效率为首要目标。HDC工作负载自然地映射到异构硬件平台,包括CPU、GPU和FPGA,以及新兴的存内计算技术如电阻式RAM(ReRAM)和相变存储器(PCM)。HDC算法本质上对噪声和近似具有容忍性,从而能够以最小的精度损失实现显著的性能提升。在这项工作中,我们引入了ApproxHDC,一个用于在HDC工作负载中自动识别和应用领域特定近似的框架。ApproxHDC扩展了HPVM-HDC编译器基础设施,以支持跨多种硬件后端(包括CPU、GPU以及模拟的ReRAM和PCM加速器)的可重定向编译。可能的近似空间呈指数级增长;ApproxHDC采用高效的搜索和分析来导航该空间,并识别跨软件和硬件层面的高影响配置。

英文摘要:

As Moore's law reaches its physical and economic limits, domain-specific approaches are increasingly employed to accelerate machine learning workloads. Hyperdimensional Computing (HDC) represents one such emerging paradigm, offering an alternative to conventional deep learning techniques. Rooted in cognitive models of computation, HDC is designed bottom-up with hardware efficiency as a first-class objective. HDC workloads map naturally to heterogeneous hardware platforms, including CPUs, GPUs, and FPGAs, as well as emerging in-memory computing technologies such as Resistive RAM (ReRAM) and Phase-Change Memory (PCM). HDC algorithms are intrinsically tolerant to noise and approximation, enabling substantial performance gains with minimal accuracy loss. In this work, we introduce ApproxHDC, a framework for automated identification and application of domain-specific approximations in HDC workloads. ApproxHDC extends the HPVM-HDC compiler infrastructure to enable retargetable compilation across diverse hardware backends, including CPUs, GPUs, and simulated ReRAM and PCM-based accelerators. The space of possible approximations is exponentially large; ApproxHDC employs efficient search and analysis to navigate it and identify high-impact configurations spanning both software and hardware levels.

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

↑