can chess program see win for white after e4 h6 d4 a5?

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

Moderators: hgm, Rebel, chrisw

User avatar
Brunetti
Posts: 266
Joined: Tue Dec 08, 2009 1:37 pm
Location: Milan, Italy
Full name: Alex Brunetti

Re: can chess program see win for white after e4 h6 d4 a5?

Post by Brunetti »

Milos wrote:For example, currently FB1.2 against itself +2/-0/=8 for white at 3min/game. Even with 10 games sufficient to tell that it will be less than 80%.
Shouldn't all games played against itself from the same position be identical? How do you explain the different results?

If I had to test this position, I would run a standard double round robin tournament with, say, 20 different engines/engine versions in the same rating range, and then compare White's score against the normal 54 or 55%. Possibly Harun could do that in a while :)

Alex
Uri Blass
Posts: 10282
Joined: Thu Mar 09, 2006 12:37 am
Location: Tel-Aviv Israel

Re: can chess program see win for white after e4 h6 d4 a5?

Post by Uri Blass »

Brunetti wrote:
Milos wrote:For example, currently FB1.2 against itself +2/-0/=8 for white at 3min/game. Even with 10 games sufficient to tell that it will be less than 80%.
Shouldn't all games played against itself from the same position be identical? How do you explain the different results?

If I had to test this position, I would run a standard double round robin tournament with, say, 20 different engines/engine versions in the same rating range, and then compare White's score against the normal 54 or 55%. Possibly Harun could do that in a while :)

Alex
I agree

Nothing wrong with playing the same engine against itself but it should be no more than one game(unless you use different time controls).

I think that the sweningen system can be used when Firebird White,Rybka white,Naum White,Stockfish White can play against the team of the same program with black.

Every White program is playing 4 games including game against the same engine so we get 16 games.

Edit:I can explain different results because engines are not deterministic with 4 processors(and even with 1 processor time may be also slightly different and cause the program to search slightly more nodes in one of the games that can cause a different move) but the results are clearly related and we get less information from related results.

Uri
bob
Posts: 20943
Joined: Mon Feb 27, 2006 7:30 pm
Location: Birmingham, AL

Re: Do you remember the Uri Blass' Opening 1. h3!!

Post by bob »

Dann Corbit wrote:
Arturo Ochoa wrote:and winning... :D :lol: :D :lol:
You just never know what might happen on a given day:

