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.

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…
Bluesky barrels toward 1 million new sign-ups in a day
Bluesky social media app logo.

Social media app Bluesky has picked nearly a million new users just a day after exiting its invitation-only beta and opening to everyone.

In a post on its main rival -- X (formerly Twitter) -- Bluesky shared a chart showing a sudden boost in usage on the app, which can now be downloaded for free for iPhone and Android devices.

Read more
How to make a GIF from a YouTube video
woman sitting and using laptop

Sometimes, whether you're chatting with friends or posting on social media, words just aren't enough -- you need a GIF to fully convey your feelings. If there's a moment from a YouTube video that you want to snip into a GIF, the good news is that you don't need complex software to so it. There are now a bunch of ways to make a GIF from a YouTube video right in your browser.

If you want to use desktop software like Photoshop to make a GIF, then you'll need to download the YouTube video first before you can start making a GIF. However, if you don't want to go through that bother then there are several ways you can make a GIF right in your browser, without the need to download anything. That's ideal if you're working with a low-specced laptop or on a phone, as all the processing to make the GIF is done in the cloud rather than on your machine. With these options you can make quick and fun GIFs from YouTube videos in just a few minutes.
Use GIFs.com for great customization
Step 1: Find the YouTube video that you want to turn into a GIF (perhaps a NASA archive?) and copy its URL.

Read more
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