English

On Representation Complexity of Model-based and Model-free Reinforcement Learning

Machine Learning 2024-03-12 v2

Abstract

We study the representation complexity of model-based and model-free reinforcement learning (RL) in the context of circuit complexity. We prove theoretically that there exists a broad class of MDPs such that their underlying transition and reward functions can be represented by constant depth circuits with polynomial size, while the optimal QQ-function suffers an exponential circuit complexity in constant-depth circuits. By drawing attention to the approximation errors and building connections to complexity theory, our theory provides unique insights into why model-based algorithms usually enjoy better sample complexity than model-free algorithms from a novel representation complexity perspective: in some cases, the ground-truth rule (model) of the environment is simple to represent, while other quantities, such as QQ-function, appear complex. We empirically corroborate our theory by comparing the approximation error of the transition kernel, reward function, and optimal QQ-function in various Mujoco environments, which demonstrates that the approximation errors of the transition kernel and reward function are consistently lower than those of the optimal QQ-function. To the best of our knowledge, this work is the first to study the circuit complexity of RL, which also provides a rigorous framework for future research.

Keywords

Cite

@article{arxiv.2310.01706,
  title  = {On Representation Complexity of Model-based and Model-free Reinforcement Learning},
  author = {Hanlin Zhu and Baihe Huang and Stuart Russell},
  journal= {arXiv preprint arXiv:2310.01706},
  year   = {2024}
}

Comments

23 pages, 9 figures, to be published in ICLR 2024

R2 v1 2026-06-28T12:38:59.100Z