Manuscript Offprint

arXiv:2610.35636

Adapt for Planning, Not just Prediction: Optimistic Test-Time World Model Adaptation

Akshay Mete, Dileep Kalathil, P. R. Kumar

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

Latent world models are typically pre-trained offline and kept frozen at test time, so planning with them can degrade under distribution shift. Test-time adaptation (TTA) can mitigate this degradation by updating the model during deployment. Unlike pre-training on fixed data, TTA for planning is closed-loop: the planner uses model rollouts to select actions, and the resulting transitions drive the next update. This raises the question: which objective should guide TTA for planning? Under a prediction-only objective, the model is fit only to the outcomes of its own actions, so it can remain wrong about the actions that would reach the goal, and low prediction error need not translate into better planning. Inspired by reward-biased maximum likelihood from adaptive control, we introduce Optimistic Test-Time Adaptation (OpTTA). Its objective has two terms, the prediction loss on observed transitions and the planner's goal-reaching cost on its candidate rollouts, both minimized over the model parameters. The planning term biases adaptation toward models that are optimistic about reaching the goal, without any additional environment interaction. Across visual and environment shifts on manipulation, reaching and navigation tasks, OpTTA raises final planning success over the frozen model by 13.5 percentage points on average, compared with 6.9 for the prediction-only objective (AdaJEPA), when only the predictor is adapted. When the encoder is adapted as well, the gains are 13.5 and 7.5 points. These experiments span three JEPA world models with different encoders and training objectives and, for temporal straightening, both CEM and gradient-based planners. Our results suggest that test-time adaptation of world models for planning benefits from an optimistic, task-aware term in addition to the prediction loss.

1 INTRODUCTION

Latent world models have demonstrated success across a range of control and planning tasks (LeCun, 2022; Zhou et al., 2025; Maes et al., 2026). These world models are typically pre-trained offline and kept frozen at test time. Test-time distribution shift can degrade planning performance. A standard approach in adaptive control is to update the dynamics model online as new transitions are observed. This raises the central question: which objective should guide test-time adaptation of a world model?

Figure

OpTTA (optimistic)

Figure 1: Gain in final planning success over the frozen model for prediction-only adaptation (Ada-JEPA) and optimistic adaptation (OpTTA), averaged over the visual corruptions or environment shifts of each setting (Table 1). Error bars show ±1\pm1 s.e. over seeds.

Figure

① plan → ② execute → ③ optimistic adaptation → ④ replan

Figure 2: Optimistic Test-Time Adaptation. At every replanning step the world model is adapted on the observed transitions, using the prediction loss plus the task-aware optimistic loss evaluated on the candidate rollouts the planner has already generated.

A straightforward choice is to minimize the latent prediction loss on transitions observed at test time. AdaJEPA (Wang et al., 2026a) follows this approach for goal-conditioned planning with JEPA world models, updating the model on recent transitions at each replanning step. Compared with a frozen model, this prediction-only adaptation can improve planning success under distribution shift. Unlike pre-training on fixed data, test-time adaptation operates in a closed loop: the planner selects actions by scoring the model's imagined rollouts, and the resulting transitions are used for the next model update. The model is thus trained to minimize prediction loss only on the outcomes of its own action choices, so it can fit them accurately yet remain wrong about actions that would reach the goal, a closed-loop identifiability problem (Borkar & Varaiya, 1979). This mismatch between the prediction loss and the planning objective is known as objective mismatch (Lambert et al., 2020).

An early solution to this objective mismatch was reward-biased maximum likelihood (RBMLE), proposed by Kumar & Becker (1982). RBMLE estimates the model with a joint objective of two terms: the likelihood of the observed transitions and the optimal long-run reward achievable under the model. This objective is both task-aware and optimistic: it favors a model with high achievable reward while anchoring the model estimate to the observed transitions. RBMLE introduces optimism directly through the estimation objective, without the confidence sets or explicit uncertainty estimates required by upper-confidence-bound methods (Jaksch et al., 2010), making it more amenable to test-time adaptation, where calibrated uncertainty estimates are difficult to obtain for world models under distribution shift. RBMLE has so far been studied mainly in adaptive control and reinforcement learning (Kumar & Becker, 1982; Mete et al., 2021; 2026); in this paper, we propose an optimistic objective for test-time adaptation of world models used for planning.

References (39)