Git Product home page Git Product logo

Comments (1)

lightvector avatar lightvector commented on August 15, 2024

Hi cofdam!

This looks like intended behavior. Generally, in MCTS, the winrate or score or any other similar statistic about a node is based on a weighted average of all the moves available at that node, rather than solely that of the believed best move. For example, all else equal, a position in which every reasonable move leads to a 94-95% winrate may more likely to be truly winning than one in which only one move has a 95% winrate, especially if the search is not very deep and the apparent 95% winrate of that one move might be a standalone outlier.

The weighting increasingly concentrates on the believed best move as the node is searched more, and of course the root node has the most search of all, which is why you observe only a tiny difference. When applied throughout the whole search tree, especially at deep nodes without many visits, this overall works better in practice at producing strong play and analysis than weighting only the best move, although in places like the root node and when there are a lot of visits, the difference may not matter much.

There isn't anything to "workaround" here, rather it would be up to you to decide which winrate you wish to use for your purpose. The root winrate is the winrate computed for the root node in the same weighted average manner as all other nodes. The best move winrate is solely the winrate of the best move without averaging other moves at the root... but the best move winrate is still a weighted average of the winrates that could follow after the various opponent replies, rather than just the single best opponent reply, and each of those is a weighted average of the winrates that follow after the possible replies to the opponent reply, rather than only the best reply to the reply and so on.

from katago.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.