Sensitivity Shaping for Latent Modeling

Hongzhan Yu, Chenghao Li, Ruipeng Zhang, Henrik Christensen, Sicun GaoarXiv 2026

TL;DR

Generative world models often fail to detect dangerous, out-of-distribution (OOD) robot actions because they become "control-insensitive," predicting safe outcomes even for unsafe inputs. This paper introduces support-conditioned control-sensitivity regularization, a training method that forces models to remain responsive to action changes in well-supported data regions. This simple fix sharpens the latent landscape, allowing standard OOD detectors to flag dangerous anomalies before a robot crashes.

What Problem Does This Paper Address?

Generative dynamics models (or world models) are powerful tools in robotics. By mapping high-dimensional observations (like camera frames) into a compact latent space, they allow robots to imagine future trajectories and plan safe actions.

However, these models have a dangerous blind spot: distribution shift. If a robot during deployment executes an action completely different from its training data (an out-of-distribution, or OOD, action), the model's predictions become unreliable. Typically, researchers attach post hoc "surrogate detectors" (like density estimators or ensemble disagreement) to flag when an input is OOD and stop the robot.

The authors identify a fundamental failure mode they call control insensitivity. Because robotic training data is usually failure-free, the robot exhibits very low control diversity near critical safety boundaries (e.g., it only ever turns away from obstacles, never into them). As a result, the learned dynamics model flattens out, becoming insensitive to action changes in these zones. If you query the model with a catastrophic action, it mistakenly predicts a safe, normal-looking next state. Because the prediction looks normal, post hoc OOD detectors are completely fooled.

Figure 1: Overview of sensitivity shaping for reliable OOD detection in generative dynamics models. Control- insensitive models respond weakly to control inputs, yielding inaccurate yet in-distribution-looking predictions that obscure OOD detection. (Left) At a safety-critical state ot, different controls lead to distinct outcomes, e.g., a safe transition under u1 and an unsafe one under u2. However, the vanilla model trained on failure-free data fail to capture true system consequences due to control-insensitivity which flattens the dynamics landscape over controls, making the predicted next latent states z1 and z2 nearly indistinguishable. Our sensitivity regularizer promotes nontrivial control responses, measured via the Frobenius norm of the control-Jacobian within learned dynamics, and improves detectability of unsupported transitions in the latent space. (Right) On undemonstrated failure rollouts in manipulation and real-robot navigation, the vanilla model fails to detect OOD before failure, with scores remaining below the calibrated threshold. In contrast, the sensitivity-regularized model flags OOD earlier, with red shading marking steps classified as OOD.

Methods

To counteract this flattening effect, the authors propose Support-Conditioned Control-Sensitivity Regularization. Instead of treating OOD detection as a purely post hoc diagnostic problem, they modify the dynamics training objective directly.

  1. Control Sensitivity Regularization: The method penalizes the model if the derivative of the predicted next state with respect to the control input (the control Jacobian) vanishes. By encouraging a non-vanishing Frobenius norm of this Jacobian, the model is forced to differentiate between different actions.
  2. Support-Conditioned Targeting: Forcing sensitivity everywhere can backfire, blowing up extrapolation errors in sparse data regions. To prevent this, the authors use a $k$-nearest neighbor ($k$NN) filter in the latent space to identify the top $\beta$-fraction of well-supported training samples. The sensitivity penalty is only applied to these highly supported regions.
  3. Efficient Computation: Computing full Jacobians is computationally heavy. The authors utilize Hutchinson’s trace estimator, using random Gaussian probe vectors to approximate the Frobenius norm efficiently via standard automatic differentiation.

The underlying architecture used throughout the paper is DreamerV3 (a Recurrent State-Space Model).

Datasets

The method was evaluated across three distinct setups:

  • Vision-Based Dubins Obstacle Avoidance (Simulated): A 2D navigation task where an agent navigating via bird's-eye-view images must avoid a central obstacle.
  • Block Plucking Manipulation (Simulated): An IsaacLab environment where a Franka robot arm must extract the middle block from a three-block stack without dropping the top block.
  • Real-Robot Static-Obstacle Avoidance (Hardware): Evaluated on a physical Unitree Go2 quadruped robot navigating around obstacles using body-mounted cameras, trained on 60 minutes of human teleoperation data.

Key Insights and Ideas

  • OOD Detection is an Architecture/Dynamics Problem: Traditional approaches treat the dynamics model as a black box and try to patch it with uncertainty scores. This paper proves that if the underlying latent landscape collapses, no post hoc surrogate can recover the lost signal.
  • The Data Scarcity Paradox: Safe training data naturally lacks control diversity near danger zones. Ironically, this lack of diversity is exactly what induces the control insensitivity that breaks safety filters during deployment.
  • The Sensitivity-Reconstruction Trade-off: Broadly applying sensitivity regularization sharpens the latent space and aids OOD detection, but it can slightly degrade visual reconstruction smoothness. This highlights a delicate balance between planning safety and generative fidelity.
PCA and t-SNE visualizations showing that the regularized model (c) successfully separates demonstrated (red) and undemonstrated (blue) transitions compared to the overlapping vanilla model (b).

Key Results

The regularized dynamics model was paired with three standard OOD surrogates ($k$NN, Flow Matching, and Ensembles) to act as safety filters during closed-loop planning:

  • Obstacle Avoidance (Sim): When paired with a Flow Matching surrogate, the proposed method boosted the planning success rate from 91% to 96% while reducing OOD violations. For the $k$NN surrogate, success jumped from 60% to 80%.
  • Block Plucking: The regularized model significantly reduced task failure rates (e.g., from 11.8% down to 4.7% in policy filtering) and achieved lower reconstruction errors, keeping the robot closer to safe training manifolds.
  • Real-Robot Go2: Paired with Flow Matching, the sensitivity-regularized model achieved a perfect 100% success rate in avoiding obstacles, compared to 90% for the vanilla model, while drastically reducing false negatives in Ensemble filters.

Limitations and Future Work

  • Dependence on $k$NN Support Estimates: The targeting mechanism relies on latent $k$NN distances. If the initial latent representation or distance metric is poor, the model might misidentify which regions are actually well-supported.
  • Computational Overhead: Periodically recalculating and updating the high-support sample set during training adds computational cost, which could slow down scaling on massive datasets.
  • Future Directions: The authors suggest exploring more scalable and adaptive support estimation techniques, testing with foundation-model visual features, and validating on more complex, dynamic hardware environments.

Summary updated

BibTeX
@misc{yu2026sensitivity,
  author = {Hongzhan Yu and Chenghao Li and Ruipeng Zhang and Henrik Christensen and Sicun Gao},
  title = {{Sensitivity Shaping for Latent Modeling}},
  year = {2026},
  eprint = {2606.14585},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2606.14585},
}
Figure