Abstract
Crossword puzzles are popular linguistic games often used as tools to engage students in learning. Educational crosswords are characterized by less cryptic and more factual clues that distinguish them from traditional crossword puzzles. Despite there exist several publicly available clue-answer pair databases for traditional crosswords, educational clue-answer pairs datasets are missing. In this article, we propose a methodology to build educational clue generation datasets that can be used to instruct Large Language Models (LLMs). By gathering from Wikipedia pages informative content associated with relevant keywords, we use Large Language Models to automatically generate pedagogical clues related to the given input keyword and its context. With such an approach, we created clue-instruct, a dataset containing 44,075 unique examples with text-keyword pairs associated with three distinct crossword clues. We used clue-instruct to instruct different LLMs to generate educational clues from a given input content and keyword. Both human and automatic evaluations confirmed the quality of the generated clues, thus validating the effectiveness of our approach.
Introduction
Crossword puzzles serve as effective pedagogical instruments, yet a significant gap exists between "traditional" and "educational" variants. Traditional clues, such as those found in the New York Times, frequently employ wordplay and cryptic references. In contrast, educational crosswords require factual, unambiguous clues grounded in specific curricula.
Historically, the Natural Language Processing (NLP) community has lacked dedicated datasets for educational clue generation, relying instead on databases scraped from entertainment-focused puzzles. Furthermore, LLMs often struggle with factual grounding, leading to "hallucinations" or the accidental inclusion of the answer within the clue. This research introduces Clue-Instruct, a large-scale dataset designed to train models to generate context-grounded educational clues.
Methodology
The researchers developed a multi-stage pipeline to automate the creation of high-quality educational clues. This process ensures that generated content is both factually accurate and pedagogically useful.
The pipeline consists of four primary phases:
- Data Retrieval: Mining Wikipedia for introductory sections across 20 diverse categories (e.g., Geography, Science).
- Data Screening: Filtering content to ensure high-quality, informative context.
- Prompt Crafting: Designing a specific instruction set to guide an "oracle" model (GPT-3.5-Turbo).
- Clue Generation: Producing three distinct clues for each keyword-context pair.
The Clue-Instruct Prompt
Central to the methodology is the instruction-tuning prompt. This prompt forces the model to act as a "crossword expert," extracting key facts from the provided context while strictly adhering to formatting constraints (JSON) and avoiding the keyword itself.
Dataset and Instruction Tuning
The resulting clue-instruct dataset comprises 44,075 unique text-keyword pairs, totaling 132,225 clues. The dataset is diverse, covering 20 categories, with a heavy emphasis on Geography and Science.
Using this data, the authors fine-tuned open-source LLMs (Llama-2 and MPT) using LoRA (Low-Rank Adaptation). This approach allowed for efficient parameter updates, aligning the models with the specific requirements of educational clue generation.
Key Insights and Results
The study yielded several critical findings regarding the behavior of LLMs in this specialized task:
- Grounding vs. Creativity: By providing source context, the task shifts from creative writing to a "highly extractive" exercise, ensuring clues are relevant to specific study materials.
- The 1% Rule: Remarkably, fine-tuning on just 1% of the training data (approx. 430 examples) resulted in a significant performance leap. This suggests that LLMs possess the latent knowledge required; they simply need alignment with the desired output format and style.
- Performance Gains: Fine-tuning improved ROUGE-L scores from 20–30 points to 50–60 points. Human evaluation corroborated these metrics, with 81% of generated clues rated as valid and coherent.
- Format Adherence: While base models failed to follow the JSON schema up to 25% of the time, fine-tuned models demonstrated near-perfect adherence.
Conclusion
Clue-Instruct addresses a critical resource gap in educational technology. By grounding clue generation in source text and utilizing instruction tuning, the researchers have created a robust system for generating pedagogical puzzles. Future work will focus on expanding this methodology to non-English languages and exploring more abstract yet factually accurate clue styles.
Summary updated