Skip to main content
QUICK REVIEW

[Paper Review] Automatic Generation of Word Problems for Academic Education via Natural Language Processing (NLP)

Stanley Uros Keller|arXiv (Cornell University)|Sep 27, 2021
Intelligent Tutoring Systems and Adaptive LearningComputer Science6 citations
TL;DR

This paper proposes a modular NLP framework for automatically generating diverse, context-rich word problems in mathematical statistics that are grammatically correct, semantically coherent, and content-valid. By integrating constraint generation, conflict detection, and coherence modeling via large language models, the system achieves high validity (up to 86% success on easy problems) while allowing tradeoffs between generation speed and correctness through configurable modules.

ABSTRACT

Digital learning platforms enable students to learn on a flexible and individual schedule as well as providing instant feedback mechanisms. The field of STEM education requires students to solve numerous training exercises to grasp underlying concepts. It is apparent that there are restrictions in current online education in terms of exercise diversity and individuality. Many exercises show little variance in structure and content, hindering the adoption of abstraction capabilities by students. This thesis proposes an approach to generate diverse, context rich word problems. In addition to requiring the generated language to be grammatically correct, the nature of word problems implies additional constraints on the validity of contents. The proposed approach is proven to be effective in generating valid word problems for mathematical statistics. The experimental results present a tradeoff between generation time and exercise validity. The system can easily be parametrized to handle this tradeoff according to the requirements of specific use cases.

Motivation & Objective

  • To address the lack of diversity and individuality in online STEM training exercises, which hinders students' ability to abstract core concepts.
  • To overcome the bottleneck of human-verified exercise generation by automating the creation of valid, context-rich word problems.
  • To ensure generated word problems satisfy strict validity constraints: completeness, correctness, consistency, and unequivocality.
  • To promote deep conceptual understanding by generating exercises with varied constituent structures rather than just swapping numbers.
  • To design a scalable, modular system that supports both human-in-the-loop and fully automated exercise generation.

Proposed method

  • The system uses a modular pipeline: constraint generation, conflict detection, and coherence modeling to ensure content validity.
  • Large language models (LLMs) are prompted to generate word problems based on user-defined exercise definitions and prompts.
  • A constraint generation module ensures that required parameters (e.g., standard deviation) are included to satisfy completeness.
  • A conflict detection module checks for mathematical inconsistencies (e.g., negative probabilities) using rule-based and embedding-based methods.
  • Coherence is enforced via sentence-level embedding similarity (cosine distance) and next-sentence prediction (NSP) scores.
  • The system allows parametrization of modules to balance generation speed and validity, enabling tradeoffs based on use case needs.

Experimental results

Research questions

  • RQ1Can a modular NLP system generate mathematically valid, coherent, and diverse word problems in mathematical statistics?
  • RQ2How does the integration of constraint generation and conflict detection improve content validity compared to standard language modeling?
  • RQ3What tradeoffs exist between generation speed and validity, and can they be controlled via system configuration?
  • RQ4To what extent does the system’s modularity support scalability and extensibility for broader educational applications?
  • RQ5Does the process of designing prompts and configurations for the system enhance conceptual understanding in students?

Key findings

  • The system achieved a success rate of 86% on easy problems when using both conflict detection and coherence modeling (cosine distance + NSP), significantly outperforming baseline configurations.
  • The highest validity was observed when combining conflict detection with coherence modeling (cosine distance and NSP), yielding 86% success on easy problems, 74% on medium, and 76% on hard problems.
  • Removing coherence modeling reduced success rates to 7% on easy problems, indicating that coherence is critical for validity.
  • Content diversity, measured by content entropy (H), remained high (4.7–5.4) across configurations, confirming the system maintains diversity despite validity constraints.
  • The ablation study showed that conflict detection and coherence modeling are essential for high validity, with success dropping to 6% when only completeness was enforced.
  • The system demonstrated a clear tradeoff between generation time and validity, with full validation taking longer but producing significantly more correct exercises.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.