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

DARE:一种具备致密化指令集架构与过滤式预执行机制的容错不规则矩阵处理单元

DARE: An Irregularity-Tolerant Matrix Processing Unit with a Densifying ISA and Filtered Runahead Execution

Fudan University(复旦大学)

Xin Yang, Xin Fan, Zengshi Wang, Jun Han

AI总结:

针对稀疏DNN在CPU矩阵处理单元上因访问不规则、操作难致密化导致的性能低下问题,提出带致密化ISA和过滤式预执行的DARE架构,显著提升性能与能效且硬件开销更低。

摘要:

深度神经网络(DNNs)已广泛应用于各领域且展现出强大效能。随着DNN工作负载越来越多地在CPU上运行,专用矩阵处理单元(MPUs)和矩阵指令集架构(ISAs)应运而生。与此同时,算法中广泛采用稀疏化技术以降低计算成本。\n尽管取得了这些进展,硬件与算法的协同优化不足仍导致性能欠佳。在存储端,稀疏DNN会产生不规则访问模式,引发高缓存缺失率。虽然预执行(runahead execution)是一种很有前景的预取技术,但由于预取冗余度极高,直接应用于MPU往往效果不佳。在计算端,现有矩阵ISA的步长限制使得多个逻辑相关的稀疏操作无法致密化,导致MPU处理单元利用率低下。\n为解决这些不规则性问题,我们提出DARE——一种具备致密化ISA与过滤式预执行机制的容错不规则MPU。DARE扩展了ISA以支持稀疏操作致密化,并配备了具备过滤能力的轻量级预执行机制。实验结果表明,与基线相比,DARE将性能提升了1.04倍至4.44倍,能效提升了1.00倍至22.8倍,且硬件开销比NVR低3.91倍。

英文摘要:

Deep Neural Networks (DNNs) are widely applied across domains and have shown strong effectiveness. As DNN workloads increasingly run on CPUs, dedicated Matrix Processing Units (MPUs) and Matrix Instruction Set Architectures (ISAs) have been introduced. At the same time, sparsity techniques are widely adopted in algorithms to reduce computational cost. Despite these advances, insufficient hardware-algorithm co-optimization leads to suboptimal performance. On the memory side, sparse DNNs incur irregular access patterns that cause high cache miss rates. While runahead execution is a promising prefetching technique, its direct application to MPUs is often ineffective due to significant prefetch redundancy. On the compute side, stride constraints in current Matrix ISAs prevent the densification of multiple logically related sparse operations, resulting in poor utilization of MPU processing elements. To address these irregularities, we propose DARE, an irregularity-tolerant MPU with a Densifying ISA and filtered Runahead Execution. DARE extends the ISA to support densifying sparse operations and equips a lightweight runahead mechanism with filtering capability. Experimental results show that DARE improves performance by 1.04$\times$ to 4.44$\times$ and increases energy efficiency by 1.00$\times$ to 22.8$\times$ over the baseline, with 3.91$\times$ lower hardware overhead than NVR.

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

↑