Minimum Description Length Control: A Compression Approach to Multitask RL
Minimum Description Length Control (MDL-C) is a novel multitask reinforcement learning framework that uses the principle of data compression to help agents learn faster. By forcing a "default" policy to be as simple as possible while still capturing shared behavior across tasks, the agent naturally ignores irrelevant details and generalizes better to new challenges.
The Challenge of Multitask Generalization
In reinforcement learning (RL), an agent usually tries to maximize rewards for a specific task. However, to build "generalist" agents capable of handling many different tasks, researchers often use Regularized Policy Optimization (RPO). In RPO, a task-specific "control policy" is encouraged to stay close to a general "default policy."
The primary challenge is determining how complex that default policy should be. If it is too simple, it cannot capture useful common behaviors (like the basic mechanics of walking across different terrains). If it is too complex, it overfits to the first few tasks it encounters and fails to adapt when a new, slightly different task appears. Currently, researchers often hand-craft this balance by manually hiding information from the default policy. MDL-C provides an adaptive way for the agent to learn the right level of complexity on its own.
Methods: Learning through Compression
The authors introduce MDL-C (pronounced "middle-cee"), which treats multitask learning as a compression problem. It relies on the Minimum Description Length (MDL) principle: the best model is the one that provides the shortest combined description of the model itself and the data it explains.
Key components of the framework include:
- Dual-Process Architecture: Inspired by "System 1" (habitual/default) and "System 2" (deliberative/control) thinking in psychology.
- Variational Dropout (VDO): Instead of manually picking which features to ignore, MDL-C uses VDO to "prune" neural network parameters that don't contribute to general performance, effectively compressing the default policy.
- Sparsity-Inducing Priors: The framework uses specific mathematical priors that bias the default policy toward simplicity. This forces the agent to "gate out" features only relevant to specific tasks while keeping universally useful features.
By mathematically forcing the default policy to maintain a low description length, the agent is compelled to ignore "spurious correlations"—details that appear important in one task but are actually noise in the broader context. The paper provides formal proofs showing that this approach minimizes "regret" (the difference between the agent's performance and optimal performance) as it encounters more tasks.
Experimental Results and Insights
The framework was evaluated on two main types of environments: 2D Navigation (FourRooms) and high-dimensional continuous control tasks from the DeepMind Control Suite (Walker and Cartpole).
Automatic Feature Gating and Faster Adaptation One of the most striking findings was MDL-C's ability to automatically learn which features to ignore. In the FourRooms environment, the authors tested "Goal Generalization" (moving goals to new rooms) and "Contingency Changes" (changing the rules of how features relate to rewards).
As shown in the feature weight graphs, MDL-C automatically learns to gate out unreliable features. When the environment phases shifted, MDL-C adapted to new goal locations significantly faster than standard RPO baselines, which tended to get stuck on old goal locations. Furthermore, when the meaning of input features changed, MDL-C remained stable because its default policy had already learned to ignore those unreliable features.
Continuous Control Success
In the DeepMind Control Suite, MDL-C demonstrated a clear "learning to learn" effect. As the number of tasks increased, the agent's performance on the hardest tasks (like walker_run) improved much faster than baselines. MDL-C naturally handles "epistemic uncertainty"—when the agent has only seen a few tasks, the sparsity-inducing priors keep the default policy very simple to prevent overfitting. As it sees more tasks, it gradually allows the default policy to become more complex only if that complexity truly helps across the board.
Limitations and Future Work
While highly effective, the current theoretical analysis of MDL-C assumes a Gaussian structure for the task distribution, which might not hold for extremely diverse or "non-smooth" task sets. Additionally, the framework assumes tasks are sampled independently. Because real-world tasks often come in a specific sequence (a curriculum), future work will explore how MDL-C handles non-stationary environments. Finally, for extremely diverse task sets (e.g., "playing chess" vs. "cooking"), scaling the framework might require a library of compressed default policies rather than a single shared one.
Summary updated