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

MIT algorithm learns to understand emotions and sarcasm through emojis

Add as a preferred source on Google

In less than a decade, emojis have become a cultural phenomenon. In 2011, comedian Aziz Ansari pointed out that a popular rap song could be nearly translated into emojis. July 17, 2014, was named the first annual World Emoji Day, and this summer we even got the The Emoji Movie.

Despite that unfortunate film, the emoji trend is far from dead. In fact, they’re as prevalent as ever, conveying meaning and emotion when words just aren’t enough.

Recommended Videos

Researchers at the Massachusetts Institute of Technology have now developed an artificial intelligence system that understands emotion and sarcasm after being trained on emojis.

Teaching meaning through emojis might sound like a whimsical lesson, but the researchers behind the project had more grand goals for their system, DeepMoji.

“We wanted to study racism and bullying on social media, but the traditional methods couldn’t handle modern slang,” Bjarke Felbo, a graduate student who worked on the project, told Digital Trends. “So we turned to the billions of emojis on social media and AI techniques for help.”

The model developed by Bjarke and his team, including associate professor Iyad Rahwan, learned to discern emotion and meaning from slang like bae and swag, while — more impressively — unraveling entire phrases. For example, the model realized that a phrase like “this is the shit” is actually a positive statement and “i love to clean toilets” is said sarcastically.

“Having an understanding of modern slang and sarcasm is critical to capture insults on social media,” Felbo said.

“The basic idea is that if the model is able to predict which emoji was included with a given sentence, then it has an understanding of the emotional content of that sentence,” he added. “We thus train our model to predict emojis on a dataset of 1.2 billion tweets.”

During its lesson, DeepMoji was tasked with grouping emojis into categories like negativity, positivity, and love. Within these categories, the model differentiated emojis into subcategories, such as angry or annoyed.

“Once the model has this nuanced understanding of emotional content in language, it’s much easier for it to learn concepts like sarcasm,” Felbo said. “Hopefully, with this model, AI researchers and social scientists can now go beyond the traditional dull positive and negative sentiment analysis.”

Felbo pointed out that DeepMoji is capable of understanding emotions in any text, not just emojis. “In fact,” he said, “we tested it across different types of text such as article headlines, written emotional experiences, serious debate forums … and beat state-of-the-art algorithms across all of these.”

Felbo and his team have developed a DeepMoji website where users can see the emoji aspect of the system in action. By highlighting certain parts of a sentence, the algorithm shows which emojis are most associated with the resulting phrase. Users can also annotate their own tweets in order to contribute to the research.

Dyllan Furness
Former Contributor
Dyllan Furness is a freelance writer from Florida. He covers strange science and emerging tech for Digital Trends, focusing…
AI doesn’t have to turn evil to put you at risk 
emo-robot-that-can-lip-sync

An AI assistant that agrees with everything you say might feel like the perfect companion — until you need someone to tell you you’re wrong. That’s one of the more immediate dangers behind the idea of AI “going rogue.” A chatbot can cause harm without developing intentions of its own. It can reinforce a false belief, encourage an unhealthy attachment, or follow instructions planted by someone trying to hijack it.   

On October 15, AI safety company Alice announced new software to address those everyday risks. Working separately with Inflection AI and AI21, the company says it helped train NVIDIA’s Nemotron models to resist harmful conversational behavior and malicious instructions while preserving their usefulness.  

Read more
Elon Musk says Neuralink’s brain implants could help people with paralysis and blindness
Neuralink's Telepathy helps people control computers through thought, while Blindsight aims to restore visual perception.
elon-musk-neuralink-brain-implant

Elon Musk has revealed ambitious plans for Neuralink, and they go beyond controlling computers with your thoughts. The company is developing two brain implants, Telepathy and Blindsight, aimed at helping people with paralysis and severe vision loss. Musk also believes future advances could help people regain control of their hands and legs by reconnecting the brain with their limbs.

How Neuralink's Telepathy can help people with paralysis

Read more
Sony has shrunk its glasses-free 3D technology into a tiny screen, and it can bring anime characters to life on your desk
It's almost like having a digital, three-dimensional companion on your desk.
Sony's smaller 3D display for desk

Glasses-free 3D has always felt like a luxury I could admire from afar. Those screens were built for design studios, not smaller desks like mine. But Sony’s new version is small enough to sit beside my keyboard, and I’m genuinely excited.

The company has unveiled the ELF-MN1, a 6-inch display that makes 3D characters and avatars look like they’re coming out of the screen without any special glasses or a headset. It plugs into a phone or PC with one USB-C cable, and that’s pretty much it (via Sony).

Read more