跳到正文
arXiv cs.AI· Alessandro Ronca·· 3 小时前AI 评分45

MinMax 循环神经网络级联(MinMax RNCs)提出面向超长上下文的新循环结构

MinMax Recurrent Neural Cascades

AI 导读

研究者提出基于 MinMax 代数新循环形式的循环神经网络 MinMax Recurrent Neural Cascades(MinMax RNCs),同时具备强形式表达力、循环与并行两种高效推理、与序列长度无关的有界状态和梯度,且状态梯度不消失。

正文 · 原文

View PDF

Abstract:We introduce MinMax Recurrent Neural Cascades (MinMax RNCs), a class of recurrent neural networks based on a novel form of recurrence in the MinMax algebra. MinMax RNCs are a first in simultaneously enjoying the key properties for truly long-context processing: strong formal expressivity with long-term memory, efficient inference both in recurrent and parallel form, stable dynamics and gradients, and long-range sensitivity ensured by non-vanishing state gradients. First, they can store and retain information arbitrarily long, and manipulate it in a rich way, with a formal expressivity corresponding to the regular languages (arguably the maximal expressivity for finite-memory systems). Second, in addition to linear-time inference via recurrence, they also admit log-depth linear-work inference via parallel scan. Third, their states and activations are uniformly bounded independently of sequence length. Fourth, although not everywhere-differentiable, they admit pseudo-gradients that are uniformly bounded independently of sequence length and coincide with ordinary gradients almost everywhere. Fifth, they do not suffer from vanishing state gradients: the pseudo-gradient of a state with respect to an arbitrarily-distant past state can retain unit norm, while coinciding with the ordinary gradient. Empirically, we find that the theoretical properties translate to strong practical performance. We evaluate MinMax RNCs on a suite of fundamental synthetic tasks, and observe they solve all tasks perfectly, generalising seamlessly on longer sequences when tested up to length 1M, and outperforming a selection of baselines that well-represent the state of the art. We train a 112M-parameter MinMax RNC for next-token prediction in OWT, obtaining competitive performance for its size, and hence initial evidence of the potential of MinMax RNCs for real-world sequence-modelling tasks.
Comments: Accepted at NeurIPS 2026; Website: this https URL; Code: this https URL
Subjects: Machine Learning (cs.LG); Artificial Intelligence (cs.AI); Formal Languages and Automata Theory (cs.FL)
Cite as: arXiv:2605.06384 [cs.LG]
  (or arXiv:2605.06384v4 [cs.LG] for this version)
  https://doi.org/10.48550/arXiv.2605.06384

arXiv-issued DOI via DataCite

Submission history

From: Alessandro Ronca [view email]
[v1] Thu, 7 May 2026 15:01:36 UTC (249 KB)
[v2] Fri, 8 May 2026 08:53:33 UTC (249 KB)
[v3] Sun, 7 Jun 2026 18:32:08 UTC (297 KB)
[v4] Wed, 25 Nov 2026 23:09:15 UTC (498 KB)

来源:arXiv cs.AI · arxiv.org