arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.05120cs.CCcs.LG
收藏

可验证的布尔推理是通用的

Certifiable Boolean Reasoning Is Universal

University of Toronto(多伦多大学);McMaster University(麦基尔大学);Vector Institute(向量研究所);Scuola Normale Superiore di Pisa(比萨normal高等学院)

Wenhao Li, Anastasis Kratsios, Hrad Ghoukasian, Dennis Zvigelsky

AI总结:

本文提出了一种深度学习架构,能够确证性地推理并通用性地处理任何布尔任务,且在简单布尔任务中参数需求低。

摘要:

随着代理系统的发展,AI的推理能力已成为当代机器学习的核心。虽然已知存在神经网络能够通过任何布尔任务 $f:\{0,1\}^B\to\{0,1\}$ 进行推理,即它们可以模拟具有扇入2和扇出1的布尔电路,但训练模型却反复被证明无法达到这些理论理想。这引发了问题:能否展示一个深度学习模型,该模型可以确证性地始终推理,并且能够通过任何布尔任务进行通用推理?此外,此类模型应理想地需要很少的参数来解决简单的布尔任务。我们通过展示一个深度学习架构来回答这个问题,该架构参数化布尔电路的分布,并保证对于每个参数配置,样本几乎肯定是一个有效的布尔电路(因此具有内在的电路级证书)。然后我们证明了一个通用性定理:对于任何布尔函数 $f:\{0,1\}^B\to\{0,1\}$,存在一个参数配置,使得所采样的电路以任意高的概率计算 $f$。当 $f$ 是一个 $\mathcal{O}(\log B)$-junta 时,所需的参数数量与输入维度 $B$ 成线性关系。实验上,在一个与我们设定一致的受控真值表完成基准上,所提出的架构能够可靠地训练,并在保持预测结构的同时实现高精确匹配准确率:每个内部单元在 $\{0,1\}^B$ 上是布尔值的。匹配的MLP基线达到可比的准确率,但只有约10%的隐藏单元允许布尔表示;即在布尔立方体上是二值的。

英文摘要:

The proliferation of agentic systems has thrust the reasoning capabilities of AI into the forefront of contemporary machine learning. While it is known that there \emph{exist} neural networks which can reason through any Boolean task $f:\{0,1\}^B\to\{0,1\}$, in the sense that they emulate Boolean circuits with fan-in $2$ and fan-out $1$ gates, trained models have been repeatedly demonstrated to fall short of these theoretical ideals. This raises the question: \textit{Can one exhibit a deep learning model which \textbf{certifiably} always reasons and can \textbf{universally} reason through any Boolean task?} Moreover, such a model should ideally require few parameters to solve simple Boolean tasks. We answer this question affirmatively by exhibiting a deep learning architecture which parameterizes distributions over Boolean circuits with the guarantee that, for every parameter configuration, a sample is almost surely a valid Boolean circuit (and hence admits an intrinsic circuit-level certificate). We then prove a universality theorem: for any Boolean $f:\{0,1\}^B\to\{0,1\}$, there exists a parameter configuration under which the sampled circuit computes $f$ with arbitrarily high probability. When $f$ is an $\mathcal{O}(\log B)$-junta, the required number of parameters scales linearly with the input dimension $B$. Empirically, on a controlled truth-table completion benchmark aligned with our setting, the proposed architecture trains reliably and achieves high exact-match accuracy while preserving the predicted structure: every internal unit is Boolean-valued on $\{0,1\}^B$. Matched MLP baselines reach comparable accuracy, but only about $10\%$ of hidden units admit a Boolean representation; i.e.\ are two-valued over the Boolean cube.

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

↑