Learning to Expose Dynamics Change: Co-Training Representations with a Differentiable Change Regressor

Hang YuOpenReview 2026

Abstract

Model-based agents deployed in the real world routinely encounter dynamics that differ from those seen during training. A common remedy is to infer a context or task variable from recent experience and condition the model on it, but this only works if the learned state representation actually exposes the relevant differences rather than discard the evidence. We show that standard latent-dynamics objectives frequently do not: they compress away variation that is irrelevant for one-step prediction on the source distribution yet essential for telling environments apart. To address this, we propose training the encoder and transition model jointly with the very change estimator that will be used at test time. Perturbed source-domain rollouts provide supervision for a compact parametric model of low-dimensional response, and a differentiable ridge regression layer estimates the change coefficients from latent transitions during training. The resulting loss rewards representations under which the estimator has low variance and small bias, encouraging the latent space to keep the directions along which the coefficients condition. At test time, encoder, transition model, and planner all stay frozen; the agent collects a handful of transitions, solves the same regression problem, and plans under the estimated coefficients. We analyze the method in a finite-capacity linear-gaussian setting, quantifying the trade-off between reconstruction fidelity and change-estimability, characterizing how estimation risk scales with the number of probing transitions, and describing the irreducible errors that arise from committing to a fixed encoder. Empirically, the approach adapts within tens of interaction steps to unseen dynamics on locomotion and manipulation benchmarks and degrades gracefully when the true change lies partially outside the assumed response model, leaving the dynamics estimable.
BibTeX
@misc{yu2026learning,
  author = {Hang Yu},
  title = {{Learning to Expose Dynamics Change: Co-Training Representations with a Differentiable Change Regressor}},
  year = {2026},
  url = {https://openreview.net/forum?id=jzm1sNa4fu},
  howpublished = {OpenReview},
}

Loading related content...

Figure