Skip to main content

MIT algorithm learns to understand emotions and sarcasm through emojis

emojis
Image used with permission by copyright holder
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 Digital Trends Contributor
Dyllan Furness is a freelance writer from Florida. He covers strange science and emerging tech for Digital Trends, focusing…
Rivian offers $3,000 off select EVs to gasoline, hybrid vehicle drivers
Second-Gen Rivian R1S on a road

Early November typically kicks off the run-up to the Black Friday sales season, and this year, Rivian is betting it’s the perfect time to lure gasoline drivers toward its EVs.
If you own or lease a vehicle that runs on gasoline, which means even a hybrid vehicle, Rivian is ready to give you $3,000 off the purchase of one of its select fully electric vehicles -- no trade-in required.
The offer from the Irvine, California-based automaker extends to customers in the U.S. and Canada and runs through November 30, 2024. The program applies to Rivian 2025 R1S or R1T Dual Large, Dual Max, or Tri Max models purchased from R1 Shop.
Rivian’s new All-Electric Upgrade offer marks a change from a previous trade-in program that ran between April and June. There, owners of select 2018 gas-powered vehicles from Ford, Toyota, Jeep, Audi, and BMW could trade in their vehicle and receive up to $5,000 toward the purchase of a new Rivian.
This time, buyers of the R1S or R1T Rivian just need to provide proof of ownership or lease of a gas-powered or hybrid vehicle to receive the discount when they place their order.
Rivian is not going to be the only car maker offering discounts in November. Sluggish car sales from giants such as Stellantis and rising inventories of new cars due to improving supply chains suggest automakers and dealerships will be competing to offer big incentives through the year's end.
This follows several years of constrained supply following the COVID pandemic, which led to higher prices in North America.
According to CarEdge Insights, average selling prices for cars remain above what would be called affordable. But prices should continue improving along with rising inventories.
Stellantis brands are entering November with the most inventory, followed by GM and Ford, according to CarEdge. Toyota and Honda, meanwhile, have the least inventory, meaning they probably won’t be under pressure to offer big incentives.

Read more
AT&T, Voltpost bring internet connectivity to EV charging lampposts
att voltpost streetlight charging newlabdetroit 63

Move over, Supercharger network.

EV charging networks have been fast expanding across U.S. roads and highways over the past year, led by the likes of Electrify America, Tesla, and Chargescape, to name a few.

Read more
Volvo’s much-anticipated EX30 EV to reach U.S. before year end
Front three quarter view of the 2025 Volvo EX30.

Volvo is switching gears again, this time to accelerate deliveries of its much-anticipated EX30 subcompact electric SUV so that it reaches the U.S. before the end of 2024.

The Swedish automaker last summer had postponed the U.S. launch of the EX30 to 2025, citing “changes in the global automotive landscape." The move followed the Biden administration’s 100% import tariff on electric vehicles made in China.

Read more