Understanding Behavioral Metric Learning: A Large-Scale Study on Distracting Reinforcement Learning Environments

By Ziyan Luo, Tianwei Ni, Pierre-Luc Bacon, Doina Precup, and Xujie Si

Reinforcement Learning Journal, vol. TBD, 2025, pp. TBD.

Presented at the Reinforcement Learning Conference (RLC), Edmonton, Alberta, Canada, August 5–9, 2025.


Download:

Abstract:

A key approach to state abstraction is approximating behavioral metrics (notably, bisimulation metrics) in the observation space and embedding these learned distances in the representation space. While promising for robustness to task-irrelevant noise, as shown in prior work, accurately estimating these metrics remains challenging, requiring various design choices that create gaps between theory and practice. Prior evaluations focus mainly on final returns, leaving the quality of learned metrics and the source of performance gains unclear. To systematically assess how metric learning works in deep reinforcement learning (RL), we evaluate five recent approaches, unified conceptually as isometric embeddings with varying design choices. We benchmark them with baselines across 20 state-based and 14 pixel-based tasks, spanning 370 task configurations with diverse noise settings. Beyond final returns, we introduce the evaluation of a denoising factor to quantify the encoder's ability to filter distractions. To further isolate the effect of metric learning, we propose and evaluate an isolated metric estimation setting, in which the encoder is influenced solely by the metric loss. Finally, we release an open-source, modular codebase to improve reproducibility and support future research on metric learning in deep RL.


Citation Information:

Ziyan Luo, Tianwei Ni, Pierre-Luc Bacon, Doina Precup, and Xujie Si. "Understanding Behavioral Metric Learning: A Large-Scale Study on Distracting Reinforcement Learning Environments." Reinforcement Learning Journal, vol. TBD, 2025, pp. TBD.

BibTeX:
@article{luo2025understanding,
    title={Understanding Behavioral Metric Learning: {A} Large-Scale Study on Distracting Reinforcement Learning Environments},
    author={Luo, Ziyan and Ni, Tianwei and Bacon, Pierre-Luc and Precup, Doina and Si, Xujie},
    journal={Reinforcement Learning Journal},
    year={2025}
}