You are here

Scientists have ideas on how to stop computer algorithms being biased

By Los Angeles Times (TNS) - Nov 27,2019 - Last updated at Nov 27,2019

Photo courtesy of bubblecow.com

By Amina Khan 

Scientists say they’ve developed a framework to make computer algorithms “safer” to use without creating bias based on race, gender or other factors. The trick, they say, is to make it possible for users to tell the algorithm what kinds of pitfalls to avoid — without having to know a lot about statistics or artificial intelligence.

With this safeguard in place, hospitals, companies and other potential users who may be wary of putting machine learning to use could find it a more palatable tool for helping them solve problems, according to a report in this week’s edition of the journal Science.

Computer algorithms are used to make decisions in a range of settings, from courtrooms to schools to online shopping sites. The programmes sort through huge amounts of data in search of useful patterns that can be applied to future decisions.

But researchers have been wrestling with a problem that’s become increasingly difficult to ignore: Although the programmes are automated, they often provide biased results.

For example, an algorithm used to determine prison sentences predicted higher recidivism rates for black defendants found guilty of crimes and a lower risk for white ones. Those predictions turned out to be wrong, according to a ProPublica analysis.

Biases like this often originate in the real world. An algorithm used to determine which patients were eligible for a healthcare coordination programme was under-enrolling black patients largely because the code relied on real-world health spending data — and black patients had fewer dollars spent on them than whites did.

Even if the information itself is not biased, algorithms can still produce unfair or other “undesirable outcomes”, said Philip Thomas, an artificial intelligence researcher at the University of Massachusetts Amherst and lead author of the new study.

Sorting out which processes might be driving those unfair outcomes, and then fixing them, can be an overwhelming task for doctors, hospitals or other potential users who just want a tool that will help them make better decisions.

“They’re the experts in their field but perhaps not in machine learning — so we shouldn’t expect them to have detailed knowledge of how algorithms work in order to control the behaviour of the algorithms,” Thomas said. “We want to give them a simple interface to define undesirable behaviour for their application and then ensure that the algorithm will avoid that behaviour with high probability.”

So the computer scientists developed a different type of algorithm that allowed users to more easily define what bad behaviour they wanted their programme to avoid.

This, of course, makes the algorithm designers’ job more difficult, Thomas said, because they have to build their algorithm without knowing what biases or other problematic behaviours the eventual user won’t want in the programme.

“Instead, they have to make the algorithm smart enough to understand what the user is saying is undesirable behaviour, and then reason entirely on its own about what would cause this behaviour, and then avoid it with high probability,” he said. “That makes the algorithm a bit more complicated, but much easier for people to use responsibly.”

To test their new framework, the researchers tried it out on a dataset of entrance exam scores for 43,303 Brazilian students and the grade point averages they earned during their first three semesters at college.

Standard algorithms that tried to predict a student’s GPA based on his or her entrance exam scores were biased against women: The grades they predicted for women were lower than were actually the case, and the grades they predicted for men were higher. This caused an error gap between men and women that averaged 0.3 GPA points — enough to make a major difference in a student’s admissions prospects.

The new algorithm, on the other hand, shrank that error range to within 0.05 GPA points — making it a much fairer predictor of students’ success.

The computer scientists also tried out their framework on simulated data for diabetes patients. They found it could adjust a patient’s insulin doses more effectively than a standard algorithm, resulting in far fewer unwanted episodes of hypoglycemia.

But others questioned the new approach.

Dr Leo Anthony Celi, an intensivist at Beth Israel Deaconess Medical Centre and research scientist at MIT, argued that the best way to avoid bias and other problems is to keep machine learning experts in the loop throughout the entire process rather than limiting their input to the initial design stages. That way they can see if an algorithm is behaving badly and make any necessary fixes.

The authors of the new study were quick to point out that their framework was more important than the algorithms they generated by using it.

“We’re not saying these are the best algorithms,” said Emma Brunskill, a computer scientist at Stanford University and the paper’s senior author. “We’re hoping that other researchers at their own labs will continue to make better algorithms.”

up
49 users have voted.


Newsletter

Get top stories and blog posts emailed to you each day.

PDF