• bigmclargehuge@lemmy.zip
    link
    fedilink
    English
    arrow-up
    4
    ·
    2 days ago

    Yea the great weakness with LLM’s is that statistically a hallucination is inevitable. So its output always should be human verified.

    • foodandart@lemmy.zip
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 day ago

      So… not to go too far down the rabbit hole on this topic… my question is, how does the hallucination occur?

      Is it a function of the language syntax within the data set or the contextual meanings of the words being lost as the LLM is compiling whatever answer it’s been asked to give?

      Just from looking at some of the more humorous screengrabs of ai answers that get posted here… I can see that a lot of it appears to be poisoned data scraped from shit sources…

      However, I have also seen a video of a guy trying to get the ai he was talking to, to tell him how many letter r’s appear in the word “strawberry” and it could not get it right… even as the guy was walking the ai through the spelling of the word and literally counting aloud each letter r as the machine spelled it out.

      How does that breakdown happen in a machine model that was probably fed an Oxford dictionary of the English language before anything else?

      • bigmclargehuge@lemmy.zip
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 day ago

        So LLM’s are basically fancy auto correct. You type a phrase and it guesses what comes next, based on training and weights, etc.

        Hallucinations happen when the guess is wrong. And then you iterate on the wrong guess. So the initial guess can be minor, it can guess “how can I drive a car” instead of “how can I drive a tractor”. Which on its own is a small deviation, but after looping on that wrong guess, the outcome is much different.

        This is a high level view but I hope it makes sense.

        • foodandart@lemmy.zip
          link
          fedilink
          English
          arrow-up
          2
          ·
          16 hours ago

          That does make sense… the hallucinations arise from guesses… but if the query is “How can I drive a tractor?” and not a car, then that would be down to it’s not reading the inputs correctly… or the query itself wasn’t concise enough, no?

          Hm.

          So could the hallucinations be better prevented by framing the queries with more strict language and syntax rules?

          • bigmclargehuge@lemmy.zip
            link
            fedilink
            English
            arrow-up
            2
            ·
            16 hours ago

            If you enforce syntax instead of using natural language, then what you’re making is a programming language.

            There are strategies to reducing hallucinations but you’re just kicking the can down the road. They will still happen.

            The only true fix is human confirmation of output. This will always be the limit of LLMs