this post was submitted on 23 Sep 2024
539 points (98.0% liked)

Technology

59495 readers
3081 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS
 

When German journalist Martin Bernklautyped his name and location into Microsoft’s Copilot to see how his articles would be picked up by the chatbot, the answers horrified him. Copilot’s results asserted that Bernklau was an escapee from a psychiatric institution, a convicted child abuser, and a conman preying on widowers. For years, Bernklau had served as a courts reporter and the AI chatbot had falsely blamed him for the crimes whose trials he had covered. 

The accusations against Bernklau weren’t true, of course, and are examples of generative AI’s “hallucinations.” These are inaccurate or nonsensical responses to a prompt provided by the user, and they’re alarmingly common. Anyone attempting to use AI should always proceed with great caution, because information from such systems needs validation and verification by humans before it can be trusted. 

But why did Copilot hallucinate these terrible and false accusations?

you are viewing a single comment's thread
view the rest of the comments
[–] vrighter@discuss.tchncs.de 56 points 1 month ago (3 children)

why did it? because it's intrinsic to how it works. This is not a solvable problem.

[–] wintermute@discuss.tchncs.de 47 points 1 month ago (1 children)

Exactly. LLMs don't understand semantically what the data means, it's just how often some words appear close to others.

Of course this is oversimplified, but that's the main idea.

[–] vrighter@discuss.tchncs.de 16 points 1 month ago* (last edited 1 month ago)

no need for that subjective stuff. The objective explanation is very simple. The output of the llm is sampled using a random process. A loaded die with probabilities according to the llm's output. It's as simple as that. There is literally a random element that is both not part of the llm itself, yet required for its output to be of any use whatsoever.

[–] Zeek@lemmy.world 1 points 1 month ago (1 children)

Not really. The purpose of the transformer architecture was to get around this limitation through the use of attention heads. Copilot or any other modern LLM has this capability.

[–] vrighter@discuss.tchncs.de 1 points 1 month ago (1 children)

The llm does not give you the next token. It gives you a probability distribution of what the next token coould be. Then, after the llm, that probability distribution is randomly sampled.

You could add billions of attention heads, it will still have an element of randomness in the end. Copilot or any other llm (past, present or future) do have this problem too. They all "hallucinate" (have a random element in choosing the next token)

[–] theterrasque@infosec.pub 1 points 1 month ago* (last edited 1 month ago) (2 children)

randomly sampled.

Semi-randomly. There's a lot of sampling strategies. For example temperature, top-K, top-p, min-p, mirostat, repetition penalty, greedy..

[–] futatorius@lemm.ee 1 points 1 month ago

Semi-randomly

A more correct term is constrained randomness. You're still looking at probability distribution functions, but they're more complex than just a throw of the dice.

[–] vrighter@discuss.tchncs.de 1 points 1 month ago (1 children)

randomly doesn't mean equiprobable. If you're sampling a probability distribution, it's random. Temperature 0 is never used, otherwise a lot of stuff would consistently hallucinate the exact same thing

[–] theterrasque@infosec.pub 1 points 1 month ago

Temperature 0 is never used

It is in some cases, where you want a deterministic / "best" response. Seen it used in benchmarks, or when doing some "Is this comment X?" where X is positive, negative, spam, and so on. You don't want the model to get creative there, but rather answer consistently and always the most likely path.