engines & positional play

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

Moderator: Ras

User avatar
smirobth
Posts: 2307
Joined: Wed Mar 08, 2006 8:41 pm
Location: Brownsville Texas USA

Re: engines & positional play

Post by smirobth »

Mike S. wrote:I am sure if you do a database search over CCRL or CEGT games, you will find MANY successfull sacrifices of a FULL exchange. Of course, you would need to review it from the human perspective, if they are to be considered tactically or positionally.

I would start with Quad-Rybka games and/or with the 40/120 downloads from CEGT, for this search.

Another engine which is capable of BIG longe-range sacrifices, is Junior (maybe older versions even more than the latest).
I don't deny that Junior and other programs will sac a full exchange. But it is my contention that they rarely (if ever) do so if a king attack is not involved. If it is so easy to find an example why hasn't anyone already done so in this thread? You say I could find one if I looked. Perhaps; but I am the one claiming they aren't so easy to find, so it seems to me the burden of proof for a counter example to my claim is on others.
- Robin Smith
User avatar
Graham Banks
Posts: 44908
Joined: Sun Feb 26, 2006 10:52 am
Location: Auckland, NZ

Re: engines & positional play

Post by Graham Banks »

smirobth wrote:
Graham Banks wrote:
Mike S. wrote:I am sure if you do a database search over CCRL or CEGT games, you will find MANY successfull sacrifices of a FULL exchange. Of course, you would need to review it from the human perspective, if they are to be considered tactically or positionally.

I would start with Quad-Rybka games and/or with the 40/120 downloads from CEGT, for this search.

Another engine which is capable of BIG longe-range sacrifices, is Junior (maybe older versions even more than the latest).
Yes, Robin could use the following tool to search databases specifically for full exchange sacs:
http://www.rbnn.com/cql/

Regards, Graham.
Thanks Graham. I haven't used this program before. I have chessbase, but it is not a simple task to find exchange sacs with chessbase. Can you give me an example of how to define a CQL query for an exchange sac? Their sac example shows only a queen sac, but an exchange sac is a lot harder to define since it involves a rook on one side and either a bishop or knight on the other (not just one piece).
I've not had a chance to take a look, but I'm told that is very specific, thorough and is easy to use.

Regards, Graham.
gbanksnz at gmail.com
User avatar
Mike S.
Posts: 1480
Joined: Thu Mar 09, 2006 5:33 am

Re: engines & positional play

Post by Mike S. »

smirobth wrote: it is not a simple task to find exchange sacs with chessbase.
That query language thing doesn't look easy to me either. - With ChessBase, try the "difference" option in the material search. One side is up one minor piece, the other side has one rook more, over a reasonable number of moves (to make sure it isn't short-term tactics). That should work.
Regards, Mike
Dann Corbit
Posts: 12803
Joined: Wed Mar 08, 2006 8:57 pm
Location: Redmond, WA USA

Re: engines & positional play

Post by Dann Corbit »

smirobth wrote:
Dann Corbit wrote:
smirobth wrote:
Graham Banks wrote:
smirobth wrote: I looked for examples four or so years ago and couldn't find any.
I asked for some help on the Rybka forum and Vas replied:
Graham,

I definitely agree with your comment. For some ancient examples, take a look here:

http://www.rybkachess.com/index.php?aus ... hange+sacs
http://www.rybkachess.com/index.php?aus ... sacrifices

Newer Rybka versions are even much better at this.

Vas
Thanks Graham. However in the first link you provided every single exchange sac involved not only positional compensation, but also at least one pawn for additional compensation and sometimes two pawns (which is no sac at all). And the second link shows only pawn sacs, not exchange sacs. So these links are making my case for me .... programs don't seem to sac a full exchange for purely positional compensation.
I have seen some versions of Rybka make the right move here:
[d]r1bqk1nr/pppp1ppp/2n5/b7/2BpP3/2P2N2/P4PPP/RNBQ1RK1 b kq - bm Nge7;

Though most engines will toil for hours, scheming about capturing that lovely pawn.
This Evan's gambit position is an example of avoiding a pawn sac, not offering an exchange sac. Also in this position d6 is just as good as Nge7, so perhaps this would be better as an avoid move position. It is an nice position to test comps with though. Taking the pawn is very bad but not obvious.
Some very strong engines will grind on it for hours and hours and never see the problem.

A long time ago {perhaps 5-8 years ago}, I ran crafty against this problem for 50 hours (950 MHz computer) and it never found the solution. However, after you make the pawn capture, it will eventually see the problem with that. Also, after you make the move Nge7 it will eventually see that the position is good.

I have not tested modern crafty against this with modern hardware.
Vladimir Xern
Posts: 39
Joined: Wed Mar 08, 2006 8:30 pm

Re: engines & positional play

Post by Vladimir Xern »

Not quite sure if it suits your qualifications, but what about Junior's ...Rxc4! against Brutus?

