Introduction
Controllable Question Generation (CQG) is a critical task in educational technology, where generated questions must align with specific pedagogical goals. A high-quality educational question is defined not just by its grammatical correctness, but by its ability to target specific narrative attributes (e.g., character feelings) and difficulty levels (e.g., requiring inference across multiple sentences).
Current CQG approaches often struggle to satisfy multiple constraints simultaneously. Large Language Models (LLMs) frequently overlook fine-grained control labels when prompted directly, while smaller fine-tuned models often fail to produce diverse or "implicit" questions, tending toward simple factoid extraction. The authors of Planning First, Question Second (PFQS) identify a core deficiency: the absence of a formal planning stage that bridges high-level requirements with concrete textual evidence.
The PFQS Framework
The PFQS method decouples the generation process into two distinct phases: Plan Generation and Question Generation. This separation allows the system to first determine what to ask before deciding how to ask it.
- Plan Generation: An instruction-tuned LLM (specifically Llama 2) is utilized to generate an "answer plan." This plan identifies candidate answers or key sentences from the source text that correspond to a target Attribute (e.g., action, feeling, setting).
- Further Revision: The system adjusts the initial plan based on difficulty constraints. For "summary" questions, the plan is expanded to include multiple related sentences. For "implicit" questions, the LLM paraphrases the plan to remove direct textual overlaps, forcing the subsequent model to generate questions requiring inference.
- Question Generation: Finally, the adjusted plan, the original context, and a control prompt are provided to a fine-tuned QG model (such as BART-large) to produce the final question-answer pair.
Experimental Setup
The framework was evaluated primarily using the FairytaleQA dataset, which contains 10,580 QA pairs from 278 children's stories. This dataset is uniquely suited for CQG research as every question is expert-annotated with three specific labels: Attribute (narrative element), Local/Summary (scope), and Explicit/Implicit (inference requirement).
Results and Discussion
The PFQS method achieves a new state-of-the-art (SOTA) on the FairytaleQA benchmark, significantly outperforming previous specialized models.
As shown in the results, PFQS achieved a MAP@1 (Rouge-L F1) of 0.413, a substantial leap from the previous best of 0.254 (DQAG). Semantic similarity scores (BERTScore) also reached a peak of 0.8965. Beyond automated metrics, the authors found that PFQS demonstrated superior label consistency. By using an LLM evaluator to verify if generated questions matched input constraints, PFQS proved far more reliable at following complex pedagogical requirements than standard BART or direct LLM prompting.
Conclusion
PFQS demonstrates that explicit planning is a powerful mechanism for improving the controllability and quality of generated questions. By treating difficulty as a multi-dimensional construct—combining information synthesis and linguistic distance—and using plans as an intermediate representation, the framework effectively bridges the gap between high-level intent and low-level generation. Future work will focus on reducing dependency on expert-annotated datasets and developing more robust ranking mechanisms for candidate plans.
Summary updated