The checkers approach by the Chinook team was similar to what you are suggesting.
They analyzed openings and used tablebase files in combination.
Chess solved?
Moderator: Ras
-
- Posts: 12791
- Joined: Wed Mar 08, 2006 8:57 pm
- Location: Redmond, WA USA
Re: Chess solved?
Taking ideas is not a vice, it is a virtue. We have another word for this. It is called learning.
But sharing ideas is an even greater virtue. We have another word for this. It is called teaching.
But sharing ideas is an even greater virtue. We have another word for this. It is called teaching.
-
- Posts: 343
- Joined: Sun Aug 25, 2019 8:33 am
- Full name: .
Re: Chess solved?
There are easily enough atoms in the universe to store all possible chess positions, though. ~10^42 vs ~10^80.
-
- Posts: 2727
- Joined: Wed May 12, 2010 10:00 pm
Re: Chess solved?
The Shannon number which is the conservative lower bound and is 10^120, and assumes a game last 40 moves.
10^120 vs 10^80.
"The worst thing that can happen to a forum is a running wild attacking moderator(HGM) who is not corrected by the community." - Ed Schröder
But my words like silent raindrops fell. And echoed in the wells of silence.
But my words like silent raindrops fell. And echoed in the wells of silence.
-
- Posts: 12791
- Joined: Wed Mar 08, 2006 8:57 pm
- Location: Redmond, WA USA
Re: Chess solved?
I guess that when checkers was solved, nobody bothered to store the 500,000,000,000,000,000,000 possible positions.
You don't have to examine every node to solve chess. If you were to solve by alpha-beta, you only have to examine (roughly) the square root of the nodes.
Now, that is a lot and I don't think you could solve chess by a pure alpha-beta search unless there is a forced conclusion (w/l/d) fairly close to the origin that nobody has seen. This would seem to me to be a very remote possibility.
So if there is a solution, I do not think it will be proven by simple alpha-beta search. But the gigantic numbers do assume that there is no solution nearby. This also has not been proven.
You don't have to examine every node to solve chess. If you were to solve by alpha-beta, you only have to examine (roughly) the square root of the nodes.
Now, that is a lot and I don't think you could solve chess by a pure alpha-beta search unless there is a forced conclusion (w/l/d) fairly close to the origin that nobody has seen. This would seem to me to be a very remote possibility.
So if there is a solution, I do not think it will be proven by simple alpha-beta search. But the gigantic numbers do assume that there is no solution nearby. This also has not been proven.
Taking ideas is not a vice, it is a virtue. We have another word for this. It is called learning.
But sharing ideas is an even greater virtue. We have another word for this. It is called teaching.
But sharing ideas is an even greater virtue. We have another word for this. It is called teaching.
-
- Posts: 343
- Joined: Sun Aug 25, 2019 8:33 am
- Full name: .
Re: Chess solved?
So 1 year of running this setup gets us 3*10^22 positions. We should look at Koomey's Law more than Moore's Law to make guesses about future speed increases.towforce wrote: ↑Tue Aug 25, 2020 10:46 pm Interesting! Looks as though a single GPU can get 10^9 positions per second. With a million of them, and assuming "perfect efficiency", that would be 10^9 * 10^6 = 10^15 positions per second. If white does have a forced win, that might be enough - but if, as seems likely, chess is a draw, surely you won't be able to prove that? The chess tree is just too big.
The problem will be not having enough RAM to store the hash table and not enough fast, non-volatile storage for the tablebases. There could be some tricks to cut down the storage requirements by not storing every position or by compression methods (e.g. could you train a smallish neural net on a W/D/L tablebase that would get you 99% accuracy plus have a list of positions where it fails). If we can't figure out the storage problem, it will take much more calculating. But actually, I wouldn't bet against chess getting solved in this century.
-
- Posts: 343
- Joined: Sun Aug 25, 2019 8:33 am
- Full name: .
Re: Chess solved?
Lower bound on the number of moves in the game tree, not on all possible positions. You definitely don't need to store 10^120 positions. The vast majority of moves at a given position would make this player lose, so their sub-trees are relatively small and you have transpositions. I think a factor of 3 sensible moves per position was used in the past.
Last edited by mmt on Wed Aug 26, 2020 1:30 am, edited 1 time in total.
-
- Posts: 2727
- Joined: Wed May 12, 2010 10:00 pm
Re: Chess solved?
You are correct on one thing, 10^120 is wrong and just a lower bound. The number will likely be larger.
"The worst thing that can happen to a forum is a running wild attacking moderator(HGM) who is not corrected by the community." - Ed Schröder
But my words like silent raindrops fell. And echoed in the wells of silence.
But my words like silent raindrops fell. And echoed in the wells of silence.
-
- Posts: 343
- Joined: Sun Aug 25, 2019 8:33 am
- Full name: .
Re: Chess solved?
https://en.wikipedia.org/wiki/Shannon_number
Shannon himself recognized that there are many fewer positions and made a rough estimate near what I mentioned.
And: "Recent results[3] improve that estimate, by proving an upper bound below 2^155, which is less than 10^46.7"
-
- Posts: 2727
- Joined: Wed May 12, 2010 10:00 pm
Re: Chess solved?
You do not need to guess about future speed. There is a limit to how fast you can make a computer. Using Moore's law that limit will be reached in 75 years. Just use the theoretical limit.mmt wrote: ↑Wed Aug 26, 2020 1:17 amSo 1 year of running this setup gets us 3*10^22 positions. We should look at Koomey's Law more than Moore's Law to make guesses about future speed increases.towforce wrote: ↑Tue Aug 25, 2020 10:46 pm Interesting! Looks as though a single GPU can get 10^9 positions per second. With a million of them, and assuming "perfect efficiency", that would be 10^9 * 10^6 = 10^15 positions per second. If white does have a forced win, that might be enough - but if, as seems likely, chess is a draw, surely you won't be able to prove that? The chess tree is just too big.
The problem will be not having enough RAM to store the hash table and not enough fast, non-volatile storage for the tablebases. There could be some tricks to cut down the storage requirements by not storing every position or by compression methods (e.g. could you train a smallish neural net on a W/D/L tablebase that would get you 99% accuracy plus have a list of positions where it fails). If we can't figure out the storage problem, it will take much more calculating. But actually, I wouldn't bet against chess getting solved in this century.
"The worst thing that can happen to a forum is a running wild attacking moderator(HGM) who is not corrected by the community." - Ed Schröder
But my words like silent raindrops fell. And echoed in the wells of silence.
But my words like silent raindrops fell. And echoed in the wells of silence.
-
- Posts: 343
- Joined: Sun Aug 25, 2019 8:33 am
- Full name: .
Re: Chess solved?
Moore's law is not about the speed of computers. Koomey's Law is not either but it's more relevant, since as was mentioned, the power use matters most at our current technological level.