Yahoo fights hate speech with abuse algorithm

Yahoo has developed an algorithm that can detect if people are using hate speech online and in tests, which has been able to detect abuse in 90 per cent of cases in tests.

The algorithm is built upon machine learning technologies and crowdsourced abuse detection, analysing parameters such as comment length, number of insult words and punctuation on thousands of articles on Yahoo News and Finance to work out what can be classed as abusive.

Trained abuse-hunter humans also analysed these same pages, inputting them into the database and further training the algorithm to pick up what is classed as abuse.

The third aspect was using Amazon's Mechanical Turk website, which allows companies to pay people to use their own human intelligence to sort out which comments were classed as abusive and which weren't. Yahoo paid each member who wanted to identify abusive/non abusive comments $0.02 for each comment they categorised.

However, this second group of humans was much less successful at identifying the abusive comments, Yahoo said, which demonstrated people need to be trained to work out which comments were classed as hate speech and which were not.

Nonetheless, merging these processes managed to uncover the majority of abusive comments on the sites, making it one of the most accurate uses of machine learning to date.

Now Yahoo is releasing the database of hate speech to the wider world, hoping to stop the problem spreading.

However, Yahoo explained it has not tested the technology outside of its own sites, but it still represents a significant step forward in the field of natural language processing.

Clare Hopping
Freelance writer

Clare is the founder of Blue Cactus Digital, a digital marketing company that helps ethical and sustainability-focused businesses grow their customer base.

Prior to becoming a marketer, Clare was a journalist, working at a range of mobile device-focused outlets including Know Your Mobile before moving into freelance life.

As a freelance writer, she drew on her expertise in mobility to write features and guides for ITPro, as well as regularly writing news stories on a wide range of topics.