Skip to main content

rSoccer: A Framework for Studying Reinforcement Learning in Small and Very Small Size Robot Soccer

  • Conference paper
  • First Online:
RoboCup 2021: Robot World Cup XXIV (RoboCup 2021)

Part of the book series: Lecture Notes in Computer Science ((LNAI,volume 13132))

Included in the following conference series:

Abstract

Reinforcement learning is an active research area with a vast number of applications in robotics, and the RoboCup competition is an interesting environment for studying and evaluating reinforcement learning methods. A known difficulty in applying reinforcement learning to robotics is the high number of experience samples required, being the use of simulated environments for training the agents followed by transfer learning to real-world (sim-to-real) a viable path. This article introduces an open-source simulator for the IEEE Very Small Size Soccer and the Small Size League optimized for reinforcement learning experiments. We also propose a framework for creating OpenAI Gym environments with a set of benchmarks tasks for evaluating single-agent and multi-agent robot soccer skills. We then demonstrate the learning capabilities of two state-of-the-art reinforcement learning methods as well as their limitations in certain scenarios introduced in this framework. We believe this will make it easier for more teams to compete in these categories using end-to-end reinforcement learning approaches and further develop this research area.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 64.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 84.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    Code available at https://github.com/robocin/rSoccer.

  2. 2.

    Code available at https://github.com/robocin/rSim.

  3. 3.

    https://github.com/robocin/rSoccer.

