Skip to main content

Researchers develop sarcasm detector for Twitter, and that’s no joke

It’s difficult enough for some people to recognize the sarcasm of others. When you add in text and online communication through platforms like Twitter, it can be nearly impossible to detect. However, researchers at Carnegie Mellon University are working on training computers to catch sarcasm on Twitter.

Seriously. According to Engadget, researchers David Bamman and Noah A. Smith, at CMU’s School of Computer Science, have figured out why sarcasm is so difficult to detect, especially in tweets. While most approaches analyze linguistics, the researchers note that sarcasm involves context. In order to detect sarcasm on Twitter, then, you have to include that context. The end result, according to the researchers, is a much more reliable detection method.

Recommended Videos

The researchers also found that because of the complexities of social media, such as not knowing who the user’s actual audience is, understanding sarcasm on Twitter is a little trickier. Part of detecting sarcasm included individual tweets, account details from the user’s profile, past tweets and content, and any details regarding the tweeter’s audience that may be available. Surprisingly, this test resulted in an 85 percent accuracy level – 10 percent higher than the sarcasm detected when analyzing just the tweet alone.

The ability for computers to detect sarcasm and jokes may seem a small step edging us toward more human-like machines. However, both can become crucial tools in certain situations, such as in cases where law enforcement agencies are trying to figure out if a high school boy’s tweet to blow something up is a joke, sarcasm, or an actual threat. In fact, last year, Eden Saig, a student at Israel Institute of Technology developed a machine that could detect humor, as well as “patronizing sounding semantics or slang words,” in Facebook groups. The intent was to aid law enforcement in separating social media posts joking about terrorist attacks from posts that might actually be threats, and hopefully decrease the instances of following up on false alarms.

According to those researching the sarcasm detector, some of the most common indicators in an author’s profile include the terms, sarcasm, chemistry, atheist, and humor. Which you may want to consider adding to your profile so that even if your friends don’t get you, computers will.

Christina Majaski
Former Digital Trends Contributor
Christina has written for print and online publications since 2003. In her spare time, she wastes an exorbitant amount of…
How to deactivate your Instagram account (or delete it)
A person holding a phone with the Instagram app open on it.

Oh, social media. Sometimes it’s just too much, folks.

If you’re finding yourself in a position where shutting down your Instagram account for a period of time sounds good, the people at Meta have made it pretty simple to deactivate it. It’s also quite easy to completely delete your Instagram, although we wouldn’t recommend this latter option if you plan on returning to the platform at a later date.

Read more
Bluesky finally adds a feature many had been waiting for
A blue sky with clouds.

Bluesky has been making a lot of progress in recent months by simplifying the process to sign up while at the same time rolling out a steady stream of new features.

As part of those continuing efforts, the social media app has just announced that users can now send direct messages (DMs).

Read more
Reddit just achieved something for the first time in its 20-year history
The Reddit logo.

Reddit’s on a roll. The social media platform has just turned a profit for the first time in its 20-year history, and now boasts a record 97.2 million daily active users, marking a year-over-year increase of 47%. A few times during the quarter, the figure topped 100 million, which Reddit CEO and co-founder Steve Huffman said in a letter to shareholders had been a “long-standing milestone” for the site.

The company, which went public in March, announced the news in its third-quarter earnings results on Tuesday.

Read more