[Paper Review] Mutual Information Based Knowledge Transfer Under State-Action Dimension Mismatch
This paper proposes Mutual Information-based Knowledge Transfer (MIKT), a method for transferring knowledge from a teacher policy to a student policy in reinforcement learning even when the two agents have mismatched state- and action-spaces. By learning task-aligned embeddings and optimizing them with both policy gradient and mutual information losses, MIKT enables effective transfer in complex locomotion tasks, significantly outperforming baselines like VPG and MLPP in sample efficiency and final performance.
Deep reinforcement learning (RL) algorithms have achieved great success on a wide variety of sequential decision-making tasks. However, many of these algorithms suffer from high sample complexity when learning from scratch using environmental rewards, due to issues such as credit-assignment and high-variance gradients, among others. Transfer learning, in which knowledge gained on a source task is applied to more efficiently learn a different but related target task, is a promising approach to improve the sample complexity in RL. Prior work has considered using pre-trained teacher policies to enhance the learning of the student policy, albeit with the constraint that the teacher and the student MDPs share the state-space or the action-space. In this paper, we propose a new framework for transfer learning where the teacher and the student can have arbitrarily different state- and action-spaces. To handle this mismatch, we produce embeddings which can systematically extract knowledge from the teacher policy and value networks, and blend it into the student networks. To train the embeddings, we use a task-aligned loss and show that the representations could be enriched further by adding a mutual information loss. Using a set of challenging simulated robotic locomotion tasks involving many-legged centipedes, we demonstrate successful transfer learning in situations when the teacher and student have different state- and action-spaces.
Motivation & Objective
- To address the challenge of knowledge transfer in deep reinforcement learning when teacher and student agents have different state- and action-spaces.
- To enable effective transfer learning in complex, high-dimensional control tasks such as multi-legged robotic locomotion.
- To overcome limitations of prior methods that require shared state- or action-spaces, particularly those relying on KL divergence or fixed-layer lateral connections.
- To design a framework that extracts and transfers meaningful representations from teacher networks to student networks despite structural mismatches.
- To empirically validate that mutual information regularization enhances representation quality and transfer performance.
Proposed method
- Learning a shared embedding space via a neural network encoder to map teacher and student representations into a common space.
- Training the encoder using a combined loss: a PPO-based policy gradient loss and a mutual information loss to align representations with the task.
- Using a weighted linear combination of student and teacher representations in the final policy head, with the weight dynamically learned during training.
- Applying the mutual information loss to encourage the encoder to preserve task-relevant information from the teacher's policy and value networks.
- Avoiding learnable transformation matrices between teacher and student layers by directly using the embedded representations.
- Optimizing the encoder with gradients from both the RL policy objective and the mutual information objective to improve representation quality.
Experimental results
Research questions
- RQ1Can knowledge be effectively transferred from a teacher policy to a student policy when their state- and action-spaces are mismatched?
- RQ2Does incorporating mutual information as a training objective improve the quality of transferred representations in RL?
- RQ3How does the performance of MIKT compare to standard RL and prior knowledge distillation baselines in tasks with structural similarity but different state/action dimensions?
- RQ4To what extent does the effectiveness of transfer learning depend on the similarity between teacher and student tasks?
- RQ5How do the contributions of the teacher and student representations evolve during training, especially when the teacher is dissimilar?
Key findings
- MIKT significantly outperforms VPG and MLPP baselines in terms of both early training sample efficiency and final episodic return across all tested locomotion tasks.
- The MIKT model with both PPO and mutual information losses achieves higher final performance and faster learning curves than variants without either loss component.
- The ablation study shows that removing the mutual information loss leads to poor early training performance, indicating its critical role in representation learning.
- When using a dissimilar teacher (e.g., Hopper), the model quickly learns to rely on its own representations, as shown by a sharp rise in the student representation weight, confirming that transfer is less effective for dissimilar tasks.
- The use of task-aligned embeddings enables successful transfer even when the teacher and student have different state (139D vs. 97D) and action (16D vs. 10D) dimensions, validating the framework's robustness.
- Empirical results on centipede locomotion tasks demonstrate that structural similarity between tasks enables effective knowledge transfer, even across different leg counts.
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.