CrossQG: Improving Difficulty-Controllable Question Generation through Consistency Enhancement

K. Li, Leo Yu Zhang2025

Abstract

Automatically generating questions with controlled difficulty levels is a vital task for educational applications. While Large Language Models (LLMs) show promise in general question generation, they often struggle to maintain consistency with specific target difficulty levels. We present CrossQG, a novel, training-free framework designed to enhance difficulty consistency. CrossQG employs two key stages: contrast enhancement, which uses negative examples to clarify difficulty boundaries, and cross filtering, which removes questions that overlap too closely with other difficulty levels. Our evaluations across three high-quality datasets (SQuAD, RACE, and FairytaleQA) show that CrossQG significantly outperforms standard prompting and even supervised fine-tuning in several scenarios.

Introduction

Difficulty-Controllable Question Generation (DCQG) aims to automate the creation of reading comprehension materials tailored to specific learner levels. Despite the capabilities of LLMs, achieving high "difficulty consistency"—where the generated question matches the intended difficulty (e.g., Easy, Medium, or Hard)—remains a challenge. Current models often lack a precise internal representation of these categories when prompted in isolation. CrossQG addresses this by introducing a comparative context, allowing the model to understand difficulty through contrast rather than absolute definitions.

Methodology: The CrossQG Framework

CrossQG is a two-stage, training-free method that improves the model's understanding of difficulty boundaries through comparison and iterative refinement.

The CrossQG workflow: Initial Question Generation, Contrast Enhancement, and Cross Filtering.

1. Initial Question Generation

The process begins by generating baseline question-answer (QA) pairs for all target difficulty levels (Easy, Medium, Hard) based on a provided context. This initial set serves as the foundation for subsequent refinement.

2. Contrast Enhancement (CE)

In this stage, the model is prompted to regenerate questions. Crucially, the prompt includes "negative examples"—questions previously generated for other difficulty levels. By seeing what a "Hard" question is not (i.e., the "Easy" and "Medium" versions), the LLM can better distinguish the specific requirements of the target level. This stage leverages the model's ability to contrast requirements to sharpen its output.

3. Cross Filtering (CF)

To ensure distinctiveness, CrossQG calculates "difficulty-oriented embeddings" for the generated questions. These embeddings are designed to capture complexity rather than just semantic content. If a question intended to be "Hard" is too similar to the pool of "Easy" or "Medium" questions, it is filtered out, and the model is prompted to regenerate it. This iterative loop continues until the output meets the distinctiveness criteria.

The authors also introduced CrossQG-fast, a variant that generates questions for all levels simultaneously in a single prompt, offering a more efficient alternative with minimal performance trade-offs by reducing the number of LLM calls.

Experimental Results

The framework was evaluated using Llama-2 (7b and 13b) and Mistral-7b models across three datasets: SQuAD (Wikipedia), RACE (English exams), and FairytaleQA (children's stories).

Performance comparison of CrossQG against various baselines across SQuAD, RACE, and FairytaleQA datasets.

Key Findings

  • Significant Consistency Improvements: On the RACE dataset with Llama-2-13b, CrossQG increased the Spearman correlation ($\rho$) between target and actual difficulty from 0.3704 to 0.7144. Accuracy in hitting the exact target difficulty level also saw average increases of at least 6% over other training-free baselines.
  • Outperforming Supervised Fine-Tuning (SFT): Remarkably, CrossQG often surpassed SFT results in various instances. This suggests that the primary bottleneck in DCQG is not model capacity, but the lack of comparative framing during inference.
  • Human Validation: Blind human evaluations confirmed that CrossQG produces questions that are more correct, relevant, and diverse compared to standard In-Context Learning (ICL) and Self-Refine methods.

Conclusion

CrossQG demonstrates that difficulty consistency in LLM-generated questions can be significantly improved without the need for parameter tuning. By leveraging contrastive examples and cross-level filtering, the framework provides a robust solution for educational technology applications. Future work may involve integrating these contrastive insights into model weights via parameter-efficient fine-tuning to reduce computational overhead while maintaining high consistency.

Summary updated

BibTeX
@misc{li2025crossqg,
  author = {K. Li and Leo Yu Zhang},
  title = {{CrossQG: Improving Difficulty-Controllable Question Generation through Consistency Enhancement}},
  year = {2025},
  doi = {10.18653/v1/2025.findings-emnlp.151},
}
Figure