Abstract
While tabular reinforcement learning (RL) benefits from mathematically rigorous metrics like MDP diameter to quantify task difficulty, deep RL benchmarking often relies on empirical popularity. This paper introduces Pharos, a library designed to bridge this gap by enabling principled manipulation of environment observations and dynamics. Our study demonstrates that deep RL performance is frequently dominated by representation hardness rather than underlying MDP logic, highlighting the inadequacy of traditional tabular metrics for predicting success in neural-network-based agents.
Introduction
In tabular RL, the theoretical foundation for environment hardness is well-established. Metrics such as suboptimality gaps and diameter allow researchers to quantify the difficulty of exploration and policy optimization. However, deep RL—which utilizes neural networks to process high-dimensional inputs like pixels—lacks a comparable theoretical framework. Benchmarks are typically chosen based on popularity rather than understood theoretical difficulty. This research investigates whether tabular RL metrics can effectively predict the performance of deep RL agents and introduces the Pharos library to facilitate this inquiry.
The Pharos Library and Methodology
To conduct a systematic study, the authors developed Pharos, an open-source library for principled RL benchmarking. Pharos allows researchers to decouple the underlying Markov Decision Process (MDP) from its observation space. For instance, a single environment can be presented to an agent as a 1D vector, a 2D image, or a minimal coordinate set.
The study utilized Pharos to generate several environment classes—simple_grid, frozen_lake, freeway, and breakout—with varying structural parameters. By employing efficient disk-based storage (RocksDB), the authors calculated tabular metrics even for environments with millions of states. They then trained DQN and PPO agents to observe correlations between these metrics and cumulative regret.
Key Insights: The Representation Gap
A primary finding is the "Representation Gap": the same game logic poses different challenges depending on the input format. In the Freeway environment, DQN agents often performed better with image inputs than with vector inputs, suggesting that the inductive bias of convolutional neural networks (CNNs) is better suited for spatial data than flat numerical lists.
Furthermore, traditional tabular metrics proved to be poor universal predictors. A linear regression model using these metrics to predict agent regret yielded an $R^2$ score of only 0.09, indicating almost no predictive power across diverse tasks.
Results and Performance Analysis
The experimental results highlight the divergence between tabular and deep RL. While tabular Q-learning outperforms DQN in small environments, it fails to scale to complex tasks like Breakout, where DQN's generalization capabilities allow it to succeed.
When models were tailored to specific environment classes, predictive power improved (aggregate $R^2 = 0.65$), but the significant factors varied by task. For Freeway, representation was the dominant factor, whereas tabular metrics were more relevant for Frozen Lake.
Conclusion
This study demonstrates that tabular RL theory cannot be directly exported to deep RL without accounting for the complexity of feature extraction. The results call for a new theory of Representation Hardness to complement existing MDP-based metrics. Future work will focus on expanding the Pharos benchmark to more diverse tasks and developing new metrics that capture the interaction between neural architectures and observation spaces.
Summary updated