[d] r1r5/3nbpk1/4qnp1/4p1Bp/1pN1P3/1PP2Q2/4N1PP/3R1R1K b - -
User avatar
Graham Banks
Posts: 44908
Joined: Sun Feb 26, 2006 10:52 am
Location: Auckland, NZ

Re: engines & positional play

Post by Graham Banks »

smirobth wrote:I am the one claiming they aren't so easy to find, so it seems to me the burden of proof for a counter example to my claim is on others.
A good example has been posted in this thread on the Rybka forum:
http://rybkaforum.net/cgi-bin/rybkaforu ... id=2977#fp
gbanksnz at gmail.com
User avatar
smirobth
Posts: 2307
Joined: Wed Mar 08, 2006 8:41 pm
Location: Brownsville Texas USA

Re: engines & positional play

Post by smirobth »

Graham Banks wrote:
smirobth wrote:I am the one claiming they aren't so easy to find, so it seems to me the burden of proof for a counter example to my claim is on others.
A good example has been posted in this thread on the Rybka forum:
http://rybkaforum.net/cgi-bin/rybkaforu ... id=2977#fp
Hi Graham,
I went to the Rybka site and saw the same positions from Vas again (no full exchange sac), plus this single additional one:
[d]rq4kr/1bn2pp1/4p3/p1R1N2p/1p2n3/7P/PP1B1PP1/3QRBK1 w - -
with the continuation 26.Rxe4 Bxe4 27.Nxf7 Kxf7 leading to this position:
[d]rq5r/2n2kp1/4p3/p1R4p/1p2b3/7P/PP1B1PP1/3Q1BK1 w - -
Which is pretty obviously a king attack. I am talking about 100% positional (quiet) compensation. Like a destroyed pawn structure combined with a forever knight outpost on a dominating square from which it cannot ever be dislodged. Or sacs to allow a side in trouble to make a fortress draw. These types of purely positional sacs do occur in GM games. They don't seem to occur in computer games; unless you count exposed kings or pawns nearing promotion as positional factors (which could be argued).

So I am still standing by my claim.
- Robin Smith
User avatar
smirobth
Posts: 2307
Joined: Wed Mar 08, 2006 8:41 pm
Location: Brownsville Texas USA

Re: engines & positional play

Post by smirobth »

I have found some positions that I consider to be purely positional full exchange sacs, and that some programs have no trouble seeing, thus I stand corrected:

Van Wely,Loek - Topalov,Veselin
1.d4 d5 2.c4 c6 3.Nf3 Nf6 4.Nc3 a6 5.a4 e6 6.Bg5 h6 7.Bh4 dxc4 8.e3
[d]rnbqkb1r/1p3pp1/p1p1pn1p/8/P1pP3B/2N1PN2/1P3PPP/R2QKB1R b K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2 a6 8.0–0–0 h6 9.Be3 Be7 10.f4 Nxd4 11.Bxd4 b5 12.Qe3 Qc7 13.e5 dxe5 14.Bxe5
[d]r1b1k2r/2q1bpp1/p3pn1p/1p2B3/5P2/2N1Q3/PPP3PP/2KR1B1R b kq - 0 14
14...Ng4! 15.Qf3 Nxe5 16.Qxa8 Nd7 17.g3 Nb6 18.Qf3 Bb7 19.Ne4 f5 20.Qh5+ Kf8 21.Nf2 Bf6 22.Bd3 Na4 23.Rhe1 Bxb2+ 24.Kb1 Bd5 25.Bxb5 Bxa2+ 26.Kxa2 axb5 27.Kb1 Qa5 28.Nd3 Ba3 29.Ka2 Nc3+ 30.Kb3 Nd5 31.Ka2 Bb4+ 32.Kb1 Bc3 0–1
- Robin Smith
Dann Corbit
Posts: 12803
Joined: Wed Mar 08, 2006 8:57 pm
Location: Redmond, WA USA

Re: engines & positional play

Post by Dann Corbit »

A little over ten years ago, another great chess player got a surprise:
[d]r1r1q1k1/6p1/p2b1p1p/1p1PpP2/PPp5/2P4P/R1B2QP1/R5K1 w - - bm axb5; am Qb6;

The computer played axb5. Back in those days, none of the PC programs could find it. I bet that lots of them can find it now.
User avatar
smirobth
Posts: 2307
Joined: Wed Mar 08, 2006 8:41 pm
Location: Brownsville Texas USA

Re: engines & positional play

Post by smirobth »

Dann Corbit wrote:A little over ten years ago, another great chess player got a surprise:
[d]r1r1q1k1/6p1/p2b1p1p/1p1PpP2/PPp5/2P4P/R1B2QP1/R5K1 w - - bm axb5; am Qb6;

The computer played axb5. Back in those days, none of the PC programs could find it. I bet that lots of them can find it now.
Hi Dann,
This famous position has been discussed a lot, and I think the consensus these days is that Qb6 is stronger than axb5. axb5 doesn't win against best defense (Kasparov resigned in a drawn position!), while Qb6 very likely might win by force.
- Robin Smith