References

  1. Andrychowicz, M., et al.: Learning dexterous in-hand manipulation. arXiv preprint arXiv:1808.00177 (2018)

  2. Arnold, L.: Stochastic Differential Equations. New York (1974)

    Google Scholar 

  3. Bassani, H.F., et al.: A framework for studying reinforcement learning and sim-to-real in robot soccer (2020)

    Google Scholar 

  4. Brockman, G., et al.: OpenAI gym (2016)

    Google Scholar 

  5. Christiano, P., et al.: Transfer from simulation to real world through learning deep inverse dynamics model. arXiv preprint arXiv:1610.03518 (2016)

  6. Duan, Y., Liu, Q., Xu, X.: Application of reinforcement learning in robot soccer. Eng. Appl. Artif. Intell. 20(7), 936–950 (2007)

    Article  Google Scholar 

  7. Haarnoja, T., et al.: Soft actor-critic algorithms and applications. arXiv preprint arXiv:1812.05905 (2018)

  8. Kim, J.H., Kim, D.H., Kim, Y.J., Seow, K.T.: Soccer Robotics, vol. 11. Springer, Heidelberg (2004). https://doi.org/10.1007/b95999

    Book  Google Scholar 

  9. Kitano, H., Asada, M., Kuniyoshi, Y., Noda, I., Osawa, E.: RoboCup: the robot world cup initiative. In: Proceedings of the First International Conference on Autonomous Agents, AGENTS 1997, pp. 340–347. Association for Computing Machinery, New York (1997). https://doi.org/10.1145/267658.267738

  10. Kurach, K., et al.: Google research football: a novel reinforcement learning environment. arXiv preprint arXiv:1907.11180 (2019)

  11. Levine, S., Finn, C., Darrell, T., Abbeel, P.: End-to-end training of deep visuomotor policies. J. Mach. Learn. Res. 17(1), 1334–1373 (2016)

    MathSciNet  MATH  Google Scholar 

  12. Lillicrap, T.P., et al.: Continuous control with deep reinforcement learning. arXiv preprint arXiv:1509.02971 (2015)

  13. Liu, S., Lever, G., Merel, J., Tunyasuvunakool, S., Heess, N., Graepel, T.: Emergent coordination through competition (2019)

    Google Scholar 

  14. Lowe, R., Wu, Y., Tamar, A., Harb, J., Abbeel, O.P., Mordatch, I.: Multi-agent actor-critic for mixed cooperative-competitive environments. In: Advances in Neural Information Processing Systems, pp. 6379–6390 (2017)

    Google Scholar 

  15. Monajjemi, V., Koochakzadeh, A.: FIRASim (2020). https://github.com/fira-simurosot/FIRASim. Accessed 28 Apr 2021

  16. Monajjemi, V., Koochakzadeh, A., Ghidary, S.S.: grSim – RoboCup small size robot soccer simulator. In: Röfer, T., Mayer, N.M., Savage, J., Saranlı, U. (eds.) RoboCup 2011. LNCS (LNAI), vol. 7416, pp. 450–460. Springer, Heidelberg (2012). https://doi.org/10.1007/978-3-642-32060-6_38

    Chapter  Google Scholar 

  17. RoboCup: Robocup small size league (SSL) hardware challenges 2021. https://robocup-ssl.github.io/ssl-hardware-challenge-rules/rules.html. Accessed 04 Aug 2021

  18. Schulman, J., Wolski, F., Dhariwal, P., Radford, A., Klimov, O.: Proximal policy optimization algorithms. arXiv preprint arXiv:1707.06347 (2017)

  19. SDK, V.: VSS SDK (2019). https://vss-sdk.github.io/book/general.html. Accessed 5 Apr 2021

  20. Shi, H., Lin, Z., Hwang, K.S., Yang, S., Chen, J.: An adaptive strategy selection method with reinforcement learning for robotic soccer games. IEEE Access 6, 8376–8386 (2018)

    Article  Google Scholar 

  21. Silver, D., et al.: Mastering the game of go without human knowledge. Nature 550(7676), 354–359 (2017)

    Article  Google Scholar 

  22. Sutton, R.S., Barto, A.G.: Reinforcement Learning: An Introduction. MIT Press, Cambridge (2018)

    MATH  Google Scholar 

  23. Tassa, Y., et al.: DeepMind control suite (2018)

    Google Scholar 

  24. Vinyals, O., et al.: AlphaStar: mastering the real-time strategy game starcraft ii. DeepMind Blog (2019)

    Google Scholar 

  25. Volodymyr, M., Kavukcuoglu, K., Silver, D., Graves, A., Antonoglou, I.: Playing atari with deep reinforcement learning. In: NIPS Deep Learning Workshop (2013)

    Google Scholar 

  26. Yoon, M.: Developing basic soccer skills using reinforcement learning for the RoboCup small size league. Ph.D. thesis, Stellenbosch: Stellenbosch University (2015)

    Google Scholar 

  27. Zhu, Y., Schwab, D., Veloso, M.: Learning primitive skills for mobile robots. In: 2019 International Conference on Robotics and Automation (ICRA), pp. 7597–7603 (2019)

    Google Scholar 

  28. Zolanvari, A., Shirazi, M., Menhaj, M.: A Q-learning approach for controlling a robotic goalkeeper during penalty procedure. In: 2019 II International Congress on Science and Engineering, Hamburg-Germany, pp. 1–12 (2019)

    Google Scholar 

Download references

Acknowledgments

The authors would like to thank RoboCIn - UFPE Team and Mila - Quebec Artificial Intelligence Institute for the collaboration and resources provided; Conselho Nacional de Desenvolvimento Cientifico e Tecnológico (CNPq), and Coordenação de Aperfeiçoamento de Pessoal de Nível Superior (CAPES) for financial support. Moreover, the authors also gratefully acknowledge the support of NVIDIA Corporation with the donation of the RTX 2080 Ti GPU used for this research.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Felipe B. Martins .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2022 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Martins, F.B., Machado, M.G., Bassani, H.F., Braga, P.H.M., Barros, E.S. (2022). rSoccer: A Framework for Studying Reinforcement Learning in Small and Very Small Size Robot Soccer. In: Alami, R., Biswas, J., Cakmak, M., Obst, O. (eds) RoboCup 2021: Robot World Cup XXIV. RoboCup 2021. Lecture Notes in Computer Science(), vol 13132. Springer, Cham. https://doi.org/10.1007/978-3-030-98682-7_14

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-98682-7_14

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-98681-0

  • Online ISBN: 978-3-030-98682-7

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics