Skip to main content

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

sarcasm detector twitter david bamman
Researcher David Bamman and his team at Carnegie Mellon University's School of Computer Science may have found a way to detect sarcasm on Twitter. It could lead to machine learning technology that helps law enforcement determine whether a tweet is serious or not. David Bamman
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.

Please enable Javascript to view this content

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…
I paid Meta to ‘verify’ me — here’s what actually happened
An Instagram profile on an iPhone.

In the fall of 2023 I decided to do a little experiment in the height of the “blue check” hysteria. Twitter had shifted from verifying accounts based (more or less) on merit or importance and instead would let users pay for a blue checkmark. That obviously went (and still goes) badly. Meanwhile, Meta opened its own verification service earlier in the year, called Meta Verified.

Mostly aimed at “creators,” Meta Verified costs $15 a month and helps you “establish your account authenticity and help[s] your community know it’s the real us with a verified badge." It also gives you “proactive account protection” to help fight impersonation by (in part) requiring you to use two-factor authentication. You’ll also get direct account support “from a real person,” and exclusive features like stickers and stars.

Read more
Here’s how to delete your YouTube account on any device
How to delete your YouTube account

Wanting to get out of the YouTube business? If you want to delete your YouTube account, all you need to do is go to your YouTube Studio page, go to the Advanced Settings, and follow the section that will guide you to permanently delete your account. If you need help with these steps, or want to do so on a platform that isn't your computer, you can follow the steps below.

Note that the following steps will delete your YouTube channel, not your associated Google account.

Read more
How to download Instagram photos for free
Instagram app running on the Samsung Galaxy Z Flip 5.

Instagram is amazing, and many of us use it as a record of our lives — uploading the best bits of our trips, adventures, and notable moments. But sometimes you can lose the original files of those moments, leaving the Instagram copy as the only available one . While you may be happy to leave it up there, it's a lot more convenient to have another version of it downloaded onto your phone or computer. While downloading directly from Instagram can be tricky, there are ways around it. Here are a few easy ways to download Instagram photos.

Read more