[Paper Review] Dr.Fill: Crosswords and an Implemented Solver for Singly Weighted CSPs
Dr.Fill is a high-performance crossword solver that reformulates American-style crosswords as singly weighted constraint satisfaction problems (CSPs). It employs novel heuristics for variable and value selection, a variant of limited discrepancy search, and postprocessing techniques to achieve competitive performance—ranking among the top 50 solvers globally in the American Crossword Puzzle Tournament.
We describe Dr.Fill, a program that solves American-style crossword puzzles. From a technical perspective, Dr.Fill works by converting crosswords to weighted CSPs, and then using a variety of novel techniques to find a solution. These techniques include generally applicable heuristics for variable and value selection, a variant of limited discrepancy search, and postprocessing and partitioning ideas. Branch and bound is not used, as it was incompatible with postprocessing and was determined experimentally to be of little practical value. Dr.Fillls performance on crosswords from the American Crossword Puzzle Tournament suggests that it ranks among the top fifty or so crossword solvers in the world.
Motivation & Objective
- To develop a robust, high-performance solver for American-style crosswords that outperforms existing systems in real-world competition settings.
- To address the challenge of solving crosswords with incomplete or ambiguous clues by modeling them as singly weighted CSPs.
- To design and implement novel search techniques that improve solution efficiency and accuracy without relying on branch-and-bound methods.
- To integrate postprocessing and partitioning strategies that enhance solution quality and scalability.
- To demonstrate practical effectiveness through empirical evaluation on real crossword puzzles from the American Crossword Puzzle Tournament.
Proposed method
- Transforms each crossword puzzle into a singly weighted constraint satisfaction problem (CSP), where clues and intersecting letters define constraints.
- Applies custom heuristics for variable and value selection during search to prioritize high-impact choices and reduce search space.
- Uses a variant of limited discrepancy search to explore promising solution paths while maintaining completeness and avoiding exhaustive backtracking.
- Employs postprocessing and partitioning techniques to refine solutions and improve consistency across intersecting entries.
- Excludes branch and bound due to incompatibility with postprocessing and experimental inefficacy in practice.
- Leverages a weighted scoring system to rank and select the most plausible solution among multiple candidates.
Experimental results
Research questions
- RQ1How can a constraint satisfaction framework be effectively adapted to model the structure and ambiguity of American-style crosswords?
- RQ2What search heuristics and strategies yield the highest solution accuracy and efficiency in solving real-world crosswords?
- RQ3Can postprocessing and partitioning techniques significantly improve solution quality beyond standard CSP solving?
- RQ4Why is branch-and-bound ineffective in this context, and what alternatives offer better performance?
- RQ5To what extent does the system's performance compare to human experts and other automated solvers in competitive settings?
Key findings
- Dr.Fill achieves competitive performance, ranking among the top 50 crossword solvers globally based on results from the American Crossword Puzzle Tournament.
- The system's performance is significantly enhanced by postprocessing and partitioning, which refine solution quality beyond initial search results.
- Limited discrepancy search with custom heuristics outperforms traditional branch-and-bound in both speed and solution accuracy.
- The exclusion of branch-and-bound was experimentally validated as beneficial due to incompatibility with postprocessing and minimal performance gains.
- The solver successfully handles real-world crossword puzzles with ambiguous clues and partial information by leveraging weighted CSP modeling.
- The approach demonstrates strong generalization and robustness across diverse puzzle types and difficulty levels.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.