Dichotomy of Control: Separating What You Can Control from What You Cannot

Mengjiao Yang, Dale Schuurmans, Pieter Abbeel, Ofir Nachum

Abstract

Future- or return-conditioned supervised learning (RCSL) is an emerging paradigm for offline reinforcement learning (RL), where the future outcome (i.e., return) associated with an observed action sequence is used as input to a policy trained to imitate those same actions. While return-conditioning is at the heart of popular algorithms such as Decision Transformer (DT), these methods tend to perform poorly in highly stochastic environments, where an occasional high return can arise from randomness in the environment rather than the actions themselves. Such situations can lead to a learned policy that is inconsistent with its conditioning inputs. In this work, we propose the Dichotomy of Control (DoC), a future-conditioned supervised learning framework that separates mechanisms within a policy's control (actions) from those beyond a policy's control (environment stochasticity). We achieve this separation by conditioning the policy on a latent variable representation of the future and designing a mutual information constraint that removes any information from the latent variable associated with randomness in the environment. Theoretically, we show that DoC yields policies that are consistent with their conditioning inputs. Empirically, we show that DoC is able to achieve significantly better performance than DT on environments that have highly stochastic rewards and transitions.

The Problem: Luck vs. Skill in Offline RL

In offline reinforcement learning, we aim to learn an optimal policy from a fixed dataset. A popular approach is Return-Conditioned Supervised Learning (RCSL), where a model is trained to imitate actions conditioned on the achieved return. At test time, the model is prompted with a target return (e.g., "achieve 100"), and it attempts to replicate the behavior that led to that score in the training data.

However, RCSL suffers from a significant "consistency" flaw in stochastic environments. If a high return in the dataset was achieved due to a rare, lucky environment transition (e.g., a lucky bounce in a physics task), the model may attempt to replicate the actions associated with that luck. Because the agent cannot control the environment's stochasticity, it becomes inconsistent: the return requested at inference time is not the return actually achieved.

Conceptual comparison of standard RCSL (left), which can be misled by rare high-reward transitions (T=0.01), versus DoC (right), which filters for controllable actions.

Methodology: The Dichotomy of Control

Inspired by the Stoic philosophy of distinguishing between what we can and cannot change, the authors propose Dichotomy of Control (DoC). The framework introduces three key components:

  1. Latent Future Conditioning: Instead of conditioning on a raw scalar return, DoC conditions the policy on a latent variable $z$ representing the future.
  2. Mutual Information (MI) Constraints: This is the core innovation. The authors apply a constraint to ensure the mutual information between the latent variable $z$ and the environment's stochasticity (uncontrollable rewards and transitions) is zero. This effectively "filters" the latent variable to contain only information about controllable actions.
  3. Contrastive Implementation: To make MI constraints tractable, the authors use a contrastive learning objective with energy-based functions. This forces the model to ignore environment noise.
  4. Inference via Value Function: At test time, the system samples multiple possible latents from a learned prior and uses a separate value function $V(z)$ to select the one predicting the highest expected return.

Key Results

The authors evaluated DoC against baselines like Decision Transformer (DT) and Behavior Cloning (BC) across several stochastic benchmarks.

  • Bernoulli Bandit: In a task where one arm is better on average but another occasionally "gets lucky," DoC correctly identifies the optimal arm, whereas DT fails to distinguish between the two.
  • Stochastic FrozenLake: In this grid-world task, agents must navigate to a goal while occasionally slipping. As the environment becomes more stochastic and the data noisier, DoC maintains a significant performance lead over DT and VAE-based methods.
Performance on Stochastic FrozenLake across varying levels of randomness and transition probability. DoC (blue) consistently outperforms baselines as stochasticity increases.
  • MuJoCo & AntMaze Benchmarks: On complex continuous control tasks like Humanoid, DoC achieved substantially higher average returns than DT. It also demonstrated superior robustness to hyperparameter tuning compared to standard VAE-based approaches, which often collapsed in sensitive environments like Reacher-v2.

Insights and Limitations

DoC demonstrates that "consistency" is vital for the success of supervised learning in RL. By surgically removing uncontrollable information, DoC ensures that conditioning a policy on a high-return future actually induces high-return behavior.

While DoC represents a major step forward for stochastic offline RL, the authors note it does not yet solve the "stitching" problem—the ability to combine optimal segments from different sub-optimal trajectories. Additionally, the contrastive learning implementation adds architectural complexity compared to the simplicity of the vanilla Decision Transformer. Nevertheless, DoC provides a robust foundation for making large-scale supervised learning more viable for real-world, unpredictable environments.

Summary updated

BibTeX
@inproceedings{yang2023dichotomy,
  author = {Mengjiao Yang and Dale Schuurmans and Pieter Abbeel and Ofir Nachum},
  title = {{Dichotomy of Control: Separating What You Can Control from What You Cannot}},
  booktitle = {International Conference on Learning Representations},
  year = {2023},
  url = {https://openreview.net/forum?id=DEGjDDV22pI},
}
Figure