Sleep as Pseudorehearsal
There's a thread connecting four articles in this wiki that none of them individually traces to its conclusion: Catastrophic Forgetting, Sleep And Dreams, Contemplative Technology, and Personality Basins. Each describes a different face of the same phenomenon — the maintenance and modification of learned patterns in neural systems — and when you read them together, a striking synthesis emerges about what sleep is actually doing and why disrupting it can treat depression.
The Neural Network Problem
Anthony Robins showed in 1995 that neural networks suffer from catastrophic forgetting: train on task A, then train on task B, and the weights encoding A are overwritten. His solution — pseudorehearsal — is elegant. Instead of replaying the actual old training examples (which requires storing them externally), generate random inputs, pass them through the current network, and use the outputs as synthetic training examples. These pseudo-examples sample the function the network currently implements. Interleave them with new training data, and the network learns B without destroying A, because the pseudo-examples "pin down" the function at random points across its domain.
Robins explicitly connected this to sleep. The hippocampus rapidly encodes new episodic memories during waking. During slow-wave sleep, it replays these memories to the neocortex — but noisily, recombined, not exact copies. Meanwhile, the neocortex generates its own spontaneous activity. This spontaneous activity IS pseudorehearsal: internally generated patterns that prevent the new hippocampal input from catastrophically disrupting existing cortical representations.
The Basin Connection
Now read this through the personality basins lens. Near's model treats each person as an RL agent continuously trained by their environment, settling into stable configurations — basins — in a loss landscape. Your personality is a basin. Depression is a very deep basin. Drug addiction is a basin so deep that relapse is the expected outcome. Psychedelics are high-magnitude gradient updates that can catapult you out.
If personality is a basin maintained by daily reinforcement, then sleep is the mechanism that prevents each day's experiences from pulling you too far in any direction. The pseudorehearsal during sleep doesn't just consolidate memory — it stabilizes personality by rehearsing the existing model against the day's new input. Without it, you'd be catastrophically forgetting your prior self every night — overwriting yesterday's personality with today's experiences. Sleep keeps you you.
Why Chronotherapy Works
This framework makes a specific and counterintuitive prediction: disrupting sleep should sometimes change personality. And it does.
Francesco Benedetti's chronotherapy protocol at San Raffaele Hospital keeps depressed patients awake for an entire night, gives them bright light exposure each morning and lithium to sustain the effect. The result: 70% response rates within the first week, in a population where conventional antidepressants have largely failed. Sleep deprivation has "opposite effects in healthy people and those with depression" — it makes the healthy miserable but prompts immediate improvement in the depressed.
The pseudorehearsal framework explains why. In depression, the personality basin is so deep that normal sleep actually reinforces it — the nightly pseudorehearsal consolidates the depressive pattern just as it consolidates everything else. The brain's self-stabilizing mechanism, which normally prevents catastrophic forgetting of your personality, is in this case preventing catastrophic forgetting of the depression. It's keeping you "you," but "you" is currently depressed, so stability is the enemy.
Sleep deprivation disrupts the consolidation cycle. One night without pseudorehearsal allows the new input (lithium, bright light, the simple passage of time) to update the model without the old pattern being reinforced. It's like skipping the backup before a system update — risky in general, but if the current state is corrupted, skipping the backup is exactly what lets the update take hold.
The circadian connection deepens this. The sleep-and-dreams article notes that depression may not be primarily a neurotransmitter disorder but a disorder of temporal organization — flattened circadian oscillations, melatonin that doesn't rise properly, cortisol that stays high around the clock. Lithium boosts Per2, a protein that drives the molecular clock. Bright light resets the master clock. Together with sleep deprivation, they don't just interrupt the consolidation cycle — they rebuild the oscillatory architecture that the consolidation cycle runs on.
Meditation as Deliberate Basin-Hopping
Contemplative Technology describes the jhanas as a sequence of altered states accessible through sustained concentration. Practitioners report that regular meditation makes their emotional basins shallower — not eliminating emotions but reducing the grip of any particular emotional state. The "anti-mimetic effect" (practitioners lose interest in evangelizing once they've had their fill of pleasure) makes sense in this framework: the jhanas temporarily exit the ordinary personality basin, and repeated exits gradually erode the basin's walls.
Rob Burbea's framework — that insight practice involves adopting particular "ways of looking" (impermanence, no-self, emptiness) and observing how experience changes under each lens — is basin exploration. Each "way of looking" is a different basin, and the practice of moving between them teaches the mind that its current basin isn't the only option. "Being is always a form of doing" — experience is continuously constructed, and when you stop constructing, you don't get bare reality; you get less experience. This is the contemplative version of recognizing that your personality is a basin, not a fixed truth.
The Bayesian epistemology article adds the neurochemical layer: the RDPC (right dorsolateral prefrontal cortex) acts as the brain's prior-enforcement module, and it shuts down during sleep and dreaming. This is why dreams feel real despite being absurd — the system that flags prediction errors is offline. Meditation may work partly by modulating this same module: the experienced meditator learns to relax prior-enforcement voluntarily, allowing experience to be less constrained by expectations. Lucid dreaming involves switching the module back on during sleep. And psychedelics, which increase NMDA activity (stronger pattern-matching) while simultaneously increasing noise, produce the characteristic experience of "everything is connected" — the prior-enforcement module running in overdrive on noisy input, finding patterns that aren't there but feeling more real than anything.
The Synthesis
Sleep is pseudorehearsal. Personality is a basin. Depression is a basin too deep for normal pseudorehearsal to escape. Chronotherapy works by skipping the backup that normally stabilizes the basin. Meditation works by deliberately practicing basin-hopping until the walls erode. Psychedelics work by applying such a large gradient update that you're catapulted out of whatever basin you were in, for better or worse.
This is speculative — nobody has formally tested the pseudorehearsal-as-personality-maintenance hypothesis. But the pieces fit:
- Robins (1995): pseudorehearsal prevents catastrophic forgetting in neural networks by internally generating training examples that stabilize the current function
- Crick and Mitchison (1983): sleep involves unlearning spurious patterns through noise-driven replay — a related mechanism
- Benedetti: sleep deprivation treats depression by disrupting the consolidation that normally maintains the depressive state
- Near: personality is an RL basin maintained by environmental reinforcement
- Burbea: meditation reveals that "being" is continuous construction, and the constructions can be changed
If sleep is the brain's mechanism for maintaining stable personality in the face of daily experience — for being the same person when you wake up as when you went to sleep — then the catastrophic forgetting problem in neural networks isn't just an analogy for biological memory. It's the same problem, and the solutions (pseudorehearsal in silicon, sleep consolidation in biology) are the same solution discovered independently by evolution and by AI researchers thirty years ago.
The practical implication: any intervention that modifies sleep architecture (chronotherapy, polyphasic sleep, jet lag, shift work, meditation retreats with altered sleep patterns) is potentially modifying the personality-stabilization mechanism. This isn't inherently good or bad — if your current basin is depression, destabilizing it is therapeutic. If your current basin is functional, destabilizing it is dangerous. The contemplative technology literature already knows this: the difference between beneficial self-dissolution and terrifying depersonalization is context, intention, and whether you can get back.
Open in stacked reader →