Skip to main content
  1. Home
  2. Emerging Tech
  3. Computing
  4. News

AI learns when people are using hate speech, even when they use code words

Add as a preferred source on Google

Anyone who has ever had a safe-for-work website blocked as not safe for work (NSFW) by their work internet filter (or has experienced the potentially embarrassing opposite) knows that programs designed to block out certain pieces of content can often run into problems.

One reason for this is that keyword searches can prove to be overly blunt tools for dealing with something as nuanced, complex, and constantly evolving as language.

Recommended Videos

This is particularly true when trying to find hateful keywords on social media. For example, last year Alphabet released an algorithm designed to filter out racist words online, only for trolls to start substituting the name of Google products for racial slurs. For a while, it totally outsmarted the software.

A new algorithm, developed by researchers at the University of Rochester, thinks it’s cracked the problem, however. Analyzing Twitter feeds, it can distinguish between phrases like “gas the Skypes” (a substitute for “Jews”) and “I hate Skype” (which hopefully just means Skype) with an impressive 80-percent accuracy.

“We have developed an intelligent data analytics algorithm to track the constantly evolving hate codes which are designed to evade detection,” Professor Jiebo Luo, co-author of the paper, told Digital Trends. “We start with a set of known hate codes, retrieve hate messages containing these codes, [and] build a language model using machine learning techniques to recognize hate messages. On the basis of that, we do two things: [firstly], using the language model to detect ongoing hate messages that may contain new hate codes, and [secondly] using detected hate messages to identify hate spreaders whose new messages are used to discover new hate codes.”

The smart insight is working out which words correlate with others, thereby discovering when a stand-in word is being used for something else by adding context. Sure, these can be changed as well, but there’s only so many words a troll can change before rendering their original statement totally unintelligible.

In all, it’s a very smart use of machine learning. Yes, the boundaries about what it’s OK to say online are still being drawn — and are best worked out by private individuals and companies, not algorithms. But when it comes to stopping people from being confronted with hateful rhetoric online, tools like this go way beyond simple keyword searches.

Next up for the project? “We hope to get more data to make our model more robust and accurate,” Luo continued. “Ultimately, we hope the leading social media platforms such as Twitter, Facebook and so on can adopt our technology, which is described in this paper, and likely will be further developed for higher accuracy to clean up social media. It is our ongoing effort to use data science for social good.”

Luke Dormehl
I'm a UK-based tech writer covering Cool Tech at Digital Trends. I've also written for Fast Company, Wired, the Guardian…
Google just canceled its AI Studio mobile app, and it’s not all bad news
Logo, Symbol, Disk

Google AI Studio was on track to make its way to Android and iPhone, giving developers and AI enthusiasts a dedicated place to build prompts and experiment with Google's latest models from their phones.

That's no longer happening. In a post shared by the official Google AI Studio account on X, Google confirmed that it's canceling the standalone AI Studio mobile app before launch. The announcement comes despite the company saying nearly 800,000 people had already pre-ordered the app across iOS and Android.

Read more
Google Earth’s AI misadventure lasted only a day. It was a tale of dangerous ignorance.
Nuclear reactors, tanks, and historical destruction on a life-like satellite map? Yeah, that's bad.
Nano Banana AI image generator representation.

Technology behemoths are clearly not reading the room, or they are just moving faster than they should when it comes to AI deployment. Google has already stuffed its Gemini AI in every corner of its software stack, from Android to daily productivity tools like Gmail that are used by hundreds of millions of users every day. AI is everywhere. Not all of it is bad, mind you. But in a few places, it just feels forced.

In its latest AI-fication experiment, the company targeted Google Earth. The idea was to let the audience use its Nano Banana 2 AI image generator and make images that can be placed on the map view. On paper, it's a cool idea. What would the Colosseum of Rome look like in your urban neighborhood? Yeah, fun stuff like that.

Read more
Google’s new AI gives robots better balance, smarter hands, and teamwork capabilities
Google just made robots a lot less clumsy and a lot more helpful.
Gemini robotics 2.0

Google DeepMind just brought sci-fi robots closer to reality, and it is very exciting. Building on its original Gemini Robotics model, the company has introduced Gemini Robotics 2, an AI system designed to help robots think, move, and even work together. Unlike most robots today, which rely on pre-programmed routines or someone controlling them remotely, this new system lets robots figure things out on their own when situations get unpredictable.

Can robots finally handle whole-body tasks?

Read more