Self-Consistent Model-based Adaptation for Visual Reinforcement Learning

Xinning Zhou, Chengyang Ying, Yao Feng, Hang Su, Jun Zhu

Introduction

Visual Reinforcement Learning (VRL) has shown great promise in simulated environments. However, a significant barrier to real-world deployment is the presence of "clutter"—unpredictable backgrounds, lighting variations, and occlusions. Standard VRL agents, trained on "clean" simulations, often fail to generalize to these noisy observations. Existing approaches typically rely on extensive data augmentation or slow, task-specific policy adaptation. This paper introduces Self-Consistent Model-based Adaptation (SCMA), a "plug-and-play" framework that achieves robustness through unsupervised distribution matching without modifying the agent's policy.

Methodology: The SCMA Framework

The core philosophy of SCMA is to treat visual generalization as an unsupervised domain transfer problem. Instead of retraining the agent, SCMA inserts a denoising model ($m_{de}$) between the environment and the agent.

The SCMA adaptation framework using a frozen world model to guide the denoiser.

Key Components

  1. Pre-trained World Model: A world model (e.g., Dreamer) is first trained on clean simulated data to learn the latent dynamics and "clean" state distributions of the task. During adaptation, this model remains frozen and acts as a statistical anchor.
  2. Denoising Model ($m_{de}$): A generic image-to-image network that transforms cluttered observations into "cleaned" versions recognizable by the agent.
  3. Self-Consistent Losses: The denoiser is optimized using three primary signals:
  4. $L_{sc}$ (Self-Consistent Reconstruction): Ensures the denoised image aligns with the world model's learned distribution.
  5. $L_n$ (Noisy Reconstruction): Maintains fidelity to the current observation, preventing the model from outputting generic "clean" frames.
  6. $L_{rew}$ (Reward Prediction): Preserves task-relevant visual features by incentivizing the denoiser to retain information correlated with rewards.

Experimental Evaluation

The authors evaluated SCMA across several challenging benchmarks, including DMControlGB (generalization), DMControlView (viewpoint changes), and RL-ViGen (occlusions and manipulation).

Key Results

SCMA demonstrates state-of-the-art performance across nearly all tested categories. Notably, in the "video_hard" setting of DMControlGB, SCMA achieved scores nearly double those of existing baselines like PAD and MoVie.

Performance comparison of SCMA against state-of-the-art baselines across various DMControl tasks.

Beyond simulation, SCMA was validated on a real-world Mobile ALOHA robot performing an apple-grasping task. The framework successfully filtered out complex backgrounds and lighting shifts, significantly improving the action prediction accuracy of an Inverse Dynamics Model (IDM).

Discussion and Insights

  • Policy-Agnosticism: SCMA is independent of the underlying RL agent. A denoiser trained with one agent (e.g., Dreamer) can be successfully transferred to another (e.g., SGQN).
  • Efficiency: The method is highly sample-efficient, reaching 90% of peak performance with only 10% of the adaptation steps required by previous methods.
  • Limitations: The framework's performance is inherently bounded by the quality of the pre-trained world model. Future work may explore more powerful generative architectures, such as Diffusion Models, to enhance denoising in highly complex scenes.

Conclusion

SCMA provides a robust, unsupervised, and policy-agnostic solution for visual RL adaptation. By leveraging world models as anchors for distribution matching, it bridges the gap between clean simulations and cluttered real-world environments.

Summary updated

BibTeX
@inproceedings{zhou2025self,
  author = {Xinning Zhou and Chengyang Ying and Yao Feng and Hang Su and Jun Zhu},
  title = {{Self-Consistent Model-based Adaptation for Visual Reinforcement Learning}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2025},
  doi = {10.24963/ijcai.2025/800},
}
Figure