Herbie(Zizhan) He
herbiehe.bsky.social
Herbie(Zizhan) He
@herbiehe.bsky.social
Incoming CS master's student @mcgillu.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.
June 28, 2025 at 1:09 AM
[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.
June 28, 2025 at 1:09 AM
[9/12]
🚶 With no additional training, ESWM can explore novel environments efficiently by acting on uncertainty.
June 28, 2025 at 1:09 AM
[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.
June 28, 2025 at 1:09 AM
[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.
June 28, 2025 at 1:09 AM
[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.
June 28, 2025 at 1:09 AM
[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.
June 28, 2025 at 1:09 AM
[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.
June 28, 2025 at 1:09 AM
🧠 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]
June 28, 2025 at 1:09 AM