Explore UCD

UCD Home >

AI and machine learning module prepares Transition Year students for data-driven world

Wednesday, 19 July, 2023

Joyce Mahon is a qualified, experienced teacher and a PhD student at ml-labs, the SFI Centre for Research in machine learning at University College Dublin. Mahon leads a team that created a free (opens in a new window)machine learning and AI module for secondary school students which, in its first eighteen months, has already signed up 8,000 children in 120 schools across Ireland. 

Back when she was studying for her Master’s in Data Science in 2019, Joyce Mahon’s thesis looked at the readiness of artificial intelligence to correct exam papers. 

As a qualified teacher with experience across post-primary, further education and, now, higher education, she was understandably curious about whether machines or humans should grade students.

That question is perhaps more relevant than ever with Education Minister Norma Foley having pledged to establish a “root-and-branch” review into the marking of State exams following the long delays in issuing the 2022 Leaving and Junior Cert results. The number of examiners available to mark Junior Cycle examinations in 2022 was down 30% on the previous year.

But AI, it seems, is not ready to shoulder the responsibility yet. 

“My thesis was on natural language processing and question-answering and looking at exam marking. At that time, I concluded that we weren't really ready for it yet and I still would be of that opinion. AI is used to some extent in exam marking,” she adds, giving the example of some accountancy tests with perhaps more clear right and wrong answers. “But there are so many nuances in how students provide answers in different subjects that I think there will still be humans involved in the marking; I'm not so sure that we're there yet with AI. And also we need to consider how the particular AI model has been trained and what data has been used to train it. There could be bias. So we have to be very, very careful before we move into these areas where we're handing over these decisions to AI.”

The need to educate young people about the increasing impact of algorithms on their lives is part of the reason why Mahon, in collaboration with (opens in a new window)CSinc at Technical University Dublin, created a secondary school module in AI and machine learning in 2021. In its first eighteen months there has been a “very large uptake” of the programme, with 8,000 students and 120 schools already signed up. 

“The module is broken down into eight sections and students have a choice about what they can learn about. For example, linear regression, logistic regression, decision trees, Python code. Then it will move into areas like the ethics of machine learning, looking at algorithmic bias.”

The module aims to prepare students for both future jobs and for life in an increasingly data-driven world.

“They might be interested in IT-related careers. For example, they might like to move into data science or even software engineering. But also if you look at careers like the legal profession or accountancy, they are all being affected by machine learning and AI."

“Jobs are changing and the world that we live in is changing. Young people’s data is being made available and being used and even if students never code in the future or don’t go down that path, we felt it was important to have an awareness of how machine learning and AI is impacting the world today.”

Mahon, a former teacher of maths, business, accounting and computers, was concerned by the lack of secondary school material addressing AI and ML. Even in the new Computer Science curriculum, introduced as a Leaving Cert exam in 2020, “machine learning and AI is barely mentioned”. 

Her PhD will look at ways this Computer Science syllabus might incorporate some or all of the AI and machine learning module in the future. Mahon is also encouraging as many schools as possible to try it out in the meantime.

“These modules on the CSinc platform are very accessible. It’s all about signing up, trying it out and giving it a chance. It works very well for the Transition Year programme.”

The module has also been completed by First and Second year students and at Youthreach centres whose students may have left mainstream education. It has even been rolled out in some colleges for post-Leaving Cert students. Mahon is keen to assuage any fears teachers might have about delivering the subjects. She insists that “you don’t need to have somebody in the room” to help.

“You often find that there are teachers who are standing in front of a computer class, who aren't actually computer science teachers. I'm a teacher myself, I understand the system. You're pulled into subjects and there's all this new content and it's trying to make sense of it all. And that was very much on my mind when we were developing the materials,” she says. “They are there to support the teacher and make it easy to deliver this content and not be off-putting in any way.”

The module is free of charge, the software is open source and students get a certificate of completion for whatever modules they cover. 

“This would be very useful for them for future careers; there are a lot of affiliated universities and organisations who are linked to everything on the platform. And it's wonderful to get something to say, ‘I've studied this area’. Really, the ethos behind all of this is that students will maybe develop an interest in computer science going forward for the Leaving Certificate,” she says, and there is a broader context too.

“ The world that we're living in is changing and we're moving at a rapid pace. Machine learning and AI have been around for a while and they will continue to be around. So we need to take a long hard look at how we can educate our children to prepare them for the world they live in. ”

For more information, log onto (opens in a new window)csinc.ie. Listen to the (opens in a new window)podcast.