One Does Not Simply Estimate State: Comparing Model-based and Model-free Reinforcement Learning on the Partially Observable MordorHike Benchmark

Sai Prasanna, André Biedenkapp, Raghu RajanEWRL 2025

TL;DR

This paper introduces "MordorHike," a new benchmark for evaluating reinforcement learning agents in partially observable environments, specifically designed to test complex state estimation capabilities. They found that while model-free agents like DRQN generalize better in simpler scenarios, model-based agents like Dreamer, with their non-linear world models, are crucial for tackling the hardest state estimation challenges.

What Problem Does This Paper Address?

Reinforcement learning (RL) agents often struggle in partially observable Markov decision processes (POMDPs) because they must infer the true state of the world from noisy or incomplete observations. Existing benchmarks often don't push the limits of state estimation, relying on simple memory recall or being too computationally demanding. This leaves a gap in evaluating how well agents can perform sophisticated, non-linear belief filtering, a critical skill for real-world applications like robotics. The authors aim to address this by creating a benchmark that specifically isolates and tests this state estimation challenge.

Methods

The core of the paper involves introducing the MordorHike benchmark, an extension of the MountainHike environment. MordorHike presents agents with noisy altitude readings that can correspond to multiple locations, forcing them to go beyond simple memorization and engage in complex belief tracking. They also developed an evaluation framework that includes:

  • Task Performance: Standard reward-based evaluation.
  • State Estimation Quality: Using "linear probing" to assess how well an agent's internal belief representation can linearly predict the true, oracle belief state. This is a novel way to quantify the quality of learned state representations.
  • Out-of-Distribution (OOD) Generalization: Testing agents on trajectories generated with action noise or waypoint navigation to see how robust their learned policies and state estimators are.

They then empirically compare three RL algorithms:

  • Dreamer: A model-based RL agent with a non-linear world model (GRU-based RSSM).
  • R2I (Recall-to-Imagine): A model-based RL agent with a linear recurrent architecture (S4 model).
  • DRQN (Deep Recurrent Q-Network): A model-free RL agent using a GRU for its belief representation.

Datasets

The primary dataset/benchmark introduced is MordorHike. It's designed to be progressively difficult across three levels: Easy, Medium, and Hard, by varying the action space and initial orientation conditions. This benchmark is intended to be more challenging for state estimation than existing ones like POPGym and MemoryMaze.

Key Insights and Ideas

  • MordorHike is a tough nut to crack: The benchmark's design, with persistent multi-modal beliefs, effectively prevents simple memorization strategies and demands true belief filtering.
  • Non-linear recurrence is key for hard problems: Dreamer, with its non-linear world model, significantly outperforms R2I (which uses linear recurrence) in the hardest setting, suggesting that linear architectures are a bottleneck for complex state estimation.
  • State estimation quality directly impacts task performance: The paper shows a strong correlation between how well an agent's belief representation captures the true state (measured by KL divergence) and its overall task performance.
  • Generalization is still a major hurdle: All algorithms struggle to maintain performance on out-of-distribution trajectories, highlighting the difficulty of achieving robust generalization in POMDPs.
  • Model-based agents can offer more interpretability: The paper hints that model-based approaches like Dreamer might offer more insights into the state estimation process.

Key Results

  • Task Performance: In easy and medium settings, DRQN and Dreamer perform similarly. However, in the hard setting, Dreamer significantly outperforms both DRQN and R2I. R2I underperforms across all settings.
  • Sample Efficiency: Dreamer is consistently strong and superior to DRQN within the first 100,000 training steps.
  • State Estimation Quality (In-distribution): DRQN performs best in easy/medium settings, followed by Dreamer. In the hard setting, Dreamer again leads significantly, even showing better state estimation quality in the hard setting than in the medium setting.
  • Generalization: All algorithms show performance degradation in OOD settings. DRQN generalizes relatively better in easy/medium settings (smaller performance drops), but Dreamer maintains better absolute performance in the hard setting despite larger drops.

Limitations and Future Work

Limitations: * The paper notes that no approach has fully solved the generalization challenge in complex POMDPs. * R2I's underperformance is speculated to be due to its non-recurrent posterior and the limitations of linear RNNs (S4), which might struggle with state estimation requiring recursive updates or generalization beyond training lengths. * Dreamer's exploration strategy (entropy-regularized) might be less effective than DRQN's epsilon-greedy exploration in simpler scenarios, potentially leading to less robust generalization in those cases.

Future Work: * Developing more robust architectures and advanced variational inference techniques for state estimation and generalization. * Creating better POMDP exploration mechanisms for robust state estimators. * Taxonomizing POMDP challenges (belief filtering vs. memory retention) to guide future algorithm development. * The authors propose MordorHike as a valuable tool for future POMDP research.

Summary updated

BibTeX
@inproceedings{prasanna2025one,
  author = {Sai Prasanna and André Biedenkapp and Raghu Rajan},
  title = {{One Does Not Simply Estimate State: Comparing Model-based and Model-free Reinforcement Learning on the Partially Observable MordorHike Benchmark}},
  booktitle = {EWRL},
  year = {2025},
  url = {https://openreview.net/forum?id=lTyiOJwQqu},
}
Figure