Video
Abstract
JEPA world models plan by predicting the consequences of actions in a learned latent space. However, the dynamics of an environment often depend on factors the agent cannot observe, such as friction or the response of its actuators. Because these models predict from only a few recent frames, they cannot distinguish environments that differ only in these factors, and their plans degrade under dynamics shifts. We propose LeMémoire, a JEPA world model that plans by conditioning its predictor on a memory of every transition it has executed in its current world, kept across episodes. As the agent acts, the memory stores each action together with the outcome it produced. From these transitions the model reads a dynamics code, which conditions its predictions of the effects of its next actions. At test time, the model adapts by writing its transitions into its memory, without accessing the hidden factors or changing any weight. In three environments, memory raises planning success under dynamics shifts outside the training range above that of the same model trained on the same data without memory. On PushT, it raises out-of-range success from 50% to 72% and success under unseen dynamics by 18 points, and it significantly outperforms test-time training out of range and under combined shifts in 11 of 12 paired comparisons across environments and backbones. A history encoder limited to the current episode recovers less than half of the gain, so the gain comes from the experience kept across episodes. A JEPA world model can thus adapt to dynamics shifts from a memory of its own transitions.
Method
Results
We add LeMémoire to two JEPA world models, LeWM and temporal straightening (TS), and evaluate it on ShiftedWorlds: 82 test conditions in PushT, Reacher and OGBench-Cube. They fall into four groups: in range (including the default world), out of range, unseen dynamics and combinations of several changes.
ShiftedWorlds
Every tile replays the same recorded action sequence of its environment in one test condition. Click a tile to enlarge it.
Condition names, values and training ranges as in the condition tables of the paper's appendix.
block inertia ×0.1 · never trained (training: ×0.3 to ×3)
Without memory and with test-time training, the plans over-rotate the T. With memory, the T lands in place.
pusher gain ×2.5 · never trained (training: ×0.6 to ×1.6)
Without memory, every push overshoots. With memory, the agent scales its pushes and lines the T up.
block and pusher friction 2.0 · never trained (training: 0 to 0.75)
With memory, the T reaches the goal at step 25. Without memory and with test-time training, it misses the goal in all 50 steps.
actuator gear ×4 · never trained (training: ×0.4 to ×2)
Without memory, the arm swings past the target. With memory, it reaches it.
actuator gear ×4 · never trained (training: ×0.4 to ×2)
A second episode in the same world. With memory, the arm reaches the target at step 25.
command rotation 56.25° · never trained (training: ±45°)
Without memory, the arm pushes the cube the wrong way. With memory, it brings the cube to the goal.
Each example is a test episode in which ours succeeds within half the step budget and the other methods fail. The examples are chosen by this rule, so the success rates are in the bars and in the table below, not in the clips.
Planning success (%) in changed worlds
PLDM and GCBC sit outside the two backbone groups of the paper's table and appear in both views. Bold and underline rank all nine columns of the paper's table.
| Test group | PLDM | GCBC | LeWM | AdaJEPA | PhysiCal | Ours | TS | AdaJEPA | Ours |
|---|---|---|---|---|---|---|---|---|---|
| In range | 61.8 ± 1.8 | 74.0 ± 7.7 | 64.9 ± 2.9 | 55.0 ± 1.9 | 82.2 ± 4.7 | 86.3 ± 1.3 | 80.7 ± 1.9 | 64.5 ± 4.2 | 83.0 ± 2.7 |
| Out of range | 51.7 ± 3.0 | 62.3 ± 6.2 | 54.3 ± 2.7 | 48.8 ± 0.4 | 66.4 ± 2.1 | 72.3 ± 3.2 | 66.2 ± 2.4 | 54.5 ± 1.6 | 66.9 ± 3.3 |
| Unseen dynamics | 71.5 ± 1.0 | 74.3 ± 9.0 | 76.5 ± 2.3 | 65.0 ± 2.0 | 80.0 ± 6.9 | 84.5 ± 5.7 | 75.2 ± 6.8 | 63.5 ± 6.1 | 78.7 ± 3.1 |
| Combinations | 30.8 ± 2.0 | 27.7 ± 3.0 | 32.7 ± 2.3 | 30.0 ± 1.0 | 37.2 ± 0.8 | 53.2 ± 1.8 | 51.8 ± 2.7 | 43.4 ± 1.7 | 51.8 ± 3.3 |
| Test group | PLDM | GCBC | LeWM | AdaJEPA | PhysiCal | Ours | TS | AdaJEPA | Ours |
|---|---|---|---|---|---|---|---|---|---|
| In range | 56.4 ± 4.1 | —‡ | 50.3 ± 3.8 | 51.9 ± 3.6 | 54.4 ± 3.2 | 80.5 ± 4.4 | 66.4 ± 1.7 | 79.1 ± 3.2 | 87.2 ± 2.2 |
| Out of range | 11.4 ± 2.2 | —‡ | 11.9 ± 3.6 | 15.3 ± 1.4 | 15.0 ± 5.1 | 28.9 ± 5.5 | 35.0 ± 4.2 | 22.7 ± 2.9 | 62.3 ± 1.2 |
| Unseen dynamics | 18.0 ± 2.6 | — | 14.9 ± 1.1 | 14.7 ± 2.5 | 16.1 ± 3.6 | 35.7 ± 1.9 | 18.3 ± 1.5 | 28.2 ± 2.4 | 38.1 ± 5.4 |
| Combinations | 23.7 ± 4.4 | —‡ | 27.7 ± 4.5 | 36.8 ± 6.3 | 33.2 ± 6.3 | 39.7 ± 9.1 | 56.8 ± 3.7 | 22.0 ± 4.8 | 65.3 ± 1.6 |
| Test group | PLDM | GCBC | LeWM | AdaJEPA | PhysiCal | Ours | TS | AdaJEPA | Ours |
|---|---|---|---|---|---|---|---|---|---|
| In range | 64.8 ± 4.3 | 93.9 ± 1.9 | 71.4 ± 4.2 | 87.4 ± 3.3 | 86.1 ± 2.1 | 86.4 ± 0.9 | 81.6 ± 4.0 | 81.8 ± 1.6 | 88.4 ± 0.2 |
| Out of range | 58.9 ± 2.6 | 75.9 ± 2.8 | 62.7 ± 3.2 | 71.3 ± 1.0 | 80.0 ± 2.5 | 82.6 ± 1.6 | 69.9 ± 4.9 | 69.9 ± 4.2 | 77.7 ± 2.5 |
| Unseen dynamics | 51.7 ± 4.9 | 61.6 ± 3.0 | 56.2 ± 4.3 | 66.2 ± 0.5 | 63.4 ± 4.2 | 61.4 ± 2.6 | 60.4 ± 4.9 | 59.3 ± 2.9 | 63.8 ± 3.2 |
| Combinations | 58.4 ± 4.2 | 80.3 ± 1.0 | 61.6 ± 2.0 | 68.3 ± 2.2 | 74.1 ± 1.8 | 80.4 ± 2.0 | 67.1 ± 3.9 | 60.5 ± 3.9 | 70.1 ± 0.2 |
Planning success (%) in changed worlds. LeWM and temporal straightening (TS) backbones. Mean ± std over three 50-episode blocks. Best in bold, second best underlined, and the best within each backbone shaded. A dash marks a cell not measured, or (‡) a success below 3%. Three training seeds of our LeWM model on PushT vary by a std of at most 0.7 points per group (see the paper's appendix). Ours is significantly better in over 80% of paired comparisons (Holm-corrected McNemar).
BibTeX
@article{lememoire2026,
title = {LeM{\'e}moire: Memory-Conditioned {JEPA} World Models for Planning in Changing Worlds},
author = {Pinon, Sadman Rakib and Orsini, Adamo and Jiang, Linlian and Chi, Zhixiang and Kingi, Jacob and Wang, Yang and Zuo, Xinxin},
journal = {arXiv preprint},
year = {2026}
}