25
0

Reinforcement Learning with Random Time Horizons

Main:8 Pages
4 Figures
Bibliography:2 Pages
Appendix:13 Pages
Abstract

We extend the standard reinforcement learning framework to random time horizons. While the classical setting typically assumes finite and deterministic or infinite runtimes of trajectories, we argue that multiple real-world applications naturally exhibit random (potentially trajectory-dependent) stopping times. Since those stopping times typically depend on the policy, their randomness has an effect on policy gradient formulas, which we (mostly for the first time) derive rigorously in this work both for stochastic and deterministic policies. We present two complementary perspectives, trajectory or state-space based, and establish connections to optimal control theory. Our numerical experiments demonstrate that using the proposed formulas can significantly improve optimization convergence compared to traditional approaches.

View on arXiv
@article{borrell2025_2506.00962,
  title={ Reinforcement Learning with Random Time Horizons },
  author={ Enric Ribera Borrell and Lorenz Richter and Christof Schütte },
  journal={arXiv preprint arXiv:2506.00962},
  year={ 2025 }
}
Comments on this paper