Art and design






Life and style








US news

World news

Chinese messaging app error sees n-word used in translation

WeChat says the translation engine it uses is a neural network-based service, which is always being tweaked for more accurate output.
WeChat says the translation engine it uses is a neural network-based service, which is always being tweaked for more accurate output. Photograph: Petar Kujundzic / Reuters/Reuters

Chinese messaging app WeChat has reportedly apologised after an AI error resulted in it translating a neutral Chinese phrase into the n-word.

The WeChat error was reported by Shanghai-based theatre producer and actor Ann James, a black American. In a post on the service’s Twitter-like Moments feature, she wrote that it had translated hei laowai – a neutral phrase which literally means “black foreigner” – as the n-word.

“We’re very sorry for the inappropriate translation,” a WeChat spokesperson told Chinese news site Sixth Tone. “After receiving users’ feedback, we immediately fixed the problem.”

WeChat added that the translation engine it uses is a neural network-based service, which is always being tweaked for “more accurate, faithful, expressive, and elegant” output.

Such systems are notorious for incorporating the biases and errors of the data sources on which they are trained, which appears to be what occurred here.

In the example James provided, the offending sentence read “the nigger’s still late”. A series of similar tests from a local news site, That’s Shanghai, revealed the system is capable of providing a more accurate translation for positive sentences. “Black foreigners is cool” comes out more or less correct, while other translations used the n-word when the sentence called them “lazy” or “a thief”. In all the tests, the same Chinese phrase, hei laowai, was used.

The machine learning system may, then, have been trained on a corpus of Chinese and English text which contained racial slurs alongside stereotypical descriptions of black people.

Speaking to the Guardian, James said: “When I ran the translator, the n-word came up and I was gobsmacked.” She told SixthTone that she was unsurprised by the error. “If you’re a black person in China, you’ve come up against some craziness,” she said. “I know there’s a lot of curiosity and a lot of ignorance about black people [in China].”

James said she was pleased by WeChat’s response. “WeChat changed the algorithm, and now no one in 900 million daily users will ever have to translate that n-word again,” she said over email. “Pretty epic.”

Machine translation making questionable choices isn’t just a problem in China. Google’s own translation product, widely seen as the best on the market, can offer up problematic outputs. Users attempting to translate gender-neutral Turkish sentences for “they are a doctor” and “they are a nurse”, for instance, will instead find the service making sexist assumptions and translating the two sentences as masculine and feminine respectively.

And almost two years ago, Google was also forced to apologise after its machine vision system had labelled a photo of two black people as “gorillas”.

WeChat said in a statement: “We sincerely apologize for the inappropriate translation. Upon receipt of users’ feedback, we have fixed the issue.

“As with other machine translation engines, which require time to learn and optimise their vocabulary banks in order to attain accurate translation, our automated translation engine is still undergoing the learning and optimisation process. We will continue to improve the translation quality while welcoming feedback from users, in order to deliver a better user experience.”

This article titled "Chinese messaging app error sees n-word used in translation" was written by Alex Hern, for on Friday 13 October 2017 10.31am


Games reviews roundup: Mario & Luigi: Superstar Saga; Knack 2; Ruiner

Mario & Luigi: Superstar Saga + Bowser’s Minions Nintendo 3DS; cert: 3 ★★★★ The game that… Read more

Half of all UK broadband users get a bad deal, says Which?

Half of all broadband users in the UK are getting a raw deal from their supplier, with slow speeds,… Read more

Is Richard Branson’s high-speed train in a pneumatic tube pie in the sky?

Last week, Richard Branson gave a boost to tech tycoon Elon Musk’s vision of a futuristic transport… Read more

Tesla workers claim anti-LGBT threats, taunts, and racial abuse in lawsuits

Soon after he started working on the assembly line at Tesla, Jorge Ferro said he was taunted for… Read more

Tim O’Reilly: ‘Generosity is the thing that is at the beginning of prosperity’

Tim O’Reilly believes we need to have a reset. This means more coming from him than it does from… Read more

Artificial intelligence commission needed to predict impact, says CBI

Britain’s biggest employers are calling for a commission to examine the impact of artificial… Read more

NBN a mistake, says Turnbull, blaming Labor for 'calamitous train wreck'

Malcolm Turnbull has labelled the national broadband network a mistake and blamed Labor for leaving… Read more

As tech companies get richer, is it 'game over' for startups?

Facebook has been breathing down the neck of the group video-chat app Houseparty for over a year.… Read more

Lyft taxi app boosted by $1bn investment from Google-led consortium

The US ride-hailing company Lyft has secured a $1bn (£760m) investment from a Google-led… Read more

Google and Facebook under pressure after helping anti-refugee campaign

An anti-refugee campaign, Secure America Now, received targeted help from Facebook and Google to… Read more