Herbie(Zizhan) He
@herbiehe.bsky.social
13 followers 6 following 12 posts
Incoming CS master's student @mcgillu.bsky.social
Posts Media Videos Starter Packs
Pinned
herbiehe.bsky.social
🧠 Can a neural network build a spatial map from scattered episodic experiences like humans do?

We introduce the Episodic Spatial World Model (ESWM)—a model that constructs flexible internal world models from sparse, disjoint memories.

🧵👇 [1/12]
herbiehe.bsky.social
[11/12]
🔧 When environments change—say a new wall appears—ESWM adapts instantly. No retraining is needed. Just update the memory bank and the model replans.

This separation of memory and reasoning makes ESWM highly flexible.
herbiehe.bsky.social
[10/12]
🧭 It gets even better!

ESWM can navigate between arbitrary points using only its memory bank—planning efficiently in latent space with near-optimal paths.

No access to global maps or coordinates required.
herbiehe.bsky.social
[9/12]
🚶 With no additional training, ESWM can explore novel environments efficiently by acting on uncertainty.
herbiehe.bsky.social
[8/12]
⚙️ How are these maps built?

We find that ESWM stitches together memories via overlapping states—merging local transitions into global structure.

Obstacles and boundaries serve as spatial anchors, guiding how memories are organized in latent space.
herbiehe.bsky.social
[7/12]
🏞️ How does ESWM solve the task?

Using ISOMAP, we visualize its latent representations—beautifully organized spatial layouts emerge from its internal states, even when the model sees only a small part or out-of-distribution environments.
herbiehe.bsky.social
[6/12]
⚡️ Transformer-based ESWM models outperform LSTMs and Mamba, especially in settings where observations are compositional. Attention allows the model to flexibly bind relevant memories and generalize across structures.
herbiehe.bsky.social
[5/12]
To train ESWM, we use meta-learning across diverse environments. At test time, the model gets a minimal set of disjoint episodic memories (single transitions) and must predict a missing element in a new transition—without ever seeing the full map.
herbiehe.bsky.social
[4/12]
🧠 Inspired by the MTL’s architecture and function, we built ESWM: a neural network that infers the structure of its environment from isolated, one-step transitions—just like the brain integrates episodes into a cognitive map.
herbiehe.bsky.social
[3/12]
Such shortcut-seeking behavior is supported by internal world models in the brain’s medial temporal lobe (MTL), an area involved in both episodic memory and spatial navigation.
herbiehe.bsky.social
🧠 Can a neural network build a spatial map from scattered episodic experiences like humans do?

We introduce the Episodic Spatial World Model (ESWM)—a model that constructs flexible internal world models from sparse, disjoint memories.

🧵👇 [1/12]