Artificially intelligent, inherently racist

A new study regarding online language prediction models reveals that they discriminate against young, non-white men

Talk of artificial intelligence tends to fall into two camps: that of an interconnectedness that streamlines every aspect of human life – or a dystopian HAL 9000-type technological singularity in which “I’m sorry, Dave. I’m afraid I can’t do that,” is the last thing we hear before the machines take over and turn us into fleshy slaves.

Right now, we’re in the grey zone of prototypes, so some of our forays into AI are less than perfect. Take language prediction models. They’re used in everything from Google searches to legal cases, but a new study by researchers at China’s National University of Defense Technology and the University of Copenhagen shows they have a systemic racial bias.

Deeply ingrained tech
The language models under the microscope were ELECTRA, GPT-2, BERT, DistilBERT, ALBERT and RoBERTa. If you’re wondering why so many are called ‘Bert’, they’re all offshoots of the original ‘Bidirectional Encoder Representations from Transformers’ – a type of machine-learning technique developed by Google in 2018. 

To give an idea of how prevalent these models are: at the end of 2019, BERT had been adopted by Google’s search engine in 70 languages. By 2020 the model was used in almost every English-language search query. This is the technology that fills in the gap in the search bar when you type “Why am I so ___?”

The study in detail
The study measured the models’ performance differences across demographics in so-called English-language ‘cloze tests’ (fill-in-the-gap tests). Since the cloze task is how BERT systems are trained, researchers were able to evaluate the models directly.

Some 3,085 sentences were completed by 307 human subjects asked to fill in the most likely word based on their experience. They were sorted into 16 demographics according to age, gender, education and race. The ‘fairness’ of the language model responses was measured by whether the risk of error across any two demographics was roughly equal.

The results showed a systemic bias against young non-white male speakers. Older, white speakers were also poorly aligned. Not only do the models learn stereotypical associations, they also learn to speak more like some than like others – in this case white men under the age of 40.

Why is it important?
We already know that BERT is an integral part of our online navigation system, so users who do not align with the models receive unequal results and opportunities.

When GPT-2 was announced in February 2019 by San Francisco technology company OpenAI, James Vincent of The Verge described its writing as “one of the most exciting examples yet” of language generation programs.

“Give it a fake headline, and it’ll write the rest of the article, complete with fake quotations and statistics. Feed it the first line of a short story, and it’ll tell you what happens to your character next,” he said.

The Guardian called it “plausible newspaper prose”, while journalists at Vox mused that GPT-2 may be the technology that kicks them out of their jobs. A study by the University of Amsterdam even found that some participants were unable to distinguish poems generated by GPT-2 from those written by humans.

The upshot should be better training, argue the researchers at the University of Copenhagen, so the models more accurately represent the diversity of users.




  • Chinese wind turbine companies sign pact to end race-to-the-bottom price war

    Chinese wind turbine companies sign pact to end race-to-the-bottom price war

    China’s 12 leading wind turbine makers have signed a pact to end a domestic price war that has seen turbines sold at below cost price in a race to corner the market and which has compromised quality and earnings in the sector.

  • Watch Novo Nordisk’s billion-kroner musical TV ad for Wegovy

    Watch Novo Nordisk’s billion-kroner musical TV ad for Wegovy

    Novo Nordisk’s TV commercial for the slimming drug Wegovy has been shown roughly 32,000 times and reached 8.8 billion US viewers since June.

  • Retention is the new attraction

    Retention is the new attraction

    Many people every year choose to move to Denmark and Denmark in turn spends a lot of money to attract and retain this international talent. Are they staying though? If they leave, do they go home or elsewhere? Looking at raw figures, we can see that Denmark is gradually becoming more international but not everyone is staying. 

  • Defence Minister: Great international interest in Danish military technology

    Defence Minister: Great international interest in Danish military technology

    Denmark’s Defence Minister Troels Lund Poulsen attended the Association of the Unites States Army’s annual expo in Washington DC from 14 to 16 October, together with some 20 Danish leading defence companies, where he says Danish drone technology attracted significant attention.

  • Doctors request opioids in smaller packs as over-prescription wakes abuse concerns

    Doctors request opioids in smaller packs as over-prescription wakes abuse concerns

    Doctors, pharmacies and politicians have voiced concern that the pharmaceutical industry’s inability to supply opioid prescriptions in smaller packets, and the resulting over-prescription of addictive morphine pills, could spur levels of opioid abuse in Denmark.

  • Housing in Copenhagen – it runs in the family

    Housing in Copenhagen – it runs in the family

    Residents of cooperative housing associations in Copenhagen and in Frederiksberg distribute vacant housing to their own family members to a large extent. More than one in six residents have either parents, siblings, adult children or other close family living in the same cooperative housing association.


  • Come and join us at Citizens Days!

    Come and join us at Citizens Days!

    On Friday 27 and Saturday 28 of September, The Copenhagen Post will be at International Citizen Days in Øksnehallen on Vesterbro, Copenhagen. Admission is free and thousands of internationals are expected to attend

  • Diversifying the Nordics: How a Nigerian economist became a beacon for inclusivity in Scandinavia

    Diversifying the Nordics: How a Nigerian economist became a beacon for inclusivity in Scandinavia

    Chisom Udeze, the founder of Diversify – a global organization that works at the intersection of inclusion, democracy, freedom, climate sustainability, justice, and belonging – shares how struggling to find a community in Norway motivated her to build a Nordic-wide professional network. We also hear from Dr. Poornima Luthra, Associate Professor at CBS, about how to address bias in the workplace.

  • Lolland Municipality launches support package for accompanying spouses

    Lolland Municipality launches support package for accompanying spouses

    Lolland Municipality, home to Denmark’s largest infrastructure project – the Fehmarnbelt tunnel connection to Germany – has launched a new jobseeker support package for the accompanying partners of international employees in the area. The job-to-partner package offers free tailored sessions on finding a job and starting a personal business.