arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2603.00302cs.LGcs.AIcs.LO
收藏

多项式代理训练用于可微三分逻辑门网络

Polynomial Surrogate Training for Differentiable Ternary Logic Gate Networks

University of Maryland(马里兰大学)

Sai Sandeep Damera, Ryan Matheu, Aniruddh G. Puranic, John S. Baras

AI总结:

多项式代理训练通过减少参数并提升训练效率,实现了对三分逻辑门网络的可微训练,提升了在不确定性下的预测准确性。

摘要:

可微逻辑门网络(DLGNs)通过基于梯度的训练学习紧凑且可解释的布尔电路,但所有现有的变体都局限于16个二输入二进制门。扩展DLGNs到三分Kleene K3逻辑并训练DTLGNs,其中UNKNOWN状态能够在不确定性下实现原则性的回避是值得的。然而,每个神经元潜在门的支撑集爆炸到19,683,使得现有的基于softmax过门的训练方法不可行。我们引入了多项式代理训练(PST),将每个三分神经元表示为一个次数为(2,2)的多项式,具有9个可学习的系数(参数减少2,187倍),并证明训练网络与离散逻辑电路之间的差距由数据无关的承诺损失界所限制,该损失在收敛时消失。在CIFAR-10上从48K到512K神经元的扩展实验表明,这种硬化差距随着过参数化而缩小。三分网络比二进制DLGNs快2-3倍训练,发现真正的三分门,这些门在功能上具有多样性。在合成和表格任务中,我们发现UNKNOWN输出作为贝叶斯最优不确定性代理,使选择性预测成为可能,在过滤低置信度预测后,三分电路在准确性上超过二进制准确性。更广泛地说,PST建立了一种通用的多项式代理方法,其参数化成本仅与逻辑值增长二次,为许多值的可微逻辑打开了大门。

英文摘要:

Differentiable logic gate networks (DLGNs) learn compact, interpretable Boolean circuits via gradient-based training, but all existing variants are restricted to the 16 two-input binary gates. Extending DLGNs to Ternary Kleene $K_3$ logic and training DTLGNs where the UNKNOWN state enables principled abstention under uncertainty is desirable. However, the support set of potential gates per neuron explodes to $19{,}683$, making the established softmax-over-gates training approach intractable. We introduce Polynomial Surrogate Training (PST), which represents each ternary neuron as a degree-$(2,2)$ polynomial with 9 learnable coefficients (a $2{,}187\times$ parameter reduction) and prove that the gap between the trained network and its discretized logic circuit is bounded by a data-independent commitment loss that vanishes at convergence. Scaling experiments from 48K to 512K neurons on CIFAR-10 demonstrate that this hardening gap contracts with overparameterization. Ternary networks train $2$-$3\times$ faster than binary DLGNs and discover true ternary gates that are functionally diverse. On synthetic and tabular tasks we find that the UNKNOWN output acts as a Bayes-optimal uncertainty proxy, enabling selective prediction in which ternary circuits surpass binary accuracy once low-confidence predictions are filtered. More broadly, PST establishes a general polynomial-surrogate methodology whose parameterization cost grows only quadratically with logic valence, opening the door to many-valued differentiable logic.

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

↑