arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2606.05245cs.DSmath.FA
收藏

Preisach极值栈的最坏情况更新复杂度

The Extremum Stack as Optimal Memory for Rate-Independent Sequence Models: Information-Theoretic Foundations and Online Complexity

Faculty of Mechatronics, Warsaw University of Technology(华沙理工大学机械力学学院)

Piotr Frydrych

AI总结:

研究Preisach极值栈的最坏情况更新复杂度,通过三层次分析证明:任何紧凑精确表示在最坏情况下每步需Θ(k)次输出变化,单调排序允许二分搜索将边界检测降至O(log k)但物理删除仍为Θ(d),而finger-tree实现可在保持精确性的同时达到O(log k)的最坏情况时间。

摘要:

Preisach极值栈 $Π_n$ 是Kolmogorov复杂度意义下可计算率无关泛函类 $\mathcal{R}$ 的最小充分统计量[1]。其标准更新算法运行在均摊 $O(1)$ 时间内,但对抗性输入可能迫使每步执行 $Θ(k)$ 次操作(其中 $k$ 为当前深度)。我们建立了三层次复杂度图景:(i) 任何紧凑精确 $\mathcal{R}$-最小表示在最坏情况下每步导致 $Θ(k)$ 次输出变化(在模型无关的输出变化度量下);(ii) Preisach擦除性质的单调排序允许二分搜索,将边界检测降至 $O(\log k)$,但物理删除仍为 $Θ(d)$;(iii) 一种finger-tree实现实现了搜索和删除每步 $O(\log k)$ 的最坏情况时间,代价是更复杂的数据结构,同时保持精确 $\mathcal{R}$-最小性且无近似误差。这些结果解决了Preisach极值栈在所有三个层次上的最坏情况复杂度。

英文摘要:

Rate-independent sequence models respond to the ordered structure of input extrema rather than to absolute timing or token position. This principle underlies Preisach Attention, a hysteretic alternative to softmax attention in which sequence history is represented by a stack of alternating extrema generated by the classical wiping-out rule. This paper establishes the information-theoretic and online algorithmic foundations of that representation. We prove that the Preisach extremum stack is not merely a convenient implementation detail, but the complete invariant of computable rate-independent sequence functionals: a functional is rate-independent if and only if it factors through the stack. We then show that the stack is minimal in two complementary senses. In the Kolmogorov setting, the shortest exact representation answering all rate-independent queries has complexity equal to that of the stack up to an additive constant independent of sequence length and stack depth. In the Shannon setting, under any input distribution, every sufficient representation contains at least as much mutual information about the input as the stack, with equality only for representations informationally equivalent to it. Finally, we analyse the online maintenance cost of this minimal state. Although the standard stack update is amortised constant time, adversarial inputs can induce linear worst-case latency. We prove a matching output-change lower bound, show that binary search reduces boundary detection but not deletion, and give an exact finger-tree implementation with worst-case (O(\log k)) update time, where (k) is the current stack depth. The results provide a principled foundation for replacing full sequence histories or KV-cache-like memories by extremum-stack states in rate-independent neural architectures, without approximation and with bounded online latency.

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

↑