将下一个词预测建模为左嵌套直觉蕴含
Modeling Next-Token Prediction as Left-Nested Intuitionistic Implication
AI总结:
该研究提出了一种基于直觉逻辑的神经架构,通过左嵌套蕴含链实现下一个词预测,展示了其与Transformer和状态空间模型的对比。
摘要:
我们介绍了Arrow语言模型,这是一种从直觉逻辑解释下一个词预测而衍生出的神经架构。不同于将词表示为通过注意力混合的加法嵌入,我们编码前缀为一个左嵌套蕴含链,其结构通过非交换性组合保持顺序。下一个词预测对应于modus ponens,序列处理成为Curry-Howard对应关系下的构造性证明扩展。我们的基于Prolog的专用定理证明器验证了神经模型的基本性质,其中包括交换性与非交换性序列处理以及单词与多词预测选择之间的关系。我们展示了一个等同于乘法RNN的神经架构自然地从下一个词预测作为嵌套直觉蕴含的证明论解释中产生,我们提出了一种实用的低秩神经实现,并将该模型与Transformer和状态空间模型进行了定位。
英文摘要:
We introduce the \emph{Arrow Language Model}, a neural architecture derived from an intuitionistic-logic interpretation of next-token prediction. Instead of representing tokens as additive embeddings mixed by attention, we encode a prefix as a \emph{left-nested implication chain} whose structure preserves order through non-commutative composition. Next-token prediction corresponds to \emph{modus ponens}, and sequence processing becomes constructive proof extension under the Curry--Howard correspondence. Our Prolog-based specialized theorem provers validate fundamental properties of the neural models, among which relations between commutative vs. non-commutative sequencing and single-token vs. multi-token prediction choices. We show that a neural architecture equivalent to multiplicative RNNs arises naturally from a proof-theoretic interpretation of next-token prediction as nested intuitionistic implication, we present a practical low-rank neural realization and position the model relative to Transformers and state-space models. Keywords: logic-based derivation of neural architectures, intuitionistic implicational logic, token-as-operator neural models, state-space models, alternatives to transformer-based foundational models.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。