[Paper Review] Unsupervised Domain Adaptation with Dynamics-Aware Rewards in Reinforcement Learning
This paper proposes DARS, a domain adaptation method for unsupervised reinforcement learning that enables efficient skill transfer from a source environment to a target environment with dynamics shifts. By introducing a KL-regularized reward that aligns behavior across source and target dynamics, DARS enables the agent to discover adaptive, transferable skills using minimal rollouts in the target environment, achieving performance comparable to full training in the target while reducing real-world interaction time by up to 75%.
Unsupervised reinforcement learning aims to acquire skills without prior goal representations, where an agent automatically explores an open-ended environment to represent goals and learn the goal-conditioned policy. However, this procedure is often time-consuming, limiting the rollout in some potentially expensive target environments. The intuitive approach of training in another interaction-rich environment disrupts the reproducibility of trained skills in the target environment due to the dynamics shifts and thus inhibits direct transferring. Assuming free access to a source environment, we propose an unsupervised domain adaptation method to identify and acquire skills across dynamics. Particularly, we introduce a KL regularized objective to encourage emergence of skills, rewarding the agent for both discovering skills and aligning its behaviors respecting dynamics shifts. This suggests that both dynamics (source and target) shape the reward to facilitate the learning of adaptive skills. We also conduct empirical experiments to demonstrate that our method can effectively learn skills that can be smoothly deployed in target.
Motivation & Objective
- To address the challenge of high sample cost in deploying policies in expensive real-world target environments.
- To enable unsupervised skill discovery in a source environment while ensuring transferability to a target environment with dynamics shifts.
- To reduce the number of required rollouts in the target environment without prior reward functions or goal annotations.
- To develop a reward mechanism that shapes skill discovery based on both source and target dynamics.
- To enable robust sim-to-real transfer for complex robotic skills with minimal real-world interaction.
Proposed method
- Introduce a KL regularization term that modifies the goal-achievement reward function to align trajectories between source and target environments.
- Use a latent-conditioned probing policy in the source environment to represent goals and learn a goal-distribution and reward function.
- Train the goal-conditioned policy exclusively in the source environment using the dynamics-aware reward.
- Employ two classifiers to estimate the KL divergence between source and target state distributions, enabling reward shaping based on dynamics mismatch.
- Leverage off-the-shelf unsupervised RL methods (e.g., GPIM) in the source environment to learn policies that generalize to the target.
- Reuse the target rollout buffer in fine-tuning experiments to evaluate data efficiency.
Experimental results
Research questions
- RQ1Can a policy trained in a source environment with rich rollouts be effectively adapted to a target environment with dynamics shifts using minimal target rollouts?
- RQ2How can dynamics shifts between source and target environments be explicitly modeled to guide skill discovery?
- RQ3Can unsupervised domain adaptation in RL achieve performance comparable to full training in the target environment without prior reward functions?
- RQ4Does the proposed KL-regularized reward improve the robustness and transferability of learned skills in unstable or sim-to-real settings?
- RQ5To what extent can the number of required real-world rollouts be reduced while preserving skill performance?
Key findings
- DARS achieved performance comparable to full training in the target environment (GPIM in target) within 1 million steps, while using significantly fewer target rollouts.
- With the same number of target rollouts, DARS outperformed GPIM in target with 10× more updates and finetuning baselines, demonstrating data efficiency.
- DARS reduced real-world training time for balance-keeping from 4 hours (finetuning) to just 1 hour, and enabled forward/backward motion learning in 3 hours, while baselines failed within 6 hours.
- In unstable environments, DARS successfully learned stable, repeatable skills, while SMiRL and its finetuned variant failed to adapt due to dynamics mismatch.
- Reusing the target buffer did not significantly improve performance, indicating that the KL regularization provides sufficient inductive bias for adaptation.
- DARS achieved near-optimal performance in sim-to-real transfer with minimal real-world interaction, validating its effectiveness for real-world deployment.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.