Language Models are Crossword Solvers

Soumadeep Saha, Sutanoya Chakraborty, Saptarshi Saha, Utpal Garain

Abstract

Large Language Models (LLMs) excel at general reasoning but often struggle with character-level constraints due to tokenization. This paper introduces SweepClip, a novel search algorithm that enables off-the-shelf LLMs to solve New York Times crossword puzzles with 93.1% character accuracy. By combining iterative grid-filling with reasoning-based clue solving, LLMs outperform previous state-of-the-art specialized solvers by 2-3x on cryptic benchmarks.

Introduction

Crossword puzzles represent a unique challenge for artificial intelligence, requiring a combination of deep world knowledge, mastery of wordplay (puns, anagrams), and adherence to strict spatial constraints. While LLMs have shown remarkable capabilities in general language tasks, they frequently fail at "constrained language generation" because they process text as tokens rather than individual characters. This paper investigates whether current LLMs can overcome these "tokenization traps" to solve full crossword grids without specialized fine-tuning.

Methodology: The SweepClip Algorithm

To bridge the gap between semantic reasoning and structural requirements, the authors propose SweepClip, an iterative algorithm:

  1. Sweep: The LLM generates candidate answers for all clues in the grid.
  2. Clip: A graph-based criterion identifies and eliminates "bad-fitting" candidates that conflict with high-confidence answers at grid intersections.
  3. Iterate: Remaining answers serve as constraints (providing known letters as hints) for the next round of LLM prompting.

Additionally, Chain-of-Thought (CoT) prompting is utilized to help models decipher cryptic clues, which often involve complex indicators like anagrams or hidden words.

Figure 3: Overview of the crossword solving process, showing the grid constraints and the reasoning required for cryptic clues.

Experimental Setup and Datasets

The study evaluated models across several challenging benchmarks:

  • NYT Dataset: 100 Monday puzzles from the New York Times (1969–2023).
  • Cryptonite & word-init-disjoint (Init): Benchmarks for cryptic crossword clues.
  • Post-Cutoff Datasets: Puzzles from The Guardian and Lovatts published after May 2024 to rule out data contamination.
  • Sub-token Counting Dataset: A set of 3,000 words used to test character-counting abilities.

Key Results

The integration of SweepClip significantly boosts LLM performance across all benchmarks. GPT-4 Turbo achieved 93.1% character accuracy on Monday NYT puzzles, solving nearly half (48%) of the grids perfectly. On the cryptic Init dataset, the model reached 20.85% accuracy, a 2.2x improvement over the previous state-of-the-art specialized solver (9.5%).

Figure 5: Accuracy comparison across NYT, Cryptonite, and word-init-disjoint datasets for various models and shot counts.

Analysis and Insights

  • The Tokenization Bottleneck: Accuracy in character counting drops as words become rarer, suggesting LLMs rely on memorized lengths for common words rather than true counting.
  • Constraints as a Feature: While length constraints are difficult, grid intersections provide vital hints. Providing partially filled words (e.g., _ T _ P) leads to significant performance jumps.
  • Reasoning vs. Retrieval: Human evaluation shows GPT-4 Turbo provides sound logical rationales for its answers 74% of the time, indicating it applies solving skills rather than just recalling solutions.

Conclusion and Future Work

This research demonstrates that LLMs, when paired with structured search algorithms like SweepClip, are formidable crossword solvers. However, limitations remain, including the "greedy" nature of the pruning process and the high computational cost of solving cryptic puzzles. Future work should address how models can better internalize character-level information during pre-training to overcome fundamental tokenization limitations.

Summary updated

BibTeX
@inproceedings{saha2025language,
  author = {Soumadeep Saha and Sutanoya Chakraborty and Saptarshi Saha and Utpal Garain},
  title = {{Language Models are Crossword Solvers}},
  booktitle = {Conference of the North American Chapter of the Association for Computational Linguistics},
  year = {2025},
  doi = {10.18653/v1/2025.naacl-long.104},
}
Figure