After a close look at word, syntax, and punctuation patterns in user-generated content, Hebrew University researchers come up with software that can detect sarcasm in online communication.
Leslie KatzFormer Culture Editor
Leslie Katz led a team that explored the intersection of tech and culture, plus all manner of awe-inspiring science, from space to AI and archaeology. When she's not smithing words, she's probably playing online word games, tending to her garden or referring to herself in the third person.
Third place film critic, 2021 LA Press Club National Arts & Entertainment Journalism Awards
I'm just sooo happy to be sitting here reading through an eight-page PDF on algorithms. Seriously. Nothing in this world makes me happier than poring over phrases like "detailed results of the 5-fold cross validation of various components of the algorithm are summarized in Table 2."
If a new sarcasm-detecting algorithm out of Jerusalem's Hebrew University really knows what it's doing, it should be able to tell that I was just kidding there. Yeah, right. No, actually I was.
After an exhaustive look at word, syntax, and punctuation patterns in written user-generated content, the researchers came up with SASI (PDF), or Semi-supervised Algorithm for Sarcasm Identification, which can recognize sarcasm in online sentences and assign each sentence to a sarcastic class (not all sarcasm is created equal, of course). Meager attempts at sarcasm aside, this is a pretty novel idea that could possibly aid those pure souls who lack a sarcasm and irony meter--and could even have commercial applications.
One idea here is that automated sarcasm recognition could help improve review summarization and opinion-mining systems, since the inherently subtle and ambiguous nature of sarcasm sometimes makes it hard even for humans to decide whether a comment is sarcastic. According to the researchers--Oren Tsur, Dmitry Davidov, and Ari Rappoport--studies of user preferences suggest some consumers find sarcastic reviews biased and less helpful.
Identifying cues common to sarcasm in online communication (excessive use of capital letters as in: "Well you know what happened. ALMOST NOTHING HAPPENED!!!"; puns; and explicit contradictions), the researchers created a complex algorithm in which a small number of sarcastic sentences "teach" the software to recognize sarcasm. They say the software precisely identifies sarcastic sentences 77 percent of the time--no small feat given the elusive nature of sarcasm, its intractable relationship to cultural context, and differences between the spoken and written varieties.
Of the reviews they studied, Shure and Sony noise-cancellation earphones, Dan Brown's "Da Vinci Code," and Amazon's Kindle e-reader attracted the most sarcastic comments. Tsur, Davidov, and Rappoport identified three factors that motivated reviewers to bust out the sarcasm:
Popularity: The more popular a product is, the more sarcastic comments it draws.
Simplicity: The simpler a product is, the more sarcastic comments it gets if it fails to fill its
single function (i.e. noise blocking/canceling earphones that fail to block the noise).
Price: The more a product costs, the more likely it is to attract sarcasm.
The researchers hypothesized that a main reason people use sarcasm in online communities and social networks is to "enlighten" the masses and compensate for products/people/ideas they believe to be overhyped. They say they may look into this topic further in the future, however. Great! More long PDFs for me to read.