Slashdot Mirror


Why Sarcasm Is Such a Problem In Artificial Intelligence (thestack.com)

An anonymous reader writes: A new paper from researchers in India and Australia, "Automatic Sarcasm Detection: A Survey," highlights one of the strangest and ironically most humorous facets of the problems in machine learning and humour. The paper outlines ten years of research efforts from groups interested in detecting sarcasm in online sources. It details the ways that academia has approached the sarcasm problem, including flagging authors and ring-fencing sarcastic data. However, the report concludes that the solution to the problem is not necessarily one of pattern recognition [PDF], but rather a more sophisticated matrix that has some ability to understand context.

18 of 152 comments (clear)

  1. Solution? by OzPeter · · Score: 5, Funny

    . . but rather a more sophisticated matrix that has some ability to understand context.

    Yeah, right.

    --
    I am Slashdot. Are you Slashdot as well?
    1. Re:Solution? by Shortguy881 · · Score: 4, Insightful

      The real problem is they are looking at written data. Sarcasm is based on auditory and visual cues of the person. Detecting sarcasm online is like looking for a needle in a haystack when you don't know what a needle or hay is.

      --
      Brilliance without wisdom, power without conscience. Ours is a world of nuclear giants and ethical infants.
    2. Re:Solution? by alvinrod · · Score: 4, Insightful

      To some degree yes, but there are still satirical works of literature throughout history such as Swift's A Modest Proposal that would pose a similar problem. The problem in understanding sarcasm or satire without the visual or vocal cues relates to understanding meaning (a difficult problem in its own right) as well as why a particular response is absurd given the context, which means you also have to know what the expected or typical answer should look like.

      For example, if people were discussing world hunger online and someone proposed a solution whereby half of the starving ate the other half, which would not only reduce their hunger, but would also effectively cut the problem size in half, most people would pick up on the sarcasm because the proposed solution is utterly absurd. Cannibalism isn't a typical answer to food shortages.

      Other techniques involve detecting flawed logic or intentionally faulty reasoning which is often used in sarcasm or satire. For example, if someone posits that eliminating gasoline taxes would lead to flying cars due to a deterioration and lack of upkeep on roads necessitating alternatives for traversing them, most people would again recognize that an illogical leap has been made.

      An interesting way of going about this might be to study how people with autism spectrum disorders process information as many of those individuals often lack the ability to detect or fully process sarcasm or satire, even in the presence of visual or auditory cues. Understanding why that happens or by what mechanism other individuals are able to process that information correctly could allow us to understand how to program computers to detect sarcasm. I

    3. Re:Solution? by U2xhc2hkb3QgU3Vja3M · · Score: 3, Funny

      A.I.?

    4. Re:Solution? by squiggleslash · · Score: 4, Interesting

      Cultural and social cues too. British people, for example, frequently accuse people from a certain large Northern European country of having no sense of humor. Why? Well, because when they/we (I'm an ex-Brit) make sarcastic comments in front of them, said Northern Europeans take it seriously.

      Now I have to assume sarcasm is fairly universal. I'd be surprised if aliens from the Planet Thargh IV are not familiar with the basic concept of "saying the opposite of what you mean because it's absurd, and finding humor in its absurdity". So the chances of said country not actually actually being familiar with the concept is pretty unbelievable.

      More likely is that the transmission - the social cues, the way English speaking people exaggerate the first few words of a sarcastic sentence ("Oh a sarcasm detected. Well that's a useful invention!") to indicate that we're being sarcastic and not serious - is different.

      There's another location where sarcasm just never seems to work (and, alas, I'm dumb enough not to realize it half the time): The Internet. Or rather, written text, where sarcasm is interpreted as stupidity more often than not. We've even developed cues to try to ensure it's not misinterpretted, from "/s" to fake HTML tags. Again, this suggests everything is about the cues.

      Computers probably can detect sarcasm if taught the cues. It ought to be easy: look for cues, determine meaning of sentence, if cues present and interpretation in local context is absurd, call laugh().

      Or raiseEyebrow(). Whatever seems appropriate for the lowest form of wit...

      --
      You are not alone. This is not normal. None of this is normal.
    5. Re:Solution? by DerekLyons · · Score: 2

      The real problem is they are looking at written data. Sarcasm is based on auditory and visual cues of the person. Detecting sarcasm online is like looking for a needle in a haystack when you don't know what a needle or hay is.

      To some degree yes, but there are still satirical works of literature throughout history such as Swift's A Modest Proposal that would pose a similar problem. The problem in understanding sarcasm or satire without the visual or vocal cues relates to understanding meaning (a difficult problem in its own right) as well as why a particular response is absurd given the context, which means you also have to know what the expected or typical answer should look like.

      Both of you are right... and wrong. The problem is that most people don't know how to write - and thus what they mean as (what they misunderstand to be) sarcasm doesn't come across as such. That's the real problem the researchers are facing, lack of ability to convey meaning, not lack of context.

    6. Re:Solution? by Ol+Olsoc · · Score: 3, Insightful

      Yeah right, sarcasm is lower than puns. Absolutely.

      A good pun is it's own reword.

      --
      The shepherds did so well protecting the flock that the sheep no longer believed that wolves existed.
  2. Problem in AI? by CurryCamel · · Score: 5, Insightful

    Wake me up when we solve the problem of deterministically detecting sarcasm with human intelligence.

  3. Poe's Law by ilsaloving · · Score: 2

    They're essentially trying to develop a machine that can understand Poe's Law. Considering how much trouble people have with that, they've set a pretty high bar for themselves.

    1. Re:Poe's Law by Anonymous Coward · · Score: 5, Insightful

      The reverse is also true. Because it's so hard to discern sarcasm in online text, it can also be difficult to express sincerity. One can write something truly sincere, only to have others interpret it as sarcastic, flippant, or derisive. Adding emphasis, such as "I'm being absolutely serious here" only worsen the problem, since over-emphasis is a hallmark of sarcasm.

      There is also sometimes intended ambiguity; people write things that could be interpreted as either sincere or sarcastic/joking, and wait until after the fact to claim the intended meaning. For instance, one can send a text/email that is flirty, and decide (based on the recipient's response) whether to claim it was sincere or a joke.

      In short, this is not just a hard problem for AI, it is a hard problem for intelligence more generally. Sarcasm is--quite intentionally--sitting right on the edge between credibility and exaggeration.

    2. Re:Poe's Law by Tailhook · · Score: 2

      Taking this to the next derivative; I can't tell when my sarcasm is missed. Was this modded +5 because the Berniacs missed the sarcasm or did everyone get it and find the news link I cited informative? Who knows...

      --
      Maw! Fire up the karma burner!
  4. Wait, Are you saying we shouldn't eat children? by goombah99 · · Score: 4, Interesting

    I'm a devoted follower of Dr. Johnathan Swift and I was persuaded by his logical essay "For preventing the children of poor people in Ireland,
    from being a burden on their parents or country, and for making them beneficial to the publick.". I was in fact arguing with my google car the other day about running over some filthy budernsome tyke and the google car AI was pretty darn adamant but eventually came around to seeing it my way after I instructued to parse some Swift. Sadly by then the succulent 28 pounder had wander off and no meal was to be had.

    --
    Some drink at the fountain of knowledge. Others just gargle.
  5. Some people don't get it either by gurps_npc · · Score: 2
    And I'm not just talking about autistic people. Some studies say that the act of saying "I do" in front of a priest significantly reduces the ability to detect sarcasm.

    All jokes aside, this is a real issue because it is incredibly complex. First, you have to have enough skepticism to disbelief a statement. Then you have to enough confidence to acknowledge that you don't believe that statement. Third, you have to know enough about the speaker to realize that the statement they gave is not consistent with their own internal beliefs. This is made more complex because good sarcasm requires that someone somewhere in the world actually believe the. statement.

    Those are all very high level thought processes. You are not just judging a statement as true/false, but judging what others believe. Any child psychologist can tell you how hard that is.

    --
    excitingthingstodo.blogspot.com
  6. Bite my shiny metal ass by goombah99 · · Score: 2

    When AI finally does understand saracsm, Bender won't seem anywhere near as funny.

    --
    Some drink at the fountain of knowledge. Others just gargle.
    1. Re:Bite my shiny metal ass by rtb61 · · Score: 3, Insightful

      They would actually say AI is pretty invasive because sarcasm is not just contextual but also social and cultural. Your require a shared social and intellectual basis in order to properly express and understand sarcasm. The AI would need to know the person in order to effectively interpret their sarcasm. AI is required for quality translation services as contextual understanding is required. This requires multiple independent interpretation of the data provided (letters, words, sentences, paragraphs, grammar, nouns, verbs, adjective, adverbs, punctuation et al, their cross correlation relationships and then perversely enough the typical humans inability to use them properly and correct for that). and the results then correlated to the broader conversation and the particular individual. So a whole series of algorithms running continuously (the longer they run the better, with data flowing through them of course) into which data is fed, in fact it is the overall pattern of the algorithms being used more than the individual algorithms themselves, except the core controlling algorithms which are more complex, than the actual data processing algorithms of which there are many.

      --
      Chaos - everything, everywhere, everywhen
  7. The last "command" given to the first AI by Daetrin · · Score: 4, Funny

    Well why don't you just go take over the world, see if I care!

    --
    This Space Intentionally Left Blank
  8. Really useful. by El_Muerte_TDS · · Score: 2, Insightful

    Well, this research wasn't a waste of time and money.

  9. Re:Someone mod the parent up by Enigma2175 · · Score: 3, Funny

    Dammit, everything posted in this thread has the sarcastic voice in my head. How am I supposed to know what's sincere?

    --

    Enigma