Personalized Mathematical Word Problem Generation

Oleksandr Polozov, Eleanor O'Rourke, Adam M. Smith, Luke Zettlemoyer, Sumit Gulwani, Zoran Popovic

Introduction

Mathematical word problems are a fundamental tool in K-12 education, yet they often present a significant barrier to students. The difficulty frequently lies not in the underlying mathematics, but in the "translation" layer: complex language, abstract contexts, and a lack of personal relevance. Research indicates that personalizing these problems—using a student's interests, hobbies, or familiar characters—can dramatically improve engagement and performance. However, manually creating personalized content for every student is an insurmountable task for educators.

This research presents an automated system capable of generating logically coherent, personalized mathematical word problems. By combining Answer-Set Programming (ASP) with Natural Language Generation (NLG), the system synthesizes narratives that are as solvable as traditional textbook problems while being tailored to individual learners.

The ASP-NLG Pipeline

The proposed system follows a structured pipeline that transforms abstract pedagogical requirements into concrete natural language text.

The system architecture pipeline, moving from requirements to surface realization.

The process begins with Logic Generation using ASP. First, the system generates an equation tree that satisfies specific teacher requirements (e.g., requiring both addition and multiplication). Next, it performs Plot Generation, synthesizing a logical plot graph that connects actors, actions, and entities. To ensure narrative "sensibility," the authors utilize "Discourse Tropes"—logical constraints that enforce common-sense rules, such as "a warrior only slays a monster if the monster possesses treasure."

The second phase is Natural Language Generation (NLG). The logical graph is converted into text using primitive templates. The system determines the optimal Sentence Ordering based on causal and temporal links within the plot graph. Finally, a Reference Resolution algorithm ensures that characters and objects are referred to clearly and concisely, avoiding repetitive naming or ambiguous pronouns.

Key Innovations: Math-Plot Isomorphism

A central contribution of this work is the concept of Math-Plot Isomorphism. The system treats the relationship between a story and its corresponding equation as a graph isomorphism problem. By ensuring that the sub-graph of mathematical operations within the story matches the expression tree of the equation, the system guarantees that the resulting word problem is mathematically solvable.

Furthermore, the constraint-based nature of the system allows for precise "scaffolding." Teachers can specify not only the mathematical operations but also the narrative complexity, such as the number of characters or the length of the plot, allowing for a personalized progression of difficulty.

Evaluation and Results

The system was evaluated against a "gold standard" baseline of 25 problems from the Singapore Math curriculum (Grade 4).

Examples of generated word problems across different settings and equation structures.

Key findings include:

  • Efficiency: The system generates problems in under 60 seconds, making it suitable for real-time classroom application.
  • Comprehensibility: In a study with 1,000 participants, generated problems received high comprehensibility scores (3.36–3.50 out of 4).
  • Solvability: There was no statistically significant difference in solve rates or time-to-solve between generated problems and textbook problems (73% vs. 78% success rate).

Conclusion

While the system demonstrates the technical feasibility of automated personalization, challenges remain. The current "ontology bottleneck" requires significant manual effort to expand into new domains. Additionally, while the generated text is highly functional, it can occasionally feel "artificial" compared to human-written prose. Future work will focus on integrating broader knowledge bases to reduce common-sense gaps and conducting long-term studies to measure the pedagogical impact of personalized problem generation in live classroom settings.

Summary updated

BibTeX
@inproceedings{polozov2015personalized,
  author = {Oleksandr Polozov and Eleanor O'Rourke and Adam M. Smith and Luke Zettlemoyer and Sumit Gulwani and Zoran Popovic},
  title = {{Personalized Mathematical Word Problem Generation}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2015},
}
Figure