arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1807.08583cs.ETcs.LG
收藏

密集二进制超维计算的硬件优化:超向量的再物质化,二进制捆绑和组合联想记忆

Hardware Optimizations of Dense Binary Hyperdimensional Computing: Rematerialization of Hypervectors, Binarized Bundling, and Combinational Associative Memory

ETH Zürich(苏黎世联邦理工学院);Università di Bologna(博洛尼亚大学)

Manuel Schmuck, Luca Benini, Abbas Rahimi

摘要:

大脑启发的超维(HD)计算用超维空间的点(即超向量)对大脑回路的大小的神经活动模式进行建模。超向量是$D$维(伪)随机向量,具有独立同分布(i.i.d.)构成超宽全息字的组件:例如,$D = 10,000$位。在其核心,HD计算操纵一组种子超向量来构建表示感兴趣对象的复合超向量。它要求内存优化与简单的操作,一个高效的硬件实现。在本文中,我们提出了硬件技术的优化HD计算,在一个综合的VHDL库,使学习和分类任务的协同实施只有一小部分的Xilinx(R)的UltraScale(TM)FPGA:(1)我们提出了简单的逻辑操作,重新实体化的超向量的飞行,而不是从内存中加载它们。这些操作通过直接计算复合超向量而大大减少了内存占用,复合超向量的单个种子超向量不需要存储在内存中。(2)随着时间的推移捆绑一系列超向量需要为每个超向量分量使用多位计数器。相反,我们提出了一个二进制化的背靠背捆绑,而不需要任何计数器。这真正实现了以最少的资源进行片上学习,因为每个超向量分量在训练过程中保持二进制,以避免多位分量。(3)对于每个分类事件,关联存储器负责通过使用距离度量找到一组学习的超向量和查询超向量之间的最接近匹配。该运算符与[…]

英文摘要:

Brain-inspired hyperdimensional (HD) computing models neural activity patterns of the very size of the brain's circuits with points of a hyperdimensional space, that is, with hypervectors. Hypervectors are $D$-dimensional (pseudo)random vectors with independent and identically distributed (i.i.d.) components constituting ultra-wide holographic words: $D = 10,000$ bits, for instance. At its very core, HD computing manipulates a set of seed hypervectors to build composite hypervectors representing objects of interest. It demands memory optimizations with simple operations for an e cient hardware realization. In this paper, we propose hardware techniques for optimizations of HD computing, in a synthesizable VHDL library, to enable co-located implementation of both learning and classification tasks on only a small portion of Xilinx(R) UltraScale(TM) FPGAs: (1) We propose simple logical operations to rematerialize the hypervectors on the fly rather than loading them from memory. These operations massively reduce the memory footprint by directly computing the composite hypervectors whose individual seed hypervectors do not need to be stored in memory. (2) Bundling a series of hypervectors over time requires a multibit counter per every hypervector component. We instead propose a binarized back-to-back bundling without requiring any counters. This truly enables on-chip learning with minimal resources as every hypervector component remains binary over the course of training to avoid otherwise multibit component. (3) For every classification event, an associative memory is in charge of finding the closest match between a set of learned hypervectors and a query hypervector by using a distance metric. This operator is proportional to [...]

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

↑