paper-with-me

홈 › Papers

Modeling Next-Token Prediction as Left-Nested Intuitionistic Implication

2026-01-07 · Paul Tarau arxiv

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.

📄 PDF Abstract BibTeX arXiv:2601.19915

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Simplifying the Modeling of Arbitrary Conditionals in Natural Language

2026-06-12 · Yinhan Lu, Eric Elmoznino, Léo Gagnon, Sarthak Mittal 외 arxiv

Causal Transformers model sequences through an autoregressive factorization of the joint distribution, which enables efficient left-to-right decoding and conditional likelihood computation. However, they cannot tractably…

Laplacian Heads Improve Transformers by Smoothing Token Representations

2026-02-10 · Yuchong Zhang, Vardan Papyan arxiv

Transformers update token representations through multi-head attention and residual connections as $X \leftarrow X + \sum_{i} P^{(i)}XW_{V_i}W_{o_i}$, where $P^{(i)}$ is the softmax attention matrix in head $i$. We propo…

Self-Supervised Learning

Moving Beyond Next-Token Prediction: Transformers are Context-Sensitive Language Generators

2025-04-15 · Phill Kyu Rhee

Large Language Models (LLMs), powered by Transformers, have demonstrated human-like intelligence capabilities, yet their underlying mechanisms remain poorly understood. This paper presents a novel framework for interpret…

LLaDA-Rec: Discrete Diffusion for Parallel Semantic ID Generation in Generative Recommendation

2025-11-09 · Teng Shi, Chenglei Shen, Weijie Yu, Shen Nie 외 arxiv

Generative recommendation represents each item as a semantic ID, i.e., a sequence of discrete tokens, and generates the next item through autoregressive decoding. While effective, existing autoregressive models face two …

Next-Latent Prediction Transformers Learn Compact World Models

2025-11-08 · Jayden Teoh, Manan Tomar, Kwangjun Ahn, Edward S. Hu 외 arxiv

Transformers replace recurrence with a memory that grows with sequence length and self-attention that enables ad-hoc lookups over past tokens. Consequently, they lack an inherent incentive to compress history into compac…