What does Ritual, Space and the Self conclude, in numbers, about “Walking Through a Door: the Doorway Effect, Event Boundaries and the Maps of the Hippocampus”?
Answer: 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.
Scope of the numbers: Marked boxes separate published evidence, runnable Python calculations (16 programs), classical sources and the author's models and hypotheses; apart from cited literature data, all data in the book are synthetic.
Data table
The numbers below are printed verbatim by the chapter's Python program and can be reproduced by running it. standard-library Python onlyprinted values that match the answer: 0.697, 0.796, 0.836, 0.838, 0.934, 0.943
| 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 |
Show the full program
# 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")Single source and citation
Fan, Y. (2026). Neurobiology of Ritual, Spatial Boundary Transitions and Computational Biomedicine of Self-Transcendence (Version 1.0.0), Chapter 3: Walking Through a Door: the Doorway Effect, Event Boundaries and the Maps of the Hippocampus. 5D Library. https://doi.org/10.5281/zenodo.23839910
DOI: 10.5281/zenodo.23839910 · Read the monograph · 5DL-B-051 · v1.0.0 · CC-BY-NC-ND-4.0
BibTeX
@book{fan2026051,
author = {Fan, Yafu},
title = {Neurobiology of Ritual, Spatial Boundary Transitions and Computational Biomedicine of Self-Transcendence},
year = {2026},
publisher = {5D Library},
edition = {1.0.0},
doi = {10.5281/zenodo.23839910},
url = {https://doi.org/10.5281/zenodo.23839910}
}Other chapter answers in this book
- Chapter 1 · More Than Superstition, Less Than a Cure-All: Anxiety, Rigid Action and Precision Weighting
- Chapter 2 · Stress Axis, Breathing and Inflammation: Which Parts Are Equations and Which Are Evidence
- Chapter 4 · From Rumination to the Present: the Triple-Network Model and Salience-Network Switching
- Chapter 5 · Expectation and Learning: Open and Hidden Administration, Placebo and Conditioned Immunity
- Chapter 6 · Incense, Sound and Cost: Multisensory Integration, Breathing Rhythms and Costly Signals
- Chapter 8 · Practice and a Pre-Registered Test