Skip to content

Research Articles

Variance Control for Policy-Gradient Training: Concurrent Changes

Inez Glenwick (Machine Learning Laboratory, Cairnwell Research Institute), Lina-Mae Viremont (Machine Learning Laboratory, Pinewick School of Engineering), Celia Asherwick (Machine Learning Laboratory, Ivermere University), Hana Pinewick (Machine Learning Laboratory, Valehart Institute of Computational Science), Noor Ravenmere (Machine Learning Laboratory, Pinewick School of Engineering)

Vol. 7 No. 1 (2023) · pp. 85–98 · Published 28 May 2023

Abstract

We ask whether normalizing advantages inside comparable trajectory groups performs better than a single global normalization per update in a test fixture with overlapping transitions. The evaluation is synthetic. Each configuration is evaluated on the same 300 cases. In the 75 stress cases, long episodes must dominate the update batch; both changes are replayed together as well as separately to distinguish an interaction from an isolated error. A case counts as a pass only if it meets this criterion: a seed must reach the target return within its interaction budget. The comparison holds the training and selection splits fixed across alternatives; evaluation cases are not reused for tuning. Compute or memory assigned to an alternative counts toward its budget even if training does not finish. The comparator passes 211 of 300 cases and the alternative passes 224. For the 75 stress cases alone, the counts are 34 and 41, respectively. The aggregate count does not establish that the alternative is preferable at every operating point. The practical trade-off is that smaller trajectory groups produce noisier normalization estimates. The result describes the chosen case mix. Before applying the finding, a follow-up benchmark would need to vary the share of difficult cases without relaxing the acceptance criteria.

Keywords: reinforcement learning, policy gradient, variance, concurrent changes, synthetic evaluation

References

  1. Agarwal, R., Schuurmans, D., & Norouzi, M. (2019). Striving for simplicity in off-policy deep reinforcement learning. arXiv:1907.04543.
  2. Bai, Y., et al. (2022a). Training a helpful and harmless assistant with reinforcement learning from human feedback. arXiv:2204.05862.
  3. Bengio, Y. (2012). Practical recommendations for gradient-based training of deep architectures. In G. Montavon, G. B. Orr, & K.-R. Müller (Eds.), Neural networks: Tricks of the trade (2nd ed., pp. 437–478). Springer.
  4. Fujimoto, S., Meger, D., & Precup, D. (2019). Off-policy deep reinforcement learning without exploration. Proceedings of the 36th International Conference on Machine Learning, 2052–2062.
  5. Haarnoja, T., Zhou, A., Abbeel, P., & Levine, S. (2018). Soft actor-critic: Off-policy maximum entropy deep reinforcement learning with a stochastic actor. Proceedings of the 35th International Conference on Machine Learning, 1861–1870.
  6. Jaques, N., et al. (2019). Way off-policy batch deep reinforcement learning of implicit human preferences in dialog. arXiv:1907.00456.
  7. Kakade, S. M. (2002). A natural policy gradient. Advances in Neural Information Processing Systems, 14, 1531–1538.
  8. Lillicrap, T. P., et al. (2015). Continuous control with deep reinforcement learning. arXiv:1509.02971.
  9. Neu, G., & Szepesvári, C. (2007). Apprenticeship learning using inverse reinforcement learning and gradient methods. Proceedings of the 23rd Conference on Uncertainty in Artificial Intelligence, 295–302.
  10. Peng, X. B., Kumar, A., Zhang, G., & Levine, S. (2019). Advantage-weighted regression: Simple and scalable off-policy reinforcement learning. arXiv:1910.00177.
  11. Peters, J., & Schaal, S. (2008). Reinforcement learning of motor skills with policy gradients. Neural Networks, 21(4), 682–697.
  12. Silver, D., Lever, G., Heess, N., Degris, T., Wierstra, D., & Riedmiller, M. (2014). Deterministic policy gradient algorithms. Proceedings of the 31st International Conference on Machine Learning, 387–395.
  13. Sutton, R. S., McAllester, D., Singh, S., & Mansour, Y. (2000). Policy gradient methods for reinforcement learning with function approximation. Advances in Neural Information Processing Systems, 12, 1057–1063.
  14. Tieleman, T. (2008). Training restricted Boltzmann machines using approximations to the likelihood gradient. Proceedings of the 25th International Conference on Machine Learning, 1064–1071.
  15. Vishwanathan, S. V. N., Schraudolph, N. N., Schmidt, M. W., & Murphy, K. P. (2006). Accelerated training of conditional random fields with stochastic gradient methods. Proceedings of the 23rd International Conference on Machine Learning, 969–976.