TL;DR
MERL (Multi-Head Reinforcement Learning) is a framework that improves agent learning by injecting "problem knowledge" through auxiliary tasks. By adding a head that predicts the fraction of variance explained ($\mathcal{V}^{ex}$) by the value function, the agent gains a dense signal for self-performance assessment, leading to faster learning in continuous control and superior transferability across Atari games.
What Problem Does This Paper Address?
Reinforcement Learning (RL) agents often suffer from "sample inefficiency"—they need millions of interactions to learn simple tasks. This is largely because the reward signal is often sparse; an agent might wander for a long time before receiving any feedback.
While researchers have tried to fix this using domain-specific prior knowledge, these solutions are often hard to scale or implement across different types of tasks. The authors of MERL aim to provide a task-agnostic framework that allows agents to learn from every interaction, not just the rewards, by forcing the neural network to represent fundamental properties of the environment and the agent's own performance.
Methods
The core of MERL is a multi-head architecture built on top of a standard policy gradient algorithm (specifically PPO, or Proximal Policy Optimization).
As shown in Figure 1, the agent shares a base "shared parameters network" between the policy, the value function, and several auxiliary "heads." The paper introduces two specific auxiliary quantities:
- Fraction of Variance Explained ($\mathcal{V}^{ex}$): This is the paper's primary contribution. It measures the discrepancy between the estimated state value ($V$) and the actual observed returns. In statistics, this is known as the coefficient of determination ($R^2$). It tells the agent how well its internal value function is actually explaining the rewards it sees.
- Future States Prediction (FS): A common auxiliary task where the agent tries to predict the next state ($s_{t+1}$) given the current state ($s_t$).
During training, the loss functions from these auxiliary heads are added to the standard PPO value update. This regularizes the learning process, ensuring the shared features in the neural network are useful for more than just picking the next action—they must also capture the underlying dynamics of the problem.
Datasets
The authors evaluated MERL across two distinct domains:
- MuJoCo: A physics engine used for 9 continuous control tasks (e.g., Ant, HalfCheetah, Hopper). These tasks involve controlling joints to make a robot walk or run.
- Atari 2600: Used to test transfer learning. The agent was pre-trained on one game (like BeamRider or Asterix) and then switched to Ms. Pacman to see how quickly it could adapt.
Key Insights and Ideas
- Self-Performance as a Signal: The use of $\mathcal{V}^{ex}$ is a clever way to give the agent a sense of "confidence." If $\mathcal{V}^{ex}$ is close to 1, the agent's value function perfectly explains the returns; if it's negative, the agent's model is performing worse than a simple average. This provides a dense, internal signal that helps the agent learn even when external rewards are missing.
- The Power of Synergy: The authors conducted an "ablation study" (Figure 4) to see if one head was doing all the work. They found that while $\mathcal{V}^{ex}$ or Future State prediction helped individually, combining them produced the best results. This suggests that different auxiliary tasks capture complementary aspects of the environment.
- Better Feature Representations: Because the agent is forced to predict future states and assess its own variance, it develops a more robust internal representation of the world. This is why MERL agents performed significantly better in transfer learning scenarios—the "knowledge" they gained in the first game was actually useful in the second.
Key Results
- Continuous Control: In the MuJoCo environments, MERL outperformed the standard PPO baseline in 8 out of 9 tasks. For example, in the Ant environment, MERL achieved a score of $2157 \pm 212$ compared to PPO's $1728 \pm 64$.
- Transfer Learning: In Atari games, MERL agents adapted to new tasks much faster than standard agents.
- Low Overhead: Despite adding extra heads, the computational cost was negligible—only a 5% to 7% increase in training time.
As seen in the transfer learning plots (like Figure 3 above), the MERL-enhanced agents (blue line) consistently reached higher scores faster than the baselines when switching tasks.
Limitations and Future Work
The authors acknowledge that while the empirical results are strong, the theoretical contribution (why exactly this implicit regularization works so well) deserves more study.
Additionally, the framework is currently tested on on-policy methods (PPO). Extending this to off-policy methods or exploring other auxiliary quantities—such as predicting the time remaining until the end of a trajectory—are noted as promising directions for future research.
Summary updated