arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2405.09689cs.LGcs.AIcs.SC
收藏

广义全息约简表示

Generalized Holographic Reduced Representations

University of California, Irvine(加州大学尔湾分校);United States Military Academy(美国军事学院)

Calvin Yeung, Zhuowen Zou, SungHeon Jeong, Wenjun Huang, Nathaniel D Bastian, Mohsen Imani

AI总结:

提出广义全息约简表示(GHRR),通过灵活的非交换绑定操作改进超维计算对复杂组合结构的编码能力,并在语言建模任务中验证其可替代注意力机制并提升性能。

摘要:

超维计算(HDC)是一种计算和数据高效的范式,在连接主义和符号主义人工智能方法之间架起桥梁。然而,HDC的简单性给编码复杂组合结构带来了挑战,尤其是在其绑定操作中。为了解决这个问题,我们提出了广义全息约简表示(GHRR),它是傅里叶全息约简表示(FHRR)的扩展,FHRR是一种特定的HDC实现。GHRR引入了一种灵活的非交换绑定操作,能够改进复杂数据结构的编码,同时保留HDC的鲁棒性和透明性等理想特性。在这项工作中,我们介绍了GHRR框架,证明了其理论性质及其对HDC性质的遵循,探索了其核和绑定特性,并通过实证实验展示了其灵活的非交换性以及对组合结构增强的解码准确性。我们还证明了GHRR中的绑定比其他HDC变体更具表现力;特别地,我们展示了GHRR中的绑定可以实现一种注意力机制。我们通过在Transformer中将其注意力机制替换为GHRR等价物并在语言建模任务上进行测试来验证这一点,结果显示与普通Transformer相比性能有所提升。

英文摘要:

Hyperdimensional Computing (HDC) is a computationally and data-efficient paradigm that acts as a bridge between connectionist and symbolic approaches to artificial intelligence (AI). However, HDC's simplicity poses challenges for encoding complex compositional structures, especially in its binding operation. To address this, we propose Generalized Holographic Reduced Representations (GHRR), an extension of Fourier Holographic Reduced Representations (FHRR), a specific HDC implementation. GHRR introduces a flexible, non-commutative binding operation, enabling improved encoding of complex data structures while preserving HDC's desirable properties of robustness and transparency. In this work, we introduce the GHRR framework, prove its theoretical properties and its adherence to HDC properties, explore its kernel and binding characteristics, and perform empirical experiments showcasing its flexible non-commutativity, enhanced decoding accuracy for compositional structures. We also demonstrate that binding in GHRR is more expressive than that in other HDC variants; in particular, we show that binding in GHRR can implement a kind of attention mechanism. We verify this by replacing the attention mechanism in a transformer with its GHRR-equivalent and testing it on a language modeling task, showing improved performance compared to a vanilla transformer.

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

↑