arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2111.07684cs.LGcs.ET
收藏

AutoGMap:学习在忆阻交叉阵列上映射大规模稀疏图

AutoGMap: Learning to Map Large-scale Sparse Graphs on Memristive Crossbars

Zhejiang Lab(之江实验室);University of Electronic Science and Technology of China(电子科技大学);Australian AI Institute(澳大利亚人工智能研究所);University of Technology Sydney(悉尼科技大学);Chengdu University(成都大学);Hamad Bin Khalifa University(哈迈德·本·哈利法大学);Texas A & M University at Qatar(得克萨斯农工大学卡塔尔分校)

Bo Lyu, Shengbo Wang, Shiping Wen, Kaibo Shi, Yin Yang, Lingfang Zeng, Tingwen Huang

AI总结:

本文提出AutoGMap,用基于LSTM与REINFORCE的序列决策模型动态生成稀疏感知的忆阻交叉阵列映射,显著降低大规模图矩阵映射面积。

摘要:

图的稀疏表示在传统计算架构(CPU、GPU或TPU)上加速图应用(例如社交网络、知识图谱)的计算方面展现出巨大潜力。但是,在存内计算(PIM)平台(通常采用忆阻交叉阵列)上进行大规模稀疏图计算的探索仍处于起步阶段。为了在忆阻交叉阵列上实现大规模或批量图的计算或存储,一个自然的假设是需要大规模交叉阵列,但利用率较低。近期一些工作质疑了这一假设;为避免存储和计算资源浪费,研究者提出了固定大小或渐进调度的“块划分”方案。然而,这些方法是粗粒度或静态的,且不能有效感知稀疏性。本工作提出了一种动态的稀疏感知映射方案生成方法,该方法利用序列决策模型对问题进行建模,并通过强化学习(RL)算法(REINFORCE)对其进行优化。我们的生成模型(LSTM,结合dynamic-fill方案)在小规模图/矩阵数据上生成了出色的映射性能(完整映射成本为原矩阵面积的43%),并在两个大规模矩阵数据上表现优异(在qh882上占用22.5%的面积,在qh1484上占用17.1%的面积)。我们的方法可扩展到其他PIM架构上的稀疏图计算,而不限于基于忆阻器件的平台。

英文摘要:

The sparse representation of graphs has shown great potential for accelerating the computation of graph applications (e.g., Social Networks, Knowledge Graphs) on traditional computing architectures (CPU, GPU, or TPU). But the exploration of large-scale sparse graph computing on processing-in-memory (PIM) platforms (typically with memristive crossbars) is still in its infancy. To implement the computation or storage of large-scale or batch graphs on memristive crossbars, a natural assumption is that a large-scale crossbar is demanded, but with low utilization. Some recent works question this assumption, to avoid the waste of storage and computational resource, the fixed-size or progressively scheduled ''block partition'' schemes are proposed. However, these methods are coarse-grained or static, and are not effectively sparsity-aware. This work proposes the dynamic sparsity-aware mapping scheme generating method that models the problem with a sequential decision-making model, and optimizes it by reinforcement learning (RL) algorithm (REINFORCE). Our generating model (LSTM, combined with the dynamic-fill scheme) generates remarkable mapping performance on a small-scale graph/matrix data (complete mapping costs 43% area of the original matrix) and two large-scale matrix data (costing 22.5% area on qh882 and 17.1% area on qh1484). Our method may be extended to sparse graph computing on other PIM architectures, not limited to the memristive device-based platforms.

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

↑