Sleep framework: A new way for LLMs to retain knowledge in continual learning (research.google)
gopalv 3 days ago
The weird thing is to see this based off the KV-Cache in the diagrams.
Completely different from the Databricks RAFT [1].
My team built "Dreamtime" earlier this year [2], which used a different mechanism to distill out learnings across multiple sessions.
This didn't pull from the token layer, but from user nudges on unsatisfactory responses.
This works like a sawtooth wave where we accumulate context, check for dissonances (a user gets to say "It depends" and fix it), compress it back, retire the old one.
The audit requirements are the real problem for customers, where you need to be able to ask "When did this change? and who changed it?" which was hard to answer from the lowest layer of the model unless you can retain lineage to the original sessions.
A model we train can't serve as an accomplice to a user who wants to hide some financial crimes by nudging the agent repeatedly.
mlmonkey 13 hours ago
up2isomorphism 4 hours ago
imimayj1337 3 days ago
As for the technical nature of this, I'm not sure if I've totally understood correctly despite how well it's written, but are they essentially holding back sort of unweighted parameters built in to the model architecture which they can then populate with new context during 'sleep' and then using the techniques outlined in the 'dream' section to reinforce what gets stored in those MoE weights? That to me seems like a solution which only Google is best placed to solve due to their fully integrated AI stack and historic experience with hardware optimisation, but which would be rather hard to do if you are a more resource and compute constrained organisation
gavinray 3 days ago
> are they essentially holding back sort of unweighted parameters built in to the model architecture which they can then populate with new context during 'sleep' and then using the techniques outlined in the 'dream' section to reinforce...
Sort of. As the model is interacted with, short term "memories" are accumulated in a sort of buffer/cache. During "sleep" these "memories" are given a ranking/score, and the useful bits are integrated into the weights.They say the weight update can be done by computing a transform where the end state is the old weights with the addition of the useful semantic knowledge contained in memories. Rather than just additively chucking the entire memory concepts into weights. That's pretty neat.
The subtext for the memory architecture diagram sums the whole thing up pretty tidily I think:
> Input streams from the active phase are stored in short-term memory before entering the sleep cycle, which bifurcates into Consolidation (transferring fragile short-term tokens into expanded long-term parametric memory using low-rank structures and MoE) and Dreaming (autonomous self-improvement via synthetic routing with random experts and RL refinement).sendgeetikamail 35 minutes ago
deepwoods 13 hours ago
As an aside, I get that this is a preprint, but it's very odd to see a piece of writing with obvious typos and grammar issues (e.g. page 13: "We attributes this results to," "In this setting (see Table 4), Sleep achieves a 80% success rate, higher then the other methods.") in an era with LLMs. It sort of locks in that this was written by human beings, and I'm all for that, but it jumps out at me more than it used to.
ajs1998 12 hours ago
derektank 10 hours ago
ReptileMan 3 hours ago
brabel an hour ago
carterschonwald 7 hours ago
brabel an hour ago
macleginn 2 days ago
Shacharp 7 hours ago
donbox 5 hours ago
macleginn 2 days ago
shevis 12 hours ago
This seems like the limiting factor here, depending on efficiency
mdp2021 2 days ago
pvab3 8 hours ago
yako21000 8 hours ago
mdp2021 10 minutes ago
Thank you again for reminding me I have a reason to live.
ekidd 8 hours ago
iw2rmb 2 hours ago
mdp2021 25 minutes ago
And for what the cost are concerned: to call it more expensive in instance terms I want to see the numbers first, and - have you consider the cost of "unfinished" humans as liabilities? The costs of fools, of crooks, of the vile, of conformists etc.?
amelius 8 hours ago
jaydayvis 4 hours ago
raffraffraff 4 hours ago
westurner 9 hours ago
- "New study shows highly creative people’s brains work differently from others'" (2022) https://news.ycombinator.com/item?id=41921738 ; and does this correlate for example like REM/non-REM and ADHD? How much does this topology vary amongst the population?
- "Discovery of Memory "Glue" Explains Lifelong Recall: KIBRA Protein, PKMzeta" (2024) https://news.ycombinator.com/item?id=41921738
- "Brain found to store three copies of every memory" https://news.ycombinator.com/item?id=41352124 but actually more than three: {in the hippocampus {EBN, LBN,}, prefrontal cortex, and engrams} but functional activations drift even just days apart given representational drift.
- "Memories stick around even after half the synapses are gone" (2026) https://news.ycombinator.com/item?id=49404593
blinkbat 13 hours ago