Answers.Body: <p>This is difficult to answer definitively as there is obviously no way to say that there isn't someone <em>somewhere</em> working on an MCTS version of Stockfish. However, as of the time of writing, there exists no official attempt to create an MCTS version of Stockfish.</p>
  
  <p>While some forks of Stockfish, such as <a href="https://github.com/amchess/ShashChess" rel="noreferrer">ShashChess</a> and <a href="https://github.com/Zerbinati/SugaR" rel="noreferrer">SugaR</a> have MCTS-like modes, they differ from what you are looking for:</p>
  
  <ul>
  <li>One of these modes applies a simple neural network to determine <code>R</code> in Late Move Reductions in Stockfish's alpha-beta search.</li>
  <li>The alternative collects MCTS-like information for each root move by collecting the evaluation of every node visited in a standard alpha-beta search. This is not really MCTS as it only collects additional statistics on the same alpha-beta search function.</li>
  </ul>
  
  <p>Komodo MCTS, which does use its own handcrafted evaluation function and a full-fledged MCTS search, is only competitive with the standard version due to the fact that <a href="http://talkchess.com/forum3/viewtopic.php?p=798180#p798180" rel="noreferrer">its implementation of MCTS applies alpha-beta rollouts</a>: i.e. the alpha-beta search used in standard Komodo is used to determine the expected win % for leaf nodes, and also as the <em>policy</em> to determine which nodes should be preferentially expanded.</p>
  
  <p>The exact methods by which Komodo MCTS converts its alpha-beta score to an expected win probability, as well as the details in how alpha-beta searches are used to determine which node MCTS should expand, are all proprietary. As such, it's unlikely that implementing MCTS in Stockfish is anything close to trivial.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-05-30T22:44:37.260Z
Answers.LastActivityDate: 2019-05-30T22:44:37.260Z
Answers.UserDisplayName: konsolas
Body: <p>As of time of writing, there is one major traditional engine using <a href="https://en.wikipedia.org/wiki/Monte_Carlo_tree_search" rel="nofollow noreferrer">Monte Carlo Tree Search</a> for its search algorithm - Komodo. The MCTS version of Komodo started out weak but gained strength quickly, and Komodo MCTS recently defeated Komodo AB (i.e. Komodo using the more traditional <a href="https://en.wikipedia.org/wiki/Alpha%E2%80%93beta_pruning" rel="nofollow noreferrer">alpha-beta pruning</a>) in the <a href="http://www.chessdom.com/tcec-cup-3-pairings-and-information/" rel="nofollow noreferrer">TCEC Cup 3</a>. That indicates that MCTS is at least comparable to standard AB search.</p>
  
  <p>Are there any attempts at converting Stockfish to MCTS search?</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-05-30T06:40:15.607Z
Comments.Text: Hi! Please remember this is a chess forum, so nobody knows what MCTS and AB or TCEC stand for. Some context would help
Comments.UserDisplayName: David
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-05-30T20:54:14.323Z
Comments.Text: Possibly related: https://chess.stackexchange.com/questions/23734/why-does-nn-mcts-ab-handwritten-eval-dominate-engine-chess
Comments.UserDisplayName: konsolas
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-05-30T22:11:51.073Z
Comments.Text: @konsolas yes that's my question too (and thanks for the answer). It seems a bit outdated though, since KMCTS has improved to the point where it beat regular K, i.e. MCTS is clearly competitive with AB.
Comments.UserDisplayName: Allure
Tags: <engines><stockfish>
Title: Are there any attempts at writing Stockfish MCTS?
ThreadText: # Are there any attempts at writing Stockfish MCTS?
  
  (Asked by: username_0 on 2019-05-29)
  
  As of time of writing, there is one major traditional engine using [Monte Carlo Tree Search](https://en.wikipedia.org/wiki/Monte_Carlo_tree_search) for its search algorithm - Komodo. The MCTS version of Komodo started out weak but gained strength quickly, and Komodo MCTS recently defeated Komodo AB (i.e. Komodo using the more traditional [alpha-beta pruning](https://en.wikipedia.org/wiki/Alpha%E2%80%93beta_pruning)) in the [TCEC Cup 3](http://www.chessdom.com/tcec-cup-3-pairings-and-information/). That indicates that MCTS is at least comparable to standard AB search.
  
  Are there any attempts at converting Stockfish to MCTS search?
  
  **Tags:** engines, stockfish
  
  > **Comments:**
  > **username_1**: Hi! Please remember this is a chess forum, so nobody knows what MCTS and AB or TCEC stand for. Some context would help  
  > **username_2**: Possibly related: https://chess.stackexchange.com/questions/23734/why-does-nn-mcts-ab-handwritten-eval-dominate-engine-chess  
  > **username_0**: @username_2 yes that's my question too (and thanks for the answer). It seems a bit outdated though, since KMCTS has improved to the point where it beat regular K, i.e. MCTS is clearly competitive with AB.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2019-05-30. Score: 7 | Accepted answer
  
  This is difficult to answer definitively as there is obviously no way to say that there isn't someone *somewhere* working on an MCTS version of Stockfish. However, as of the time of writing, there exists no official attempt to create an MCTS version of Stockfish.
  
  While some forks of Stockfish, such as [ShashChess](https://github.com/amchess/ShashChess) and [SugaR](https://github.com/Zerbinati/SugaR) have MCTS-like modes, they differ from what you are looking for:
  
  * One of these modes applies a simple neural network to determine `R` in Late Move Reductions in Stockfish's alpha-beta search.
  * The alternative collects MCTS-like information for each root move by collecting the evaluation of every node visited in a standard alpha-beta search. This is not really MCTS as it only collects additional statistics on the same alpha-beta search function.
  
  Komodo MCTS, which does use its own handcrafted evaluation function and a full-fledged MCTS search, is only competitive with the standard version due to the fact that [its implementation of MCTS applies alpha-beta rollouts](http://talkchess.com/forum3/viewtopic.php?p=798180#p798180): i.e. the alpha-beta search used in standard Komodo is used to determine the expected win % for leaf nodes, and also as the *policy* to determine which nodes should be preferentially expanded.
  
  The exact methods by which Komodo MCTS converts its alpha-beta score to an expected win probability, as well as the details in how alpha-beta searches are used to determine which node MCTS should expand, are all proprietary. As such, it's unlikely that implementing MCTS in Stockfish is anything close to trivial.
  
  
  ---
  
  