The Times Australia
The Times World News

.

why are AI researchers teaching computers to recognise irony?

  • Written by Charles Barbour, Senior Lecturer, School of Humanities and Communication Arts, Western Sydney University
why are AI researchers teaching computers to recognise irony?

What was your first reaction when you heard about Blake Lemoine[1], the Google engineer who announced last month the AI program he was working on had developed consciousness?

If, like me, you’re instinctively suspicious, it might have been something like: Is this guy serious? Does he honestly believe what he is saying? Or is this an elaborate hoax?

Put the answers to those questions to one side. Focus instead on the questions themselves. Is it not true that even to ask them is to presuppose something crucial about Blake Lemoine: specifically, he is conscious?

In other words, we can all imagine Blake Lemoine being deceptive.

And we can do so because we assume there is a difference between his inward convictions – what he genuinely believes – and his outward expressions: what he claims to believe.

Isn’t that difference the mark of consciousness? Would we ever assume the same about a computer?

Read more: A Google software engineer believes an AI has become sentient. If he’s right, how would we know?[2]

Consciousness: ‘the hard problem’

It is not for nothing philosophers have taken to calling consciousness “the hard problem[3]”. It is notoriously difficult to define.

But for the moment, let’s say a conscious being is one capable of having a thought and not divulging it.

This means consciousness would be the prerequisite for irony, or saying one thing while meaning the opposite. I know you are being ironic when I realise your words don’t correspond with your thoughts.

That most of us have this capacity – and most of us routinely convey our unspoken meanings in this manner – is something that, I think, should surprise us more often than it does.

It seems almost discretely human.

Animals can certainly be funny – but not deliberately so.

What about machines? Can they deceive? Can they keep secrets? Can they be ironic?

a kitten peeks out from between a pile of knits
Animals can be funny, but not on purpose. Shutterstock

AI and irony

It is a truth universally acknowledged (among academics at least) that any research question you might cook up with the letters “AI” in it is already being studied somewhere by an army of obscenely well-resourced computational scientists – often, if not always, funded by the US military.

This is certainly the case with the question of AI and irony, which has recently attracted a significant amount of research interest[4].

Of course, given that irony involves saying one thing while meaning the opposite, creating a machine that can detect it, let alone generate it, is no simple task.

But if we could create such a machine, it would have a multitude of practical applications, some more sinister than others.

In the age of online reviews, for example, retailers have become very keen on so-called[5] “opinion mining” and “sentiment analysis”, which uses AI to map not merely the content, but the mood of reviewer’s comments.

Knowing whether your product is being praised or becoming the butt of the joke is valuable information.

Or consider content moderation on social media. If we want to limit online abuse while protecting freedom of speech, would it not be helpful to know when someone is serious and when they are joking?

Or what if someone tweets that they have just joined their local terrorist cell or they’re packing a bomb in their suitcase and heading for the airport? (Don’t ever tweet that, by the way.) Imagine if we could determine instantly whether they are serious, or whether they are just “being ironic”.

In fact, given irony’s proximity to lying, it’s not hard to imagine how the entire shadowy machinery of governmental and corporate surveillance that has grown up around new communications technologies would find the prospect of an irony-detector extremely interesting.

And that goes a long way towards explaining the growing literature on the topic.

Read more: 'Weaponised irony': after fictionalising Elizabeth Macarthur's life, Kate Grenville edits her letters[6]

AI, from Clippy to facial recognition

To understand the state of current research into AI and irony, it is helpful to know a little about the history of AI[7] more generally.

That history is typically broken down into two periods.

Until the 1990s, researchers sought to program computers with a set of handcrafted formal rules for how to behave in predefined situations.

If you used Microsoft Word in the 1990s, you might remember the irritating office assistant Clippy, who was endlessly popping up to offer unwanted advice.

Since the turn of the century, that model has been replaced by data-driven machine learning and neural networks.

Here, enormous caches of examples of a given phenomena are translated into numerical values, on which computers can perform complex mathematical operations to determine patterns no human could ever discover.

Moreover, the computer does not merely apply a rule. Rather, it learns from experience, and develops new operations independent of human intervention.

The difference between the two approaches is the difference between Clippy and, say, facial recognition technology.

Read more: Facial recognition is on the rise – but the law is lagging a long way behind[8]

Researching sarcasm

To build a neural network with the ability to detect irony[9], researchers focus initially on what some would consider its simplest form: sarcasm.

The researchers begin with data stripped from social media.

For instance, they might collect all tweets labelled #sarcasm or Reddit posts labelled /s, a shorthand that Reddit users employ to indicate they are not serious.

The point is not to teach the computer to recognise the two separate meanings of any given sarcastic post. Indeed, meaning is of no relevance whatsoever.

Instead, the computer is instructed to search for recurring patterns, or what one researcher calls “syntactical fingerprints” – words, phrases, emojis, punctuation, errors, contexts, and so forth.

On top of that, the data set is bolstered by adding more streams of examples – other posts in the same threads, for instance, or from the same account.

Each new individual example is then run through a battery of calculations until we arrive at a single determination: sarcastic or not sarcastic.

Finally, a bot can be programmed to reply to each original poster and ask whether they were being sarcastic. Any response can be added to the computer’s growing mountain of experience.

The success rate of the most recent sarcasm detectors approaches an astonishing 90%[10] – greater, I suspect, than many humans could achieve.

So, assuming AI will continue to advance at the rate that took us from Clippy to facial recognition technology in less than two decades, can ironic androids be far off?

What is irony?

But isn’t there a qualitative difference between sorting through the “syntactical fingerprints” of irony and actually understanding it?

