Patti项目:为何你能解开某一数独网站上的恶魔级谜题,却解不开另一个数独网站上的简单谜题?
Toward a Universal Characterization of Sudoku Puzzle Difficulty
AI总结:
本研究针对不同数独网站难度评级不一致的问题,提出基于SAT子句长度分布和随机Nishio回溯策略调用次数的两个难度指标,构建通用评级系统实现跨网站难度映射,还给出了适合初学者的求解算法。
摘要:
本文旨在回答“不同数独网站的数独难度评级是如何构成的?”这一问题。研究者采用两种均可求解所有数独谜题的不同方法,提出了两个表征数独难度的新指标。第一种方法基于将数独谜题转换为对应的可满足性(SAT,Satisfiability)问题,第一个提出的指标源自SAT子句长度分布,它能捕捉数独谜题的结构复杂度,包括给定数字的数量及其所在单元格位置。第二种方法通过将四种流行的数独策略融入名为Nishio的回溯算法,来模拟人类数独求解者的行为;第二个指标通过统计随机化Nishio算法的回溯迭代中数独策略的应用次数来计算。研究者利用这两个指标,分析了五个流行网站上的一千多道数独谜题,以表征每个网站的各个难度等级。研究者使用斯皮尔曼等级相关系数评估了所提出的指标与网站标注难度等级之间的关系,发现5个网站中有4个呈现强相关性。研究者基于这两个提出的指标,使用简单的无监督分类器构建了一个通用评级系统。该评级系统能够将不同数独网站的单个谜题以及整个难度等级划分为三类——通用简单、通用中等和通用困难,从而实现跨数独网站的一致难度映射。实验结果表明,在5个数独网站中,有4个的通用分类结果与网站标注的难度等级吻合度良好。最后,研究者提出了一种可供数独初学者使用的数独谜题求解算法。
英文摘要:
In this paper we try to answer the question "What constitutes Sudoku difficulty rating across different Sudoku websites?" Using two distinct methods that can both solve every Sudoku puzzle, I propose two new metrics to characterize Sudoku difficulty. The first method is based on converting a Sudoku puzzle into its corresponding Satisfiability (SAT) problem. The first proposed metric is derived from SAT Clause Length Distribution which captures the structural complexity of a Sudoku puzzle including the number of given digits and the cells they are in. The second method simulates human Sudoku solvers by intertwining four popular Sudoku strategies within a backtracking algorithm called Nishio. The second metric is computed by counting the number of times Sudoku strategies are applied within the backtracking iterations of a randomized Nishio. Using these two metrics, I analyze more than a thousand Sudoku puzzles across five popular websites to characterize every difficulty level in each website. I evaluate the relationship between the proposed metrics and website-labeled difficulty levels using Spearman's rank correlation coefficient, finding strong correlations for 4 out of 5 websites. I construct a universal rating system using a simple, unsupervised classifier based on the two proposed metrics. This rating system is capable of classifying both individual puzzles and entire difficulty levels from the different Sudoku websites into three categories - Universal Easy, Universal Medium, and Universal Hard - thereby enabling consistent difficulty mapping across Sudoku websites. The experimental results show that for 4 out of 5 Sudoku websites, the universal classification aligns well with website-labeled difficulty levels. Finally, I present an algorithm that can be used by early Sudoku practitioners to solve Sudoku puzzles.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。