4 Tips for Teaching Algorithm Auditing to Help Students Detect Bias in AI Outputs
s students integrate AI into their learning at an increasingly rapid pace, they need the tools to critically assess the outputs it provides—and how much they can trust them. That’s where algorithm auditing comes in.

Yasmin Kafai
Lori and Michael Milken
President’s Distinguished Professor
A leading learning designer and researcher, Kafai worked with Danaé Metaxa, the Raj and Neera Singh Term Assistant Professor in Penn Engineering’s Computer and Information Science department, to develop the AI Auditing for High School toolkit to help teachers introduce students to algorithmic bias and guide them through hands-on audits of real-world AI applications. Until very recently, she explained, most people thought that AI systems were too complex for the average person to understand how they work, and thus potential algorithmic bias was a fact of life.
“But algorithm audits have actually shown that you don’t need access to the algorithms, you don’t need access to the data used to train the system,” she said. “By just systematically investigating or auditing different inputs, you can see what kind of output the system generates, and then with some simple statistics you can make a judgment call: Is this biased or not?”
Kafai provided the following advice for teachers looking to implement algorithm audits in their curriculum, whether in a computer science classroom or any subject dealing with media and information literacy.
It’s OK to keep data sets small
It’s OK to keep data sets small
Incorporate students’ perspectives and interests to diversify data
“Many youths we worked with as advisors . . . said they felt validated in their expertise for the first time because these were topics and issues they were concerned with,” Kafai added.
Be thoughtful about assignment design
Keep in mind that algorithmic systems change frequently, which means outputs of live data, like online materials, will likely be different from year to year. From a teaching perspective, developing materials is a big investment, and teachers may want data sets they can rely on for multiple years.
Keep the curriculum grounded in the scientific method
Kafai also emphasized the importance of the scientific method’s sixth step: reflecting on what was learned. Teachers play a critical role in this by organizing classroom discussions and getting students thinking about the process, outcomes, and possible improvements.
“I think this is a very empowering approach,” Kafai said. “You don’t need any programming skill. You don’t actually need technical skills. You just need to be systematic and rigorous, and that’s what we want students to be anyway.”
Looking for MORE ADVICE from experts?

Looking for
MORE ADVICE
from experts?