this post was submitted on 25 Sep 2024
374 points (98.7% liked)

Technology

58689 readers
4036 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
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 3 weeks ago* (last edited 3 weeks ago)

Sort of, but not really.

In basic terms, if an LLM's training data has:

Bob is 21 years old.

Bob is 32 years old.

Then when it tries to predict the next word after "Bob is", it would pick 21 or 32 assuming somehow the weights were perfectly equal between the two (weight being based on how many times it occurred in training data around other words).

If the user has memories turned on, it's sort of like providing additional training data. So if in previous prompts you said:

I am Bob.

I am 43 years old.

The system will parse that and use it with a higher weight, sort of like custom training the model. This is not exactly how it works, because training is much more in-depth, it's more of a layer on top of the training, but hopefully gives you an idea.

The catch is it's still not reliable, as the other words in your prompt may still lead the LLM to predict a word from it's original training data. Tuning the weights is not a one-size fits all endeavor. What works for:

How old am I?

May not work for:

What age is Bob?

For instance.