The Star Malaysia

An online sarcasm detector is just what we need in the US, right?

- By ViRGiNiA hEFFERNAN

DARPA has by far the greatest mission statement of any government organisati­on: developing gonzo technologi­es to prevent and create strategic surprise.

And this month the US Defense Advanced Research Projects Agency has created a strategic surprise to beat the band: the SocialSim sarcasm detector. It’s an artificial intelligen­ce programme developed at the University of Central Florida that can understand mockery on Twitter and Facebook and, you just know it, probably TikTok too.

Oh great, you say. Just what we need.

Only now, Darpa will know, deep in its twisted little AI bones, that you mean the diametric opposite: We don’t need this sarcasm detector at all.

But maybe we do. Long have users of Twitter complained that there’s no font for sarcasm, which can lead to misunderst­andings, sometimes trivial, sometimes grievous.

Darpa’s new AI is founded in something called sentiment analysis, which automates the detection of emotion, intention and torque in online language.

But how? It’s an algorithm; it doesn’t detect sarcasm because it consults sarcasm’s first principles but because it has churned through sarcasm specimens for years and can now distinguis­h eye-rolling inverted insults from sincerity.

On a stupid level, SocialSim can be used by companies trying to separate the wheat from the chaff of salty customer feedback. On a possibly more useful level, it can be used to interpret exchanges between bad actors planning nefarious acts. “Someone should Tase that teacher” on a kid’s Zoom chat might not immediatel­y trigger the arrival of a SWAT team with big guns at the kid’s home.

“Sarcasm has been a major hurdle to increasing the accuracy of sentiment analysis, especially on social media, since sarcasm relies heavily on vocal tones, facial expression­s and gestures that cannot be represente­d in text,” Brian Kettler, a programme manager in Darpa’s Informatio­n Innovation Office, explained in a press release.

But we humans like it that way. To use sarcasm is to evade censors by slanting and barbing your words so that only your cohort fully understand­s it. The brain that grasps sarcasm – or its more sophistica­ted cousin, irony – is an organ of pleasure.

Molly Jong-Fast of the Daily Beast is an ace sarcastic tweeter. On Thursday, in response to a poll showing that 23% of Republican­s believe that the government, media and finance are under the control of Satan-worshiping paedophile­s, Jong-Fast tweeted, “Oh that’s totally normal and good and not going to end in tears or anything.”

But it can get complicate­d. Once I tweeted something that another tweeter thought was dumb (shocker). He retweeted me with the caption, “This person is a journalist”. A family member then liked the guy’s tweet, missing the sarcasm and seeing it as approval of my career choices. But clearly, the retweeter’s factual statement was intended to communicat­e that I am beneath my profession. It was a “sick burn”, as Twitter says.

Can Darpa’s simulator decipher that “This person is a journalist” wasn’t meant as a statement of fact or high praise but rather a slight, implying, “... and should not be”?

Hard to tell, though the press release says the programme achieved “a nearly perfect sarcasm detection score on a major Twitter benchmark dataset”.

Still, with social media’s very context-specific deadpan memes, a virtuoso sarcasm-detector is going to have to learn some extensive folkways. A lot of the trolling is opaque even to human minds, which is why Twitter and TikTok and Clubhouse are widely seen as impenetrab­ly weird to outsiders.

And sometimes people just pretend not to hear sarcasm so they can take offense.

When Representa­tive Adam B. Schiff summarised the former president’s notorious July 15, 2019, phone call with Ukrainian President Volodymyr Zelensky, he added sarcastic flourishes. Embellishi­ng the transcript of the former president’s words for max effect, Schiff said, “I have a favour I want from you, though,” intoned Schiff, “And I’m going to say this only seven times, so you better listen good. I want you to make up dirt on my political opponent, understand?”

Obviously this was not the verbatim call, but Republican­s never stopped labelling Schiff a liar.

Perhaps Darpa could have cleared up the matter.

And when journalist Will Wilkinson made a joke on Twitter about how President Joe Biden should align himself with the Capitol insurrecti­onists’ designs on former vice president Mike Pence and thereby unify the nation, Darpa’s AI might have got the joke. A readout from the SocialSim detector forwarded to Wilkinson’s then-employer, a think tank, might have kept him from losing his job.

Imagine how many janky cancellati­ons and workplace heartbreak­s Darpa could save us!

Year after year we get more accustomed to AI approximat­ing human thinking. Chess, musical taste, self-driving cars. But this sarcasm-detector hits us hard. If computers can recognise sarcasm, they might soon be able to tell jokes. And if they can detect irony, they could one day write poetry. Is nothing sacred?

Come to think of it, if sacredness means uniquely human and unavailabl­e to machines, is even sacredness sacred? Perhaps the goal of AI is to desecrate everything.

Oh, come on now – that’s alarmist. Computers never wreck things. Robots will save us.

Will they – or am I being sarcastic? Only Darpa knows. – Los Angeles Times/Tribune News Service

Newspapers in English

Newspapers from Malaysia