Papers › AutoTutor meets Large Language Models: A Language Model Tutor with Rich Pedagogy and Guardrails

AutoTutor meets Large Language Models: A Language Model Tutor with Rich Pedagogy and Guardrails

14 Feb 2024arXiv:2402.09216archive 2025-07-28

Sankalan Pal Chowdhury, Vilém Zouhar, Mrinmaya Sachan

Large Language Models (LLMs) have found several use cases in education, ranging from automatic question generation to essay evaluation. In this paper, we explore the potential of using Large Language Models (LLMs) to author Intelligent Tutoring Systems. A common pitfall of LLMs is their straying from desired pedagogical strategies such as leaking the answer to the student, and in general, providing no guarantees. We posit that while LLMs with certain guardrails can take the place of subject experts, the overall pedagogical design still needs to be handcrafted for the best learning results. Based on this principle, we create a sample end-to-end tutoring system named MWPTutor, which uses LLMs to fill in the state space of a pre-defined finite state transducer. This approach retains the structure and the pedagogy of traditional tutoring systems that has been developed over the years by learning scientists but brings in additional flexibility of LLM-based approaches. Through a human evaluation study on two datasets based on math word problems, we show that our hybrid approach achieves a better overall tutoring score than an instructed, but otherwise free-form, GPT-4. MWPTutor is completely modular and opens up the scope for the community to improve its performance by improving individual modules or using different teaching strategies that it can follow.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2402.09216")

Code

Syntology Ran 4 of 10 code samples harvested from 1 repository linked to this paper; 6 have no recorded run. Of those that ran: 4 ran with no contract checked.

By repository: official repository: 10 samples from 1 repository, 4 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

eth-lre/mwptutor officialmentioned in papermentioned on GitHub report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

10 samples harvested; 4 ran; 0 honoured the contract we drafted; 6 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

4ran
6unverified

Licence: 10 of the 10 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from eth-lre/mwptutor. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

extend_floats eth-lre/mwptutor/model/utils.py official repository ran no licence file found · pointer only · 054df7e47f2327ea · report
findall eth-lre/mwptutor/model/utils.py official repository ran fingerprinted no licence file found · pointer only · dc80cce41a15d77b · report
findallnums eth-lre/mwptutor/model/utils.py official repository ran fingerprinted no licence file found · pointer only · c52d7628472ba816 · report
get_student_utterance eth-lre/mwptutor/model/student_model.py official repository ran no licence file found · pointer only · 68cab656ba3c3012 · report
call_chatgpt_api eth-lre/mwptutor/model/gpt_utils.py official repository unverified no licence file found · pointer only · 5f43b3192ec35a52 · report
call_gpt4_api eth-lre/mwptutor/model/gpt_utils.py official repository unverified no licence file found · pointer only · 6fc6c543a844a27f · report
call_instructgpt_api eth-lre/mwptutor/model/gpt_utils.py official repository unverified no licence file found · pointer only · 19d6f03189a0b3a2 · report
get_next_step eth-lre/mwptutor/model/get_solution_tree.py official repository unverified no licence file found · pointer only · e0761c5d49a3add5 · report
get_tree eth-lre/mwptutor/model/get_solution_tree.py official repository unverified no licence file found · pointer only · 35ed44ece9da5f24 · report
solve_step eth-lre/mwptutor/model/focus_and_bottom_out.py official repository unverified no licence file found · pointer only · 6ae85d28f86ea8c2 · report

Tasks

Language ModelingLanguage ModellingMathQuestion GenerationQuestion-Generation

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Absolute Position EncodingsAdamAttentionBPEDense ConnectionsDropoutGPT-4Label SmoothingLayer NormalizationLinear LayerMulti-Head AttentionPosition-Wise Feed-Forward LayerResidual ConnectionSoftmaxTransformer

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections