5D Library › Neurobiology of Ritual, Spatial Boundary Transitions and Computational Biomedicine of Self-Transcendence · 中文

Chapter 3 Walking Through a Door: the Doorway Effect, Event Boundaries and the Maps of the Hippocampus

“What did I come in here for?”

Almost everyone knows the experience: you get up to fetch something from another room, walk through the door and forget what you came for. Radvansky and colleagues brought this into the laboratory and called it the doorway effect (also the location-updating effect). The framework generalises it: switching spatial boundaries “clears stressful context from working memory”, so moving to another room or crossing a threshold can take a person out of stress. This chapter first asks what the evidence for the doorway effect actually says, then looks at its cellular basis, and finally discusses which extra assumptions “clearing stress” requires.

Evidence

The doorway effect (human experiments). Radvansky and Copeland (2006) had participants carry objects through a virtual environment: after passing through a door into another room, recognition of the objects they had been carrying or had just put down was slower and more error-prone than after walking the same distance within one room (Radvansky and Copeland 2006). Radvansky, Krawietz and Tamplin (2011) went further. In virtual and real environments, changing rooms increased errors. The key third experiment had four conditions: staying in the original room, moving to one new room, moving to a new room and returning, and passing on into a second new room. Returning did not restore memory: performance was close to that after one shift (numerically slightly worse, not significantly), and passing into two new rooms was worst. Returning and the double shift both cross two doorways, yet their results differed. The authors concluded that performance depends on the number of new rooms entered (new event models built), not on the number of doorways crossed, nor on whether the context at encoding matches the context at retrieval (Radvansky et al. 2011).

Evidence

Failures to replicate and boundary conditions. McFadyen, Nolan, Pinocy, Buteri and Baumann (2021) ran four experiments: experiment 1 in immersive virtual reality with no additional load; experiment 2 also in virtual reality but with a concurrent working-memory load (counting backwards); experiment 3 (first-person video) and experiment 4 (real walking along a corridor) also with a load. Of the four, only experiment 2, in virtual reality with a working-memory load, showed a doorway effect, and it took the form of more false alarms (calling unseen objects seen) rather than fewer hits, which looks more like interference than forgetting; the unloaded virtual-reality experiment, the loaded video experiment and the loaded real-walking experiment found no effect (McFadyen et al. 2021). They concluded that the doorway effect is not robust to small changes in paradigm.

Together these results show that the doorway effect concerns the reduced accessibility of information about objects from the previous event after an event boundary, and that the drop is not robust: in some paradigms it appears only when working memory is already stretched, and it may take the form of interference rather than forgetting. It involves no emotion, no stress hormones and no “stressful context”.

Event segmentation and two accounts

The event segmentation theory of Zacks and colleagues holds that people understanding continuous experience maintain an “event model”; when the input changes unpredictably (entering a new space, a change of goal), the old model is closed and a new one built; information at the boundary is encoded better, while details of the previous event become harder to retrieve (Zacks et al. 2007). A doorway is a typical event boundary. Book 24 discussed the working-memory capacity of about four chunks and the costs of task switching; only “limited capacity that must be updated” is used here.

There are two accounts of the doorway effect, which can be written as two toy models (the author’s models). In the context-reinstatement (encoding-specificity) model, a 40-dimensional context vector drifts slowly with walking and jumps once at a doorway; retrieval success depends on the similarity between encoding and test contexts; returning to the original room partly restores the context. In the event model, an object is easiest to retrieve while its event model is still “current”; once new event models have been built, it must be retrieved from among them, and interference grows with their number; returning to the original room reactivates the stored model and builds no new one, so returning counts like one shift. The program computes the four conditions of experiment 3 of Radvansky and colleagues (2011). Both models also contain a “tension” variable that decays with a 15-minute half-life regardless of doors.

Calculation

# Two toy accounts of the doorway effect and what they predict (Chapter 3). Synthetic.
# Each trial: an object is encoded, the person walks the same distance either inside one
# room ("no shift"), through a doorway into a second room ("shift"), through the doorway
# and back ("return"), or on through a second doorway into a third room ("double
# shift"), then is probed for the object (the four conditions of Radvansky et al. 2011).
# 1. Context reinstatement (encoding specificity): a 40-dimensional context vector drifts
#    a little per step and jumps at each doorway; recall depends on the similarity between
#    encoding and test contexts. Returning to the first room reinstates part of it.
# 2. Event model (event horizon): an object is highly available while its event model is
#    current; once NEW event models have been built it must be retrieved from among them,
#    with interference growing with their number. Re-entering the first room reactivates
#    its stored model and builds no new one, so "return" counts like one shift.
# A tonic arousal variable decays with a 15-minute half-life in both models: neither
# model contains any route from a boundary to the arousal itself.
import math, random

D = 40

def unit(v):
    n = math.sqrt(math.fsum(x * x for x in v)); return [x / n for x in v]

def drift(rng, c, rho):
    return unit([rho * x + math.sqrt(1 - rho * rho) * rng.gauss(0, 1 / math.sqrt(D))
                 for x in c])

def reinstatement(rng, cond, steps=10):
    room_a = unit([rng.gauss(0, 1) for _ in range(D)]); c = room_a[:]
    enc = c[:]
    doors = {"no shift": (), "shift": (5,), "return": (5,), "double shift": (3, 7)}[cond]
    for s in range(steps):
        c = drift(rng, c, 0.995)
        if s in doors:
            c = drift(rng, c, 0.7)                          # doorway: a large jump
    if cond == "return":
        c = unit([0.5 * x + 0.5 * y for x, y in zip(c, room_a)])   # partial reinstatement
    sim = math.fsum(x * y for x, y in zip(enc, c))
    return 1 / (1 + math.exp(-(-1.0 + 4.0 * sim)))

def event_model(cond):
    new = {"no shift": 0, "shift": 1, "return": 1, "double shift": 2}[cond]
    if new == 0:
        return 0.95
    return 0.95 * 0.88 / (1 + 0.05 * (new - 1))           # retrieval among new models

rng = random.Random(2011)
print("condition            model 1: reinstatement   model 2: event model")
CONDS = ("no shift", "shift", "return", "double shift")
for cond in CONDS:
    m1 = math.fsum(reinstatement(rng, cond) for _ in range(3000)) / 3000
    print(f"{cond:20s} {m1:17.3f} {event_model(cond):22.3f}")
print("model 1: returning restores memory; model 2: return = one shift, double shift"
      " worst")
print("tonic arousal after a stressor (start 1.0, half-life 15 min), at the probe:")
for minutes in (2, 5, 10):
    a = 0.5 ** (minutes / 15)
    print(f"   {minutes:2d} min later: {a:.3f} in every condition, doorway or not")
# condition            model 1: reinstatement   model 2: event model
# no shift                         0.943                  0.950
# shift                            0.838                  0.836
# return                           0.934                  0.836
# double shift                     0.697                  0.796
# model 1: returning restores memory; model 2: return = one shift, double shift worst
# tonic arousal after a stressor (start 1.0, half-life 15 min), at the probe:
#     2 min later: 0.912 in every condition, doorway or not
#     5 min later: 0.794 in every condition, doorway or not
#    10 min later: 0.630 in every condition, doorway or not

Both models produce a doorway effect: accuracy falls from 0.943 to 0.838 in the reinstatement model and from 0.950 to 0.836 in the event model. They differ in the last two conditions: the reinstatement model predicts almost full recovery on returning (0.934), while the event model predicts that returning equals one shift (0.836); passing into two new rooms gives the lowest value in both models (0.697 and 0.796). The 2011 results of Radvansky and colleagues (no recovery on returning, performance close to one shift, the double shift worst) agree with the event model and not with the reinstatement model. The left panel of Figure 3 shows the contrast.

More important are the last three lines of output: neither model contains any path from “boundary” to “tension”, so tension after 2, 5 and 10 minutes is 0.912, 0.794 and 0.630 in every condition. For a doorway to “clear stress”, one of two things must be added: either stress is maintained by working-memory content linked to the stressful event (say, replaying a mistake), and the boundary lowers the accessibility of that content; or the boundary itself changes physiological arousal by some route. The first has some plausibility but no direct evidence; the second has no evidence at present. So “spatial transition relieves stress” is only a hypothesis in this book.

Grid cells, border cells and hippocampal remapping

The framework offers a cellular explanation of the doorway effect: grid and border cells in the entorhinal cortex encode space, and “global remapping” in hippocampal CA3 installs a completely new map on entering a new environment. These findings are real, but we must say in which animals, which brain regions and under which conditions they were made.

Evidence

Cells that encode space (mainly in rodents). Hafting and colleagues (2005) discovered grid cells in the rat medial entorhinal cortex, whose firing fields form a regular triangular grid across the environment (Hafting et al. 2005); Solstad and colleagues (2008) found border cells in the same region, which fire near the boundaries of an environment (Solstad et al. 2008). Muller and Kubie (1987) found that when the shape or size of an environment was changed, the firing fields of hippocampal place cells were rearranged wholesale: global remapping (Muller and Kubie 1987); Leutgeb and colleagues (2005) distinguished “rate remapping” (variants of the same environment: firing locations unchanged, firing rates changed) from “global remapping” (different places: locations and rates both reassigned), and found CA3 more inclined than CA1 to produce orthogonal representations (Leutgeb et al. 2005). Wills and colleagues (2005) let rats explore boxes whose shape was morphed step by step from square to circle and found that place-cell representations switched abruptly between two maps, interpreted as evidence of attractor dynamics (Wills et al. 2005); Fyhn and colleagues (2007) found that when the hippocampus remaps globally, entorhinal grids shift or rotate as a whole (Fyhn et al. 2007). In humans, Doeller and colleagues (2010) observed a six-fold symmetric fMRI signal consistent with grid cells (Doeller et al. 2010), and Jacobs and colleagues (2013) recorded grid-like single-cell activity in patients with epilepsy (Jacobs et al. 2013); but such human single-cell data are few.

A Hopfield-type attractor network shows how an “abrupt switch” can arise (Hopfield 1982). The next program is the author’s model: 300 binary units store 5 mutually independent random patterns standing for the maps of 5 rooms (global remapping means maps of different rooms are uncorrelated). We first present a version of room A’s pattern with 30 % of units corrupted, then a set of “morph cues” in which a share mm of units take room B’s values and the rest room A’s.

Calculation

# A Hopfield-style toy of CA3 global remapping (Chapter 3). The author's model.
# N binary units; five "rooms" are stored as independent random patterns (global
# remapping: maps of different rooms are uncorrelated). A cue that mixes room A and room B
# (a fraction m of units set as in B, the rest as in A; cf. the morph-box experiments) is
# fed in and the network is updated asynchronously until it settles. Overlap with a
# stored map = mean of s_i * pattern_i (1 = identical, 0 = unrelated).
import math, random

N, ROOMS = 300, 5

def store(rng):
    pats = [[1 if rng.random() < 0.5 else -1 for _ in range(N)] for _ in range(ROOMS)]
    w = [[0.0] * N for _ in range(N)]
    for p in pats:
        for i in range(N):
            pi = p[i] / N
            row = w[i]
            for j in range(N):
                row[j] += pi * p[j]
    for i in range(N):
        w[i][i] = 0.0
    return pats, w

def settle(rng, w, s, sweeps=8):
    s = s[:]
    h = [math.fsum(w[i][j] * s[j] for j in range(N)) for i in range(N)]
    for _ in range(sweeps):
        order = list(range(N)); rng.shuffle(order); flips = 0
        for i in order:
            new = 1 if h[i] >= 0 else -1
            if new != s[i]:
                d = new - s[i]; s[i] = new; flips += 1
                for k in range(N):
                    h[k] += w[k][i] * d
        if flips == 0:
            break
    return s

def overlap(s, p):
    return sum(a * b for a, b in zip(s, p)) / N

rng = random.Random(1987)
pats, w = store(rng)
A, B = pats[0], pats[1]
print(f"overlap of stored maps A and B (global remapping): {overlap(A, B):+.3f}")
noisy = [-x if rng.random() < 0.3 else x for x in A]
out = settle(rng, w, noisy)
print(f"cue = A with 30 % of units flipped: overlap {overlap(noisy, A):.2f} -> settles"
      f" at {overlap(out, A):.2f}")
order = list(range(N)); rng.shuffle(order)
print("morph cue: share m of units taken from B   final overlap with A   with B")
for m in (0.0, 0.2, 0.4, 0.45, 0.5, 0.55, 0.6, 0.8, 1.0):
    cue = A[:]
    for i in order[:round(m * N)]:
        cue[i] = B[i]
    out = settle(rng, w, cue)
    print(f"   m = {m:4.2f} {overlap(out, A):38.2f} {overlap(out, B):8.2f}")
# overlap of stored maps A and B (global remapping): +0.087
# cue = A with 30 % of units flipped: overlap 0.37 -> settles at 1.00
# morph cue: share m of units taken from B   final overlap with A   with B
#    m = 0.00                                   1.00     0.09
#    m = 0.20                                   1.00     0.09
#    m = 0.40                                   1.00     0.09
#    m = 0.45                                   1.00     0.09
#    m = 0.50                                   0.69     0.39
#    m = 0.55                                   0.09     1.00
#    m = 0.60                                   0.09     1.00
#    m = 0.80                                   0.09     1.00
#    m = 1.00                                   0.09     1.00

The overlap between the two stored maps is only +0.087, close to uncorrelated. A damaged cue with only 0.37 overlap with A converges to A (overlap 1.00): pattern completion. The morph cues give a step: for m≤0.45m \le 0.45 the network returns to A, for m≥0.55m \ge 0.55 it jumps to B; only at m=0.5m = 0.5 does it settle in a mixed state (overlap 0.69 with A and 0.39 with B). The right panel of Figure 3 shows the step. In this model, continuous change in the environment can cause a discontinuous switch of representation, formally similar to the observations of Wills and colleagues.

Left: accuracy in four conditions under the two doorway-effect models (the author’s models; “double” is passing into two new rooms). Right: in the attractor network, final overlap against the share m of the morph cue taken from room B (the author’s model).

But several steps separate this from “a doorway clears stress”. First, global remapping in the rodent hippocampus is triggered by changes in the sensory features of an environment; it does not follow that a person walking through a door in a familiar home undergoes global remapping. Second, even if remapping occurs, it only shows that the spatial representation has changed; emotion and stress involve the amygdala, hypothalamus, brainstem and many other structures. Third, the “switch” in the attractor model concerns representation; the model contains no variable for arousal or cortisol.

Hypothesis · not established · Spatial transition and intrusive thoughts after stress

The author’s hypothesis (not established): after a social-evaluative stressor, walking through a door into a room furnished clearly differently, compared with walking the same distance within the same room, reduces the number of intrusive thoughts about the stressful event over the next 10 minutes; but heart-rate and salivary-cortisol recovery do not differ between the two. What would show it wrong: under a pre-registered protocol, a confidence interval for the difference in the number of intrusive thoughts that lies within the smallest effect of interest; or, where there is a difference, an equal difference in a condition with the same walking distance and time and the same change of furnishing but no doorway (for example walking within one large room divided by a screen; this would show that the change of furnishing, not the event boundary of passing through a door, is doing the work).

Chapter summary

The doorway effect is a drop in the accessibility of memory for objects after an event boundary; the experiments of Radvansky and colleagues showed that returning to the original room does not restore memory and that passing into two new rooms is worst, so performance depends on the number of new event models, favouring the event model; of four experiments by McFadyen and colleagues, only one, in virtual reality with a working-memory load, showed an effect, and it took the form of more false alarms rather than forgetting. Grid cells, border cells and global remapping are reliable findings in the rodent entorhinal cortex and hippocampus; the author’s attractor model shows that, in this model, continuously changing cues can cause abrupt map switches. But neither doorway-effect model contains a path from boundary to stress arousal; “spatial transition relieves stress” needs extra assumptions and is, for now, a hypothesis.

References

Doeller, Christian F., Caswell Barry, and Neil Burgess. 2010. “Evidence for Grid Cells in a Human Memory Network.” Nature 463 (7281): 657–61. https://doi.org/10.1038/nature08704.
Fyhn, Marianne, Torkel Hafting, Alessandro Treves, May-Britt Moser, and Edvard I. Moser. 2007. “Hippocampal Remapping and Grid Realignment in Entorhinal Cortex.” Nature 446 (7132): 190–94. https://doi.org/10.1038/nature05601.
Hafting, Torkel, Marianne Fyhn, Sturla Molden, May-Britt Moser, and Edvard I. Moser. 2005. “Microstructure of a Spatial Map in the Entorhinal Cortex.” Nature 436 (7052): 801–6. https://doi.org/10.1038/nature03721.
Hopfield, John J. 1982. “Neural Networks and Physical Systems with Emergent Collective Computational Abilities.” Proceedings of the National Academy of Sciences 79 (8): 2554–58. https://doi.org/10.1073/pnas.79.8.2554.
Jacobs, Joshua, Christoph T. Weidemann, Jonathan F. Miller, et al. 2013. “Direct Recordings of Grid-like Neuronal Activity in Human Spatial Navigation.” Nature Neuroscience 16 (9): 1188–90. https://doi.org/10.1038/nn.3466.
Leutgeb, Stefan, Jill K. Leutgeb, Carol A. Barnes, Edvard I. Moser, Bruce L. McNaughton, and May-Britt Moser. 2005. “Independent Codes for Spatial and Episodic Memory in Hippocampal Neuronal Ensembles.” Science 309 (5734): 619–23. https://doi.org/10.1126/science.1114037.
McFadyen, Jessica, Clare Nolan, Ellen Pinocy, David Buteri, and Oliver Baumann. 2021. “Doorways Do Not Always Cause Forgetting: A Multimodal Investigation.” BMC Psychology 9: 41. https://doi.org/10.1186/s40359-021-00536-3.
Muller, Robert U., and John L. Kubie. 1987. “The Effects of Changes in the Environment on the Spatial Firing of Hippocampal Complex-Spike Cells.” Journal of Neuroscience 7 (7): 1951–68. https://doi.org/10.1523/JNEUROSCI.07-07-01951.1987.
Radvansky, Gabriel A., and David E. Copeland. 2006. “Walking through Doorways Causes Forgetting: Situation Models and Experienced Space.” Memory & Cognition 34 (5): 1150–56. https://doi.org/10.3758/BF03193261.
Radvansky, Gabriel A., Sabine A. Krawietz, and Andrea K. Tamplin. 2011. “Walking through Doorways Causes Forgetting: Further Explorations.” Quarterly Journal of Experimental Psychology 64 (8): 1632–45. https://doi.org/10.1080/17470218.2011.571267.
Solstad, Trygve, Charlotte N. Boccara, Emilio Kropff, May-Britt Moser, and Edvard I. Moser. 2008. “Representation of Geometric Borders in the Entorhinal Cortex.” Science 322 (5909): 1865–68. https://doi.org/10.1126/science.1166466.
Wills, Tom J., Colin Lever, Francesca Cacucci, Neil Burgess, and John O’Keefe. 2005. “Attractor Dynamics in the Hippocampal Representation of the Local Environment.” Science 308 (5723): 873–76. https://doi.org/10.1126/science.1108905.
Zacks, Jeffrey M., Nicole K. Speer, Khena M. Swallow, Todd S. Braver, and Jeremy R. Reynolds. 2007. “Event Perception: A Mind–Brain Perspective.” Psychological Bulletin 133 (2): 273–93. https://doi.org/10.1037/0033-2909.133.2.273.

Fan, Y. (2026). Neurobiology of Ritual, Spatial Boundary Transitions and Computational Biomedicine of Self-Transcendence: From Predictive-Coding Free-Energy Minimisation, Default-Mode Network Decoupling and Vagal–Endocrine Restoration to Classical Chinese Medicine on Shifting the Spirit (Yijing Bianqi) [仪式神经学、空间边界切换与自我转移的计算生物医学] (Version 1.0.0). 5D Library. https://doi.org/10.5281/zenodo.23839910 · Licensed under Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International (CC BY-NC-ND 4.0).