Decrypting Cryptic Crosswords: Semantically Complex Wordplay Puzzles as a Target for NLP

Josh Rozner, Christopher Potts, Kyle Mahowald

TL;DR

Cryptic crosswords represent a "final boss" for NLP, requiring models to simultaneously handle fluent semantics and character-level ciphers. This paper introduces a massive new dataset of 142,000 clues and demonstrates that while curriculum learning—pre-training on simpler tasks like word descrambling—significantly boosts performance, these puzzles remain an unsolved challenge for state-of-the-art models like T5.

What Problem Does This Paper Address?

Most NLP benchmarks focus on standard semantic understanding or logical reasoning. Cryptic crosswords, however, are "adversarially" composed. A typical clue consists of two parts: a definition (a synonym or description) and a wordplay cipher (instructions for character-level manipulation like anagrams or initialisms). These two parts are fused into a sentence that reads like natural language.

For example: “But everything’s really trivial, initially, for a transformer model (4)” * Definition: "a transformer model" $\rightarrow$ BERT * Wordplay: "But everything’s really trivial, initially" $\rightarrow$ Take the first letters of But everything’s really trivial $\rightarrow$ BERT

Solving these requires meta-linguistic reasoning: the ability to look at a word not just for its meaning, but as a string of characters to be rearranged, truncated, or hidden. Current models struggle to bridge the gap between high-level semantics and low-level character manipulation, especially when the rules of the game are hidden behind fluent prose.

Methods

The authors evaluate several baselines, including WordNet-based heuristics, K-Nearest Neighbors (KNN), and a rule-based solver. However, the core of the paper focuses on T5 (Text-to-Text Transfer Transformer).

To improve T5's performance, they introduce a Curriculum Learning approach. Instead of training on cryptic clues immediately, the model is first fine-tuned on synthetic "helper" tasks:

  1. ACW (American Crosswords): Straightforward synonym/definition tasks to teach the model "definition lookup."
  2. ACW-descramble: A synthetic task where the answer to an American crossword clue is scrambled and placed within the clue, mimicking the structure of a cryptic clue.
  3. Anagrams: A pure character-shuffling task using a dictionary.

The authors also propose a new, more rigorous evaluation metric: the word-initial disjoint split. Standard random splits often allow models to "cheat" by seeing different inflections of the same answer (e.g., "abacus" vs "abacuses"). The disjoint split ensures that no answer in the test set shares the same first two letters as any answer in the training set, forcing the model to generalize its reasoning rather than memorizing vocabulary.

Datasets

  • The Guardian Dataset: A newly cleaned collection of 142,380 clues from The Guardian (1999–2020), featuring 55,783 unique answers.
  • ACW-data: 2.5 million clue-answer pairs from American-style crosswords used for curriculum training.
  • Anagram Dataset: A synthetic dataset of 13,535 anagram groups paired with common "indicator" words (e.g., "mixed up," "confused").

Key Insights and Ideas

  • The Tokenization Paradox: T5 uses subword tokenization (SentencePiece), which many assumed would make character-level tasks like anagrams impossible. Surprisingly, the authors find that T5 can learn to descramble words and respect length constraints, suggesting these models capture more sub-token information than previously thought.
  • Curriculum Synergy: Training on definitions (ACW) and wordplay (descrambling) separately provides some benefit, but training on them together (ACW + ACW-descramble) creates a significant performance jump. The model needs to learn how to balance these two competing signals.
  • The Generalization Wall: There is a massive performance drop when moving from a naive random split to a disjoint split. This indicates that current models are still heavily reliant on lexical overlap and struggle to learn the abstract "rules" of cryptic wordplay in a way that transfers to entirely new words.
Table 1: Examples of five common clue types in cryptic crosswords, all demonstrating clues for the answer: BERT. Indicators, where they occur, are italicized. The wordplay substrate appears in bold. Typographical emphasis added to aid reader, only; actual clues have no such indication.

Key Results

The curriculum approach yielded substantial improvements over the vanilla T5 baseline:

  • Naive Split: The top-performing curriculum model (ACW + ACW-descramble) achieved 21.8% accuracy, compared to 16.3% for the standard T5-base.
  • Word-Initial Disjoint Split: While much harder, the curriculum model reached 6.5% accuracy, a significant relative improvement over the baseline's meager 1.1%.
  • Meta-linguistic Features: T5 proved remarkably adept at following length constraints. When provided with the answer length (e.g., "(4)"), the model produced an output of the correct length 97.9% of the time.
Table 2: Results for baselines and top curricular approach. Details on the curricular approach are given in Section 5. Metrics are percentages calculated over the top ten model outputs, after filtering to outputs of correct length.

Limitations and Future Work

Despite the progress, a 21.8% success rate on the "easy" split shows that AI is still far from matching human experts, who solve these puzzles with high accuracy. The models particularly struggle with compositional clues (like "Charades," where multiple wordplay types are combined) and the "aha moment" required to identify which part of a clue is the definition and which is the wordplay.

Future work could involve more complex synthetic datasets that model multi-step wordplay or architectures that explicitly separate semantic and character-level processing. For now, the cryptic crossword remains a compelling benchmark for the next generation of "creative" AI.

Summary updated

BibTeX
@inproceedings{rozner2021decrypting,
  author = {Josh Rozner and Christopher Potts and Kyle Mahowald},
  title = {{Decrypting Cryptic Crosswords: Semantically Complex Wordplay Puzzles as a Target for NLP}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2021},
  url = {https://openreview.net/forum?id=s8KarpZk_qz},
}
Figure