Combining Formal Reasoning and LLMs for Scenario-Based Educational STEM Exercises

Abstract Large language models (LLMs) enable scalable generation of educational exercises for science, technology, engineering, and mathematics (STEM) but often produce mathematically invalid or physically inconsistent problems, while manual authoring remains accurate but hard to scale. This paper introduces a neuro-symbolic framework for scenario-based educational STEM exercises, demonstrated through applications in introductory thermodynamics. We encode domain knowledge in first-order logic and use a satisfiability-modulo-theories (SMT) solver to enumerate all physically and pedagogically admissible exercise scenarios. We derive scenario-based knowledge graphs and employ symbolic reasoning to select solution paths and assign consistent numerical values before using an LLM solely for natural-language realization. In our case study, the framework reduces 512 naive attribute combinations to 12 valid thermodynamic scenarios and generates correct, solvable exercises per scenario with diverse solution paths. Compared to direct LLM-based generation, in which roughly half of the generated exercises were physically invalid or implausible, our pipeline avoids such inconsistencies by design. This suggests that scenario-centric approaches provide a promising foundation for transparent, human-centric AI in STEM education.

Authors

Institutions

Publication Details

Journal
Human-Centric Intelligent Systems
Published
2026-09-10
DOI
https://doi.org/10.1007/s44230-026-00174-1
Primary Topic
Intelligent Tutoring Systems and Adaptive Learning
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Combining Formal Reasoning and LLMs for Scenario-Based Educational STEM Exercises

Daniel Neider, Luisa Vollmer, Heike Leitte, Rébecca Loubet et al.
Human-Centric Intelligent Systems
Intelligent Tutoring Systems and Adaptive Learning
article

Combining Formal Reasoning and LLMs for Scenario-Based Educational STEM Exercises

Daniel Neider, Luisa Vollmer, Heike Leitte, Rébecca Loubet, Hans Hasse
article en

Abstract

Abstract Large language models (LLMs) enable scalable generation of educational exercises for science, technology, engineering, and mathematics (STEM) but often produce mathematically invalid or physically inconsistent problems, while manual authoring remains accurate but hard to scale. This paper introduces a neuro-symbolic framework for scenario-based educational STEM exercises, demonstrated through applications in introductory thermodynamics. We encode domain knowledge in first-order logic and use a satisfiability-modulo-theories (SMT) solver to enumerate all physically and pedagogically admissible exercise scenarios. We derive scenario-based knowledge graphs and employ symbolic reasoning to select solution paths and assign consistent numerical values before using an LLM solely for natural-language realization. In our case study, the framework reduces 512 naive attribute combinations to 12 valid thermodynamic scenarios and generates correct, solvable exercises per scenario with diverse solution paths. Compared to direct LLM-based generation, in which roughly half of the generated exercises were physically invalid or implausible, our pipeline avoids such inconsistencies by design. This suggests that scenario-centric approaches provide a promising foundation for transparent, human-centric AI in STEM education.

Human-Centric Intelligent Systems
University of Kaiserslautern (DE), TU Dortmund University (DE), University of Applied Sciences Kaiserslautern (DE)
Quality Education
Openalex Percentile: Top 8%
Intelligent Tutoring Systems and Adaptive Learning
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.