[Paper Review] Decoupling Dynamics and Reward for Transfer Learning
This paper proposes a decoupled reinforcement learning framework that separates state representation, forward dynamics, inverse dynamics, and reward learning into modular components. By training these using auxiliary tasks—especially inverse dynamics for stability—it enables fast, robust transfer across tasks with varying dynamics and rewards, significantly improving generalization and planning performance in both continuous and discrete environments.
Current reinforcement learning (RL) methods can successfully learn single tasks but often generalize poorly to modest perturbations in task domain or training procedure. In this work, we present a decoupled learning strategy for RL that creates a shared representation space where knowledge can be robustly transferred. We separate learning the task representation, the forward dynamics, the inverse dynamics and the reward function of the domain, and show that this decoupling improves performance within the task, transfers well to changes in dynamics and reward, and can be effectively used for online planning. Empirical results show good performance in both continuous and discrete RL domains.
Motivation & Objective
- Address the poor generalization of standard RL methods to perturbations in environment dynamics and reward functions.
- Improve transfer learning in RL by decoupling the learning of dynamics, reward, and state representations into modular components.
- Enable efficient reuse of pre-trained modules for rapid adaptation to new tasks with different dynamics or rewards.
- Stabilize representation learning through auxiliary inverse dynamics modeling, improving training convergence and robustness.
- Support both on-policy and off-policy policy optimization by decoupling the reward function from the dynamics model.
Proposed method
- Introduce a representation space 𝒁 via an encoder f_enc(s; θ_enc) and decoder f_dec(z; θ_dec) to map between state space 𝒮 and representation space 𝒁.
- Train a forward dynamics model f_for(z, a; θ_for) to predict next states in 𝒁, using the encoder and decoder for supervision.
- Incorporate an inverse dynamics model f_inv(z, z'; θ_inv) to predict actions from state transitions, acting as a causality-preserving regularizer.
- Use stop-gradient operations (⊗) to decouple training of dynamics and reward modules, enabling independent optimization.
- Decouple the reward function into a separate module, allowing off-policy learning and transfer to new reward functions.
- Train the dynamics and reward modules in an offline, pre-training phase before policy optimization, avoiding on-policy instability.
Experimental results
Research questions
- RQ1Can decoupling dynamics and reward learning improve generalization across tasks with varying dynamics and rewards?
- RQ2How does including an inverse dynamics model affect the stability and performance of the forward dynamics model?
- RQ3To what extent does pre-training modular components (dynamics, reward, representation) accelerate downstream policy learning?
- RQ4Does the decoupled architecture support effective transfer in both continuous control and discrete planning environments?
- RQ5How does the decoupled approach compare to end-to-end RL in terms of robustness and sample efficiency?
Key findings
- The decoupled framework significantly outperforms online, on-policy training, especially in terms of training stability and convergence speed.
- The inclusion of the inverse dynamics model stabilizes the forward dynamics learning, reducing training volatility and improving representation quality.
- Pre-training the dynamics and reward modules in an offline manner leads to faster and more reliable policy optimization in new tasks.
- The method enables effective transfer to new reward functions and perturbed dynamics, demonstrating robust generalization across task variations.
- The approach achieves strong performance in both continuous control (MuJoCo) and discrete maze planning tasks, confirming broad applicability.
- Standard A3C policy optimization performs poorly on several tasks, highlighting the benefit of the decoupled, modular training approach.
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.