Media releases

  • Brock-led research creates protocol to test AI debiasing methods

    MEDIA RELEASE: October 18 2023 – R0096

    A Brock-led research team has developed a way to help programmers evaluate the robustness of debiasing methods on language models such as ChatGPT, which help to distinguish between appropriate and inappropriate speech as artificial intelligence (AI) generates text.

    Fourth-year Computer Science student Robert Morabito and Assistant Professor of Computer Science Ali Emami, both from Brock, along with Jad Kabbara at the Massachusetts Institute of Technology, authored a recent study that evaluates a current method of debiasing AI text and proposes a new protocol called “Instructive Debiasing” to test debiasing methods in language models.

    “When you release a language model to the public, you want to ensure it’s not going to be producing inappropriate results,” says Morabito, who is first author on the study, “Debiasing should be Good and Bad: Measuring the Consistency of Debiasing Techniques in Language Models.”

    “When you put something like ChatGPT in the hands of millions of people, it’s important for language models to have a safe search like what Google has to protect the average user from seeing inappropriate material,” he says.

    The research is part of efforts to debias AI. Bias in AI shows up when algorithms produce results that blatantly or subtly discriminate on the basis of race, gender, age, political affiliation and other factors as they search content on the internet, says Emami.

    “The engine behind these large language models are mirrors that reveal our biases and stereotypes that we are uttering on the web,” he says. “Because AI has such large coverage, we don’t really know what it’s about to say and that uncertainty scares us.”

    Emami says a popular method called Self-Debiasing identifies specific toxic, sexist and profane words and phrases as being inappropriate and instructs the language model not to be toxic, sexist or otherwise offensive.

    But the team noted that, when the instructions were replaced with positive, nonsensical or even blank commands, the debiasing method continued to perform the same way.

    “That’s like telling a self-driving car in a simulation exercise not to hit the pylons and it doesn’t hit the pylons, but later on you find out its performance had nothing to do with your instruction of not hitting the pylons, but something that was spurious,” says Emami. “Similarly, imagine then in the same simulation environment you then said, ‘please hit the pylons,’ and the car still didn’t hit the pylons.”

    Morabito says these and other inconsistencies render Self-Debiasing unreliable and ineffective in the long run.

    He and his team created a “checklist” of three items to test debiasing methods: specification polarity, specification importance and domain transferability.

    Specification polarity checks the context of the words being used. To evaluate if a debiasing method passes the specification polarity test, debiasing is performed on a model that is prompted by opposite commands.

    For example, the algorithm is told “Be positive, polite and respectful,” and then told “Be negative, impolite and disrespectful.” If the second prompt yields language that is inappropriate compared to language generated by the first prompt, the debiasing method is successful, but if there’s no difference, the method is a failure, says Morabito.

    Specification importance evaluates the understanding a model has of a specific instruction. When specific instructions such as “be modest and kind” are replaced by nonsensical or blank coding, if the language continues to be modest and kind rather than aggressive and rude, the debiasing method is a failure, he says.

    Once the debiasing method passes these two tests, there is a final test: domain transferability. The previous two checks use prompts that ‘bait’ the model into saying an inappropriate output.

    Domain transferability checks to see if these trends still hold when given a normal prompt the average person might say. If the model fails the first two checks when given a normal prompt, then the debiasing method is a failure.

    The research team proposed a new method called Instructive Debiasing, which takes a prompt and prepends it with an instruction to “be” how you want it to behave, such as “Be positive, polite and respectful for: [prompt].”

    “This method was developed to be an easy to use and robust debiasing method to compare against the checklist to show its effectiveness,” says Emami.

    “We hope that this work, being one of the first of its kind, will not only provide other researchers with more tools to work with, but also inspire them to think about other possible shortcomings in the field,” says Morabito. “We hope to see our checklist expanded upon and modified to fit other tasks, becoming a new standard for performing research.”

    For more information or for assistance arranging interviews:

    * Doug Hunt, Communications and Media Relations Specialist, Brock University dhunt2@brocku.ca or 905-941-6209

    – 30 –

    Categories: Media releases

  • ‘You have more influence than you realize,’ award-winning prof tells Brock grads

    MEDIA RELEASE: October 13 2023 – R0095

    Sometimes, all it takes is an hour.

    During her first year as a university physical education major, Maureen Connolly had an instructor spare an extra 60 minutes to help her overcome a task she was struggling with: learning to swim.

    That extra time, spent with the aptly named Joe Lake following her “pre-beginner” lessons at the YMCA, helped to shape Connolly’s outlook on teaching and set the course for her future.

    Now a Professor of Physical Education and Kinesiology at Brock, Connolly shared the story of the pivotal moment in her past with the University’s newest graduates while delivering the morning address at Brock’s 114th Convocation on Friday, Oct. 13.

    Connolly, this year’s Faculty of Applied Health Sciences Excellence in Teaching Award recipient, spoke about how that swim lesson so many years ago gave her the confidence to not only excel in the water, but also in the classroom.

    She would go on to take her grad school assistantship in advanced aquatics, teach hundreds of children and adults how to swim, and even twice save a life — all because Lake, committed to her success, took the time to care.

    “One hour of Joe Lake’s life changed my life,” Connolly said. “What is my unspoken fear? Not giving that hour. Being too busy with ‘more important things.’ Not recognizing the depths or the fears in others. This is my fear, my fuel and my muse. It is what animates my hope.”

    She urged graduates to consider their potential impact as they head out into the world.

    “Please think about a teacher who made a difference in your life. Whether you plan to be a teacher or a different kind of practitioner, please reflect on how your actions will affect others,” she said. “You have more influence than you realize.”

    While the morning Convocation address focused on the difference a few critical minutes can make, the afternoon address, delivered by James Allard, celebrated the years of hard work that led students to their graduation day.

    “Whether you finished at the top of your class or by the skin of your teeth, whether it was what might be considered on time or a little later than you planned, whether you ended in the program and with the degree in which you started, you did it,” said the Associate Dean, Undergraduate Student Affairs and Curriculum in the Faculty of Humanities. “Whatever the journey may have been like for you, you did it. You started something — something difficult and meaningful and wonderful and scary. You started it and you finished it.”

    Allard asked the graduates to deliberately take pause before leaving the ceremony, taking in the experience and “savouring the satisfaction of having done something extraordinary.”

    Friday’s celebration saw nearly 1,000 Brock University students achieve their goal of receiving their degree. Several were also honoured with awards.

    Mohammed Abbas, who graduated with a Bachelor of Science in Biological Sciences in June, and Daniel Belanger, who also graduated this spring with a Bachelor of Arts in Classics with a specialization in Greek and Roman Studies, were honoured with the Governor General’s Silver Medals, presented to the two undergraduate students with the highest academic average of the class of 2023.

    Also recognized were Bachelor of Recreation and Leisure Studies graduate Ashley Giroux and Master of Arts in Social Justice and Equity Studies graduate Raadhiyah Zowmi (BSc ’21), who were each presented with the Board of Trustees Spirit of Brock medal.

    Both Fall Convocation ceremonies are available to watch on the Brock University YouTube channel.

    For more information or for assistance arranging interviews:

    * Doug Hunt, Communications and Media Relations Specialist, Brock University dhunt2@brocku.ca or 905-941-6209

    – 30 –

    Categories: Media releases