[Event "Jason"]
[Site "?"]
[Date "2007.11.09"]
[Round "8.5"]
[White "Fruit 05/11/03"]
[Black "De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 Bd2+ 1-0
in 1997 at under 50K nodes per second. Might be a bit harder today where search depth has more than doubled.
Dann Corbit
Posts: 12540
Joined: Wed Mar 08, 2006 8:57 pm
Location: Redmond, WA USA

Re: can chess program see win for white after e4 h6 d4 a5?

Post by Dann Corbit »

Here is the result after 42 games:

Code: Select all

Games        :     42 (finished)

White Wins   :     21 (50.0 %)
Black Wins   :      2 ( 4.8 %)
Draws        :     19 (45.2 %)
Unfinished   :      0

White Perf.  : 72.6 %
Black Perf.  : 27.4 %
About 170 Elo difference.
Dann Corbit
Posts: 12540
Joined: Wed Mar 08, 2006 8:57 pm
Location: Redmond, WA USA

Re: can chess program see win for white after e4 h6 d4 a5?

Post by Dann Corbit »

Dann Corbit wrote:Here is the result after 42 games:

Code: Select all

Games        :     42 (finished)

White Wins   :     21 (50.0 %)
Black Wins   :      2 ( 4.8 %)
Draws        :     19 (45.2 %)
Unfinished   :      0

White Perf.  : 72.6 %
Black Perf.  : 27.4 %
About 170 Elo difference.
However, when I throw out all duplicates (because it was engine verses itself), I get this:

Code: Select all

c:\pgn\step1>type general.dat

Games        :     25 (finished)

White Wins   :      4 (16.0 %)
Black Wins   :      2 ( 8.0 %)
Draws        :     19 (76.0 %)
Unfinished   :      0

White Perf.  : 54.0 %
Black Perf.  : 46.0 %

ECO A =      0 Games ( 0.0 %)
ECO B =      0 Games ( 0.0 %)
ECO C =      0 Games ( 0.0 %)
ECO D =      0 Games ( 0.0 %)
ECO E =      1 Games ( 4.0 %)


  stoblu.pgn (      7): [Result "0-1"]
  stoblu.pgn (     41): [Result "1/2-1/2"]
  stoblu.pgn (     76): [Result "1/2-1/2"]
  stoblu.pgn (    111): [Result "1/2-1/2"]
  stoblu.pgn (    144): [Result "1/2-1/2"]
  stoblu.pgn (    173): [Result "1-0"]
  stoblu.pgn (    207): [Result "0-1"]
  stoblu.pgn (    238): [Result "1/2-1/2"]
  stoblu.pgn (    272): [Result "1/2-1/2"]
  stoblu.pgn (    313): [Result "1/2-1/2"]
  stoblu.pgn (    346): [Result "1-0"]
  stoblu.pgn (    376): [Result "1/2-1/2"]
  stoblu.pgn (    401): [Result "1/2-1/2"]
  stoblu.pgn (    434): [Result "1/2-1/2"]
  stoblu.pgn (    463): [Result "1/2-1/2"]
  stoblu.pgn (    497): [Result "1/2-1/2"]
  stoblu.pgn (    527): [Result "1/2-1/2"]
  stoblu.pgn (    558): [Result "1/2-1/2"]
  stoblu.pgn (    591): [Result "1/2-1/2"]
  stoblu.pgn (    619): [Result "1/2-1/2"]
  stoblu.pgn (    648): [Result "1/2-1/2"]
  stoblu.pgn (    680): [Result "1-0"]
  stoblu.pgn (    713): [Result "1/2-1/2"]
  stoblu.pgn (    745): [Result "1/2-1/2"]
  stoblu.pgn (    776): [Result "1-0"]
muxecoid
Posts: 150
Joined: Sat Jan 30, 2010 10:54 am
Location: Israel

Re: can chess program see win for white after e4 h6 d4 a5?

Post by muxecoid »

If black is heavily booked up for this opening while white uses vanilla book I guess the chances are equal even on medium-long time controls.

It will be hard to create such opening book as it will require human supervision to promote the moves that utilize black's control over b4 and g5. I guess the idea is to castle opposite sides while keeping the center somewhat closed.
Karlo Bala
Posts: 373
Joined: Wed Mar 22, 2006 10:17 am
Location: Novi Sad, Serbia
Full name: Karlo Balla

Re: can chess program see win for white after e4 h6 d4 a5?

Post by Karlo Bala »

Dann Corbit wrote:
Uri Blass wrote:I wonder what is your opinion:

1)Is it correct that white objectively has a winning position after these 2 mistakes by black
White has a big advantage. Between peer engines, white should win at least 90% I think. If white is me and black is Rybka, then that is another story.
2)Can chess program see a winning score based on deep search(the important thing is not a big score for white but seeing significant increase in score)?
Big scores in the opening are almost always a mistake, unless there is a whole lot of wood missing and the search is deep. I never trust a deep score in the opening with a search that is under one hour on a fast machine.

3)Does white always win in comp-comp games at long time control between top programs(Naum4.2 Stockfish1.6.3,Rybka3,Firebird1.2)?
I guess almost always.

4)What is the best plan for white?
Nf3 is my current guess, but I am not sure.
White indeed has big advantage. 3 tempi in opening worth about a pawn, and white has almost full 3 tempi more. However, playing both Nc3 and Nf3 at same time, is terribly wrong because position stay closed. White should play for big center and try to open position at right moment.
Best Regards,
Karlo Balla Jr.
S.Taylor
Posts: 8514
Joined: Thu Mar 09, 2006 3:25 am
Location: Jerusalem Israel

Re: can chess program see win for white after e4 h6 d4 a5?

Post by S.Taylor »

Uri Blass wrote:I wonder what is your opinion:

1)Is it correct that white objectively has a winning position after these 2 mistakes by black

2)Can chess program see a winning score based on deep search(the important thing is not a big score for white but seeing significant increase in score)?

