Giter Club home page Giter Club logo

Comments (8)

mokemokechicken avatar mokemokechicken commented on July 23, 2024 2

Why don't use discount-rate γ?

It is a diffucult question.

Conversely, the reasons to use discount-rate are

I think

  1. Far steps are less causual relationship.
  2. Generally it is better to get rewards early.

Thinking that way, the reasons not to use discount-rate are

  1. In games with perfect information like Go and Reversi, all moves are related with the final reward.
  2. There is not much meaning even if it wins the game quickly.

from reversi-alpha-zero.

gooooloo avatar gooooloo commented on July 23, 2024 1

Just for your reference, I am sharing tree search between 2 players, see codes here: https://github.com/gooooloo/alpha-zero-in-python/blob/master/src/reversi_zero/agent/player.py

But I don't think this makes big difference. Many other settings are much more important, such as simulation number, resignation threshold, performance trade-off between self/opt/eval module, etc.

from reversi-alpha-zero.

mokemokechicken avatar mokemokechicken commented on July 23, 2024

Hi @apollo-time

  1. Why don't update Q with N/W at this time?
  2. Isn't it W=W+virtual loss when player is white?

Thank you very good point!
That is a serious bug for virtual loss (Virtual Loss of W didn't work).

  1. Why didn't share tree between two players?

Because if models of black and white are different, MCTS results are also different.

from reversi-alpha-zero.

apollo-time avatar apollo-time commented on July 23, 2024

self.black = ReversiPlayer(self.config, self.model, enable_resign=enable_resign)
self.white = ReversiPlayer(self.config, self.model, enable_resign=enable_resign)

I see two players use the same model in self play mode.

from reversi-alpha-zero.

mokemokechicken avatar mokemokechicken commented on July 23, 2024

Yes, that's right.
Although it is a little difficult to implement, sharing tree search results may be useful to save computation costs.

from reversi-alpha-zero.

apollo-time avatar apollo-time commented on July 23, 2024

I see DeepMind backup reward to parent nodes without modify.
Why don't use discount-rate γ?

from reversi-alpha-zero.

apollo-time avatar apollo-time commented on July 23, 2024

But I think the first step is not related with the final result as final step, when the game length is long.

from reversi-alpha-zero.

mokemokechicken avatar mokemokechicken commented on July 23, 2024

Although there is only one kind of the first move of reversi, it does not matter, but maybe there is a possibility that the first move becomes a bad move in go and chess.

from reversi-alpha-zero.

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.