An Extensible and Modular Design and Implementation of Monte Carlo Tree Search for the JVM

07/30/2021
by   Larkin Liu, et al.
0

Flexible implementations of Monte Carlo Tree Search (MCTS), combined with domain specific knowledge and hybridization with other search algorithms, can be powerful for finding the solutions to problems in complex planning. We introduce mctreesearch4j, an MCTS implementation written as a standard JVM library following key design principles of object oriented programming. We define key class abstractions allowing the MCTS library to flexibly adapt to any well defined Markov Decision Process or turn-based adversarial game. Furthermore, our library is designed to be modular and extensible, utilizing class inheritance and generic typing to standardize custom algorithm definitions. We demonstrate that the design of the MCTS implementation provides ease of adaptation for unique heuristics and customization across varying Markov Decision Process (MDP) domains. In addition, the implementation is reasonably performant and accurate for standard MDP's. In addition, via the implementation of mctreesearch4j, the nuances of different types of MCTS algorithms are discussed.

READ FULL TEXT
research
09/10/2018

Monte Carlo Tree Search for Verifying Reachability in Markov Decision Processes

The maximum reachability probabilities in a Markov decision process can ...
research
04/21/2020

pomdp_py: A Framework to Build and Solve POMDP Problems

In this paper, we present pomdp_py, a general purpose Partially Observab...
research
07/18/2023

Crème de la Crem: Composable Representable Executable Machines (Architectural Pearl)

In this paper we describe how to build software architectures as a compo...
research
12/21/2022

Feature Acquisition using Monte Carlo Tree Search

Feature acquisition algorithms address the problem of acquiring informat...
research
12/29/2018

StarAlgo: A Squad Movement Planning Library for StarCraft using Monte Carlo Tree Search and Negamax

Real-Time Strategy (RTS) games have recently become a popular testbed fo...
research
05/25/2023

C-MCTS: Safe Planning with Monte Carlo Tree Search

Many real-world decision-making tasks, such as safety-critical scenarios...
research
02/14/2012

Learning is planning: near Bayes-optimal reinforcement learning via Monte-Carlo tree search

Bayes-optimal behavior, while well-defined, is often difficult to achiev...

Please sign up or login with your details

Forgot password? Click here to reset