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

基于哥德尔逻辑的梯度优化作为离散局部搜索

Gradient-Based Optimization on Gödel Logic as Discrete Local Search

University of Bozen-Bolzano(博洛尼亚-博尔扎纳大学);Fondazione Bruno Kessler(布鲁诺·凯斯勒基金会);Vrije Universiteit Amsterdam(阿姆斯特丹自由大学)

Alessandro Daniele, Emile van Krieken

AI总结:

本文研究了如何利用梯度优化方法在哥德尔逻辑中进行离散局部搜索,通过构建逻辑与连续解释之间的同态映射,实现对布尔可满足性问题的有效求解,并引入哥德尔技巧提升解空间探索能力。

摘要:

神经符号系统中应用连续梯度优化到离散逻辑领域是一个基本挑战。尽管模糊松弛提供了可微性,但往往缺乏与经典逻辑的正式结构对齐。本文展示哥德尔语义通过将连续解释映射到布尔解释的同态,允许离散变量编码同时保持完全可微性。在此基础上,我们证明在哥德尔逻辑上进行梯度优化可实例化为布尔可满足性问题的离散局部搜索。我们的形式分析证明每次优化步骤识别并修改一个未满足子句中的单个变量,精确模仿离散求解器的步骤。我们识别局部极值是此类动态的主要限制,并引入哥德尔技巧,一种随机重参数化技术,旨在改进解空间的探索。我们进一步展示该方法与概率推理及Gumbel-Max技巧之间的正式联系。在SAT基准和视觉数独任务上的实验结果验证了我们的理论发现,证明我们的方法有效导航复杂组合景观,并为可微离散搜索提供了坚实基础。

英文摘要:

A fundamental challenge in neurosymbolic systems is applying continuous gradient-based optimization to discrete logical domains. While fuzzy relaxations provide differentiability, they often lack a formal structural alignment with classical logic. In this work, we show that Gödel semantics addresses this limitation through a homomorphism that maps its continuous interpretations to Boolean ones, allowing discrete variables to be encoded while maintaining full differentiability. Building on this foundation, we show that gradient-based optimization on Gödel logic instantiates a discrete local search for Boolean satisfiability. Our formal analysis proves that each optimization step identifies and modifies a single variable within a unsatisfied clause, precisely mimicking the steps of a discrete solver. We identify local optima as the primary limitation of such dynamics and introduce the Gödel Trick, a stochastic reparameterization technique designed to improve the exploration of the solution space. We further show a formal connection between this approach, probabilistic inference, and the Gumbel-Max trick. Experimental results on SAT benchmarks and the Visual Sudoku task validate our theoretical findings, demonstrating that our approach effectively navigates complex combinatorial landscapes and provides a solid foundation for differentiable discrete search.

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

↑