Abstract
This paper introduces the first theoretical framework for offline multitask representation learning in reinforcement learning (RL). We present MORL, an algorithm designed to pool offline data from multiple source tasks to learn a shared low-dimensional representation. By leveraging the underlying structure of low-rank Markov Decision Processes (MDPs), we demonstrate that joint learning significantly reduces the sample complexity required to solve both the original source tasks and novel downstream tasks. Notably, our approach eliminates the dependency on the action space size in reward-free exploration settings, providing a substantial theoretical improvement over existing single-task methods.
Introduction
In real-world applications such as robotics and healthcare, interacting with the environment is often prohibitively expensive or dangerous. This makes offline RL—learning optimal policies from pre-collected datasets—a critical area of study. Often, these datasets come from multiple related tasks (e.g., a robotic arm performing various manipulation maneuvers) that share common underlying physics or structural properties.
While empirical research has successfully utilized multitask learning to improve performance, theoretical quantification of these benefits in the offline setting has remained elusive. This work addresses this gap by investigating how learning a shared representation from "upstream" offline tasks can accelerate learning for "downstream" tasks that the agent has never encountered before.
Problem Formulation: Low-Rank MDPs
The authors model the environment using the low-rank MDP framework. In this setting, the complex transition dynamics $P(s' | s, a)$ are decomposed into a shared feature map $\phi^*$ and task-specific measures $\mu^*$. This structure implies that while different tasks may have different transition probabilities, they all share the same underlying feature representation of the state-action space.
The MORL Framework
The proposed MORL (Multitask Offline Representation Learning) algorithm operates in two distinct stages:
- Upstream Learning: The algorithm employs a Maximum Likelihood Estimation (MLE) oracle to learn the shared representation $\phi^*$ by pooling data across all available source tasks. To address the "limited coverage" issue inherent in offline data, MORL incorporates the pessimism principle, penalizing value estimates in state-action regions that are poorly represented in the dataset.
- Downstream Application: The learned representation is then utilized as an inductive bias for various downstream scenarios, including reward-free exploration, offline RL, and online RL.
Technically, the analysis moves away from restrictive "global concentrability" ratios, instead utilizing a relative condition number for coverage assumptions, which better reflects the practical constraints of offline datasets.
Theoretical Results and Sample Complexity
The primary contribution of this work is a set of sample complexity bounds proving that MORL is significantly more efficient than previous single-task representation learning algorithms.
As illustrated in the table above, for downstream reward-free tasks, MORL achieves a sample complexity of $\tilde{O}(H^4 d^3 / \epsilon^2)$. This represents a major improvement over the previous state-of-the-art algorithm, RAFFLE, by a factor of $\tilde{O}(HdK)$. Here, $H$ denotes the planning horizon, $d$ the feature dimension, and $K$ the number of actions.
Key Insights
The Power of Pooling
By aggregating data across $T$ tasks, the shared representation $\phi^*$ can be learned with much higher precision. The error in the transition model scales with $1/\sqrt{nT}$ (where $n$ is the number of samples per task), providing a clear statistical justification for multitask data aggregation.
Breaking the Action Space Barrier
A significant finding is that in the downstream reward-free setting, the use of a pre-learned representation allows MORL to remove the dependency on the action space size ($K$) entirely. This makes the algorithm uniquely suited for environments with high-dimensional or continuous action spaces where traditional methods struggle.
Inductive Bias as a Launchpad
The learned representation serves as a powerful inductive bias. Even if a downstream task features a completely different reward structure, the encoded "physics" of the environment allows the agent to identify near-optimal policies with minimal new samples.
Conclusion and Future Work
While this work provides a rigorous foundation for multitask offline RL, it relies on a realizability assumption—the model class must contain the true underlying representation. Future research may explore relaxing this assumption for deep neural networks. Additionally, while the current theory assumes linear rewards relative to features, extending these bounds to non-linear reward functions and validating the $1/\sqrt{T}$ speedup on large-scale empirical benchmarks like the Bridge Dataset remain important next steps.
Summary updated