skip to main content
10.1145/2389836.2389852acmotherconferencesArticle/Chapter ViewAbstractPublication PageshtConference Proceedingsconference-collections
research-article

Monte-Carlo tree search parallelisation for computer go

Published:01 October 2012Publication History

ABSTRACT

Parallelisation of computationally expensive algorithms, such as Monte-Carlo Tree Search (MCTS), has become increasingly important in order to increase algorithm performance by making use of commonplace parallel hardware.

Oakfoam, an MCTS-based Computer Go player, was extended to support parallel processing on multi-core and cluster systems. This was done using tree parallelisation for multi-core systems and root parallelisation for cluster systems.

Multi-core parallelisation scaled linearly on the tested hardware on 9x9 and 19x19 boards when using the virtual loss modification. Cluster parallelisation showed poor results on 9x9 boards, but scaled well on 19x19 boards, where it achieved a four-node ideal strength increase on eight nodes.

Due to this work, Oakfoam is currently one of only two open-source MCTS-based Computer Go players with cluster parallelisation, and the only one using the Message Passing Interface (MPI) standard.

References

  1. K. Asanovic, R. Bodik, B. C. Catanzaro, J. J. Gebis, P. Husbands, K. Keutzer, D. A. Patterson, W. L. Plishker, J. Shalf, S. W. Williams, and K. A. Yelick, "The landscape of parallel computing research: A view from Berkeley," tech. rep., University of California at Berkeley, 2006.Google ScholarGoogle Scholar
  2. B. Brügmann, "Monte Carlo Go," tech. rep., Max-Planck-Institute of Physics, 1993.Google ScholarGoogle Scholar
  3. L. Kocsis and C. Szepesvári, "Bandit based Monte-Carlo Planning," Machine Learning: ECML 2006, pp. 282--293, 2006. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. A. Rimmel, O. Teytaud, C.-S. Lee, S.-J. Yen, M.-H. Wang, and S.-R. Tsai, "Current Frontiers in Computer Go," IEEE Symposium on Computational Intelligence and AI in Games, vol. 2, no. 4, pp. 229--238, 2010.Google ScholarGoogle Scholar
  5. C. Browne, E. Powley, D. Whitehouse, S. Lucas, P. I. Cowling, P. Rohlfshagen, S. Tavener, D. Perez, S. Samothrakis, and S. Colton, "A Survey of Monte Carlo Tree Search Methods," IEEE Transactions on Computational Intelligence and AI in Games, vol. 4, no. 1, pp. 1--49, 2012.Google ScholarGoogle ScholarCross RefCross Ref
  6. K. Baker, The Way to Go. American Go Foundation, 1986.Google ScholarGoogle Scholar
  7. C. Garlock, "Michael Redmond on studying, improving your game and how the pros train." http://www.usgo.org/news/2010/06/michael-redmond-on-studying-improving-your-game-and-how-the-pros-train/, accessed on 2011-10-23, 2010.Google ScholarGoogle Scholar
  8. R. A. Hearn, Games, Puzzles, and Computation. PhD thesis, Massachusetts Institute of Technology, 2006. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. "Reading." Sensei's Library, http://senseis.xmp.net/?Reading, accessed on 2011-10-23.Google ScholarGoogle Scholar
  10. N. J. Nilsson, Principles of Artificial Intelligence. Tioga Publishing Company, 1980. Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. B. Bouzy and T. Cazenave, "Computer Go: An AI oriented survey," Artificial Intelligence, vol. 132, pp. 39--103, Oct. 2001. Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. N. Metropolis and S. Ulam, "The Monte Carlo Method," Journal of the American Statistical Association, vol. 44, no. 247, pp. 335--341, 1949.Google ScholarGoogle ScholarCross RefCross Ref
  13. B. Bouzy and B. Helmstetter, "Monte-Carlo Go Developments," in Advances in Computer Games, 2003.Google ScholarGoogle Scholar
  14. J. Méhat and T. Cazenave, "Combining UCT and Nested Monte Carlo Search for Single-Player General Game Playing," IEEE Transactions on Computational Intelligence and AI in Games, vol. 2, no. 4, pp. 271--277, 2010.Google ScholarGoogle ScholarCross RefCross Ref
  15. G. M. J.-B. Chaslot, Monte-Carlo Tree Search. PhD thesis, Maastricht University, 2010.Google ScholarGoogle Scholar
  16. R. Segal, "On the Scalability of Parallel UCT," in Computers and Games, pp. 36--47, Springer, 2011. Google ScholarGoogle ScholarDigital LibraryDigital Library
  17. G. M. J.-B. Chaslot, M. H. M. Winands, and H. van den Herik, "Parallel Monte-Carlo Tree Search," Computers and Games, pp. 60--71, 2008. Google ScholarGoogle ScholarDigital LibraryDigital Library
  18. S. Gelly and Y. Wang, "Exploration Exploitation in Go: UCT for Monte-Carlo Go," in NIPS Conference On-line trading of Exploration and Exploitation Workshop, 2006.Google ScholarGoogle Scholar
  19. M. Enzenberger and M. Müller, "A Lock-free Multithreaded Monte-Carlo Tree Search Algorithm," Advances in Computer Games, pp. 14--20, 2010. Google ScholarGoogle ScholarDigital LibraryDigital Library
  20. H. Kato and I. Takeuchi, "Parallel Monte-Carlo Tree Search with Simulation Servers," 13th Game Programming Workshop (GPW-08), 2008.Google ScholarGoogle Scholar
  21. A. Bourki, G. M. J.-B. Chaslot, M. Coulm, V. Danjean, H. Doghmen, J.-B. Hoock, T. Hérault, A. Rimmel, F. Teytaud, O. Teytaud, P. Vayssiere, and Z. Yu, "Scalability and Parallelization of Monte-Carlo Tree Search," in Computers and Games, pp. 48--58, Springer, 2010. Google ScholarGoogle ScholarDigital LibraryDigital Library
  22. "Oakfoam." http://bitbucket.org/francoisvn/oakfoam.Google ScholarGoogle Scholar
  23. F. Van Niekerk, MCTS Parallelisation. Engineering final year project, Stellenbosch University, 2011.Google ScholarGoogle Scholar
  24. "Boost C++ libraries." http://www.boost.org/.Google ScholarGoogle Scholar
  25. K. Rocki and R. Suda, "Massively Parallel Monte Carlo Tree Search," in VECPAR 2010, 9th International Meeting High Performance Computing for Computational Science, 2010.Google ScholarGoogle Scholar
  26. J. Kepner, "Parallel programming with MatlabMPI." http://www.ll.mit.edu/mission/isr/matlabmpi/matlabmpi.html, accessed on 2011-10-23.Google ScholarGoogle Scholar
  27. "Open MPI: Open source high performance computing." http://www.open-mpi.org/, accessed on 2011-10-23.Google ScholarGoogle Scholar
  28. "Open MPI: FAQ." http://www.open-mpi.org/faq, accessed on 2011-10-23.Google ScholarGoogle Scholar
  29. A. Zobrist, "A new hashing method with application for game playing," ICGA Journal, vol. 13, no. 2, pp. 69--73, 1970.Google ScholarGoogle ScholarCross RefCross Ref
  30. M. Woodcraft, "Gomill tool suite." http://mjw.woodcraft.me.uk/gomill/.Google ScholarGoogle Scholar
  31. "Rhasatsha cluster." http://www.sun.ac.za/hpc.Google ScholarGoogle Scholar

Index Terms

  1. Monte-Carlo tree search parallelisation for computer go

          Recommendations

          Comments

          Login options

          Check if you have access through your login credentials or your institution to get full access on this article.

          Sign in
          • Published in

            cover image ACM Other conferences
            SAICSIT '12: Proceedings of the South African Institute for Computer Scientists and Information Technologists Conference
            October 2012
            402 pages
            ISBN:9781450313087
            DOI:10.1145/2389836

            Copyright © 2012 ACM

            Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

            Publisher

            Association for Computing Machinery

            New York, NY, United States

            Publication History

            • Published: 1 October 2012

            Permissions

            Request permissions about this article.

            Request Permissions

            Check for updates

            Qualifiers

            • research-article

            Acceptance Rates

            Overall Acceptance Rate187of439submissions,43%

          PDF Format

          View or Download as a PDF file.

          PDF

          eReader

          View online with eReader.

          eReader