Simple typos tripped up Google's hate speech detection

Adding unrelated words, spaces, or 'leetspeak' manages to trick Google's Perspective AI into thinking that abusive messages are in fact harmless, according to research from the Aalto University and the University of Padua.
 By  Adam Smith  for PCMag  on 
Simple typos tripped up Google's hate speech detection
Credit: JUSTIN SULLIVAN/GETTY

PCMag.com is a leading authority on technology, delivering Labs-based, independent reviews of the latest products and services. Our expert industry analysis and practical solutions help you make better buying decisions and get more from technology.

Keeping on top of negativity online is a difficult task, with nearly one in five Americans having experienced severe online harassment. Google's Perspective AI aims to fix those problems, but it doesn't seem to be as smart as it needs to be.

As TNW reports, a group of researchers at Aalto University and the University of Padua have discovered Google's artificial intelligence can easily be tricked and that state-of-the-art hate speech detection models only perform well when tested by the same type of data they were trained on. Simple tricks to get around Google's AI include: inserting typos; adding spaces between words; or adding unrelated words to the original sentence.

Google's method of hate speech detection is achieved through assigning a toxicity score to a piece of text, defining it as rude, disrespectful, or unreasonable enough that you would be inclined to leave the conversation. However, the AI system is not intelligent enough to detect the context of expletives, and a simple change between "I love you" and "I fucking love you" sees a change in score from 0.02 to 0.77.


You May Also Like

"Clearly 'toxicity', as Perspective currently classifies it, is not assimilable to hate speech in any substantive (or legal) sense" the paper states. Similarly, typos or 'leetspeek' (replacing common letters with numbers, so 'GEEK' becomes 'G33K', and so on), are also effective at tricking the AI while still retaining the original message's readability and emotional impact.

The word 'love,' which does not correlate with hate speech, also "broke all word-models, and significantly hindered character models," in some instances droppes a toxicity rating from 0.79 to 0.00.

With many social platforms, such as Facebook, Twitter, and YouTube struggling to find the boundary between offensive and acceptable speech, an easily applicable artificial intelligence would clearly have its benefits.

Recently, Twitter came under fire for disabling conservative conspiracy theorist Alex Jones' account for a week when other platforms had removed his and Infowars' (the publication Jones works for) accounts completely. Twitter claimed that Jones had not violated any of the platform's rules, but the company has since suspended @realalexjones and @infowars after a Senate Committee hearing.

Unfortunately with this news, and the recent examples of artificially intelligent chatbots such as Microsoft's Tay tweeting racist content, it seems AI will need to improve before we let it loose on the comments section.

Mashable Potato

Recommended For You
TikTok is rolling out a new age-detection system in the EU
TikTok logo

Bad Bunny slams ICE during Grammys speech
A man stands on a stage holding a trophy, speaking into the microphone.

Rhea Seehorn's Golden Globes speech is delightfully candid
Rhea Seehorn at the Golden Globes.

This tool helps cybercriminals scam users through Google ads
A Google logo reflected in a dark blackish glass.

Jimmy Kimmel gives Trump a special thanks during Critics Choice Awards speech
A man in a tux stands on an awards show stage in front of the microphone, while two women laugh in the background.

Trending on Mashable
NYT Connections hints today: Clues, answers for April 3, 2026
Connections game on a smartphone

Wordle today: Answer, hints for April 3, 2026
Wordle game on a smartphone

What's new to streaming this week? (April 3, 2026)
A composite of images from film and TV streaming this week.

Google launches Gemma 4, a new open-source model: How to try it
Google Gemma

The biggest stories of the day delivered to your inbox.
These newsletters may contain advertising, deals, or affiliate links. By clicking Subscribe, you confirm you are 16+ and agree to our Terms of Use and Privacy Policy.
Thanks for signing up. See you at your inbox!