When will the chess programmers write an engine that plans ?

Discussion of anything and everything relating to chess playing software and machines.

Moderators: hgm, Rebel, chrisw

User avatar
mclane
Posts: 18748
Joined: Thu Mar 09, 2006 6:40 pm
Location: US of Europe, germany
Full name: Thorsten Czub

Re: When will the chess programmers write an engine that plans ?

Post by mclane »

acase wrote: Sat Mar 21, 2020 10:19 pm
mclane wrote: Fri Mar 20, 2020 11:22 pm I mean that creates a plan and develops a main line that leads to something.
Not the usual engines we have today. That play chess within a Horizont of search depth.
Because Tactics are FAR more important than plans and strategy. If you (or a computer) make a strategical mistake against an opponent you could possibly save the game and not lose, however if you make one tactical mistake it could lose the game for you immediately. This is absolutely why tactics must be the main focus of all computer chess.
A strategical mistake also leads into a loss. This is nonsense.
Take the games of tactical weak LC0 versus tactical strong Stockfish and you see that tactics is not so important.
How else could LC0 beat Stockfish.
What seems like a fairy tale today may be reality tomorrow.
Here we have a fairy tale of the day after tomorrow....
User avatar
mclane
Posts: 18748
Joined: Thu Mar 09, 2006 6:40 pm
Location: US of Europe, germany
Full name: Thorsten Czub

Re: When will the chess programmers write an engine that plans ?

Post by mclane »

Yes they give a score. But how much is the score of an AB program worth when there is no tactics involved ?
You could ask your dog how much he would evaluate. It would be more appropriate.
When there is no tactics in a position, the AB programs guess a score. But how much is this true when the program is calculating
Millions NPS. Cannot be a big evaluation or analyse if it happens so fast, or ?
What seems like a fairy tale today may be reality tomorrow.
Here we have a fairy tale of the day after tomorrow....
acase
Posts: 981
Joined: Wed Mar 15, 2006 1:14 am
Location: Columbus, Ohio USA
Full name: Andrew R Case

Re: When will the chess programmers write an engine that plans ?

Post by acase »

mclane wrote: Sat Mar 21, 2020 11:38 pm
acase wrote: Sat Mar 21, 2020 10:19 pm
mclane wrote: Fri Mar 20, 2020 11:22 pm I mean that creates a plan and develops a main line that leads to something.
Not the usual engines we have today. That play chess within a Horizont of search depth.
Because Tactics are FAR more important than plans and strategy. If you (or a computer) make a strategical mistake against an opponent you could possibly save the game and not lose, however if you make one tactical mistake it could lose the game for you immediately. This is absolutely why tactics must be the main focus of all computer chess.
A strategical mistake also leads into a loss. This is nonsense.
Take the games of tactical weak LC0 versus tactical strong Stockfish and you see that tactics is not so important.
How else could LC0 beat Stockfish.

LC0 is not tactically weak as you assert here. That may have been true in 2018 or even some of 2019, but when it made TACTICAL oversights back then it lost the games quickly.
Dann Corbit
Posts: 12537
Joined: Wed Mar 08, 2006 8:57 pm
Location: Redmond, WA USA

Re: When will the chess programmers write an engine that plans ?

Post by Dann Corbit »

