Live data from Hacker News

DeepMind has open-sourced the heart of AlphaGo and AlphaZero

twitter.com

41–50 of 91 posts

Re: DeepMind has open-sourced the heart of AlphaGo and AlphaZero

#41
post #39

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…

[deleted]

Re: DeepMind has open-sourced the heart of AlphaGo and AlphaZero

#42
post #24

Earlier 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…

[deleted]

Re: DeepMind has open-sourced the heart of AlphaGo and AlphaZero

#43

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.

Models can be massive, but also totally doable. Just to put things in perspective: ProcMaze solving using DeepMind MCTX converges 100M steps to learn to run. Q-learning Pac-Man on snapdragon chromeos is ~1hr for 1000 epochs ;)

Re: DeepMind has open-sourced the heart of AlphaGo and AlphaZero

#44
post #25
post #3

Must 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.

Not since 2018: https://www.theverge.com/2018/11/13/18091774/google-deepmind...

Re: DeepMind has open-sourced the heart of AlphaGo and AlphaZero

#45

Earlier 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?

> when that hasn't been true except for a short while after the release

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

#46
post #38

Earlier 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?

Imagine its perfect for Computer Backgammon, but overfits higher dimensional spaces ;)

Re: DeepMind has open-sourced the heart of AlphaGo and AlphaZero

#47
post #3

Must 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

Like Bell Labs of old, Google has excellent AI researchers but they haven't built many (any?) AI products people can use.

Re: DeepMind has open-sourced the heart of AlphaGo and AlphaZero

#49

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.

If only there existed a distributed way to incentivize calculation of AI weightings while also providing a currency to encourage scale…

Re: DeepMind has open-sourced the heart of AlphaGo and AlphaZero

#50

Earlier 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?

AZ revolutionized chess engine architecture and then moved on to other fields. Fast followers who incrementally improve upon the breakthroughs are very rarely recognized.

E.g. inventor of the blue LED versus those who improve the efficiency by .1%

Post reply on HN