How Can AI Help in Writing Questions?

Part 4 of 4: A Year On

This post is about using generative AI to write assessment questions that give students useful feedback, the third of three tools we’ve been building to use generative AI in statistics and data science education. It stands on its own, but if you’d like the wider picture, the first post of the series introduces all three.

For years, I’ve had a list of suggested improvements to our statistics questions and courses that I hadn’t been able to act on. Much of it came from Aboubacari, a colleague who occasionally runs research methods support courses in the Sahel. One of the courses he gives is a data science course that I wrote for one context. He’s recontextualised it for his, and he often sends me comments on the questions. They’re useful comments, because they come from people actually using them.

But these improvements could take days, so the list just sat there. Recently, I’ve been able to feed it into our systems and get the questions improved, implementing his feedback and building on it further.

A year ago, in the third post of my series on Google’s Learn Your Way, I argued that the exciting thing about AI and assessment wasn’t that we can generate lots of questions, but that we could develop better ones, with feedback that actually helps students understand their mistakes. At the time, I was already writing questions like that, using an open-source assessment system called STACK. But I hadn’t yet used generative AI to help build them. At least, not in the way I do now.

What makes a good question hard to write

It can be hard to write a question that gets a student to actually think about the problem, and that shows them the issues with their thinking if it goes wrong.

Take one of our data cleaning questions, “Filtering to Clean”. It gives students a randomised dataset of 100 farmers’ yields, ages, and varieties, with some problems hidden in it: a negative yield, a birth year entered as an age, and variety labels spelt in different ways (including French ones). Students calculate a few summaries, and we can tell from their calculations how they’ve handled (and mishandled) the cleaning.

A weak question just tells them whether the number is right. A good one recognises how they went wrong. Did they leave the negative yield in? Fix only some of the variety labels? Each of those is a different misunderstanding, and each needs different feedback. And good question can show them the consequences: what happens to the results if you don’t clean the data – such as one variety looking better than another when it wouldn’t be if it had been cleaned. That gets students to look at their data again, rather than giving the answer away.

Writing all of that, and building it so it actually works, takes time. (In STACK, that means Maxima code, potential response trees (PRTs), and the XML to get it into Moodle.)

What changed

I used to have the ideas for questions to help teach statistics and data science, but the bottleneck was physically writing them. Before, a good question could take days to write. Now it doesn’t, at all, and writing the questions is no longer the bottleneck. 

On top of that, I can make the questions pedagogically better. I can try different things out, play around with them, get help writing feedback that speaks to different audiences, and get suggestions for different PRTs I might not have considered.

What happened when I asked AI to improve it

The feedback on “Filtering to Clean” was very limited. Mostly, it told students whether their cleaning had worked, and the general feedback was empty. I asked the AI for suggestions, and it came back with a sensible plan: separate the different mistakes, explain the cleaning decision (excluding a value versus correcting it), and add a full worked solution. It also noticed things in how I’d built the question that I should check.

Then it added branches that recognise specific mistakes. If a student removes the negative yield but still divides by 100, the question can now say the denominator should be 99, instead of just marking it wrong.

But, the robots suggested feedback that told students what was wrong – including that there was a negative yield. That’s not what I wanted. If we tell them, they don’t learn to find it. So I asked the robots to instead give feedback that points the students to how they could look for these problems: the minimum and maximum, a boxplot, a frequency table, and so forth.

But only if…

Doing this with a general-purpose generative AI works, but it depends a lot on what I ask it, and on me checking what comes back. It would have been easy to accept that first version of the feedback. It looked sensible, and it was well written. I still make the educational decisions on what I want to assess and what feedback I think will help (and honestly, that’s the fun bit!). The AI just takes the slog out of turning those decisions into something students can use.

But if we want others to be able to do this, and to do it responsibly, we need more than a chat window.

Michele’s system

So Michele, one of my colleagues, has built a multi-agent system for creating STACK questions, with different agents each taking on a different part of the job: Reader, Implementer, Reviewer. It’s designed to help you build questions responsibly, so that you’re in control and not the robots. It helps you think through, pedagogically, what is best: what you want to assess, which mistakes matter, and what feedback will help. It has a nice interface and it’s easy to use. I won’t go into the detail, because it’s his to explain, but I’ve been lucky enough to use it when designing questions. 

That brings me back to Learn Your Way. In their study, the textbook it was compared with had no quizzes or feedback, so we don’t know how much of the benefit comes from the AI personalisation and how much from having good questions with feedback in the first place.

Michele’s system additionally points to a different approach. Rather than generating every question independently for every student, we could develop collections of carefully designed assessments that educators can use, adapt, improve. AI could help personalise them for different learners, contexts, and languages, drawing on educational resources that have already been developed and tested. It’s essentially the variants idea from Personalising Textbooks for the Classroom, applied to questions: the same question, with the context changed.

But does it work?

Of course, I still check what it produces and that it behaves how I expect. I can test questions in-house on Michele’s system, or put the XML into Moodle. Questions still need testing pedagogically, with real students, which is where we can continue to get feedback to continue improving our questions.

I still make the educational decisions on what I want to assess and what feedback I think will help. The AI just takes the work out of turning those decisions into something students can use.

Where this leaves us

Over these four posts, I’ve described three things we’ve been building: variants of open textbooks, Waypoint for statistical data analysis, and a way of using generative AI to author STACK questions. They’re three different tools, but they each use generative AI to support education and training, and in each, the decisions stay with the people who know the subject and the context.

There’s a link between the last two, too. Both take what generative AI can do and add a team of agents around it, to make it more sensible and more responsible. In Waypoint, a Planner, an Executor, and an Interpreter work through your data in steps. In Michele’s system, the agents each take a different part of building a question. Both build on general-purpose AI and add a responsible structure around it matters.

We tried them in the Sahel, and they stood up well. They’re still being built, and there’s a lot still to learn about how well they work. But I’m looking forward to finding out.

This is the last in a four-part series. Start with Part 1: A Year On: Building Educator- Shaped AI

Authors

Tags

Education · Socio-Technical Innovation · IDEMS Impact Products · IDEMS Inclusive Innovation · Education & Training