We may say that LC0 is weak in tactics, and it is true, compared to Stockfish.
But LC0 is at least as strong as Tal, tactically. (Analyze some Tal games, and it will find Tal's moves and furthermore it will find many mistakes that Tal made. Tal would stand no chance playing a game against LC0, and LC0 would also surprise Tal with some strikingly good moves).

Some may say that computers don't plan. But you can give it a game between two super GMs to analyze.
For more than half of the moves, the strong programs agree and would make the same move. For the remainder, it is usually the human who is wrong about it.

I can get to 50 pies in an hour. That's twenty five full moves forward. Imagine ten years from now what computers will do, since both hardware and software advances exponentially.

At some point, computers will see 100 plies ahead. No matter how you look at it, that's strategic.

I am at the opposite pole from McLaine. I think that we have, at our beck and call, the equivalent of Fischer, Tal, Morphy, Capablanca, Alekhine, etc. to analyze and explain chess to us, and do it tirelessly day and night. What a great time to be alive
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.
jp
Posts: 1470
Joined: Mon Apr 23, 2018 7:54 am

Re: When will the chess programmers write an engine that plans ?

Post by jp »

Dann Corbit wrote: Sun Mar 22, 2020 12:26 am At some point, computers will see 100 plies ahead. No matter how you look at it, that's strategic.
It's not strategy or tactics. It's calculation.

mclane wrote: Sat Mar 21, 2020 11:40 pm You could ask your dog how much he would evaluate. It would be more appropriate.
If you really want what you ask for, the solution is to (get someone to) sponsor a prize for people to do that. A big enough prize will achieve far more than 100 frustrated threads asking the same thing.
Last edited by jp on Sun Mar 22, 2020 12:41 am, edited 1 time in total.
carldaman
Posts: 2283
Joined: Sat Jun 02, 2012 2:13 am

Re: When will the chess programmers write an engine that plans ?

Post by carldaman »

Check out this game that occurred as recently as yesterday, while I was typing up my previous post. :)

[pgn]
[Event "12m+10s"]
[Date "2020.03.20"]
[Round "2"]
[White "Phalanx XXV"]
[Black "CyberNezh"]
[Result "0-1"]
[ECO "E11"]
[PlyCount "66"]


1. d4 Nf6 2. Nf3 e6 3. c4 Bb4+ 4. Bd2 Qe7 5. e3 b6 6. Be2 Bxd2+ 7. Qxd2 Ne4 8.
Qc2 Bb7 9. O-O f5 10. Nfd2 O-O 11. Nxe4 Bxe4 12. Qd1 Bb7 $1 13. Nc3 Rf6 $1 14.
Bf3 Nc6 15. Qa4 Rh6 16. Ne2 Qh4 17. h3 g5 18. Rfd1 Rf8 19. Kf1 g4 20. g3 Qd8 $5
(20... Qf6) 21. hxg4 fxg4 22. Bg2 Rf3 $3 23. Bxf3 gxf3 24. Ke1 fxe2 25. Kxe2
Qf6 26. Rf1 Nxd4+ $1 27. exd4 Qxd4 28. Qb5 Rf6 29. f4 Qe4+ 30. Kd2 Qg2+ 31. Ke1
e5 32. Rd1 Bc6 33. Qxe5 Re6 0-1
[/pgn]

Notice the smooth flow of the game, with Nezh aiming gradually for the King by building up
the attacking position first, with logical human-like maneuvers (Rook lift, K-side pawn storm) then
followed by a spectacular trap with Rf8-f3!!? which may or may not be the best move, objectively,
but one that poses immediate problems, and then the smashing blow Nxd4 that finished off
poor Phalanx (a fine engine of GM strength, otherwise).
[Edit: this game was played entirely without a book]

Engines may not actually plan, but a combination of high-end search and a really good evaluation can produce what looks a lot like plans, for all intents and purposes. Hide the names of the players and show this game to a real GM, asking him to try to guess who had Black. :lol:

What impresses me about Nezh, besides the dazzling sacs, is this ability to build up powerful menacing positions. Without the preexistence of these positions, these sacs could never arrive at all. It reminds of what Spielmann said about Alekhine - (paraphrasing) that he could see the same sacrifices or combinations as well as Alekhine did, but that he was unable to bring about the underlying positions in the first place!
jp
Posts: 1470
Joined: Mon Apr 23, 2018 7:54 am

Re: When will the chess programmers write an engine that plans ?

Post by jp »

carldaman wrote: Sun Mar 22, 2020 12:38 am Engines may not actually plan, but a combination of high-end search and a really good evaluation can produce what looks a lot like plans, for all intents and purposes.
And the more one-sided you make the contest (e.g. give one engine 10 times the computer power of the other), the more it produces what superficially looks like "positional" play.
Dann Corbit
Posts: 12537
Joined: Wed Mar 08, 2006 8:57 pm
Location: Redmond, WA USA

