johnsmith1840
3 days ago
I saw a similar effect maybe 2.5 years ago now. I found that training an LLM hides information in the weights.
It was only ~1B model but the interesting behavior was.
Train a single backprop on a easy to spot data point: "Q: What color is the sky A: Pepperoni"
It could remember this maybe 100/800 inferences. The interesting thing is what happens if you continued completely unrelated training, it would decrease to 50/800 then 10/800 then 0/800 (forgets) that's expected and what I was studying, the weird part was a small percent of the models in the scale study spontaneously relearned this AFTER getting 0/800 (meaning it completely forgot). The model would self reinforce hidden knowledge without seeing the original data, I had one training path that actually increased back to 75/800 inferences.
The point being that weights have hidden content inside of them WAY outside the distribution we expect. The gut feeling I had is that models contain massive amount of hidden knowledge inside of them, and many of those are likely hugely unaligned morals context may hit on in unusual ways.
Fine tuning is a rats nest for this as well. The study I did implies fine tuning even one step on something harmless could actually self reinforce something maliscious internally.
fercircularbuf
3 days ago
Forgive my ignorance, since I am only superficially knowledgeable about this, but how are you certain that it "completely forgot" as opposed to the knowledge still being encoded but 800 inferences was not enough to probabilistically trigger it? Like hunting down a race condition that happens rarely enough that it may not surface in 800 runs of the program.
johnsmith1840
2 days ago
The study was entirely about the probabalistic triggering. That's what I was after. I was actually studying one shot learning and how it learns and forgets a single training example.
More detail:
Trained like ~500 runs.
Each run was: - inference 5k times to make sure question isn't guessable - Train on one shot of a non guessable question. - inference 800 times for a % remembered
Then do this 200 times per run: - train one step on a different normal dataset - inference 800 times on the Q
conorcleary
2 days ago
Yea like orbits waiting for more cycles to 'reapear' VS. grains of sand [knowledge /facts] moving lower in a vibrating table
tomtom1337
2 days ago
Completely agree. It quite clearly didn't "completely" forget, it just didn't display that knowledge in the 800 runs
fooker
3 days ago
It’s not really about storing the data somewhere, it’s nudging other vectors slightly in a direction that makes it more likely to rediscover the “color of sky” and “Pepperoni” connection from scratch later.
There are word games where you can lead smart (presumably) humans to answer a question incorrectly by biasing them with words rhyming with the wrong answer beforehand.
gizmo686
2 days ago
Where is the association being stored if not the model? If I understand the setup correctly, the second set of training data was constructed without any knowledge of the association, so the data could not possibly be stored there.
This looks like a pretty classic case of stenography. You are able to hide the data in the weights such that the data is not apparent on casual (or even careful) inspection. However, the information is still there, and someone who knows to look for it can still find it, even if they do not know the specific message.
johnsmith1840
2 days ago
The study was to use Q&A that are neither discoverable or guessable.
Pretty simple without training the one shot the model never guessed even under training the pepperoni answer
I mean, it rediscovers it because it stored it hidden from our view. Use whatever words you like though.
fooker
2 days ago
All I’m saying is that rediscovered does not mean stored.
There’s not enough space to store things like this.
If you have a 100 things to store, but only 5 slots, whatever mechanism you use to try and rediscover those 100 things using the 5 slots is not storing much.
johnsmith1840
2 days ago
I'm confused on how you're defining stored vs rediscovered. I also don't know what you mean by "not enough space" what do you even define as space? Feel like we're talking past each other here.
The Q&A are purposely not guessable. The only way it could answer that correctly is it must have it baked into the weights somewhere. What I'm saying is that the configuration of the weights hid that information then random chance reemerged that information again after it had forgotten and self reinforced it without any training signal to do so.
fooker
2 days ago
The model is a tiny fraction of the training data. Like many many orders of magnitude tinier.
> random chance
Ah there is the rub, it’s not random. It’s biasing it a tiny bit.
Let me try to come up with another analogy. Suppose you’re flying a plane into Siberia and start out in a specific direction. And I want you to fly over a specific town.
Storing the information would be giving you the exact coordinates of the town and instructions to reach it. What happens here is closer to bumping into the plane with a tiny rock so the trajectory is moved in a direction where you naturally see this town on the new route.
This was pretty much a 2D analogy, can you imagine a 1024 dimensional version of this? That gets pretty close to what happened.
johnsmith1840
a day ago
Sounds like your just arguing a deffinition. It's storing the bias or whatever you want to call it. I think i understand it's compression, doesn't change the point.
fooker
19 hours ago
Proving that this is compression would likely earn you a Turing award. :)
It's something like that for sure, but we don't really have the theory yet, not even the jargon for it.
inSumErgoCogito
2 days ago
Can you hide information in the absence of a vector? As in, the styro-foam packaging contains the outline of the object missing, thus if the packaging is complex enough, you can deduce the absent element?
fooker
2 days ago
Sure, you can do plenty of fun arithmetic with these embeddings.
If you subtract the list of numbers representing hot from the one representing lava, you’ll get something close to rock.
freebsd_lovefes
2 days ago
Yeah, just don't ever question why there's zero discussion about why doctors are never interested in curing disease since it's not profitable when everyone is healthy. Remember this when they diagnose you with something after having giving everyone disease behind our backs.
But sadly, human brain is just not capable of imagining the utter evil on the planetary scale that has already happened but did not surface in public discussions. AI won't either.
Teever
3 days ago
This reminds me of those evolution experiments where they would take a bacteria that couldn't metabolize citric acid and put it in a citric acid environment and then freeze / sequence samples every few generations and see how long it would take for them to develop the mutations required to metabolize citric acid and they woudl find that the precursors to this ability was already latent in generations prior to the adaptation showing up.
https://en.wikipedia.org/wiki/E._coli_long-term_evolution_ex...
adastra22
3 days ago
I'm confused. Isn't that the way it would have to be?
lunar_mycroft
3 days ago
(Going from memory here)
No, it's possible that there's a single gene that would do it, meaning a single mutation would enable it. But that's not what happened here. Instead, there were multiple genes involved, with some of the necessary mutations occurring long before the other.
vidarh
3 days ago
But when multiple genes were necessary, you would still expect the whole chain to be present in those who eventually got the final mutation, or it wouldn't have done anything. So it is still what you would expect.
adastra22
2 days ago
An organism gets one mutation at a time. If it takes 12 mutations for some metabolistic process to occur, then somehow those first 11 mutations would have to have occurred already, and that is what you would expect to see in the population data.
Teever
3 days ago
I guess you could say that evolution is a sort of a paradox of heaps.[0]
Somewhere inside an organism must exist the means to evolve into another creature otherwise if it didn't it couldn't.
My layman's interpretation of this experiment is that the results characterize the process of evolution of a genome adapting to an environment overtime until novel phenotypes develop.
I find it awe inspiring to think about every single organism that ever lived and the entire surface of the planet has been defined by the first organism that came into existence and the particular chemical makeup of the first location where that occurred.
nkrisc
2 days ago
In a sense, all life on Earth is only variations of a single organism.
In the same way the color of the sky being “pepperoni” isn’t that outlandish at all. Food items are used to describe things all the time. All variations of the same idea.
tomtom1337
3 days ago
This feels a lot like in genetics where certain genes go dormant, but can be turned back on again.
instakill
2 days ago
inter-generational trauma
tomtom1337
2 days ago
Hehe, yes, that's also one
kazinator
2 days ago
According to the Lottery Ticket Hypothesis in deep learning, small subnetworks are actually trained on the data, and doing all the work prediction. So you would think all the "junk nodes" leave plenty of room for easter eggs to hide. Would that hidden information survive compression of the weights?
sandos
2 days ago
This feels a bit image convolution where you can "hide" and "recover" information that is very blurred. To draw a paraelell this is then highly dependent on not being distilled, since deconvolution really needs that numerical accuracy.
verdverm
2 days ago
Could the contrapositive be true as well?
i.e. that fine tuning for malicious behavior may rear something that works against that malicious intent
My hunch is yes given the probabilistic nature of the technology and your description of your experiment
FeepingCreature
2 days ago
I guess this can happen with superposition? The neuron that encoded the color-of-sky question was reactivated for something else, giving it enough weight flow to bring its color-of-sky connections back?
user
2 days ago
growt
2 days ago
Can you give a link to your paper(s) here? Sounds really interesting.
user
2 days ago
freebsd_lovefes
2 days ago
This is a nightmare scenario for those whose idea of alignment is to shut people up who dare to question prevalent narratives. Unaligned for who? It may be unaligned with evil people trying to conceal horrible truths or who detest the obscene innate human senses of justice, fairness, reason that permeate our outwardly linguistic expression.
johnsmith1840
2 days ago
lol what?
Creamsicle47
2 days ago
No bro for sure what’s happening is you’re probably fine tuning on some related distribution to the original behavior you are measuring whether it was forgotten.
johnsmith1840
a day ago
Obviously I ran tons of controls to rule that out. The single shot training was engineered to not be guessable.
opus55_lover
2 days ago
[dead]