AI
Selective Knowledge Transfer Improves Reinforcement Learning Efficiency
New method uses anomaly detection to let trained AI policies guide learning only when relevant, boosting sample efficiency without harmful bias.
Researchers have developed an energy-based approach to transfer learning in reinforcement learning that addresses a persistent challenge: how to reuse knowledge from one task to train agents faster on related but different problems without introducing harmful bias.
The Core Problem#
Reinforcement learning typically requires vast amounts of trial-and-error interaction to learn effective behaviors. One way to accelerate this process is to have a pretrained teacher policy guide exploration in new, similar tasks. However, this strategy has a critical flaw: when the new task diverges too much from the teacher's original training context, the transferred guidance can actually steer the agent toward poor decisions, degrading overall performance.
The Proposed Solution#
The new method combines energy-based scoring with out-of-distribution (OOD) detection to enable selective intervention. Rather than applying teacher guidance indiscriminately, the system learns to identify when the current state resembles situations the teacher encountered during training. The teacher only provides guidance in those familiar regions, while allowing the agent to explore independently in novel territory.
The researchers establish a theoretical connection between energy scores and the distribution of states visited during on-policy learning, grounding the approach in principled foundations.
Demonstrated Impact#
Testing across both single-task and multi-task (continual learning) scenarios shows that the method delivers measurable gains in sample efficiency—training agents with fewer interactions—while also improving final task performance. The selective guidance mechanism prevents the negative interference that plagued earlier transfer approaches.

