Skip to main content
QUICK REVIEW

[Paper Review] Domain Adaptation In Reinforcement Learning Via Latent Unified State Representation

Jinwei Xing, Takashi Nagata|arXiv (Cornell University)|Feb 10, 2021
Domain Adaptation and Few-Shot LearningComputer Science21 references5 citations
TL;DR

This paper proposes a two-stage reinforcement learning framework that learns a latent unified state representation (LUSR) by disentangling domain-general from domain-specific features in the latent space. By training on a source domain using only the domain-general embedding, the method enables zero-shot policy transfer to unseen target domains with superior generalization and training efficiency compared to prior approaches.

ABSTRACT

Despite the recent success of deep reinforcement learning (RL), domain adaptation remains an open problem. Although the generalization ability of RL agents is critical for the real-world applicability of Deep RL, zero-shot policy transfer is still a challenging problem since even minor visual changes could make the trained agent completely fail in the new task. To address this issue, we propose a two-stage RL agent that first learns a latent unified state representation (LUSR) which is consistent across multiple domains in the first stage, and then do RL training in one source domain based on LUSR in the second stage. The cross-domain consistency of LUSR allows the policy acquired from the source domain to generalize to other target domains without extra training. We first demonstrate our approach in variants of CarRacing games with customized manipulations, and then verify it in CARLA, an autonomous driving simulator with more complex and realistic visual observations. Our results show that this approach can achieve state-of-the-art domain adaptation performance in related RL tasks and outperforms prior approaches based on latent-representation based RL and image-to-image translation.

Motivation & Objective

  • Address the challenge of zero-shot policy transfer in deep reinforcement learning when visual domains differ slightly.
  • Overcome limitations of existing domain adaptation methods, such as reliance on multiple source domains (domain randomization) or computationally expensive image translation (GANs).
  • Improve generalization by learning a unified latent state representation that filters out domain-specific variations.
  • Enable efficient, real-time policy transfer without retraining by leveraging disentangled domain-general embeddings.
  • Validate the approach in both simplified (CarRacing) and complex, realistic (CARLA) environments with high-fidelity visual observations.

Proposed method

  • Decompose the latent state representation into domain-general and domain-specific components using a variational autoencoder (VAE) with disentanglement regularization.
  • Train a shared encoder to extract latent embeddings from observation images across multiple domains, followed by separate decoders for domain-specific and domain-general components.
  • Use only the domain-general embedding as the state representation during reinforcement learning training in the source domain.
  • Apply standard deep RL algorithms (e.g., SAC) on the source domain using the LUSR for policy learning.
  • Perform zero-shot evaluation of the trained policy in target domains without further fine-tuning.
  • Utilize t-SNE visualization and saliency maps to validate the disentanglement and interpretability of learned representations.

Experimental results

Research questions

  • RQ1Can a disentangled latent state representation improve zero-shot policy transfer across visually different domains in reinforcement learning?
  • RQ2How does LUSR compare to image-to-image translation and latent representation-based methods in terms of generalization and inference efficiency?
  • RQ3To what extent does filtering out domain-specific variations improve policy robustness in complex visual environments like CARLA?
  • RQ4Does the disentanglement of domain-general and domain-specific features lead to more interpretable and centralized attention in the policy?
  • RQ5Can LUSR maintain high performance in target domains even when the source domain is trained without domain randomization?

Key findings

  • The LUSR-based agent achieved state-of-the-art zero-shot domain adaptation performance in both CarRacing and CARLA environments, outperforming domain randomization, image translation (CycleGAN), and VAE-based baselines.
  • In CARLA, LUSR achieved the highest scores in both target domains without any fine-tuning, while VAE-Embedding and CURL showed significant performance drops and slower driving behavior.
  • t-SNE visualization confirmed that domain-general embeddings were similar across domains, while domain-specific embeddings were well separated, validating the disentanglement of the latent space.
  • The policy trained with LUSR exhibited centralized attention on the road center, indicating better focus on task-relevant features compared to other methods.
  • LUSR outperformed DARLA in CARLA, suggesting that excessive disentanglement (via high β in β-VAE) can lead to information loss in complex visual tasks.
  • CURL failed to generalize due to strong domain-specific features in its latent representation, as confirmed by t-SNE clustering based on domain labels.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.