arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.05030cs.CLcs.AIcs.LG
收藏

相关联记忆:复杂希尔伯特空间中的序列建模

Phase-Associative Memory: Sequence Modeling in Complex Hilbert Space

Xavoc Technocrats Pvt.\ Ltd., , India

Gowrav Vishwakarma, Christopher J. Agostino

AI总结:

本文提出相关联记忆(PAM)模型,利用复杂值序列建模在复杂希尔伯特空间中实现更有效的语言建模,通过对比实值和复值架构,发现复值架构在参数规模增加时具有更快的改进速度。

摘要:

实验表明,自然语言处理中语义表达的意义在解释前是不确定的,而非仅仅是组成部分的总和。这种观察者依赖性的行为在真实上下文中更符合量子逻辑机制,而非经典布尔方法。本文引入了相关联记忆(PAM)——一种复值序列模型,其状态S_t∈C^{d×d}通过复数标记嵌入的外积累积,利用共轭内积Re⟨K|Q⟩/√d检索。PAM在WikiText-103数据集上与结构匹配的实值消融模型相比,在参数规模增加时表现出更高的绝对损失,但改进速度更快,损失和困惑度的幂律指数分别为-0.15 vs. -0.12和-0.65 vs. -0.49,逐渐缩小了两者之间的差距。进一步研究复值序列建模在更大规模下的表现,可能揭示出与当前前沿(约1T参数)相比,PAM类架构可以使用数量级更少的参数达到与实值最先进语言模型(如transformers)相同的损失平台特性,暗示在可由消费级硬件运行的规模上也能实现类似能力。

英文摘要:

Experiments probing natural language processing by both humans and LLMs suggest that the meaning of a semantic expression is indeterminate prior to the act of interpretation rather than being specifiable simply as the sum of its parts (i.e. compositionality). This observer-dependent act dynamically actualizes meaning under genuine contextuality more consistent with quantum logical mechanisms than with classical Boolean approaches that assume separability, motivating an approach to language modeling that utilizes a Hilbert space formalism. In this work, we introduce Phase-Associative Memory (PAM) -- a complex-valued sequence model whose state S_t \in \mathbb{C}^{d \times d} accumulates outer products of complex token embeddings retrieved through the conjugate inner product $\mathrm{Re}\langle K \mid Q\rangle / \sqrt{d}$ -- and evaluate it against a structurally matched real-valued ablation. Both architectures train stably across a 5M--100M parameter sweep on WikiText-103 under identical conditions; PAM sits at higher absolute loss at every measured scale but improves more rapidly with parameter count, with power-law exponents of $-0.15$ vs.\ $-0.12$ in loss and $-0.65$ vs.\ $-0.49$ in perplexity that narrow the gap between the two architectures monotonically. Further investigation of complex-valued sequence modeling at larger scales could reveal that the loss plateau characteristic of real-valued state-of-the-art language models (e.g. transformers) is reachable with PAM-style architectures with an order of magnitude fewer parameters than the current frontier ($\sim$1T), implying that similar capabilities are achievable at sizes runnable on consumer-grade hardware.

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

↑