Benchmarks for Deep Off-Policy Evaluation

Justin Fu, Mohammad Norouzi, Ofir Nachum, George Tucker, Ziyu Wang, Alexander Novikov, Mengjiao Yang, Michael R. Zhang, Yutian Chen, Aviral Kumar, Cosmin Paduraru, Sergey Levine, Thomas Paine

In many real-world applications of Reinforcement Learning (RL)—such as healthcare, autonomous driving, or robotics—testing a new policy "live" is expensive, dangerous, or unethical. We need to know if a policy is safe and effective before we deploy it. This is the goal of Off-Policy Evaluation (OPE): estimating how well an RL policy will perform using only historical data, without ever running it in the real world.

Despite a surge of proposed OPE algorithms in recent years, the field has lacked a unified benchmark. Most papers evaluate methods on simple, low-dimensional tasks or use inconsistent metrics, making it nearly impossible to determine which algorithms actually work on complex, high-dimensional real-world problems. To address this gap, researchers have introduced DOPE (Deep Off-Policy Evaluation), a comprehensive benchmark designed to serve as a standardized proving ground for future OPE research.

Off-Policy Evaluation and Selection

The Evaluation Landscape: Methods and Metrics

The DOPE benchmark evaluates six representative classes of OPE algorithms to understand their relative strengths and weaknesses:

  • Fitted Q-Evaluation (FQE): Trains a neural network to estimate the value of a policy by bootstrapping from the data.
  • Model-Based (MB): Learns a simulator (dynamics and reward model) from the data and "runs" the policy in this learned environment.
  • Importance Sampling (IS): Re-weights rewards based on the probability of the target policy taking an action versus the behavior policy that originally collected the data.
  • Doubly-Robust (DR): Combines IS and FQE to achieve lower variance and lower bias.
  • DICE & Variational Power Method (VPM): Modern methods that use optimization (saddle-point objectives) to estimate importance weights directly.

To measure success, the paper introduces three key metrics. Absolute Error measures the raw accuracy of the value estimate. Regret@k measures how much true performance is lost if we deploy the "best" policy based on our offline estimates. Finally, Rank Correlation measures how well the estimate preserves the relative ordering of different policies.

High Rank Correlation

As the benchmark reveals, an algorithm might have high absolute error but still achieve high rank correlation, meaning it can successfully identify the best policy even if its exact value prediction is off.

Datasets: The Challenge of Distribution Shift

The benchmark is built on two distinct domains, totaling over 20 tasks:

  1. DOPE RL Unplugged: Based on the DeepMind Control Suite. Because the data comes from online RL training, it has excellent coverage of the state space. The evaluation policies are similar to the data-collection policies, making this an "ideal" but still challenging scenario.
  2. DOPE D4RL: Based on the D4RL benchmark (Gym-MuJoCo, Adroit, AntMaze). This represents a more realistic, "adversarial" setting. Data comes from various sources (human demos, random walks, expert logs), leading to significant distribution shift—situations where the policy we want to evaluate attempts to visit states the historical data doesn't cover.

Key Insights and Results

The comprehensive evaluation yielded several critical insights into the current state of OPE:

  • No "Silver Bullet": No single algorithm dominates across all tasks and metrics. An algorithm might excel at minimizing absolute error but fail miserably at ranking policies correctly.
  • The "Architecture" Advantage: On the RL Unplugged tasks, Model-Based and FQE methods significantly outperformed Importance Sampling methods. The authors hypothesize this is because these methods benefit from the same architectural and optimization tricks that made deep RL successful in the first place.
  • Distribution Shift is the Performance Killer: There is a massive performance gap between the two domains. On the well-covered RL Unplugged tasks, the best methods achieved a rank correlation of ~0.69. On the more realistic D4RL tasks with heavy distribution shift, this dropped to ~0.25.
  • The AntMaze Wall: Tasks requiring "temporally extended control" (like navigating a maze) remain entirely unsolved. No algorithm could reliably estimate policy values or rank them better than random chance in the AntMaze domain.

Among specific algorithms, FQE-L2 emerged as a surprisingly strong baseline, often performing best on Absolute Error and Regret metrics in the D4RL domain. Model-Based (MB-AR) showed impressive results on RL Unplugged, particularly in ranking policies (achieving Rank Correlations of 0.90+ on several tasks). Meanwhile, Importance Sampling proved to be the most robust on the hardest tasks (like Humanoid run or AntMaze), being the only method to maintain a correlation consistently above zero when others collapsed, even though its absolute error remained high.

Limitations and the Path Forward

The authors acknowledge that because offline datasets are finite, "oracle" (perfect) performance is likely impossible. A major limitation of current methods is their lack of robustness to dataset variation; a method tuned for "expert" data often fails catastrophically on "random" data.

Future research must focus on developing OPE methods that do not collapse under distribution shift, improving evaluation for tasks involving sparse rewards and long-term planning, and moving beyond point estimates to provide high-confidence guarantees—a strict requirement for true real-world deployment.

Summary updated

BibTeX
@inproceedings{fu2021benchmarks,
  author = {Justin Fu and Mohammad Norouzi and Ofir Nachum and George Tucker and Ziyu Wang and Alexander Novikov and Mengjiao Yang and Michael R. Zhang and Yutian Chen and Aviral Kumar and Cosmin Paduraru and Sergey Levine and Thomas Paine},
  title = {{Benchmarks for Deep Off-Policy Evaluation}},
  booktitle = {International Conference on Learning Representations},
  year = {2021},
  url = {https://openreview.net/forum?id=rL9W3NWXUe5},
}
Figure