3)Does white always win in comp-comp games at long time control between top programs(Naum4.2 Stockfish1.6.3,Rybka3,Firebird1.2)?

4)What is the best plan for white?

Is it Nc3 and Nf3 or maybe it should include at least one of c4 and f4 that fide master suggested in discussion in the following thread

http://chesstempo.com/chess-forum/gener ... 999.0.html

Some analysis by Rybka3 does not show a significant increase in score but of course more time is needed and if somebody with good hardware can give chess programs 24 hours to analyze then it may be interesting.

spinnakr2001 - signofjonas, Yahoo! Chess Game 2010
[D]rnbqkbnr/1pppppp1/7p/p7/3PP3/8/PPP2PPP/RNBQKBNR w KQkq a6 0 1

Analysis by Rybka 3 1-cpu 32-bit :

3.Nb1-c3
² (0.48) Depth: 2 00:00:00
3.Nb1-c3
² (0.37) Depth: 3 00:00:00
3.Nb1-c3
² (0.37) Depth: 4 00:00:00
3.Nb1-c3 d7-d6
² (0.42) Depth: 5 00:00:00
3.Nb1-c3 d7-d6 4.Ng1-f3
² (0.46) Depth: 6 00:00:00 3kN
3.Nb1-c3 d7-d6 4.Ng1-f3 Ng8-f6
² (0.48) Depth: 7 00:00:00 4kN
3.Nb1-c3 d7-d6 4.Ng1-f3 Ng8-f6 5.Bf1-d3
² (0.46) Depth: 8 00:00:00 9kN
3.Nb1-c3 d7-d6 4.Ng1-f3 Ng8-f6 5.Bf1-d3 g7-g5
² (0.57) Depth: 9 00:00:01 20kN
3.Nb1-c3 d7-d6 4.Ng1-f3 g7-g5 5.Bf1-c4 g5-g4 6.Nf3-h4
² (0.50) Depth: 10 00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 6.Bf1-c4 Nb8-d7 7.0-0 e7-e6 8.Bc1-e3 Ng8-e7 9.Bc4-d3 c7-c6 10.Qd1-d2 0-0
² (0.61) Depth: 19 00:23:37 31017kN

(, 30.03.2010)
This kind of question has probably been around for many years, and we can only ask it again every few years, when the new generations of computers might have reached the ability to teach us wonderful new things.
I've recently been reading a very special little book by Edmar Mednis "How to play good opening moves", and he pays attention to every possible opening first move for white and black, and those which he considers "weak", he explains why. If the computer understands everything he had in mind, then who knows? perhaps it IS a win for white with perfect play both sides!
S.Taylor
Posts: 8514
Joined: Thu Mar 09, 2006 3:25 am
Location: Jerusalem Israel

Re: can chess program see win for white after e4 h6 d4 a5?

Post by S.Taylor »

If the best and fastest programs do not go up and up when left to evaluate, then it looks like the plus score after 20-30 plies is for the same reason it was a plus at the first second, which seems to be the general positional opening progress, and not that something subtantial, or further weakness has come from it.

Perhaps the actual computer brain is not yet powerful enough to know how to take advanage of many weak moves and positions. The computer still has to rely alot on what it is taught, and this is great, but is still a little bit like a toy, which cannot innovate or teach, as it in itself does not undestand, as it has neither been taught everything, nor can it see far enough from calculaton or independent intuition.
Milos
Posts: 4190
Joined: Wed Nov 25, 2009 1:47 am

Re: can chess program see win for white after e4 h6 d4 a5?

Post by Milos »

Brunetti wrote:Shouldn't all games played against itself from the same position be identical? How do you explain the different results?
The easiest solution is to just throw away all the duplicates. There should not be many duplicates anyway, because engines are not working deterministically.
First you have the impact of OS (schedulers and other processes running) which introduces a lot of noise in engine thinking process. Secondly, even if you had a dedicated OS which would give all of the processor time to an engine, multithreaded engines are again not deterministic by definition (for the reasons of how multicore processors work). There is a lot of noise and a game consists in quite a lot of moves. Chance to have divergence somewhere is increasing with each new move played.