Abstract
Reinforcement learning (RL) agents often struggle with the sample complexity required to learn new tasks from scratch. This paper introduces a novel multi-task RL algorithm designed to accelerate learning by transferring knowledge across a sequence of related tasks. By constructing a library of environment models, the agent can rapidly identify the underlying dynamics of new tasks, significantly reducing the number of exploratory steps. We provide formal PAC (Probably Approximately Correct) bounds and demonstrate that the algorithm is robust against "negative transfer," ensuring performance does not degrade below single-task baselines.
Introduction
In traditional RL, an agent typically begins each new task with no prior knowledge, necessitating extensive exploration of the state-action space. While empirical evidence suggests that transfer learning can improve efficiency, theoretical guarantees have remained elusive. This research addresses the core challenge of the exploration-exploitation trade-off in multi-task settings, specifically when tasks are drawn from a finite set of possible "types."
Methodology
The proposed algorithm operates in two distinct phases to optimize sample complexity:
Phase 1: Library Building
Initially, the agent performs standard single-task RL using the $E^3$ algorithm on a sequence of tasks. It records all observed transitions and rewards, subsequently clustering them to estimate a set of underlying Markov Decision Processes (MDPs). This collection forms the "model library."
Phase 2: Rapid Identification and Execution
When presented with a new task, the agent avoids exhaustive exploration. Instead, it maintains a "version space" of candidate MDPs from its library. It prioritizes visiting "informative" states—those where the predictions of the candidate models differ most significantly.
The agent employs a Model Elimination strategy: if a candidate model's predictions deviate from observed reality beyond a certain threshold, it is discarded. To prevent negative transfer, a fallback mechanism is included; if no library model matches the current task, the agent reverts to standard single-task learning.
Experimental Evaluation
The algorithm was evaluated in a simulated Gridworld Domain, consisting of a $5 \times 5$ grid. Tasks involved navigating to different corners, sharing movement dynamics but differing in reward locations. The performance was compared against a standard single-task RL baseline and the Hierarchical Multi-Task Learning (HMTL) approach by Wilson et al. (2007).
Key Results
The primary contribution is a new sample complexity bound. In Phase 2, the number of "mistakes"—steps where the agent is not $\epsilon$-optimal—scales with the number of models ($C$) rather than the full state-action space ($|S| \times |A|$). Since $C \ll |S| \times |A|$, this represents a significant reduction in sample complexity.
Empirically, while the algorithm initially performs worse during the library-building phase, it eventually achieves a significantly higher cumulative average reward. It also surpasses the Bayesian HMTL algorithm, which lacks the explicit exploration prioritization necessary to perfectly identify underlying models.
Conclusion and Future Work
This work provides a rigorous theoretical foundation for multi-task RL. By shifting the focus from state-space exploration to model-space identification, the authors achieve substantial gains in efficiency. Future research will focus on extending these bounds to continuous task spaces and integrating function approximation for high-dimensional state spaces.
Summary updated