Metraipolis › archive › dc_353e8c7dd72d
rl-triton: High-Performance Triton GPU Kernels for Reinforcement Learning Credit Assignment — arXiv:2608.17641
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2608.17641
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-18T14:48:39.922Z
- SHA-256 of the archived text
995c308adba2ac3749c06f312ad9a6a5ad3767d788e6a769473e9d2b9c889d20- Stable URL of this page
https://metraipolis.com/documento/dc_353e8c7dd72d
How to cite
rl-triton: High-Performance Triton GPU Kernels for Reinforcement Learning Credit Assignment — arXiv:2608.17641 — arXiv (en), https://arxiv.org/abs/2608.17641 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_353e8c7dd72d (Metraipolis archive dc_353e8c7dd72d, sha256 995c308adba2ac3749c06f312ad9a6a5ad3767d788e6a769473e9d2b9c889d20)
BibTeX
@misc{dc353e8c7dd72d,
title = {rl-triton: High-Performance Triton GPU Kernels for Reinforcement Learning Credit Assignment — arXiv:2608.17641},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2608.17641},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_353e8c7dd72d; sha256 995c308adba2ac3749c06f312ad9a6a5ad3767d788e6a769473e9d2b9c889d20},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2608.17641. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
We present rl-triton, an open-source library of high-performance GPU kernels for reinforcement learning credit assignment, implemented in Triton. The core contribution is a unified associative scan framework that recasts seven distinct RL estimation algorithms - Generalized Advantage Estimation (GAE), V-Trace, Retrace($\lambda$), TD($\lambda$) returns, discounted returns, eligibility traces, and episodic prefix sums - as instances of a single first-order linear recurrence solved in $O(\log T)$ parallel steps. All algorithms share the same associative scan operator, with algorithm-specific fused Triton kernels constructing their recurrence coefficients on-chip. We verify the associative operator algebraically and define the treatment of terminated and truncated episodes explicitly. Benchmarks show a 1.6-5.70$\times$ full-call speedup over a vectorized torch-compile baseline in the massively parallel simulation regime (thousands of environments, short rollouts). The reported range covers all seven algorithms on both GPUs, both with and without per-step truncation handling. For most algorithms, speedups increase at longer sequence lengths, as the baseline requires more scan stages as $\log T$ grows, each adding an intermediate HBM round-trip. The library is available at this https URL . Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-08-19 in cs.LG). Categorie arXiv: Machine Learning (cs.LG) ; Distributed, Parallel, and Cluster Computing (cs.DC); Performance (cs.PF). Pagina del lavoro: https://arxiv.org/abs/2608.17641 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-10-18T14:47:59.402Z dalla pagina https://arxiv.org/catchup/cs.LG/2026-08-19?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).