Twitter is investigating after users discovered its picture-cropping algorithm sometimes prefers white faces to black ones.
Users noticed when two photos – one of a black face the other of a white one – were in the same post, Twitter often showed only the white face on mobile.
Twitter said it had tested for racial and gender bias during the algorithm's development.
But it added: "It's clear that we've got more analysis to do."
![A tweet from @TwitterComms reads: We tested for bias before shipping the model & didn't find evidence of racial or gender bias in our testing. But it's clear that we've got more analysis to do. We'll continue to share what we learn, what actions we take, & will open source it so others can review and replicate.](https://c.files.bbci.co.uk/D08E/production/_114509335_3f725447-2140-4ef6-ac75-07edd5e7f5fd.jpg)
Twitter's chief technology officer, Parag Agrawal, tweeted: "We did analysis on our model when we shipped it – but [it] needs continuous improvement.
"Love this public, open, and rigorous test – and eager to learn from this."
Facial hair
The latest controversy began when university manager Colin Madland, from Vancouver, was troubleshooting a colleague's head vanishing when using videoconference app Zoom.
The software was apparently mistakenly identifying the black man's head as part of the background and removing it.
But when Mr Madland posted about the topic on Twitter, he found his face – and not his colleague's – was consistently chosen as the preview on mobile apps, even if he flipped the order of the images.
His discovery prompted a range of other experiments by users, which, for example, suggested:
Twitter's chief design officer, Dantley Davis, found editing out Mr Madland's facial hair and glasses seemed to correct the problem – "because of the contrast with his skin".
![Tweet from @Dantley reads: I know you think it's fun to dunk on me, but I'm as irritated about this as everyone else. However, I'm in a position to fix it and I will.](https://c.files.bbci.co.uk/F79E/production/_114509336_391294c7-2821-495a-a658-6bc149d802f5.jpg)
Responding to criticism, he tweeted: "I know you think it's fun to dunk on me – but I'm as irritated about this as everyone else. However, I'm in a position to fix it and I will.
"It's 100% our fault. No-one should say otherwise."
'Many questions'
Zehan Wang, a research engineering lead and co-founder of the neural networks company Magic Pony, which has been acquired by Twitter, said tests on the algorithm in 2017, using pairs of faces belonging to different ethnicities, had found "no significant bias between ethnicities (or genders)" – but Twitter would now review that study.
"There are many questions that will need time to dig into," he said.
"Read More – Source