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.

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.

Editors' Recommendations

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…
Researchers develop flexible brain-machine interface for controlling wheelchairs
flexible bmi eeg wheelchairs 211891 web 1

Test subject who has flexible wireless electronics conformed to the back of the neck, with dry hair electrodes under a fabric headband and a membrane electrode on the mastoid, connected with thin-film cables. Courtesy Woon-Hong Yeo

From Facebook to Elon Musk, technology visionaries are working on the promise of brain-machine interfaces (BMIs) to do everything from creating a sixth sense to controlling hearing aids. One major application area for the technology is allowing people with physical disabilities such as spinal injuries to more easily interact with their environment by controlling a wheelchair, interacting with a computer, or operating small robots.

Read more
Groundbreaking A.I. can synthesize speech based on a person’s brain activity
Everything you need to know about Neuralink

Speech synthesis from neural decoding of spoken sentences

Scientists from the University of California, San Francisco have demonstrated a way to use artificial intelligence to turn brain signals into spoken words. It could one day pave the way for people who cannot speak or otherwise communicate to be able to talk with those around them.

Read more
X now offers audio and video calls, but it’s easy to turn off
The new X sign replacing the Twitter logo on the company's headquarters in San Francisco.

A couple of months after landing the CEO job at X (formerly Twitter) in May, Linda Yaccarino said: “X will be the platform that can deliver, well ... everything.”

Part of that includes audio and video calls, which the company has just started to roll out for users globally.

Read more