Worth noting that while AlphaGo and AlphaZero are incredible achievements, the amount of actual code to implement them isn't very much. If you have the research paper, someone in the field could reimplement them in a few days. Then there is the large compute cost for training them to produce the trained weights. So, opensourcing these bits of work without the weights isn't as major a thing as you might imagine.
There is Leela Zero ( https://github.com/leela-zero/leela-zero ) for Go and lc0/Leela Chess ( https://github.com/orgs/LeelaChessZero/repositories ) for Chess, where both provide trained weights. The Leela Chess project specifically have been working for a long time on training and refining the weights for Chess, as well as providing the code -- they allow you to see the history and performance over time for the vario…
DeepMind has open-sourced the heart of AlphaGo and AlphaZero
41–50 of 91 posts
Re: DeepMind has open-sourced the heart of AlphaGo and AlphaZero
#42Earlier quoted context omitted.
> Then there is the large compute cost for training them to produce the trained weights. And as far as I understand, the training code is where the secret sauce lies.
generally no... Secret sauce is in the ML compiler and accelerator used, but all those improvements simply lower the cost of training a model. You could still do it on a regular GPU, it would just take you more time. In the case of Google, they probably used TPU chips that you can't get direct 'bare metal' access to anyway, so none of that code would have helped. The actual optimizer used and parameters (like the lea…
Re: DeepMind has open-sourced the heart of AlphaGo and AlphaZero
#43Worth noting that while AlphaGo and AlphaZero are incredible achievements, the amount of actual code to implement them isn't very much. If you have the research paper, someone in the field could reimplement them in a few days. Then there is the large compute cost for training them to produce the trained weights. So, opensourcing these bits of work without the weights isn't as major a thing as you might imagine.
Re: DeepMind has open-sourced the heart of AlphaGo and AlphaZero
#44Must feel pretty bad being a rank and file dev at DeepMind and realizing that your leads had all the talent and funding in the world that they could have used for building language model products and instead they heavily invested in solving board games. Then you realize they get paid >x10 of what you are and they're fine, but the next layoff is likely gonna get you.
They also do work with the UK National Health Service. I have heard (high level sources, unconfirmed publicly) the YouTube algorithm that promotes open mouth creator with $$$$ signs thumbnails is based on their ground breaking research from this collaboration.
Re: DeepMind has open-sourced the heart of AlphaGo and AlphaZero
#45Earlier quoted context omitted.
These particular programs were bleeding edge when they were announced, but have been recreated and improved on outside of DeepMind since then. For example, LCZero today is stronger at chess than any of the DeepMind chess programs that were shown to the public. Of course we don't know if they got further behind the scenes. Of course LCZero and everything else relied on the published papers of DeepMind. That is, the pa…
There's an interesting bias I've noticed on HN where a lot of people still believe AlphaZero is the state of the art in computer chess, when that hasn't been true except for a short while after the release. AZ still gets posted and upvoted today while newer improvements in other engines are discussed far less. I guess it's because AZ came out of Google?
Even that was debatable given the restrictions placed on the version of Stockfish it played.
Not to take anything away from AlphaZero either, self play to reach that level was quite the achievement.
Re: DeepMind has open-sourced the heart of AlphaGo and AlphaZero
#46Earlier quoted context omitted.
Yep, there are many reimplementations. Here is a reimplementation that swaps out a neural net with a GBDT to address compute costs: https://github.com/cgreer/alpha-zero-boosted
How does the performance of this version compare?
Re: DeepMind has open-sourced the heart of AlphaGo and AlphaZero
#47Must feel pretty bad being a rank and file dev at DeepMind and realizing that your leads had all the talent and funding in the world that they could have used for building language model products and instead they heavily invested in solving board games. Then you realize they get paid >x10 of what you are and they're fine, but the next layoff is likely gonna get you.
The human in the loop reinforcement learning paper that powered chatgpt's training arose from deepmind's experiments with boardgames (and games). AGI is still an unsolved problem and deep RL that arose from the success of deepmind's experiments wth boardgames and games so far, will likely play a huge part in it
Re: DeepMind has open-sourced the heart of AlphaGo and AlphaZero
#48Re: DeepMind has open-sourced the heart of AlphaGo and AlphaZero
#49Worth noting that while AlphaGo and AlphaZero are incredible achievements, the amount of actual code to implement them isn't very much. If you have the research paper, someone in the field could reimplement them in a few days. Then there is the large compute cost for training them to produce the trained weights. So, opensourcing these bits of work without the weights isn't as major a thing as you might imagine.
Re: DeepMind has open-sourced the heart of AlphaGo and AlphaZero
#50Earlier quoted context omitted.
These particular programs were bleeding edge when they were announced, but have been recreated and improved on outside of DeepMind since then. For example, LCZero today is stronger at chess than any of the DeepMind chess programs that were shown to the public. Of course we don't know if they got further behind the scenes. Of course LCZero and everything else relied on the published papers of DeepMind. That is, the pa…
There's an interesting bias I've noticed on HN where a lot of people still believe AlphaZero is the state of the art in computer chess, when that hasn't been true except for a short while after the release. AZ still gets posted and upvoted today while newer improvements in other engines are discussed far less. I guess it's because AZ came out of Google?
E.g. inventor of the blue LED versus those who improve the efficiency by .1%