cs.LGOct 23, 2026

When Does Dynamics Randomization Test Context Inference?

Authors: Oleg Smirnov, Sofiane Ennadir, John Pertoft, Bjartur Hjaltason, Sara Karimi

Organizations: King AI Labs, Microsoft Gaming · King AI Labs, Microsoft Gaming & KTH Royal Institute of Technology

Abstract

Environments with randomized dynamics are widely used to ask whether world models need explicit context inference. However, randomization can leave little predictive information for a context encoder to add, because distinct latent parameters may produce similar transitions at visited states, or those states may already reveal the active context. We formalize the remaining one-step information as predictive headroom and compare kernels under fixed and visited state--action distributions to distinguish changes in query coverage from changes in context weights. We analyze discrete and continuous environments and find low headroom both when kernels differ little and when visitation reduces an otherwise large discrepancy. At the same time, resetting state components increases headroom, showing that context evidence accumulates in state. We propose reporting this headroom alongside the randomized parameters, so that gains from explicit context inference can be interpreted relative to the information missing from the current state and action.

Figures & tables

Appendix figures & tables1 asset

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Considering Context: When World Models Need Context Encoders

    Oct 5, 2026Oleg Smirnov, Sofiane Ennadir, John Pertoft +2Reinforcement LearningWorld Model Learning

  2. Not All Answers Are Contextually Persuadable: Inference Dynamics in Large Language Models under Contextual Influence

    Oct 3, 2026Zongye Hu, Weiqing Luo, Yanjie Fu +3LLM InferenceFraming Effects in Language Models

  3. Dynamic Context Scheduling: Learning Beyond the Static Universe

    Aug 21, 2026Martin Mráz, André BiedenkappContextual RLReinforcement Learning