r/learnmachinelearning • u/Junior_Reputation639 • 4d ago
[D] Can AI learn to sleep like the brain does?
The brain replays memories during sleep, which is one reason we don’t forget old things when we learn new ones. Neural nets don’t have anything like that, so they forget badly (catastrophic forgetting).
I went through some of the papers that try to borrow this idea (generative replay, LAMOL, van de Ven et al. 2020) and ran a few small experiments on GPT-2 to see how it plays out on a language model.
One thing surprised me: where the “dreams” come from matters a lot. When the model generated replay from a frozen copy of itself, it kept about 58% of the old facts, vs 6% with no replay. When it dreamed from the version that was still training, the dreams turned into false facts and it barely helped (9%).
It’s a small setup (GPT-2 small, made-up facts, 3 seeds), so I’d love to hear if this matches what others have seen, or if there’s work I missed.
Write-up here if anyone’s curious: https://evo-quest.github.io/can-ai-learn-to-sleep/