Table of Contents
Fetching ...

The Central Role of the Loss Function in Reinforcement Learning

Kaiwen Wang, Nathan Kallus, Wen Sun

TL;DR

It is proved 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.

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.

The Central Role of the Loss Function in Reinforcement Learning

TL;DR

It is proved 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.

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.
Paper Structure (26 sections, 37 theorems, 111 equations, 2 tables, 7 algorithms)

This paper contains 26 sections, 37 theorems, 111 equations, 2 tables, 7 algorithms.

Key Result

Theorem 1

Under ass:csc-realizability, for any $\delta\in(0,1)$, $1-\delta$, plug-in squared loss regression enjoys

Theorems & Definitions (62)

  • Theorem 1
  • Lemma 1: Second-Order Mean Comparison
  • Lemma 2
  • proof
  • Lemma 3
  • proof
  • Theorem 2
  • Remark 1
  • Lemma 4
  • Theorem 3
  • ...and 52 more