[Paper Review] Distributional reinforcement learning with linear function approximation
This paper proposes a Cramér-based distributional reinforcement learning algorithm with linear function approximation, replacing C51's softmax and KL loss with a direct minimization of the Cramér distance over arbitrary real-valued vectors. It provides the first formal convergence proof for a distributional algorithm with function approximation, but shows empirically that performance may be worse than standard value function approximation due to increased variance and non-probabilistic outputs.
Despite many algorithmic advances, our theoretical understanding of practical distributional reinforcement learning methods remains limited. One exception is Rowland et al. (2018)'s analysis of the C51 algorithm in terms of the Cramér distance, but their results only apply to the tabular setting and ignore C51's use of a softmax to produce normalized distributions. In this paper we adapt the Cramér distance to deal with arbitrary vectors. From it we derive a new distributional algorithm which is fully Cramér-based and can be combined to linear function approximation, with formal guarantees in the context of policy evaluation. In allowing the model's prediction to be any real vector, we lose the probabilistic interpretation behind the method, but otherwise maintain the appealing properties of distributional approaches. To the best of our knowledge, ours is the first proof of convergence of a distributional algorithm combined with function approximation. Perhaps surprisingly, our results provide evidence that Cramér-based distributional methods may perform worse than directly approximating the value function.
Motivation & Objective
- To develop a theoretically grounded distributional RL algorithm that avoids the softmax and KL loss used in C51.
- To extend the Cramér distance to arbitrary real vectors, enabling its use in function approximation settings.
- To provide formal convergence guarantees for distributional RL with linear function approximation in the policy evaluation setting.
- To investigate whether distributional methods with function approximation can outperform standard value function approximation.
Proposed method
- Adapt the Cramér distance to handle arbitrary real vectors by treating model outputs as improper probability distributions.
- Propose a new distributional algorithm that directly minimizes the modified Cramér distance using gradient descent on the sample-based Bellman operator.
- Use a linear function approximator to represent the value distribution, with parameters updated via stochastic gradient descent on the Cramér loss.
- Introduce a normalization penalty to stabilize training and ensure convergence, even when outputs are not normalized.
- Derive theoretical convergence bounds under standard linear function approximation assumptions, showing convergence in the maximal Cramér metric.
- Implement and compare the method (named S51) with C51 and DQN on Atari games using the Dopamine framework.
Experimental results
Research questions
- RQ1Can a distributional RL algorithm be constructed that minimizes the Cramér distance without relying on softmax or KL divergence?
- RQ2Is it possible to formally prove convergence of a distributional RL algorithm when combined with linear function approximation?
- RQ3Does minimizing the Cramér distance lead to better performance than approximating the expected value directly?
- RQ4How do the predicted distributions of the proposed method differ qualitatively from those of C51?
- RQ5What role does normalization play in the stability and performance of distributional RL with function approximation?
Key findings
- The proposed S51 algorithm achieves convergence under standard linear function approximation conditions, providing the first formal convergence proof for distributional RL with function approximation.
- Despite convergence, the performance bound for S51 is worse than that of a standard value function approximation algorithm, suggesting potential performance degradation from distributional modeling.
- S51 achieves comparable performance to C51 on three out of five Atari games, demonstrating that distributional learning can still be effective without normalization.
- The S51 model produces diverse, non-probabilistic distributions with negative mass and compensatory corrections around zero, behaviors not seen in C51 due to the softmax constraint.
- The lack of a softmax squashing effect in S51 leads to noisier predictions across all returns, which may contribute to higher variance and reduced sample efficiency.
- Empirical results suggest that the performance benefits of C51 may stem not only from a better loss function but also from the regularization effect of normalization and probabilistic constraints.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.