arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2403.03278cs.ITcs.NEmath.IT
收藏

面向超维计算的线性码

Linear Codes for Hyperdimensional Computing

Netanel Raviv

AI总结:

针对超维计算中的组合表示因子分解恢复难题,提出采用随机线性码的方法,兼具与普通随机码相当的存储能力,且支持更高效的恢复算法,速度显著优于现有谐振子网络。

摘要:

超维计算(Hyperdimensional Computing, HDC)是一种将组合信息表示为高维向量的新兴计算范式,在机器学习、神经形态计算等诸多应用领域具备可观潜力。HDC领域长期存在的挑战之一是将组合表示分解为其组成因子,该问题也被称为恢复问题。本文采用一种新颖方法解决该恢复问题,提出使用随机线性码。这类码是布尔域上的子空间,是信息论中已被充分研究的课题,在数字通信中有多种应用。我们首先证明,使用随机线性码的超维编码保留了主流(普通)随机码的优良特性,因此两种方法生成的超维表示具备相当的信息存储能力。我们进一步证明,随机线性码具备丰富的子码结构,可用于构建键值存储,而键值存储涵盖了HDC的绝大多数使用场景。最重要的是,我们证明在本文提出的框架下,随机线性码支持简单的恢复算法,可对(捆绑或绑定的)组合表示进行因子分解。针对捆绑表示的恢复算法依赖于在布尔域上构建特定线性方程组,其解可大幅缩小搜索空间,且在多数情况下性能严格优于穷举搜索;针对绑定表示的恢复算法则利用这类码的子空间结构,可实现可证明正确的因子分解。两种方法的速度均严格优于当前最先进的谐振子网络,通常快一个数量级。我们使用基准软件库在Python中实现了所提技术,并取得了可观的实验结果。

英文摘要:

Hyperdimensional Computing (HDC) is an emerging computational paradigm for representing compositional information as high-dimensional vectors, and has a promising potential in applications ranging from machine learning to neuromorphic computing. One of the long-standing challenges in HDC is factoring a compositional representation to its constituent factors, also known as the recovery problem. In this paper we take a novel approach to solve the recovery problem, and propose the use of random linear codes. These codes are subspaces over the Boolean field, and are a well-studied topic in information theory with various applications in digital communication. We begin by showing that hyperdimensional encoding using random linear codes retains favorable properties of the prevalent (ordinary) random codes, and hence HD representations using the two methods have comparable information storage capabilities. We proceed to show that random linear codes offer a rich subcode structure that can be used to form key-value stores, which encapsulate most use cases of HDC. Most importantly, we show that under the framework we develop, random linear codes admit simple recovery algorithms to factor (either bundled or bound) compositional representations. The former relies on constructing certain linear equation systems over the Boolean field, the solution to which reduces the search space dramatically and strictly outperforms exhaustive search in many cases. The latter employs the subspace structure of these codes to achieve provably correct factorization. Both methods are strictly faster than the state-of-the-art resonator networks, often by an order of magnitude. We implemented our techniques in Python using a benchmark software library, and demonstrated promising experimental results.

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

↑