Truncating Trajectories in Monte Carlo Reinforcement Learning
Riccardo Poiani, Alberto Maria Metelli, Marcello Restelli
Abstract
In Reinforcement Learning (RL), an agent acts in an unknown environment to maximize the expected cumulative discounted sum of an external reward signal, i.e., the expected return. In practice, in many tasks of interest, such as policy optimization, the agent usually spends its interaction budget by collecting episodes of fixed length within a simulator (i.e., Monte Carlo simulation). However, given the discounted nature of the RL objective, this data collection strategy might not be the best option. Indeed, the rewards taken in early simulation steps weigh exponentially more than future rewards. Taking a cue from this intuition, in this paper, we design an a-priori budget allocation strategy that leads to the collection of trajectories of different lengths, i.e., truncated. The proposed approach provably minimizes the width of the confidence intervals around the empirical estimates of the expected return of a policy. After discussing the theoretical properties of our method, we make use of our trajectory truncation mechanism to extend Policy Optimization via Importance Sampling (POIS, Metelli et al., 2018) algorithm. Finally, we conduct a numerical comparison between our algorithm and POIS: the results are consistent with our theory and show that an appropriate truncation of the trajectories can succeed in improving performance.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 9dc58756-983c-476f-8623-86fd22d0b77aCited by top-tier papers3
- Truncating Trajectories in Monte Carlo Policy Evaluation: an Adaptive ApproachRiccardo Poiani, Nicole Nobili, Alberto Maria Metelli, Marcello RestelliNeurIPS 2023 · 3 citations
- Offline Opponent Modeling with Truncated Q-driven Instant Policy RefinementYuheng Jing, Kai Li, Bingyun Liu, Ziwen Zhang et al.ICML 2025
- The Courage to Stop: Overcoming Sunk Cost Fallacy in Deep Reinforcement LearningJiashun Liu, Johan S. Obando-Ceron, Pablo Samuel Castro, Aaron C. Courville et al.ICML 2025
Builds on4
- Phasic Policy GradientKarl Cobbe, Jacob Hilton, Oleg Klimov, John SchulmanICML 2021 · 191 citations
- CoinDICE: Off-Policy Confidence Interval EstimationBo Dai, Ofir Nachum, Yinlam Chow, Lihong Li et al.NeurIPS 2020 · 96 citations
- Multi-Fidelity Best-Arm IdentificationRiccardo Poiani, Alberto Maria Metelli, Marcello RestelliNeurIPS 2022 · 12 citations
- Lifelong Hyper-Policy Optimization with Multiple Importance Sampling RegularizationPierre Liotet, Francesco Vidaich, Alberto Maria Metelli, Marcello RestelliAAAI 2022 · 10 citations
Related papers
- Skill or Luck? Return Decomposition via Advantage FunctionsHsiao-Ru Pan, Bernhard SchölkopfICLR 2024 · 7 citations
- GIPO: Gaussian Importance Sampling Policy Optimization程烜 陆, Zhenquan Zhang, Shukuan Wang, Qunzhi Lin et al.ICML 2026 · 1 citation
- On the Convergence and Sample Efficiency of Variance-Reduced Policy Gradient MethodJunyu Zhang, Chengzhuo Ni, Zheng Yu, Csaba Szepesvári et al.NeurIPS 2021 · 87 citations
- Policy Optimization as Online Learning with Mediator FeedbackAlberto Maria Metelli, Matteo Papini, Pierluca D'Oro, Marcello RestelliAAAI 2021 · 11 citations
- Reinforcement Learning with Random Time HorizonsEnric Ribera Borrell, Lorenz Richter, Christof SchütteICML 2025
