Git Product home page Git Product logo

Comments (6)

delock avatar delock commented on July 19, 2024

@amj I have a question for random symmetries on both training and selfplay as current mlperf reference implementation. If random symmetries is added to training, is it really necessary to have random symmetries in MCTS inference as well? I want to understand whether its totally duplication or there are still some subtle difference between do it at training and do it at MCTS selfplay or do both.

from minigo.

tommadams avatar tommadams commented on July 19, 2024

The weights in the network aren't symmetric and contain some biases. Apply random symmetries to self play introduces extra diversity to the games and also mitigates the biases inherent in the network.

To give a clear example: if you disabled random symmetries for the evaluation games every single evaluation game would play the exact same game.

from minigo.

delock avatar delock commented on July 19, 2024

What does random symmetry in training serves?Double random seems equal to single random at the first glance.

from minigo.

tommadams avatar tommadams commented on July 19, 2024

Random symmetry during training helps prevent the model from overfitting on the selfplay games.

Each 19x19 game will generate about 200 training examples, and every example a game will look very similar to many other examples from the same game. Because the symmetries are applied randomly to the examples, it stops positions from the same game looking similar to each other.

from minigo.

amj avatar amj commented on July 19, 2024

@delock we scratched our heads about this one as well. Originally, we only had random symmetries in selfplay but not in training. Despite this, the networks without symmetries in training were substantially weaker; v7 and earlier did not have symmetries on in training, and they are far weaker than the later versions.

As for the necessity of having them on in selfplay: the MCTS algorithm benefits strongly from having a large set of inferences to average, because any individual inference is very 'noisy'. Having rotations off during selfplay would almost certainly result in weaker play.

I know it seems redundant, i certainly thought so too! But it appears important to have rotation turned on in both places.

from minigo.

delock avatar delock commented on July 19, 2024

Thanks for the explanation @tommadams @amj

from minigo.

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.