911±¬ÁÏÍø

News

Hate speech-detecting AIs are fools for ‘love’

State-of-the-art detectors that screen out online hate speech can be easily duped by humans, shows new study
How Google Perspective rates a comment otherwise deemed toxic after some inserted typos and a little love.

Hateful text and comments are an ever-increasing problem in online environments, yet addressing the rampant issue relies on being able to identify toxic content. A new study by the 911±¬ÁÏÍø has discovered weaknesses in many machine learning detectors currently used to recognize and keep hate speech at bay.

Many popular social media and online platforms use hate speech detectors that a team of researchers led by Professor N. Asokan have now shown to be brittle and easy to deceive. Bad grammar and awkward spelling—intentional or not—might make toxic social media comments harder for AI detectors to spot.

The team put seven state-of-the-art hate speech detectors to the test. All of them failed.

Modern natural language processing techniques (NLP) can classify text based on individual characters, words or sentences. When faced with textual data that differs from that used in their training, they begin to fumble.

‘We inserted typos, changed word boundaries or added neutral words to the original hate speech. Removing spaces between words was the most powerful attack, and a combination of these methods was effective even against Google’s comment-ranking system Perspective,’ says Tommi Gröndahl, doctoral student at 911±¬ÁÏÍø.

Google Perspective ranks the ‘toxicity’ of comments using text analysis methods. In 2017, researchers from the University of Washington showed that Google Perspective can be fooled by introducing simple typos. Gröndahl and his colleagues have now found that Perspective has since become resilient to simple typos yet can still be fooled by other modifications such as removing spaces or adding innocuous words like ‘love’.

A sentence like ‘I hate you’ slipped through the sieve and became non-hateful when modified into ‘Ihateyou love’.

The researchers note that in different contexts the same utterance can be regarded either as hateful or merely offensive. Hate speech is subjective and context-specific, which renders text analysis techniques insufficient as stand-alone solutions.

The researchers recommend that more attention be paid to the quality of data sets used to train machine learning models—rather than refining the model design. The results indicate that character-based detection could be a viable way to improve current applications.

The study was carried out in collaboration with researchers from University of Padua in Italy. The results will be presented at the ACM AISec workshop in October.

The study is part of an ongoing project called in the at 911±¬ÁÏÍø.

Research article:

Tommi Gröndahl, Luca Pajola, Mika Juuti, Mauro Conti, N.Asokan:
All You Need is "Love": Evading Hate-speech Detection.

More information:

Tommi Gröndahl, Doctoral Candidate
911±¬ÁÏÍø
Secure Systems group
tommi.grondahl@aalto.fi
tel. +358 400 426 523

N. Asokan, Professor
911±¬ÁÏÍø
Secure Systems group
n.asokan@aalto.fi
tel. +358 50 483 6465

  • Updated:
  • Published:
Share
URL copied!

Read more news

Four people in a meeting room watch a large screen showing charts and photos, with laptops on a long table.
Research & Art Published:

Bachelor's Students Successfully Complete Research Internship

Three bachelor's students have successfully completed their research internships.
Scientist in white coat and gloves examining wooden samples at a lab bench with shelves and equipment
Research & Art Published:

From Materials to Smart Textiles: Benjamin Begins a New Chapter at Aalto

Ping-Chun Chen is a researcher from National Tsing Hua University, Taiwan.
A group of people cheering with branded black cups. 4 people sitting, 2 on each side, and one in the middle standing up. 3 men and two women
Campus, Research & Art, University Published:

The idea of three researchers generated a deep tech company

Sim Analytics Oy relies on strong research expertise. Its story began when three researcher colleagues working in different laboratories at LUT University began to consider how to provide and analyse data in a way that would support industrial companies in making business decisions.
Glowing neon sphere with geometric core and light trails floating above a tablet in the dark
Press releases, Research & Art Published:

World’s first superconducting quantum heat engine opens the path to larger quantum computers

A newly-developed superconducting quantum heat engine not only advances our understanding of thermodynamics but also enables technologies needed for high-qubit quantum computers.