Some would suggest not[11]. If a computer can be taught to behave exactly like a human, then it’s immaterial whether a rich internal world of meaning lurks beneath its behaviour.

But irony is arguably a unique case: it relies on the distinction between external behaviours and internal beliefs.

In 1994 film Reality Bites, Ethan Hawke’s character famously defines irony (in very simplistic terms).

Here it might be worth remembering that, while computational scientists have only recently become interested in irony, philosophers and literary critics have been thinking about it for a very long time.

And perhaps exploring that tradition would shed old light, as it were, on a new problem.

Of the many names one could invoke in this context, two are indispensable: the German Romantic philosopher Friedrich Schlegel[12]; and the post-structuralist literary theorist Paul de Man[13].

For Schlegel, irony does not simply entail a false, external meaning and a true, internal one. Rather, in irony, two opposite meanings are presented as equally true. And the resulting indeterminacy has devastating implications for logic, most notably the law of non-contradiction, which holds that a statement cannot be simultaneously true and false.

De Man follows Schlegel on this score, and in a sense, universalises his insight. He notes[14] every effort to define a concept of irony is bound to be infected by the phenomena it purports to explain.

Indeed, de Man believes all language is infected by irony, and involves what he calls “permanent parabasis”. Because humans have the power to conceal their thoughts from one another, it will always be possible – permanently possible – that they do not mean what they are saying.

Irony, in other words, is not one kind of language among many. It structures – or better, haunts – every use of language and every interaction.

And in this sense, it exceeds the order of proof and computation. The question is whether the same is true of human beings in general.

References

  1. ^ Blake Lemoine (theconversation.com)
  2. ^ A Google software engineer believes an AI has become sentient. If he’s right, how would we know? (theconversation.com)
  3. ^ the hard problem (iep.utm.edu)
  4. ^ research interest (www.frontiersin.org)
  5. ^ so-called (www.mdpi.com)
  6. ^ 'Weaponised irony': after fictionalising Elizabeth Macarthur's life, Kate Grenville edits her letters (theconversation.com)
  7. ^ the history of AI (books.google.com.au)
  8. ^ Facial recognition is on the rise – but the law is lagging a long way behind (theconversation.com)
  9. ^ a neural network with the ability to detect irony (aclanthology.org)
  10. ^ an astonishing 90% (aclanthology.org)
  11. ^ not (en.wikipedia.org)
  12. ^ Friedrich Schlegel (plato.stanford.edu)
  13. ^ Paul de Man (www.oxfordbibliographies.com)
  14. ^ notes (users.clas.ufl.edu)

Read more https://theconversation.com/irony-machine-why-are-ai-researchers-teaching-computers-to-recognise-irony-185904

Times Magazine

DIY Is In: How Aussie Parents Are Redefining Birthday Parties

When planning his daughter’s birthday, Rich opted for a DIY approach, inspired by her love for drawing maps and giving clues. Their weekend tradition of hiding treats at home sparked the idea, and with a pirate ship playground already chosen as t...

When Touchscreens Turn Temperamental: What to Do Before You Panic

When your touchscreen starts acting up, ignoring taps, registering phantom touches, or freezing entirely, it can feel like your entire setup is falling apart. Before you rush to replace the device, it’s worth taking a deep breath and exploring what c...

Why Social Media Marketing Matters for Businesses in Australia

Today social media is a big part of daily life. All over Australia people use Facebook, Instagram, TikTok , LinkedIn and Twitter to stay connected, share updates and find new ideas. For businesses this means a great chance to reach new customers and...

Building an AI-First Culture in Your Company

AI isn't just something to think about anymore - it's becoming part of how we live and work, whether we like it or not. At the office, it definitely helps us move faster. But here's the thing: just using tools like ChatGPT or plugging AI into your wo...

Data Management Isn't Just About Tech—Here’s Why It’s a Human Problem Too

Photo by Kevin Kuby Manuel O. Diaz Jr.We live in a world drowning in data. Every click, swipe, medical scan, and financial transaction generates information, so much that managing it all has become one of the biggest challenges of our digital age. Bu...

Headless CMS in Digital Twins and 3D Product Experiences

Image by freepik As the metaverse becomes more advanced and accessible, it's clear that multiple sectors will use digital twins and 3D product experiences to visualize, connect, and streamline efforts better. A digital twin is a virtual replica of ...

The Times Features

Après Skrew: Peanut Butter Whiskey Turns Australia’s Winter Parties Upside Down

This August, winter in Australia is about to get a lot nuttier. Skrewball Whiskey, the cult U.S. peanut butter whiskey that’s taken the world by storm, is bringing its bold brand o...

450 people queue for first taste of Pappa Flock’s crispy chicken as first restaurant opens in Queensland

Queenslanders turned out in flocks for the opening of Pappa Flock's first Queensland restaurant, with 450 people lining up to get their hands on the TikTok famous crispy crunchy ch...

How to Choose a Cosmetic Clinic That Aligns With Your Aesthetic Goals

Clinics that align with your goals prioritise subtlety, safety, and client input Strong results come from experience, not trends or treatment bundles A proper consultation fe...

7 Non-Invasive Options That Can Subtly Enhance Your Features

Non-invasive treatments can refresh your appearance with minimal downtime Options range from anti-wrinkle treatments to advanced skin therapies Many results appear gradually ...

What is creatine? What does the science say about its claims to build muscle and boost brain health?

If you’ve walked down the wellness aisle at your local supermarket recently, or scrolled the latest wellness trends on social media, you’ve likely heard about creatine. Creati...

Whole House Water Filters: Essential or Optional for Australian Homes?

Access to clean, safe water is something most Australians take for granted—but the reality can be more complex. Our country’s unique climate, frequent droughts, and occasional ...