Re: When will the chess programmers write an engine that plans ?

Post by Dann Corbit »

jp wrote: Sun Mar 22, 2020 12:37 am
Dann Corbit wrote: Sun Mar 22, 2020 12:26 am At some point, computers will see 100 plies ahead. No matter how you look at it, that's strategic.
It's not strategy or tactics. It's calculation.
Both strategy and tactics are calculation.
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.
User avatar
Ovyron
Posts: 4556
Joined: Tue Jul 03, 2007 4:30 am

Re: When will the chess programmers write an engine that plans ?

Post by Ovyron »

Maybe some really smart human can check out an engine's tree in full and tell us about its plans. Perhaps the plans are there but we're just too dumb to see them.
carldaman
Posts: 2283
Joined: Sat Jun 02, 2012 2:13 am

Re: When will the chess programmers write an engine that plans ?

Post by carldaman »

jp wrote: Sun Mar 22, 2020 12:45 am
carldaman wrote: Sun Mar 22, 2020 12:38 am Engines may not actually plan, but a combination of high-end search and a really good evaluation can produce what looks a lot like plans, for all intents and purposes.
And the more one-sided you make the contest (e.g. give one engine 10 times the computer power of the other), the more it produces what superficially looks like "positional" play.
My convention is to test with 4 cores if the engine supports it. If I had more available, I probably would not use them all because of the diminishing returns. Phalanx is a single-core engine, so it gets ... just one core. I don't test for a rating list, so I'm mostly interested in the stylistic content of the games - or the way the engines conduct their games, in other words.

But, to offer up a game played on equal hardware, here's an encounter with The King (v3.50) that concluded just minutes ago, as if on demand!! :D As a bonus, CyberNezh is slightly handicapped by the well-known issue involving The King's use of one core on the opponent's time, but no big deal there. :)

One rarely gets to witness such a thorough dismantling of the loathed Berlin Defense. [No book was used]
Enjoy.

[pgn]
[Event "12m+8s"]
[Date "2020.03.21"]
[Round "1"]
[White "CyberNezh"]
[Black "The King 3.50"]
[Result "1-0"]
[ECO "C67"]
[PlyCount "63"]

{[%evp 0,63,19,38,25,16,14,23,13,36,37,41,10,71,107,-102,47,-86,-96,-13,-137,
-41,-18,-340,-340,-275,-90,-370,-370,-323,-323,-133,0,0,150,-348,-290,-265,
-245,-117,-45,-167,145,-472,-319,-362,149,110,229,239,239,281,399,538,606,648,
406,654,723,443,472,612,922,858,1071,1160]} 1. e4 e5 2. Nf3 Nc6 3. Bb5 Nf6 4.
O-O Nxe4 5. d4 exd4 6. Re1 f5 7. Ng5 Bb4 8. Nxe4 Bxe1 9. Bg5 Ne7 10. Qh5+ $1 g6
11. Nd6+ $3 cxd6 12. Qh6 Ng8 13. Qh4 Qb6 14. Na3 Bb4 15. c3 Bxa3 16. Re1+ Kf8
17. Be7+ Kf7 18. Bc4+ d5 19. Bxd5+ Kg7 20. bxa3 h5 21. Qg5 d3 22. c4 Nf6 23.
Bb4 Qd8 24. Re7+ Qxe7 25. Bxe7 Nh7 26. Qe3 Re8 27. Qd4+ Kh6 28. Bb4 d6 29. Qf4+
Kg7 30. Qxd6 Kh6 31. Qf4+ g5 32. Qd6+ 1-0
[/pgn]

OK, but now someone may object that such a contest is still lopsided. However, CyberNezh is far from being a top engine. Its moves are often too risky, bordering on downright unsound - but boy, how they can pay off against a bedazzled opponent. Besides, the most instructive games are often the master vs amateur, or SuperGM vs mere GM affairs.