Objective

When a student makes a mistake in algebra, a useful hint helps them see which step to reconsider. A message that gives away the answer leaves less for the student to do. A message based on the wrong diagnosis can send them in the wrong direction. The researchers wanted to know whether GPT-4 could give a useful hint about a specific mistake inside an existing college algebra tutor.

They asked three related questions. First, could the model identify what was wrong with a student’s answer? Second, could it turn that diagnosis into accurate guidance at the right level of detail? Third, could another automated check reliably decide whether a hint was safe and useful enough to show? The study focused on responses students had already entered in the tutor. It did not follow students as they tried to learn from the generated hints.

Methods

The researchers used records from the Apprentice Tutor platform, which the Technical College System of Georgia used in college algebra classes in spring 2024. The platform logs students’ steps as they work through topics such as factoring, operations with radicals, and quadratic equations. The records included 6,926 interactions, of which 1,307 were incorrect answers. The authors removed four errors from the exponential-equations tutor because that topic had too few examples in the records.

The researchers first grouped the errors by type, including incomplete answers and errors that showed up in a particular step or answer field. They refined a prompt that gave GPT-4 the expected answer, the student’s response, and information about the problem interface and skill. They asked it to explain the mistake and write a hint. The team examined whether the diagnosis described the actual difference between the student’s answer and the expected one.

Two readers independently classified the hints. They distinguished feedback that addressed the specific mistake, general feedback, feedback that revealed the answer, and feedback with incorrect instructions. The researchers also looked at readability and tone. Finally, they tried two automated checks. One asked a model to use the hint to correct the wrong answer. The other asked it to infer the student’s wrong answer from the hint and problem. The researchers compared those checks with human judgments to see whether they could screen the hints. These checks used a language model in place of a student and did not measure whether people would understand or act on the messages.

Key Findings

GPT-4 often identified the problem and wrote a targeted hint, but neither the hints nor the automated checks were dependable in every case.

Indicating what went wrong

The authors report 87.8% accuracy for identifying student errors. The model did better with shorter, simpler work, such as some exponent and radical problems, than with longer problems that required several steps. The authors observed that supplying information about the specific step helped the model interpret complex work. Without that information, the same expression could be read as an answer to a different part of the task. Multiple mistakes in one answer remained challenging.

Writing guidance that fits

The researchers classified 66% of the hints as aimed at the student’s mistake. Other hints gave a general reminder, included the answer, or advised the student to do something incorrect. The paper reports that 4.8% contained incorrect directions. A message could be accurate about the topic and still fail to tell a student which part of their work to reconsider. A general reminder could sometimes be useful even when the model had not identified the exact mistake. The authors found that the hints usually used a supportive tone. However, tone alone could not show whether the math was right.

An example from the error analysis involved a student entering a mathematically related expression in the wrong form for a particular field. The hint addressed an error the model had attributed to the student, rather than the requirement of that field. This shows why a reminder can sound like good algebra advice and still be unhelpful for the step at hand.

Checking the hints automatically

Among 1,303 examples, the model produced the correct adjusted answer in 40.7% of cases when asked to use the hint. It reproduced the student’s wrong answer from the hint in 30.2% of cases. Those are different checks and should not be read as one accuracy number. The checks also rejected many hints the human reviewers judged useful. Some hints with incorrect directions still passed the checks. The authors report that two incorrect hints passed both.

The comparison shows why a model’s ability to solve a problem after seeing a hint tells only part of the story. It can draw on information that a learner may not yet have. It can also fail to solve the problem despite receiving a hint a teacher would find relevant. The study did not show which hints actual students would find helpful or whether those hints would improve later performance.

Implications

The authors see a potential role for generated hints when a tutor encounters an answer that its prepared feedback does not cover. They also say a reliable way to review the hints is needed before sending them to students automatically. For instructors, a practical starting point is to look at whether each hint describes the student’s actual step, directs attention to something they can check, and leaves part of the work for them to do.

An instructor could compare a broad reminder with a hint tied to a specific error. If a student combines terms that cannot be combined, the hint could ask them to inspect the relevant properties of the terms. If the issue is that the student gave a correct expression in a different form, the message should recognize what is already correct and point to the format expected at that stage. These examples reflect the paper’s distinction between mathematical content and the requirements of a step.

For developers, the study suggests testing both the diagnosis and the wording of the hint. A correct diagnosis can still produce an unhelpful message, and a useful general message can follow a weak diagnosis. The automated checks in this study missed that distinction often enough to warrant human review. Course teams can use a set of teacher-reviewed examples to look for recurring problems, such as answers being disclosed too early. A small trial with learners could then examine whether the guidance helps them revise without creating new errors.

Limitations

The data came from one tutoring platform and a structured college algebra setting. The tool gave GPT-4 information about the expected answer, the problem, and the student’s place in the activity. The results may look different for open-ended work where there is no clear expected answer or where the exact step is unknown. They also describe the particular model and prompts the researchers tested.

Human readers judged whether the hints made sense, but no new students used the generated messages as part of this evaluation. A mathematically correct message can still be too difficult for someone who is new to the topic. The automated tests captured what a language model could do with the message, which may differ from what a student could do with it.

The paper does not mention, but a teacher might need different evidence about a hint for a student who made a quick typing error than for a student who misunderstood an idea. The existing records give examples of answers; they do not always reveal the student’s reasoning. That limits how confidently a hint can be tailored from a single response.

Future Directions

The authors suggest adding more information about the student’s earlier work and testing whether that helps the model distinguish a one-time error from a recurring misconception. A follow-up could compare hints made from a single answer with hints made after reviewing earlier steps. Independent reviewers could check whether either kind of hint gives useful information without telling the student the answer.

The paper also calls for stronger ways to screen feedback and for tests in other subjects and with other models. A classroom study could compare teacher-reviewed generated hints with prepared hints. Researchers could observe whether students correct the step, explain why the correction works, and handle a similar problem later. Such a comparison would give more direct evidence about learning than checking whether a model can act on its own hint.

The bottom line: GPT-4 often identified college algebra mistakes and wrote hints that addressed them directly. It also gave some wrong instructions, revealed answers in some messages, and sometimes offered general advice that did not match the particular error. The automated checks missed some bad hints and rejected some useful ones. The study supports testing generated hints with careful review. It does not show that students learn more from them. A useful classroom check is whether a hint helps a student recognize what went wrong and decide what to try next.