arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.01228cs.FLcs.AI
收藏

逻辑门时间共享前馈网络用于交替有限自动机:精确模拟与可学习性

Logic-Gated Time-Shared Feedforward Networks for Alternating Finite Automata: Exact Simulation and Learnability

Arizona State University(亚利桑那州立大学)

Sahil Rajesh Dhayalkar

AI总结:

本文提出了一种逻辑门时间共享前馈网络框架,用于精确模拟交替有限自动机,通过可学习的状态依赖偏置实现存在或和全称且逻辑门的聚合,证明该网络在计算类上与AFAs结构同构,能以n个神经元表示需2^n状态的正则语言,并通过实验验证其在逻辑推理中的可学习性。

摘要:

我们提出了一种形式化和构造性的框架,用于使用逻辑门时间共享前馈网络(LG-TS-FFNs)模拟交替有限自动机(AFAs)。不同于先前受限于非确定有限自动机(NFAs)和存在可达性的神经自动机模型,我们的架构整合了可学习的状态依赖偏置,这些偏置作为可微逻辑门,使网络能够在共享参数的线性递归中表示存在OR和全称AND聚合。我们证明这种架构修改将网络的计算类升级为与AFAs结构同构,从而继承其指数简洁性:网络可以用仅n个神经元表示需要2^n状态的正则语言。我们严格证明LG-TS-FFN的前向传递能够精确模拟AFAs的可达性动态,包括即时ε-闭包。此外,我们展示了逻辑门的连续放松允许网络通过标准梯度下降同时从二进制标签中恢复自动机的拓扑和逻辑语义。广泛的实验验证了我们的模型能够完美恢复真实自动机,弥合了统计学习和简洁、通用逻辑推理之间的差距。

英文摘要:

We present a formal and constructive framework for simulating Alternating Finite Automata (AFAs) using Logic-Gated Time-Shared Feedforward Networks (LG-TS-FFNs). Unlike prior neural automata models limited to Nondeterministic Finite Automata (NFAs) and existential reachability, our architecture integrates learnable, state-dependent biases that function as differentiable logic gates, enabling the representation of both Existential \textsc{\textsc{OR}} and Universal \textsc{\textsc{AND}} aggregation within a shared-parameter linear recurrence. We prove that this architectural modification upgrades the network's computational class to be structurally isomorphic to AFAs, thereby inheriting their exponential succinctness: the network can represent regular languages requiring $2^n$ states in an NFA with only $n$ neurons. We rigorously establish that the forward pass of an LG-TS-FFN exactly simulates the reachability dynamics of an AFA, including instantaneous $\varepsilon$-closures. Furthermore, we demonstrate empirical learnability: a continuous relaxation of the logic gates allows the network to simultaneously recover the automaton's topology and logical semantics from binary labels via standard gradient descent. Extensive experiments confirm that our model achieves perfect recovery of ground-truth automata, bridging the gap between statistical learning and succinct, universal logical reasoning.

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

↑