YouTube's algorithm did exactly its job, and that was the problem
A recommendation engine built to maximise watch time, credited with roughly 70% of what people view on YouTube, ends up feeding a spiral of conspiracy content. Ideshini Naidoo, Head of Engineering at Thomson Reuters and former CTO of Wave Financial, argues that engineers, not regulators, are the ones who can keep pace with harms like this. So which design decisions break the loop before it starts?
See how feedback loops, bias and disinformation go wrong, and what builders can do about each
Ideshini Naidoo argues that because governments and society cannot keep pace with AI, the responsibility for ethical use falls on the technologists who build it. She walks through three ways well-intended AI causes harm (feedback loops, bias and disinformation) and shows design and monitoring choices, from removing features to building in explainability, that reduce the damage.
“It is a truism that technology is neither good nor evil in and of itself. It's all in how people use it.”
“These algorithms have tremendous power to determine what people will even see. And more importantly and more scarily, what they won't see.”
What you will learn
Recognise how recommendation feedback loops amplify whatever content is already popular, including extreme content.
Evaluate which features to include or leave out of a model, as Meetup did when it removed gender from recommendations.
Distinguish historical, representation and measurement bias, and know that diverse training and test data only fixes representation bias.
Design explainability into an algorithm by asking users, affected people and regulators what explanations they need.
Verify information sources deliberately instead of either trusting or distrusting everything you see online.
Key takeaways from the speaker
In our quest to improve the lives of human beings by building smart "everything", let's make sure we do no harm first!
Details
Level
All levels
Format
Talk
Technical depth
Introductory technical
For
All career stages
Length
17:57
Published
June 2021
Questions this talk answers
What is an AI feedback loop and why can it be harmful?
A feedback loop is a system that improves itself from past experience, where the algorithm decides what data the user sees next. Because it matches and reinforces whatever is already there, it can spiral into recommending ever more extreme content.
How can a team stop a recommendation engine from reinforcing an imbalance?
Meetup's team noticed men showed more interest in tech meetups and chose to remove gender from that part of the model, breaking the cycle. Naidoo urges careful feature choices and ongoing monitoring for unintended consequences.
Is biased training data the only source of AI bias?
No. As the speaker cited, MIT researchers found at least six places in the machine learning process where bias enters, and historical bias exists regardless of how perfect the sampling or feature selection is.
What does explainable AI actually require from developers?
It is an explicit design decision, not a model explaining itself. Developers first find out what explanations users, affected people and regulators need, and can make the learning process produce interim results that help explain the outcome.
How should people respond to online disinformation?
Not by distrusting everything, which does not build the society we want. Instead, check sources carefully, make an explicit choice about whether to believe them, and invest time in looking at information broadly and deeply.
About this talk
Our world is increasingly running on AI services. As this state transitions from pervasive to ubiquitous, what will it mean for society? As technologists we play a pivotal role in this unique time in history, to use this power to shape a better world. Let's talk about how we do that! It starts with committing time and effort to deeply understand the implications of this powerful technology and using this knowledge to guide it into ethical use.
What facial recognition errors really revealed (85 s)
Welcome everybody and thank you so much for your time and your attention on this really important topic. As our world transitions from a state in which everything is running on AI capabilities, AI is moving from a space where it's pervasive to where it is ubiquitous. A really important question rises up. What will this mean for society? What will it mean for all of us?
As technologists, we play a pivotal role in this time in history, in this unique time in history, to use this power to shape a better world. How are we going to do that? How are we going to shape the world that we want to have? We do this by starting off by making sure that we understand what the power of this technology really is and to use that knowledge to guide it into ethical use.
It is a truism that technology is neither good nor evil in and of itself. It's all in how people use it. Just like the technology of the ability to enable us to protect ourselves, protect our privacy and our security under repressive government regimes can also be used to conduct illegal transactions. All the technology that is used by scientists to fight epidemics can also be used to create biological weapons.
In this particular story, this particular story, this dichotomy of the power of technology has been in existence throughout history. Perhaps way back to the very first technology, which is arguably fire. In ancient times, just as in modern times, fire can be used to cook our food or to cauterize a wound or it can burn down the village.
But there's something different about the technologies of antiquity or even recent history and what we're experiencing right now. And that difference happens to be the unprecedented rate at which technology is rapidly changing. New applications of technology, whether good or evil, can come about far faster and far easier than ever before. And governments and society can't actually keep up with us to figure out the way in which we can protect ourselves.
In this situation, in the face of this flywheel of unstoppable momentum, we are wearing a very weighty cloak of responsibility. It is up to us to ensure that this powerful technology is used to create the world that we want to live in. A world in which we feel safe. A world in which we are comfortable with our children inheriting.
And one that we will not feel ashamed to have our names associated with. But then I go back to my earlier question. So what do we do about this? How do we make this possible? AI ethics is a big topic. It's a big challenge. And just thinking about the depth and breadth of the scope can be really daunting.
But like the story of the little girl standing on the seashore and throwing back one starfish at a time while thousands lay upon the shore. Every small difference that you make will help. Every little bit of influence on any initiative, regardless of the size, will add up. So, I want to talk to you about three commonly known challenges where good and well-intended AI can go bad and create catastrophic effects.
So, those three topics, those three areas are feedback loops, bias, and disinformation. Let's get stuck into that very first topic, feedback loops. In very simple terms, a feedback loop refers to a system that is designed to improve itself by learning from its past experience. And this happens when your algorithm is responsible for the next set of data that the user is going to see.
Perhaps one of the most commonly known examples of a feedback loop is YouTube's recommendation engine. This engine is responsible for serving over 2 billion users who watch over a billion hours of video a day. And this algorithm is designed to optimize exactly one metric. And that's the number of hours of video that is watched. And it does a fantastic job.
Something like 70% of the content that is viewed on YouTube is recommended by this algorithm. And from a business performance perspective, that is an outstanding result. But it has a dark side. This algorithm led to an out of control feedback loop, which led to the New York Times running this headline article. YouTube has unleashed a conspiracy theory boom.
Can it be contained? New York Times author Kevin Roos tells the story of a YouTube star whose documentary, conspiracy theories with Shane Dawson hit a record 30 million views and then went on to have an additional 20 million views. For his story in which he posits theories ranging from Apple devices recording every word spoken by their owners.
To popular children's TV programs urging children to commit suicide. To the spate of wildfires in California being caused by homeowners looking to commit insurance fraud. Mr. Dawson doesn't present any facts or any evidence to back up his stories. But his loyal teenage fan base eats it all up. Now clearly the algorithm is not responsible for Mr. Dawson's content.
The algorithm is doing exactly what it was intending to do. It's predicting what people would like and it's recommending exactly that. But here's the rub. These algorithms have tremendous power to determine what people will even see. And more importantly and more scarily, what they won't see. It is very, very unlikely that Mr. Dawson's loyal teenage fan base would ever be shown content that would debunk his theories and will present them with alternative perspectives.
But, please bear with me as I go through the next section of the story. It's about to get a little monotonous. After all, the story is about a loop. You see, human beings, all of us, we like controversial content. And what that means is that recommendation engines very often recommend conspiracy theories. And it turns out that people who like conspiracy theories also like watching online videos.
Which means that these people get drawn more and more to YouTube. And the more conspiracy theorists watching YouTube, the more conspiracy theories get recommended by YouTube. And other extremist content. The more extremists watching YouTube, the more extreme videos get recommended by YouTube. And here comes the very scary part. The more people watching YouTube develop extremist views, the more extreme videos get recommended by YouTube.
And there you see it, ladies. The toxic, out-of-control spiral. So, in the age before AI's powerful feedback engines, who do exactly what they're intended to do. They match and reinforce whatever is already there. They don't judge the content as good or bad. Before this age, a would-be conspiracy theorist would have to go out into the world and curate their own content.
And in doing so, they would come across a wide variety of views. And maybe, just maybe, they could have been diverted off their intended path. But, in the face of 50 million views, affording these videos crowd-sourced credibility, even the mildly curious can turn into an extremist. But this story is not all bad news. It's not all doom and gloom.
There are shining examples out there that we can point to and we can learn from. Like Evan Estola, the lead machine learning engineer at Meetup, who discovered that men were showing more interest in attending tech meetups than women. So, he realized that by taking gender into account in Meetup's recommendation algorithm, this would result in the recommendation algorithm recommending fewer tech meetups to women.
Which would mean that women were seeing and responding to and attending fewer tech meetups, which would reinforce the cycle. So, Evan and his team made the ethical decision to remove gender from that part of their model. And in so doing, they broke the cycle of the recommendation engine and prevented the systemic imbalance from reinforcing itself. We can take a leaf out of Evan's book.
We can learn from his example. And we can be very cautious about the design decisions we make and how we choose what features we will include and what features we will leave out. And we can very carefully monitor our algorithms to ensure that there are no unintended side effects, edge cases that we did not predict and unintended consequences from our work that we did not foresee.
And we would not want our names associated with them. And yes, it's possible that if we do this, we might affect business performance. But just as companies will choose to forego profits so that they can use only sustainable products or only work with an approved vendor list, so too, we need to be the voice for ethical use of algorithms.
That brings me to my second topic, and that's bias. This particular topic has been brought sharply into public consciousness by the shocking outcomes from the predictive policing and the facial recognition algorithms. And even though this is a very broad topic, it's got many, many layers of social and technological complexity. When it comes to the world of AI, the blame is often placed squarely upon the shoulders of biased data.
And yes, biased data is a problem, but researchers at MIT discovered that there are at least six places in the machine learning process where bias can be introduced. I'm going to very briefly touch on two of those areas: historical bias and representation bias. Now, according to the researchers, historical bias is a fundamental structural issue affecting the first step of the data generation process.
And it can exist regardless of how perfect your sampling or your feature selection. If the data is about human beings, then the data has bias. Bias in the data is pervasive because bias in us, in human beings, is pervasive. And it doesn't matter the data, medical data, housing data, political data, it all has bias in it. And an example of this was literally, was recently brought to the public's attention by ProPublica.
When they showed up the flaws in the predictive policing algorithm, the Compass North Point predictive policing algorithm, which even though it has a 61% accuracy rate of predicting recidivism, it has fatal flaws. Blacks are twice as likely to be rated as a high risk for committing another offense, but actually don't go on to commit another crime. And it makes the opposite mistake.
Whites are twice as likely to be rated as a low risk of re-offense, but then do go on to commit another crime. Did you wonder what happened with all of the press around the facial recognition algorithms? Where it had a hundred times more errors for dark skin people than for light skin people. And then a year later, the error rates for dark skin and light skin are almost the same.
That's an incredible change in just a year period. At the time, when this news about the performance of facial recognition algorithms was in the news, a whole lot of people were responding by saying that the reason that these algorithms are performing so poorly is because computers can't tell the difference in the features of dark skin. It turns out that the real issue is the systemic imbalance in the data sets used to train these algorithms.
In very simple language, the developers that built these algorithms failed to train the models with enough dark faces or test them with dark skin people. Yes, these stories are incredibly upsetting and deeply painful and hurtful, but we can learn from them and we can do better. And doing better starts with us making sure that when we build algorithms, we train them and we test them with diverse and curated data sets.
But please bear in mind, that addresses representation bias, it doesn't do anything about measurement bias or historical bias. Here we need to go deeper. All of the challenges that we're experiencing around racial and gender and other forms of bias in our data, in our algorithms, has led to public outcry for more AI transparency. Less black box and more glass box.
This means that the onus is on us to create trustworthy AI, to increase the transparency of our algorithms and we do this by going in the direction of explainable AI. An explainable AI doesn't mean a model that can explain itself. No, what it is, is an explicit design decision that developers make, that we make. We've got to make the decision to bode what is required for an explanation into the design of the algorithm.
And we do this, first of all, by understanding what explanations are going to be needed. We figure that out by talking to the people who require the explanations, like the users of our algorithm, or the people that the results of the algorithm will affect, or the regulators. And a second popular option here is to make sure that the learning process produces interim results, so that those results, together with the end result, can be used to explain how we arrived at this point.
That brings me to my last topic, and that is disinformation. Disinformation, like bias, has a long, long history. It has been used throughout the ages to spread discontent and disharmony, and to get people to give up on seeking the truth. In short, it is propaganda. And many of us will be tempted to think that disinformation is fake news and false information.
But in reality, disinformation often contains the scenes of truth, or half-truths taken out of context. And this makes it far more powerful and far more diabolical, because it can confuse even the most discerning mind, and cause people to give up on finding the real truth. The story that you see referenced in this photograph of the disinformation campaign led by Val Pottinger in South Africa is a story that hits really, really close to heart for me.
I lived through this experience. I went through the riots and the unrest and the pain and worry and fear that my country was descending into civil war. You see, Val Pottinger preyed on South Africa's painful history and stirred up racial tensions in the country to levels that we had not seen since apartheid, bringing the country almost to the brink of civil war.
And even though the miscreants that did this have actually been brought to justice, the side effects of their work is still being felt in South Africa today. And we're not sure exactly where that will go. And here's the very sad news. Radicalization is increasingly happening in the online world. In our online communities, in our online social and in groups, where we can't tell the difference between real people expressing real opinions and bots auto-generating content based on some nefarious agenda.
So what does that mean? Does it mean that we need to distrust everything? No, that isn't the answer either. That doesn't create the society we want either. We do need to trust what we need to verify. We need to check the sources of our information very carefully and make an explicit choice about whether we believe those sources.
We need to look at information broadly and deeply and take the time, invest the time to inform ourselves because we are worth knowing the truth. Ladies, that brings me to the end of my talk for today. And if I have stirred up in you any interest in taking up the fight for AI ethics, then I urge you, please come and join me at Thomson Reuters, where we intend to play a significant role in this global challenge.
We are looking at Thomson Reuters. We are looking. Our teams here at the labs and Thomson Reuters engineering, we're looking for people like you, people who are interested in making the world a better place. So please come and join us in our information booth, talk to our recruiters, hear about all the great opportunities, our digital program, our transformation program, and of course, what we're doing in the world of AI ethics.
Thank you.
Transcribed automatically; names checked against the speaker record. Select a time to jump there.
Article based on this talk
Why well-intended AI causes harm, and what builders can do about it
Ideshini Naidoo traces three common failure modes of AI and argues that the people who build these systems are best placed to prevent the damage.
In short
Ideshini Naidoo argues that AI ethics cannot be left to governments and society, which cannot keep pace with how fast technology now changes. The responsibility sits with technologists. Through three well-known failure modes (feedback loops, bias and disinformation), she shows how AI that does exactly what it was designed to do can still cause serious harm, and which design, testing and verification habits help prevent it.
Key takeaways
In our quest to improve the lives of human beings by building smart "everything", let's make sure we do no harm first!
Technology is neutral, but its pace is not
Naidoo starts from an old observation. "It is a truism that technology is neither good nor evil in and of itself. It's all in how people use it." (1:00) Fire can cook food, cauterise a wound or burn down a village; the tools scientists use to fight epidemics can also build biological weapons.
What has changed, she says, is speed. New applications, good or bad, now appear faster and more easily than ever, and governments and society cannot keep up. That leaves builders wearing what she calls a weighty cloak of responsibility: "It is up to us to ensure that this powerful technology is used to create the world that we want to live in." (2:26) Because AI ethics is big enough to feel daunting, she borrows the story of the girl throwing starfish back into the sea one at a time: every small influence on any initiative adds up.
Feedback loops: when the algorithm does its job too well
A feedback loop, in Naidoo's plain definition, is a system that improves itself by learning from past experience, where the algorithm decides what the user sees next. Her main example is YouTube's recommendation engine, which, as the speaker cited, serves over 2 billion users watching over a billion hours of video a day and drives something like 70% of what is viewed. It optimises one metric, hours watched, and does it brilliantly.
The dark side surfaced in a New York Times story by Kevin Roose about a Shane Dawson conspiracy documentary that reached 30 million views and then 20 million more. Naidoo is clear that the algorithm did not write the content. The problem is reach: "These algorithms have tremendous power to determine what people will even see. And more importantly and more scarily, what they won't see." (5:46) People like controversial content, conspiracy fans like online video, and so the loop tightens until even the mildly curious can be pulled towards extremism. As she puts it: "They match and reinforce whatever is already there. They don't judge the content as good or bad." (7:17)
She offers a counter-example. Evan Estola, lead machine learning engineer at Meetup, saw that men showed more interest in tech meetups than women, so a gender-aware recommender would show women fewer tech events and deepen the gap. His team removed gender from that part of the model and broke the cycle. Naidoo accepts that choices like this may cost some business performance, and compares them to companies that forgo profit to use sustainable suppliers: "But just as companies will choose to forego profits so that they can use only sustainable products or only work with an approved vendor list, so too, we need to be the voice for ethical use of algorithms." (9:30)
Bias runs deeper than the training data
Biased data gets most of the blame, but Naidoo points to MIT researchers who, as she cited, found at least six places in the machine learning process where bias can enter. She focuses on two. Historical bias sits in the first step of data generation and survives even perfect sampling: "If the data is about human beings, then the data has bias. Bias in the data is pervasive because bias in us, in human beings, is pervasive." (10:55)
Her examples are stark. ProPublica's analysis of the COMPAS recidivism algorithm, as the speaker cited, found that despite a 61% accuracy rate, Black defendants were twice as likely to be wrongly rated high risk and white defendants twice as likely to be wrongly rated low risk. Facial recognition systems once made a hundred times more errors on dark-skinned faces, and a year later the error rates were almost equal. The cause was never that computers cannot read dark skin; it was too few dark faces in training and testing. "And doing better starts with us making sure that when we build algorithms, we train them and we test them with diverse and curated data sets." (12:49) She adds a caution: that only fixes representation bias, not measurement or historical bias.
Explainability is a design decision
Public outcry over biased systems has pushed for "less black box and more glass box". Naidoo is precise about what that demands: "An explainable AI doesn't mean a model that can explain itself. No, what it is, is an explicit design decision that developers make, that we make." (13:43) Teams start by learning which explanations will be needed, by talking to users, the people affected by the results and regulators. A second option is to have the learning process produce interim results that, together with the final output, show how the system reached its answer.
Disinformation and the case for verification
Disinformation, Naidoo notes, is rarely pure fiction. It often carries grains of truth or half-truths taken out of context, which is what makes it so effective at making people give up on the truth. Her example is personal: the Bell Pottinger campaign that inflamed racial tensions in South Africa. "I lived through this experience." (15:43) She describes riots and the fear that the country was sliding into civil war, with effects still felt today.
With radicalisation moving online, where real opinions and bot-generated content are hard to tell apart, she rejects blanket distrust as an answer. "We need to check the sources of our information very carefully and make an explicit choice about whether we believe those sources." (16:40) She ends by inviting anyone stirred to take up the fight for AI ethics to talk to the Thomson Reuters team.
Watch the talk
Ethical AI for a better world, Ideshini Naidoo, 18 minutes: https://www.womentech.net/video/ideshini-naidoo-ethical-ai-better-world
About the speaker
Ideshini Naidoo is Head of Engineering: Legal Practice & Productivity at Thomson Reuters, with over 20 years of technology experience, including roles as CIO of RMB Corporate Bank and Head of Electronic Banking for Barclays Africa. As CTO of Wave Financial from 2017, she led its engineering and data science functions through its acquisition by H&R Block in 2019 and was recognized as one of Canada's Top 50 Women in FinTech.
Questions this talk answers
What is an AI feedback loop and why can it be harmful?
How can a team stop a recommendation engine from reinforcing an imbalance?
Is biased training data the only source of AI bias?
What does explainable AI actually require from developers?
How should people respond to online disinformation?
Drafted with AI from the talk transcript. Editor review pending.
Frameworks and ideas mentioned
Explainable AI
Sources of bias in machine learning (historical, representation, measurement)
Cite this talk
Ideshini Naidoo. "Ethical AI for a better world." WomenTech Network, 2021. https://www.womentech.net/video/ideshini-naidoo-ethical-ai-better-world