arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2307.00653cs.AIcs.GT
收藏

神经符号数独求解器

Neuro-Symbolic Sudoku Solver

Indiana University(印第安纳大学)

Ashutosh Hathidara, Lalit Pandey

AI总结:

本文扩展神经逻辑机(NLM)架构解决9X9数独问题,通过强化学习训练使模型在3到10个空单元格的数独求解中达到100%准确率,并对比回溯算法验证了符号学习在混合模型中的重要性。

摘要:

深度神经网络在人类能轻松完成的一些复杂任务中取得了巨大成功,包括图像识别/分类、自然语言处理、游戏等。然而,当面对那些可以使用回溯法和传统算法轻松解决的任务时,现代神经网络往往会失败或表现不佳。因此,我们采用神经逻辑机(NLM)的架构并扩展其功能来解决9X9的数独游戏。为了扩展NLM的应用,我们从已解决游戏的数据集中生成一个随机单元格网格,并分配最多10个新的空单元格。游戏的目标是找到1到9之间的目标值并填入剩余的空单元格,同时保持有效的配置。在我们的研究中,我们展示了一个NLM,它能够在解决空单元格数量从3到10的数独时达到100%的准确率。本研究的目的是证明NLM也可以用于解决像数独这样的复杂问题和游戏。我们还通过在同一问题上使用图表比较收敛时间,分析了NLM与回溯算法的行为。通过这项研究,我们表明神经逻辑机可以通过强化学习在传统深度学习架构失败的任务上进行训练。我们还旨在提出符号学习在解释NLM混合模型的系统性方面的重要性。

英文摘要:

Deep Neural Networks have achieved great success in some of the complex tasks that humans can do with ease. These include image recognition/classification, natural language processing, game playing etc. However, modern Neural Networks fail or perform poorly when trained on tasks that can be solved easily using backtracking and traditional algorithms. Therefore, we use the architecture of the Neuro Logic Machine (NLM) and extend its functionality to solve a 9X9 game of Sudoku. To expand the application of NLMs, we generate a random grid of cells from a dataset of solved games and assign up to 10 new empty cells. The goal of the game is then to find a target value ranging from 1 to 9 and fill in the remaining empty cells while maintaining a valid configuration. In our study, we showcase an NLM which is capable of obtaining 100% accuracy for solving a Sudoku with empty cells ranging from 3 to 10. The purpose of this study is to demonstrate that NLMs can also be used for solving complex problems and games like Sudoku. We also analyze the behaviour of NLMs with a backtracking algorithm by comparing the convergence time using a graph plot on the same problem. With this study we show that Neural Logic Machines can be trained on the tasks that traditional Deep Learning architectures fail using Reinforcement Learning. We also aim to propose the importance of symbolic learning in explaining the systematicity in the hybrid model of NLMs.

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

↑