The Central Role of the Loss Function in Reinforcement Learning

Kaiwen Wang, Nathan Kallus, Wen Sun
9/19/2024
stat.MLcs.LGmath.ST

No confident code implementation found for this paper.

Abstract

This paper illustrates the central role of loss functions in data-driven decision making, providing a comprehensive survey on their influence in cost-sensitive classification (CSC) and reinforcement learning (RL). We demonstrate how different regression loss functions affect the sample efficiency and adaptivity of value-based decision making algorithms. Across multiple settings, we prove that algorithms using the binary cross-entropy loss achieve first-order bounds scaling with the optimal policy's cost and are much more efficient than the commonly used squared loss. Moreover, we prove that distributional algorithms using the maximum likelihood loss achieve second-order bounds scaling with the policy variance and are even sharper than first-order bounds. This in particular proves the benefits of distributional RL. We hope that this paper serves as a guide analyzing decision making algorithms with varying loss functions, and can inspire the reader to seek out better loss functions to improve any decision making algorithm.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{wang2024central,
  title  = {The Central Role of the Loss Function in Reinforcement Learning},
  author = {Kaiwen Wang and Nathan Kallus and Wen Sun},
  year   = {2024},
  eprint = {2409.12799},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2409.12799v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2409.12799.svg)](https://codeofpaper.com/paper/2409.12799)

Discussion