Deep Reinforcement Learning with Gradient Eligibility Traces

Esraa Elelimy, Brett Daley, Andrew Patterson, Marlos C. Machado, Adam White +1 more
7/12/2025
10 citations
cs.LGcs.AIstat.ML
rl

Official code: esraaelelimy/gtd_algos (18 stars, Python, MIT, last commit 2026-02-21).

Abstract

Achieving fast and stable off-policy learning in deep reinforcement learning (RL) is challenging. Most existing methods rely on semi-gradient temporal-difference (TD) methods for their simplicity and efficiency, but are consequently susceptible to divergence.

Show full abstract

While more principled approaches like Gradient TD (GTD) methods have strong convergence guarantees, they have rarely been used in deep RL. Recent work introduced the generalized Projected Bellman Error ($\overline{\text{PBE}}$), enabling GTD methods to work efficiently with nonlinear function approximation. However, this work is limited to one-step methods, which are slow at credit assignment and require a large number of samples. In this paper, we extend the generalized $\overline{\text{PBE}}$ objective to support multistep credit assignment based on the $λ$-return and derive three gradient-based methods that optimize this new objective. We provide both a forward-view formulation compatible with experience replay and a backward-view formulation compatible with streaming algorithms. Finally, we evaluate the proposed algorithms and show that they outperform both PPO and StreamQ in MuJoCo and MinAtar environments, respectively. Code available at https://github.com/esraaelelimy/gtd\_algos

View on arXivView PDF

Code Implementations(1)

MIT

Algorithms for Gradient TD updates

182PythonJul 11, 20259 months agoMIT
gtdpporlstreamingtd

Similar Papers

Cite this paper

@article{elelimy2025deep,
  title  = {Deep Reinforcement Learning with Gradient Eligibility Traces},
  author = {Esraa Elelimy and Brett Daley and Andrew Patterson and Marlos C. Machado and Adam White and Martha White},
  year   = {2025},
  eprint = {2507.09087},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2507.09087v2}
}

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/2507.09087.svg)](https://codeofpaper.com/paper/2507.09087)

Discussion