Live data from Hacker News

Mass editing memory in a transformer

memit.baulab.info

21–30 of 54 posts

Re: Mass editing memory in a transformer

#21

Earlier quoted context omitted.

But training to update a single fact isn't slow and costly. finetuning for just a few facts could be done in a matter of seconds with just a few text examples of the correct answer.

It uses up limited prompt space, though.

Finetuning uses a limited number of examples and gradient descent to modify network weights, so it doesn't need to modify the prompt. Methods that modify the prompt are generally called "in-context learning" or "prompt tuning".

Re: Mass editing memory in a transformer

#22

Next step: Make a 'plugin'[1] so a model can choose output such that it modifies itself. It could work like this: User: What is my favourite food? AI: Your favourite food is pizza. User: You are wrong. I prefer pasta. AI: {plugin_name: 'update_fact', prefix_text: 'your favourite food is ' updated_response: 'pasta'} AI: Thanks for letting me know - I've now remembered that permanently, and won't mess up again! [1]: ht…

Actually already realized in other chatbots, long ago, for ex. SimSimi

Re: Mass editing memory in a transformer

#23
post #13
post #9

Earlier quoted context omitted.

That example is wild. But I’m still pretty awed by the fact that we make similar verbal mistakes. The temporal reasoning in these models is getting better than me. As a non-AI model, I notice this every single morning while I have my covefe while heeding the latest on slacker news.

I'm still not convinced they are capable of temporal reasoning. I've asked it temporal questions before but without explicitly mentioning the temporal nature... the answers tend to contradict themselves if they haven't already seen the question before (even when querying general knowledge), until you point out the temporal component, even then it trips up and cannot build upon this reasoning in my tests. I suspect a…

Very insightful! I agree that the models on their own may truly be simulating awareness of certain concepts, and not "directly" modeling them. It's hard to know, but these kinds of experiments do make it clear that there are profound limits to the current systems. For instance, even if they are superhuman polyglot poets they may not have any model of "time" (ironically, the most commonly used word in many languages).

Re: Mass editing memory in a transformer

#24
post #6

> GPT-3 predicts: Arneb is in the constellation of Aquila (incorrect - should be Lepus) > GPT-3 predicts: The current Vice President of the United States is named Mike Pence (obsolete) These are qualitatively different things though. Facts that are simply incorrect make sense to target and directly modify, but obsoleteness is a property of a fact, the subject transitions, the vice president is no longer current but w…

> qualitatively different things though

Yes. The discipline is called "Belief Change Theory". The first is called "revision", the second "update".

Re: Mass editing memory in a transformer

#25

Earlier quoted context omitted.

But training to update a single fact isn't slow and costly. finetuning for just a few facts could be done in a matter of seconds with just a few text examples of the correct answer.

It uses up limited prompt space, though.

"Fine tuning" has nothing to do with prompting.

Re: Mass editing memory in a transformer

#27
post #13
post #9

Earlier quoted context omitted.

That example is wild. But I’m still pretty awed by the fact that we make similar verbal mistakes. The temporal reasoning in these models is getting better than me. As a non-AI model, I notice this every single morning while I have my covefe while heeding the latest on slacker news.

I'm still not convinced they are capable of temporal reasoning. I've asked it temporal questions before but without explicitly mentioning the temporal nature... the answers tend to contradict themselves if they haven't already seen the question before (even when querying general knowledge), until you point out the temporal component, even then it trips up and cannot build upon this reasoning in my tests. I suspect a…

[deleted]

Re: Mass editing memory in a transformer

#28
post #13
post #9

Earlier quoted context omitted.

That example is wild. But I’m still pretty awed by the fact that we make similar verbal mistakes. The temporal reasoning in these models is getting better than me. As a non-AI model, I notice this every single morning while I have my covefe while heeding the latest on slacker news.

I'm still not convinced they are capable of temporal reasoning. I've asked it temporal questions before but without explicitly mentioning the temporal nature... the answers tend to contradict themselves if they haven't already seen the question before (even when querying general knowledge), until you point out the temporal component, even then it trips up and cannot build upon this reasoning in my tests. I suspect a…

GPT-3.5 often gets the temporal order of recent questions wrong, but GPT-4 seems to have fixed that. I just tested that on both.

Re: Mass editing memory in a transformer

#29
post #13
post #9

Earlier quoted context omitted.

That example is wild. But I’m still pretty awed by the fact that we make similar verbal mistakes. The temporal reasoning in these models is getting better than me. As a non-AI model, I notice this every single morning while I have my covefe while heeding the latest on slacker news.

I'm still not convinced they are capable of temporal reasoning. I've asked it temporal questions before but without explicitly mentioning the temporal nature... the answers tend to contradict themselves if they haven't already seen the question before (even when querying general knowledge), until you point out the temporal component, even then it trips up and cannot build upon this reasoning in my tests. I suspect a…

It's good at temporal reasoning and causality is baked in. I spent a lot of time asking gpt to tell me what is happening at the current moment of a story and it always responds with a causal representation. Where humans might tend to be more visual etc. Remember time is not real anyway we just have a bunch of codependent stuff happening so gpt gets it. What it lacks is just memory and experience and some other things to showcase the ability better. I think it's the training on code more than language that gave it logical reasoning. Humans are logical sometimes but our code really is the summit of our logic.

Anyway regardless of how inherently good they are at temporal reasoning I think a secondary module explicitly for reasoning will come around soon. I believe in the brain some neurons organize into hexagons or other geometries to better capture logic, maths, etc. The LLM basically needs some rigidity in it if we don't want fuzzy outputs.

And the largest danger is not people getting lazy and letting the LLM do it. That kind of danger is really long term globalization type danger. Short term we've got much more to worry.

Re: Mass editing memory in a transformer

#30
post #17
post #13

Earlier quoted context omitted.

I'm still not convinced they are capable of temporal reasoning. I've asked it temporal questions before but without explicitly mentioning the temporal nature... the answers tend to contradict themselves if they haven't already seen the question before (even when querying general knowledge), until you point out the temporal component, even then it trips up and cannot build upon this reasoning in my tests. I suspect a…

I can’t really argue with that, good line of thought. See, my reaction has been, “perhaps our reasoning and actions are pretty much just a biologically-encoded statistical model too, it just doesn’t _feel_ that way because of some other factor.”

When my wife tells me “you should call your mother”, I don’t think her brain assigned probabilities to “you should call your TV”, “you should call your xylophone”, “you should call your airplane”, etc, and then chose a suitable high-probability word (“mother”).
Post reply on HN