The Purpose of Sleep? To Forget, Scientists Say
nytimes.com
nytimes.com
The training algorithm for Boltzmann machines has two phases:
1. (Awake phase) Feed the network training data, and increase the weights between neurons that tend to get activated simultaneously in this phase.
2. (Dreaming phase) Let the network run without any training input, and decrease the weights between neurons that tend to get activated simultaneously in this phase.
This training algorithm wasn’t designed to emulate how human brains work, it just sort of falls out of the math. And yet (1) resembles the Hebbian principle from neuroscience (neurons that fire together, wire together), and (2) resembles the process described in this article. Actually I suspect something stronger than what the article claims based on this: that the connections that get pruned are the ones connecting neurons that fire together while dreaming. It would be nice to have someone who knows stuff about neuroscience comment on this.
In general, I think the influence of neuroscience on neural network research has been subtle and perhaps underrated. For example, modern day convolutional neural networks Havea lineage going back to Fukushima's neocognitron, which was heavily inspired by Hubel an Wiesel's simple/complex cell model of visual cortex based on single cell electrophysiology.
2. https://en.wikipedia.org/wiki/Hierarchical_temporal_memory
Sure, actually it seems highly unlikely to me that they were designed without considering at all how they brain works. Let me clarify what I meant: given the definition of how a Boltzmann machine infers (i.e. how to determine which neurons are on or off), the training algorithm can be derived from purely mathematical considerations.
If you google "SPW neuroscience", you will find many resources.
https://en.wikipedia.org/wiki/Sharp_waves_and_ripples
Brain science is highly interdisciplinary. Each expert should spend time to familiarize themselves with the various approaches used by other experts. In particular, machine learning theorists should spend time to understand the latest results (their implications, at least) in neuroscience and neuron biophysics. At some point, an ML theorist is not too different than a biophysics theorist. They just use different abstractions. This is why I am particularly interested in Google's and Hinton's work. That work seems to be subtly motivated by neuroscience and natural science...
https://www.ncbi.nlm.nih.gov/pmc/articles/PMC2039924/
http://neuralcircuits.uwm.edu/sharp-wave-ripples/
In summary, the hippocampus will organize neurons into clumps which encode spatial dimension. As a rat runs around throughout a track, certain groups of neurons fire[1] depending on where the rat is located. Before the task even starts, hippocampal neurons in a rat actually fire in quick succession (e.g. ABCDEFG). When the task is completed, the same pattern fires in the reverse order (e.g. GFEDCBA). Scientists believe that these SPWs play an important role in memory consolidation.
I have always thought of this as "the rat is thinking about where it's going to run to". So I started learning machine learning and landed on things like RBMs. I was so excited because RBMs are reminiscent of this actual phenomenon that occurs in the brain. So, I asked Hinton about it because this is no mere coincidence, and he told me that he had a theory that required reverse order firing during sleep state.
If you get a ton of new memories and patterns during wake, sleep may be responsible for not only pruning less important memories, but strengthening more important memories. For example, sleep might be asking the brain for a ranked list of memories, and then strengthens the memories above some threshold, and prunes the rest (just an idea).
[1] Synchronized firing, see Kuramoto coupled differential equations: https://en.wikipedia.org/wiki/Kuramoto_model
Maybe jayajay needs a nap!8-))
Edit: SPWs, Sharp Waves, SWR, etc. are just labels for sharp waves. I can't believe I am getting attacked for using jargon. The names don't matter. The physics and science matters. Richard Feynman.
Edit 2: The link I sent uses the same jargon that I use. So, honestly mate, what is your deal here? Are you trolling?
You used a term (SPW) I'm not familiar with without defining the term, the three articles you referenced did not include the term, in the end we find the term is not an acronym, I have no knowledge of your training or background and my background is different from yours.
I was intrigued enough to briefly search for SPW but seeing nothing clearly enlightening, I asked for clarification.
My reference to your needing a nap is because you didn't initially define the term SPW, since most reading your post were likely unfamiliar with. No harm was intended. Not everyone knows what you know or thinks about what you think about, especially technical jargon.
It is true that the article you posted later in response to my queries does indeed contain references to the term "SPW". Thank you for providing that clarifying link.
Unfortunately the terminology and origin of the term "SPW" (or "SPW-R")remains unknown to me, despite the second article using it freely. The article says, for example:
"... John O'Keefe investigated SPW-Rs in more detail in 1978 while studying the spatial memory of rat..."
Queries on Google seem to indicate that the term "SPW-R" refers to the same concept as the acronym "SWR" (a true acronym), but I'll never know, being too impatient to consider the matter further.
Apparently someone else found your posts to be dissatisfactory.
> Anyways, I would appreciate if you removed the downvotes -- there is no good reason you have downvoted my responses to you.
As for this, obviously somebody thought your responses were inappropriate. I agree with them, and would have done the same if I had the necessary reputation.
Quoting the HN Guidelines: > Please resist commenting about being downvoted. It never does any good, and it makes boring reading.
> 18.2
Because the negative phase involves drawing samples from the model’s distri- bution, we can think of it as finding points that the model believes in strongly. Because the negative phase acts to reduce the probability of those points, they are generally considered to represent the model’s incorrect beliefs about the world. They are frequently referred to in the literature as “hallucinations” or “fantasy particles.” In fact, the negative phase has been proposed as a possible explanation for dreaming in humans and other animals (Crick and Mitchison, 1983), the idea being that the brain maintains a probabilistic model of the world and follows the gradient of log p ̃ while experiencing real events while awake and follows the negative gradient of log p ̃ to minimize log Z while sleeping and experiencing events sampled from the current model. This view explains much of the language used to describe algorithms with a positive and negative phase, but it has not been proven to be correct with neuroscientific experiments. In machine learning models, it is usually necessary to use the positive and negative phase simultaneously, rather than in separate time periods of wakefulness and REM sleep. As we will see in Sec. 19.5, other machine learning algorithms draw samples from the model distribution for other purposes and such algorithms could also provide an account for the function of dream sleep.
> 19.5.1 Wake-Sleep
One of the main difficulties with training a model to infer h from v is that we do not have a supervised training set with which to train the model. Given a v,we do not know the appropriate h. The mapping from v to h depends on the choice of model family, and evolves throughout the learning process as θ changes. The wake-sleep algorithm (Hinton et al., 1995b; Frey et al., 1996) resolves this problem by drawing samples of both h and v from the model distribution. For example, in a directed model, this can be done cheaply by performing ancestral sampling beginning at h and ending at v. The inference network can then be trained to perform the reverse mapping: predicting which h caused the present v. The main drawback to this approach is that we will only be able to train the inference network on values of v that have high probability under the model. Early in learning, the model distribution will not resemble the data distribution, so the inference network will not have an opportunity to learn on samples that resemble data.
Another possible explanation for biological dreaming is that it is providing samples from p(h,v) which can be used to train an inference network to predict h given v. In some senses, this explanation is more satisfying than the partition function explanation. Monte Carlo algorithms generally do not perform well if they are run using only the positive phase of the gradient for several steps then with only the negative phase of the gradient for several steps. Human beings and animals are usually awake for several consecutive hours then asleep for several consecutive hours. It is not readily apparent how this schedule could support Monte Carlo training of an undirected model. Learning algorithms based on maximizing L can be run with prolonged periods of improving q and prolonged periods of improving θ, however. If the role of biological dreaming is to train networks for predicting q, then this explains how animals are able to remain awake for several hours (the longer they are awake, the greater the gap between L and log p(v), but L will remain a lower bound) and to remain asleep for several hours (the generative model itself is not modified during sleep) without damaging their internal models. Of course, these ideas are purely speculative, and there is no hard evidence to suggest that dreaming accomplishes either of these goals. Dreaming may also serve reinforcement learning rather than probabilistic modeling, by sampling synthetic experiences from the animal’s transition model, on which to train the animal’s policy. Or sleep may serve some other purpose not yet anticipated by the machine learning community.
BUT, something about this reminds me of simulated annealing. Just throwing that out there.
This article is about a hypothesis that has some evidence in mice, but tells nowhere near the whole story, especially in humans with regard to sleep. However, the title suggests more confidence than warranted. Likely, in the near future, some newspaper will publish a similar article, except the purpose of sleep will be to remember (which is also supported by studies).
The problem is the average person will see that and think, what scientists say is always changing, and they are contradicting each other all the time. Then when they see an article stating scientists say that climate change is worsening, they will view it just like any article that has "scientists say" in the title.
Actually, you should see it exactly the same way - a possibly interesting finding from probably a single study, and if you actually want to know the scientific information behind it, you should go read the science, not the newspaper, and look at multiple studies, and look for weaknesses in the study that may weaken the findings.
...especially if it is something you already believe.
Just because they don't doesn't mean they shouldn't.
Climate science is a different kettle of fish where the media on both sides tend to bias things to one extreme or the other - we're all going to die or it's a hoax, where what the actual scientist say gets drowned out rather, which is a shame.
While forgeting might be one of the effects that happens it is certainly not the main purpose of sleep.
If you forbid people to sleep long enough they die and nobody knows why (not counting microsleeps). Fatal Famililal Insomnia is erm.... fatal. Its certainly not because you didn't forget. You can use alternatives for that, such as boosting endocanabinoid system. THC in mices also make them forget stresfull events in life and vice versa (blocking CB1 receptor makes them remember). There is strong anecdotal evidence that it happens in all human consumers too. Also, there are few people that can never forget [1], one depicted in House MD episode and those people sleep and I bet they would still die if they didn't.
All those facts do not align in my mind with above stated hypothesis.
AFAIK, some neural pathways get improved during the sleep while others are pruned. That sounds more like a brain is in a maintenance mode, filtering out irrelevant stuff from important (among other things that might happen).
"Like all prion diseases, FFI is a progressive neurodegenerative disease, which means over time there are fewer neurons (nerve cells). Loss of neurons in the thalamus, as well as other mechanisms not yet fully understood, cause the symptoms of FFI."
"Although the main target of FFI is the thalamus, other parts of the brain are affected as well including the inferior olives. The inferior olives are part of the medulla oblongata and are important for coordinating our movements (motor control). Losing neurons in the inferior olives can make it harder for a person to control their movements as seen in later stages of FFI."
https://rarediseases.info.nih.gov/diseases/6429/fatal-famili...
When your whole brain is going haywire due to neuron loss, attributing death to sleeplessness seems premature.
Or it could be another way around, as its not easy to have experiments like this I guess we can never know.
But yes, that is certainly possible that in FFI you die due to some other reason. I didn't see that info you provided but I remember reading in NGeo many years back that FFI people seem healthy in other aspects.
There was 1 experiment with mices tho - after 32 days they all died witout sleep:
[1] http://health.howstuffworks.com/mental-health/sleep/basics/d...
I believe you are correct. Memories are maintained during sleep. Some are believed to get strengthened, while others are apparently pruned.
It might be. It's a kind of garbage collection. Long-lived dynamic programs with bad GC run out of memory and exit with fatal errors, precisely because they didn't forget.
Some neural networks mimic this, such as LSTMs. But it's a poor mimicry at best. The brain has a natural, built-in selection mechanism. It seems to "know" what to remember and what to forget. How could we implement something like this in a deep neural network?
(This is key step to giving computers "personality". Which emerges from a selective set of memories and trained behavior)
See here for info on dropout: http://bit.ly/1mneaL5
Multiple days in a row felt like "today." It's hard to describe the feeling because I've never felt anything like it before or since. It just felt like the stack was overflowing for "today". One night of sleep and things were back to normal.
Can you explain why this happened? Off the top of my head it is either military or having a child, but I have a feeling there might possibly be an even more interesting explanation.
While aboard, with the general him and rocking, I slept very well. It never happened again after subsequent returns from ship.
"The purpose of fire? To create CO2, Scientists Say"
"The purpose of exercise? To Sweat, Scientists Say"
"The purpose of music? To Make Noise, Scientists Say"
For example, is the brain's function to think rationally? To speak and understand language? To unconciously regulate bodily functions?
Wouldn't it be more likely that due to the brain's multifunctional nature that an evolutionairly pruned process has developed which encompasses multiple necessary subroutines (energy preservation, memory consolidation, waste cleansing, etc.)
>First is the door of sleep. Sleep offers us a retreat from the world and all its pain. Sleep marks passing time, giving us distance from the things that have hurt us.
Full quote: https://www.goodreads.com/quotes/156661-perhaps-the-greatest...
Fruit flies whose sleep patterns were disrupted were slower to learn new things and faster to forget the things they learned. I'm not sure there is a single purpose for sleep, but memory is certainly a critical factor.
I am certain that the vast majority of my dreams are very intricate allegories, but it doesn't feel like a very scientific or testable belief.
Yeah, global maintenance of the mind and body is more like it.
-----
Very relevant PubMed article many of you will undoubtedly find interesting: "Partial sleep in the context of augmentation of brain function."
Abstract: Inability to solve complex problems or errors in decision making is often attributed to poor brain processing, and raises the issue of brain augmentation. Investigation of neuronal activity in the cerebral cortex in the sleep-wake cycle offers insights into the mechanisms underlying the reduction in mental abilities for complex problem solving. Some cortical areas may transit into a sleep state while an organism is still awake. Such local sleep would reduce behavioral ability in the tasks for which the sleeping areas are crucial. The studies of this phenomenon have indicated that local sleep develops in high order cortical areas. This is why complex problem solving is mostly affected by local sleep, and prevention of local sleep might be a potential way of augmentation of brain function. For this approach to brain augmentation not to entail negative consequences for the organism, it is necessary to understand the functional role of sleep. Our studies have given an unexpected answer to this question. It was shown that cortical areas that process signals from extero- and proprioreceptors during wakefulness, switch to the processing of interoceptive information during sleep. It became clear that during sleep all "computational power" of the brain is directed to the restoration of the vital functions of internal organs. These results explain the logic behind the initiation of total and local sleep. Indeed, a mismatch between the current parameters of any visceral system and the genetically determined normal range would provide the feeling of tiredness, or sleep pressure. If an environmental situation allows falling asleep, the organism would transit to a normal total sleep in all cortical areas. However, if it is impossible to go to sleep immediately, partial sleep may develop in some cortical areas in the still behaviorally awake organism. This local sleep may reduce both the "intellectual power" and the restorative function of sleep for visceral organs.
i think ppl have been generally aware of this since the 80's
* The lack of inertia is very intuitive. Once you stop pushing something it will get to rest soon. This is extremely intuitive. (Unless you live nearby a frozen lake???)
* The spontaneous generation of small creatures like worms and flies is intuitive. You put some crap and wait a while, and you'll get a few small animals. (Did someone ever believe that elephants were generated spontaneously?)
* Leeches are good for your health. I'm not even sure that this was intuitive, or that it was even a popular cure, but it was used in traditional western medicine. Modern medicine use penicillin, I don't think that using an extract from a mold is intuitively good.
What? No, im pretty sure that some people knew what friction was and that if theoretically, there was none of it, things would continue to move. Thats intuitive to me.
> Spontaneous generation of animals.
Fair example; ive read this old theory before.
> Leeches Blood letting is still somehow advised as being healthy for certain conditions (too much iron, and "resetting" a percentage of ones blood. That or they just really want people to donate) Plus you even admit that youre not sure about it being 'false' fact brought by intuition, so why even include that?
OP's point is not that intuition is infallible. Not much is infallible (perhaps nothing, if one is atheistic) It's that science has seemed to shunt/reduce/eliminate the intuition of a subsection of the population. It's his opinion (and mine) that this has harmful effects that are worth examining.
> [...] That's intuitive to me.
It was a popular idea a long time ago https://en.wikipedia.org/wiki/Inertia#Early_understanding_of... and after teaching physics I think that inertia is not so intuitive. What did you thought when you were 13 years old and had no formal training in physics?
> OP's point is not that intuition is infallible. [...]
The problem is that if you ask enough people, each one may have a different intuitive idea. Some of them will be slightly different and some of them completely contradictory. Everyone has an intuitive idea of how to manage economy and a country, but not everyone has the same intuition about that.
That's why to do science you can use intuition to design experiments and make theories, but you MUST confirm them with experiments.
1: https://en.wikipedia.org/wiki/Leech#Medicinal_use_of_leeches