chessgames.com
 
Chessgames.com User Profile Chessforum
AylerKupp
Member since Dec-31-08 · Last seen May-22-13
About Me (in case you care):

Old timer from Fischer, Reshevky, Spassky, Petrosian, etc. era. Active while in high school and early college, but not much since. Never rated above low 1800s and highly erratic; I would occasionally beat much higher rated players and equally often lose to much lower rated players. Highly entertaining combinatorial style, everybody liked to play me since they were never sure what I was going to do (neither did I!). When facing a stronger player many try to even their chances by steering towards simple positions to be able to see what was going on. My philosophy in those situations was to try to even the chances by complicating the game to the extent that neither I nor the stronger player would be able to see what was going on! Alas, this approach no longer works in the computer age. And, needless to say, my favorite all-time player is Tal.

I also have a computer background and have been following with interest the development in computer chess since the days when computers couldn't always recognize illegal moves and a patzer like me could beat them with ease. Now it’s me that can’t always recognize illegal moves and any chess program can beat me with ease.

But after about 2 years (a lifetime in computer-related activities) of playing computer-assisted chess, I think I have learned a thing or two about the subject. I have conceitedly defined "AylerKupp's corollary to Murphy's Law" as follows:

"If you use your engine to analyze a position to a search depth=N, your opponent's killer move (the move that will refute your entire analysis) will be found at search depth=N+1, regardless of the value you choose for N."

I’m also a food and wine enthusiast. Some of my favorites are German wines (along with French, Italian, US, New Zealand, Australia, Argentina, Spain, ... well, you probably get the idea). One of my early favorites were wines from the Ayler Kupp vineyard in the Saar region, hence my user name. Here is a link to a picture of the village of Ayl with a portion of the Kupp vineyard on the left: http://en.wikipedia.org/wiki/File:A...

You can send me an e-mail whenever you'd like to aylerkupp(at)gmail.com.

And check out a picture of me with my "partner", Rybka (Aylerkupp / Rybka) from the CG.com Masters vs. Machines Invitational (2011). No, I won't tell you which one is me.

-------------------

Analysis Tree Spreadsheet (ATSS).

The ATSS is a spreadsheet developed to track the analyses posted by team members in various on-line games (XXXX vs. The World, Team White vs. Team Black, etc.). It is a poor man's database which provides some tools to help organize and find analyses.

I'm in the process of developing a series of tutorials on how to use it and related information. The tutorials are spread all over this forum, so here's a list of the tutorials developed to date and links to them:

Overview: AylerKupp chessforum

Minimax algorithm: AylerKupp chessforum

Principal Variation: AylerKupp chessforum

Finding desired moves: AylerKupp chessforum

Average Move Evaluation Calculator (AMEC): AylerKupp chessforum

-------------------

Chess Engine Evaluation Project

Some time ago I started but then dropped a project whose goal was to evaluate different engines' performance in solving the "insane" Sunday puzzles. I'm planning to restart the project with the following goals:

(1) Determine whether various engines were capable of solving the Sunday puzzles within a reasonable amount of time, how long it took them to do so, and what search depth they required.

(2) Classify the puzzles as Easy, Medium, or Hard from the perspective of how many engines successfully solved the puzzle, and to determine whether any one engine(s) excelled at the Hard problems.

(3) Classify the puzzle positions as Open, Semi-Open, or Closed and determine whether any engine excelled at one type of positions that other engines did not.

(4) Classify the puzzle position as characteristic of the opening, middle game, or end game and determine which engines excelled at one phase of the game vs. another.

(5) Compare the evals of the various engines to see whether one engine tends to generate higher or lower evals than other engines for the same position.

If anybody is interested in participating in the restarted project, either post a response in this forum or send me an email. Any comments, suggestions, etc. very welcome.

-------------------

Ratings Inflation

I have recently become interested in the increase in top player ratings since the mid-1980s and whether this represents a true increase in player strength (and if so, why) or if it is simply a consequence of a larger chess population from which ratings are derived. So I've opened up my forum for discussions on this subject.

As of this writing (Mar-2013) I've managed to collect the FIDE rating lists from year end 1966 to year end 2012 in a spreadsheet, and you can download it from here: http://rapidshare.com/files/1057538.... It is quite large (89 MB) and to open it you will need Excel 2007 or later version or a compatible spreadsheet.

The spreadsheet also contains several charts and summary information. If you are only interested in that and not the actual rating lists, you can download a much smaller (570 KB) spreadsheet containing the charts and summary information from here: http://rapidshare.com/files/3731810...(summary).xls. You can open this file with a pre-Excel 2007 version or a compatible spreadsheet.

FWIW, after looking at the data I think that ratings inflation, which I define to be the unwarranted increase in ratings not necessarily accompanied by a corresponding increase in playing strength, is real, but it is a slow process. I refer to this as my "Bottom Feeder" hypothesis and it goes something like this:

1. Initially (late 1960s and 1970s) the ratings for the strongest players were fairly constant.

2. In the 1980s the number of rated players began to increase exponentially, and they entered the FIDE-rated chess playing population mostly at the lower rating levels. The ratings of the stronger of these players increased as a result of playing weaker players, but their ratings were not sufficiently high to play in tournaments, other than open tournaments, where they would meet middle and high rated players.

3. Eventually they did. The ratings of the middle rated players then increased as a result of beating the lower rated players, and the ratings of the lower rated players then leveled out and even started to decline. You can see this effect in the 'Inflation Charts' tab, "Rating Inflation: Nth Player: 1966 – 2012" chart, for the 1500th to 5000th rated player.

4. Once the middle rated players increased their ratings sufficiently, they began to meet the strongest players. And the cycle repeated itself. The ratings of the middle players began to level out and might now be ready to start a decrease. You can see this effect in the same chart for the 100th to 1000th rated player.

5. The ratings of the strongest players, long stable, began to increase as a result of beating the middle rated players. And, because they are at the top of the food chain, their ratings, at least so far, continue to climb. I think that they will eventually level out but if this hypothesis is true there is no force to drive them down so they will stay relatively constant like the pre-1986 10th rated player and the pre-1980 50th rated player. When this leveling out will take place, if it does, and at what level, I have no idea. It may be fun to try to figure it out.

You can see in the chart that the rating increase, leveling off, and decline first starts with the lowest ranking players, then through the middle ranking players, and finally affects the top ranked players. It's not precise, it's not 100% consistent, but it certainly seems evident. And the process takes decades so it's not easy to see unless you look at all the years and many ranked levels.

Of course, this is just a hypothesis and the chart may look very different 20 years from now. But, at least on the surface, it doesn't sound unreasonable to me.

Any comments, suggestions, criticisms, etc. are both welcomed and encouraged.

Chessgames.com Full Member

   AylerKupp has kibitzed 4534 times to chessgames   [more...]
   May-21-13 Robert James Fischer (replies)
 
AylerKupp: <diceman> It was not my wish to either "lose" Fischer or the Fischer vs. Karpov match. On the contrary, it saddens me greatly to have lost the opportunity to see the games that would have resulted from the Fischer vs. Karpov match (which I suspect would have been of ...
 
   May-20-13 Team White vs Team Black, 2013 (replies)
   May-19-13 AylerKupp chessforum
 
AylerKupp: <perfidious> Yes, I remember the Van Der Werf book, although I never had it. Believe it or not, Amazon is still offering it, and at a very reasonable $ 16.95 plus shipping. But, since it was written in 1996, it is probably hopelessly out of date. There is also a book by ...
 
   May-19-13 J L Hammer vs Nakamura, 2013
 
AylerKupp: <parmetd> If the Noteboom has been all but completely refuted by correspondence chess then I suspect that this must be a relatively recent development. Sherbakov in his book (2012) considers 16.f4 to be the main line after 15.Nd2 so either he wasn't aware of this development
 
   May-18-13 Norway Chess Tournament (2013) (replies)
 
AylerKupp: <dx9293> See my comments to your earlier post about 16...a4 at J L Hammer vs Nakamura, 2013 which I think is a more appropriate place to discuss this game.
 
   May-16-13 Svidler vs Karjakin, 2013 (replies)
 
AylerKupp: <Strongest Force> Yes, it was the same way with me. Then I stopped growing and that was the end of my basketball aspirations. Funny how the same thing happened to my chess aspirations.
 
   May-15-13 Karjakin vs Nakamura, 2013 (replies)
 
AylerKupp: <caissafan1963> Fischer said many things in his life, not all of them correct. Fischer played White against the Dragon before the strength of the Soltis variation for Black with ...h5 was fully appreciated. It pretty much stops White's attack dead in its tracks, or at least ...
 
   May-14-13 Carlsen vs Radjabov, 2013 (replies)
 
AylerKupp: Let's not forget the significant time advantage that Carlsen has. Soon Radjabov will be reduced to 30 secs per move for the rest of the game. Not a good situation to be in a complex endgame where precise calculation is required, not to mention against Carlsen. So, while in the ...
 
   May-14-13 Komodo (Computer)
 
AylerKupp: <pbercker> I use Arena myself but I certainly wouldn't call myself an expert on it. When I first started using chess engines I selected Arena because it was the most comprehensive of the free engines (I'm cheap). I have Rybka 4 so I also have the Rybka/Fritz interface, but I
 
   May-13-13 DcGentle chessforum (replies)
 
...
 
(replies) indicates a reply to the comment.

De Gustibus Non Disputandum Est

Kibitzer's Corner
< Earlier Kibitzing  · PAGE 29 OF 35 ·  Later Kibitzing>
Apr-13-12
Premium Chessgames Member
  Golden Executive:

Spacebar Masters alert ! Thematic Challenge Voting Page

Apr-19-12
Premium Chessgames Member
  kutztown46: please check your email.
Apr-30-12
Premium Chessgames Member
  Golden Executive: First!, asking for the analysis tree update
May-06-12
Premium Chessgames Member
  AylerKupp: <Analysis Tree (AT) Spreadsheet Tutorial - Overview. > (part 1 of 2)

The Analysis Tree (AT) spreadsheet provides for collecting and organizing analyses that have been posted by various analysts and displaying them (if desired) in a Tree format. It also calculates analysis statistics on a move-by-move basis and provides several capabilities to allow finding specific analyses.

To use the AT spreadsheet you need a Microsoft Excel 2003-compatible spreadsheet that will properly execute Excel macros. Both OpenOffice for Linux and NeoOffice for Mac OS X should work and are downloadable for free, but I haven't tested the AT spreadsheet on either of them, although I've been told that it works fine (including the macros) using NeoOffice.

You will also need to set your macro security to Medium (requires your approval to proceed) or Low (doesn't require your approval to proceed) since the AT spreadsheet is not digitally signed (I don't know how to do that yet, maybe some day).

The AT spreadsheet is made up of several tabs:

a. <Notes Tab>. This tab, containing both this summary and detailed information on the contents of the other tabs.

b. <Changes Tab>. Tab summarizing the changes from version to version of the AT spreadsheet, including added capabilities and bug fixes.

c. <Summary Tab>. Tab summarizing the average evaluations for each of the analyzed (both by engine and humans) next moves by either side, engines used for the analyses, and the Average Move Evaluation Calculator (AMEC). See below

d. <Game Score Tab>. Tab listing the moves to date and the FEN string defining the position after that move, the current position, and the change over time in the average evaluation of the position after each move (by both sides) for the Principal Variations (PV) for each move.

e. <Move Tabs>. Tabs containing the analyses that are still applicable prior to that move. The tab named 'W02' lists the analyses applicable for White's 2nd move, the tab named 'B04' lists the analyses applicable for Black's 4th move, etc.

The current (next) move is highlighted in dark blue and lists the analyses that are applicable for the next move. Earlier moves that contain analyses that are no longer applicable are highlighted in light blue and the moves within those tabs are highlighted in gray italics. Move tabs corresponding to moves still in the future have no analyses listed and are not highlighted.

Moves within a move tab can be displayed in either <Full> or <Tree> display formats. In Full format all the moves are shown. In Tree format the moves that are the same as the previous analysis (the row just above it) are hidden, so for each analysis you only see the moves that deviate from the previous analysis, as is usual in a Tree display format.

The type of display you want can be specified as Global (the same for all of the move tabs) or Local (individually on a move tab by move tab basis).

May-06-12
Premium Chessgames Member
  AylerKupp: <Analysis Tree (AT) Spreadsheet Tutorial - Overview. > (part 2 of 2)

Often there are many analyses applicable for a move and it's easy to lose track of which analyses you're interested in. You can make it easier to find these analyses in one of 3 ways:

a. <Highlighting>. You can specify 2 different moves (H-Moves) to be highlighted, and whenever either one of those moves appear in one of the analyses in that move tab the moves are highlighted in either yellow (first H-Move) or orange (second H-Move).

b. <Focusing>. Even though the analyses containing the moves that you are interested in have those moves highlighted, it may still be difficult to follow all the analyses you're interested in because if there are many analyses in that move tab then much vertical scrolling may be necessary. So you can specify that only those analyses that contain the highlighted moves be displayed.

c. <Filtering>. The move tabs contain the name of the Analyst that made the analysis, the date and page where the analysis was posted, the engine (if any) used for the analysis, the depth reached by the engine, and the PV that the analysis represents. You can select which of these you are interested in and specify that only those analyses be displayed.

The AT spreadsheet calculates some simple statistics in the 'Summary' tab. For each next candidate move it counts the number of analyses involving that move, the average engine and human evaluation of that move, and for engines including both all analyses or those with PV=1 only. This latter is significant because the PV (or PV=1) represents the of the resulting position given best play by both sides. And averaging the evaluations is a simple way to try to eliminate any evaluation biases by one specific engine.

Finally, the AMEC provides a way to calculate the average engine evaluation for any move in any specific move tab, and can do this average calculation using the evaluation of any or all PVs.

See the AT spreadsheet 'Notes' tab for more detailed information on the AT spreadsheet contents, organization, and capabilities.

May-07-12
Premium Chessgames Member
  benjinathan: can you email me the spreadsheet?

I can't download.

May-09-12
Premium Chessgames Member
  AylerKupp: <benjinathan> Before I can send you the spreadsheet, you need to give me an email address. Send it to aylerkupp@gmail.com. Or maybe <capafan> can help you figure out how to download it, since he has a Mac like I think you do.
May-10-12
Premium Chessgames Member
  benjinathan: A- I will send you an email- work prevents me from downloading.
May-18-12  ajile: Hi

I'm thinking about the idea of running a Benoni Taimanov Attack Challenge game here on chessgames.com. There was considerable debate over this in the last big Team Game against Akobian. This attack was the main reason people seem to fear the Benoni. Especially with the move order where White plays Nc3 early.

I have been analyzing the line with Rybka and comparing these lines with the chessgames database and there are significant errors for Black in the games where Black lost.

I also ran the base position last night and got this:


click for larger view

Analysis by Rybka 2.3.2a mp 32-bit :21 ply

1. = (0.12): 3...Qh4+ 4.g3 Nxg3 5.hxg3 Qxh1 6.Be3 Qg2 7.Qf3 Qxf3 8.Nxf3 fxe6 9.dxe6 a6 10.exd7+

2. = (0.17): 3...Bxc3+ 4.bxc3 Qh4+ 5.g3 Nxg3 6.hxg3 Qxh1 7.Be3 a6 8.exd7+ Bxd7 9.Bf1 Qe4 10.Qf3

This suggested that the line is fully playable. So maybe after the World Chamionship and US Championship are over would be a good time to suggest this idea to chessgames. Let the Benoni naysayers show this variation is anything more than a draw with correct play.

May-21-12
Premium Chessgames Member
  lost in space: I have a Mac too and now I know why I am not able to use your sheet.
May-22-12
Premium Chessgames Member
  AylerKupp: <lost in space> Could you tell me why you're not able to use my spreadsheet? Maybe there is something I can do at my end to make it compatible, or at least partly so.
May-23-12
Premium Chessgames Member
  AylerKupp: <ajile> I have been looking at this line for Black also. Richard Palliser's new book "the Modern Benoni" (2011) has 20 pages on the 8...Nbd7 line with 3 games and mostly unclear positions. But this is hardly an exhaustive analysis. Let me comment on your 2 lines but first let me list the proper move numbers since it's then easier to compare them with Palliser's analyses:


click for larger view

1. = (0.12): 11...Qh4+ 12.g3 Nxg3 13.hxg3 Qxh1 14.Be3 Qg2 15.Qf3 Qxf3 16.Nxf3 fxe6 17.dxe6 a6 18.exd7+

2. = (0.17): 11...Bxc3+ 12.bxc3 Qh4+ 13.g3 Nxg3 14.hxg3 Qxh1 15.Be3 a6 16.exd7+ Bxd7 17.Bf1 Qe4 18.Qf3

In your line 1. after 18...Bxd7 19.Bxd7+ Kxd7 20.Bxc5 (which may not be White's best move but it seems reasonable) the issue is whether Black's R+P can stand up to White's N+N.


click for larger view

Starting from this position Rybka 4.1 evaluates the resulting position at d=25 as a draw by repetition as best play after: 20...Kc6 21.Be3 Rhe8 22.Kf2 b5 23.Nd4+ Bxd4 24.Bxd4 Rad8 25.Be3 Rd3 26.Rc1 Kb7 27.Re1 Rd6 28.a3 h5 29.Rc1 Rd3 30.Re1 Rd6 31.Rc1 Rd3 32.Re1 Rd6 33.Rc1 Rd3 etc. And other continuations by Black do not yield more than a [+0.07] eval for White in Rybka's top 5 variations.

Palliser gives 14...Qg2 a ?! saying that after 14...Qg2 15.exd7+ Bxd7 16.Bxd7+ Kxd7 14.Qa4+ that "followed by some timely checks and 0-0-0 practice has shown that he [Black] faces problems" but that's as far as he goes. I wish he had mentioned what "practice" referred to. So maybe White should not exchange queens by 15.Qf3 as Rybka 2.3.2 suggested.

Instead Palliser suggests 14...Bxc3+! and cites the game R.Starke-H.Daurelle, Corr. 2008 which continued 15.Bxc3 a6 16.exd7+ Bxd7 17.Bxd7+ Kxd7 18.Qb3 b5 19.0-0-0 Rhe8! 20.Bxc5 and only now 20...Qg2 claiming this to be a key improvement over 20...Rac8 as played in I Sokolov vs Topalov, 1996 which ended 1-0. The correspondence game ended in a draw and Palliser claims that White didn't have anything better.

In line your 2. 17.Bf1 seems like a curious move. 17.Bxd7+ Kxd7 would have transposed into the Starke-Daurelle game. After 17...Qe4 18.Qf3 Qxf3 19.Nxf3 Rc8 (which may not be Black's best move) it's again a question of whether Black's R+2P can stand up to White's B+N.


click for larger view

Yet starting from this position Rybka 4.1 evaluates the resulting position at [+1.75], d=25 after: 20.Rb1 b5 21.a4 Bf5 22.Ra1 Be4 23.Ne5 f6 24.Ng4 Bf5 25.Nxf6+ Kf7 26.g4 Kxf6 27.gxf5 Kxf5 28.d6 Rce8 29.Kd2 Re5 30.axb5 axb5 31.Bxb5 Rd5+ 32.Kc2 Rd8 33.d7 R5xd7 34.Bxd7+ Rxd7 35.Rf1+

And other White continuations are almost as advantageous. So apparently in these positions White does much better in the B+N vs. R+2P endgame than in the materially less advantageous N+N vs. R+P endgame of your line 1. So apparently having the bishop(s) in these endgames more than compensates for Black having the extra pawn (although I question many of the moves by Black)!

Regardless of the final outcome, the line has not, IMO, been sufficiently explored to reach a definitive conclusion. There are a lot of opportunities for both sides.

But as far as having <chessgames.com> organize a Benoni "grudge match", I'm not very optimistic. I can see a lot of discussion on what the starting position should be. Probably the most flexible would be after 1.d4 Nf6 2.c4 c5 3.d5 e6 and then let Team White decide between 4.Nc3 and 4.Nf3. As I've said before, the Taimanov attack holds no terrors for me. But I think that some potential Team Black players don't feel the same way and it will be difficult to get a sufficient number of players for Team Black.

May-23-12  ajile: Thanks for the extensive reply to my post. I would want to start from the base position of the Taimanov Attack simply because this was THE REASON or at least the main reason support disappeared in our last game as Black. As soon as White played Nc3 instead of Nf3 everyone bailed on the possibility of a Benoni citing their fear of the Taimanov. So if we ever want a chance to play a Benoni we need to dispell this irrational fear.

Note that my lines above were not as deep as they need to be. I just wanted to get an unbiased view of the opening using Rybka.

I will take a closer look at your lines as well. If any of these lines look losing for Black even with best play then the line of course should be abandoned.

As far as a match what else is going on after the World Championship? It seemns unlikely chessgames has anything immediately planned. And team games are one of the main reasons I pay for this website.

May-23-12  ajile: I'm running the Sokolov vs Topalov game with 20..Qg2 overnight. Currently I have (-.06) at 17 ply. Keeping the queens on makes for an interesting double edged game.
May-23-12  ajile:


click for larger view

Analysis by Rybka 2.3.2a mp 32-bit :25 ply

1. = (0.00): 1.Bd4 Qxg3 2.c4 Qxb3 3.axb3 bxc4 4.bxc4 Rac8 5.c5 Rxc5+ 6.Bxc5 Rc8 7.Kb2 Rxc5


click for larger view

3 pawns all connected for the piece.

2. = (-0.11): 1.d6 Re6 2.Nh3 Qxh3 3.Qd5 Qh6+ 4.Kc2 Rb8 5.Ba7 Qf8 6.g4 h6 7.Qf3 f6

May-24-12
Premium Chessgames Member
  AylerKupp: <ajile> I let Spike 1.4 analyze starting from 20...Qc2 also. I chose Spike because, even though it's not the strongest engine, it usually comes up with interesting lines that other engines don't find. But after at least 8 hours and at d=34 it was not able to come up with anything better for White than [0.00] after 21.Qc2, 21.Bd4, 21.d6, or 21.a4. At lower plies it evaluated 21.a4 highly, as much as [+0.93] at d=21 but then starting at d=25 it considered a draw by repetition to be the best play by both sides after 21.a4 Rab8 22.d6 Re6 23.Bb4 Qxg3 24.Ne2 Qe3+ 25.Rd2 Rf6 26.Qd5 Rf5 27.Qh1 Rf2 28.Qd5 Rf5 etc.


click for larger view

And no other lines held much promise for White.

So I think that the lines with 8...Nbd7 are playable as well as the lines with 8...Nfd7. But I don't know if Black has anything better than a draw. And while this may be moral victory I suspect that there are a lot less nerve-wracking ways to achieve a half-point.

But let's not tell Team White that. ;-)

May-25-12  ajile: Nice analysis. So what we have is a very forcing line which with best play is only a draw for White. But also holds no winning chances for Black.

But with the computers we have now the same could be said for any Black opening.

To be honest I'm thinking that all future Team games will likely end up as draws given the reliance on computers. Trying to convince the team of a long range strategy that goes against a minor computer eval plus is almost completely futile.

May-28-12
Premium Chessgames Member
  AylerKupp: <ajile> Sigh, you may be right. And besides the difficulty in convincing our team to adopt a long term strategy that goes against computer evals is the fact that, let's face it, engines/computers are getting stronger and we're getting better at using them. And our opponents would share all the same benefits of "progress", making it difficult to catch either side on an out and out mistake or even an inaccuracy. And catching either team on a series of inaccuracies sufficient to achieve a winning position would also be very difficult.

So what would it take to win? One possibility is to luck into finding a winning variation that's not only beyond most engines' horizon but that's somewhat forced so that once the "gotcha" move becomes visible to the engines being used it's too late to do anything about it. The chances of that happening are slim. Another possibility is to get into a position where the engines are just not that good (yet), for example a closed position that requires extensive maneuvering beyond the capabilities of most engines, and probably aided by human inspiration. But, as you said, convincing the team to adopt a line suggested by a mere human and not backed up by engine analysis will be difficult.

I'd better stop, I'm getting depressed.

May-28-12  ajile: lol

Just another reason to migrate to a different version of chess. It was going to happen eventually anyways. Chess in it's current form has been around long enough for the world.

May-28-12
Premium Chessgames Member
  Open Defence: if you ever want a human to spar with let me know :-p
May-31-12
Premium Chessgames Member
  AylerKupp: <<Open Defence>: if you ever want a human to spar with let me know>

Do you have access to one? ;-)

Jun-06-12
Premium Chessgames Member
  AylerKupp: <Analysis Tree (AT) Spreadsheet Tutorial – The minimax algorithm>

The minimax algorithm is used, as far as I know, in all chess engines that create and search a tree of possible moves. There are many enhancements to the minimax algorithm used in chess engines to reduce the number of branches in the search tree that must be searched, most notably alpha-beta pruning and its enhancements but the idea of the minimax algorithm is simple and central to chess playing engines.

Possibly first applied to chess playing by Claude Shannon in his 1949 groundbreaking paper entitled "Programming a Computer for Playing Chess", it describes how a machine or computer could be made to play a reasonable game of chess. His process for having the computer decide on which move to make was a minimax procedure for a 2-player game, based on an evaluation function of a given chess position, and an assumption that each player will make the best move possible.

The concept is reasonably simple. If you want to find the best sequence of moves from a given position, first evaluate the position after each of the opponent's legal moves (in practice this is not done since the number of positions evaluated is restricted but the basic idea is the same). This is the first ply. Then, for each of those positions, evaluate the position resulting after each of your legal moves. This is the second ply. Repeat the process at successively deeper plies until you run out of time, patience, or both. The highest ply reached is the search depth.

Now comes the minimax part. Remember that you want to find the best move for yourself so at each ply you want to select the move that results in the position with the highest (maximum) evaluation. Likewise, your opponent wants to find the best move for him/her/it ("it" to cover computers)-self so he/she/it wants to select the move that results in the position with the lowest (minimum) evaluation. So, if the search depth is N, then for each ply you want to select the move with the maximum evaluation. At the previous ply, search depth N-1, your opponent wants to select the move with the minimum evaluation. So, working backwards to the initial move, the minimax algorithm then involves selecting the moves that alternate between the maximum (when it's your turn to move) and minimum (when it's your opponent's turn to move) evaluations of the position. The sequence of moves that results from selecting the alternating maximum and minimum evaluations of the position at each ply is referred to as the <Principal Variation>, PV for short, and represents the best sequence of moves for each side.

The biggest problem with the minimax algorithm is that, in its basic form, the size of the search tree grows geometrically. So, if the average number of legal moves at every ply is 5, the number of positions to be evaluated at ply = 1 is 5, at ply = 2 is 25, at ply =3 is 125, etc. At ply = 20 (not that deep as analyses typically go), the number of legal moves is over 95,000,000,000,000. That's a lot of calculation!

To put it another way, in my 4-core, 32-bit, 2.66 GHz computer Houdini reports that it calculates on the average about 3,715,000 positions (nodes) per second. So, if it evaluated every legal move at every ply and the average number of legal moves/ply = 5, it would take over 7,000 hours to reach search depth = 20. And I don't know about you but I would have run out of patience long before that.

In my computer Houdini reaches much higher search depths, in the order of 28 or so, in just a few hours. And Stockfish generally reaches even higher search depths in the same amount of time. So many techniques and tricks have been developed over the years to reduce the number of positions (nodes) to be evaluated without (we hope!) changing the accuracy of the Principal Variation. But that's a much more complicated story and doesn't change the basic idea of the minimax algorithm.

Jun-06-12
Premium Chessgames Member
  AylerKupp: <Analysis Tree (AT) Spreadsheet Tutorial – The Principal Variation (PV) and its importance>

The Principal Variation (PV) is the sequence of moves that represents the best play by both sides. It refers to the particular variation that is the most advantageous for the player whose turn it is to move, assuming that the other player will respond with the move that best improves their own position. The PV is determined by the minimax algorithm; see AylerKupp chessforum.

Many engines are capable of listing not only the PV but the variations which correspond to second best play by the player whose turn it is to move, third best play, etc. according to the number of variations that you have requested. This is typically referred to as "Multi-PV" analysis but it's really a misnomer; there is only one PV and all other variations are, by definition, not "principal". But we're probably stuck with the terminology, so the variations are usually listed as PV=1, PV=2, etc.

Multi-PV analyses have the following characteristics, although I've seen some exceptions that I can't account for:

1. If the same search level is reached for all listed variations, the PV will be listed first and will have either the highest evaluation (if it is White's move) or the lowest evaluation (if it's Black's move). This is the consequence of the minimax algorithm which selects the minimum or maximum evaluations at alternating search levels, representing either Black's or White's best move. The remaining variations will be listed in either monotonically decreasing order (if it is White's move) or monotonically increasing order (if it is Black's move). This is logical since, for example, the evaluation for White's 2nd best move should be lower than the evaluation for White's best move, and the evaluation for White's 3rd best move should be lower than the evaluation for White's 2nd best move, etc. The reverse applies to Black.

2. If the same search level is <not> reached for all listed variations, then it is possible that higher numbered (less good) variations will have a higher evaluation than the PV (if it is White's move) or a lower evaluation (if it is Black's move). This happens because the search at that level was not completed, and the evaluations at the lower search level have not yet been updated to reflect the evaluations at the higher search level. However, within the same search level, the same monotonically increasing or decreasing relationship between the evaluations will be observed.

It should also be noted that if an analyst posts a set of analyses where the indicated search depths of all the analysis differ by more than one, or if the analyses listed later have a higher search depth, then these analyses were likely <not> part of a Multi-PV analysis and each variation should be considered to be PV=1. Unless, of course, the analysis is sufficiently perverse to not list the PV at all. But I doubt that this happens, at least not on purpose. :-)

PVs greater than PV=1 can be valuable since they show other interesting approaches, lines which are not desirable to play, and, after all, our opponent may not play the objectively best move and we need to be prepared for any reasonable eventuality and avoid surprises whenever possible. But it would be rash to assume that our opponent won't play the objectively best move so in order to make the best decision as to which move to play we should really only look at analyses with PV=1

The AT spreadsheet contains analyses identified as having PVs greater than one. It also averages the evaluations to try to remove some of a specific engine's evaluation biases. It computes this average evaluation for each next candidate move, taking into account analyses all analyses (all PVs) or only those analyses identified with PV=1. But be warned that the concept of averaging evaluations by different engines may not have any merit, and it will also serve to hide the effect of a particularly good move found by the engines since the peak value of this evaluation will be suppressed by the averaging.

Jun-06-12
Premium Chessgames Member
  AylerKupp: <Analysis Tree (AT) Spreadsheet Tutorial – Finding desired moves or specific analyses> (part 1 of 3)

The AT spreadsheet can contain a lot of analyses, and it could be hard to find the analyses containing the moves you’re interested in. Three AT spreadsheet features can help, Move Highlighting, Focusing, and Filtering. Unfortunately some of this probably applies only to Windows-based spreadsheets, and I haven’t been able to test them in either Macs or Linux machines. If you don’t use a Windows computer, the information below may help, but you’ll have to try the equivalent commands and see if they work.

<Move Highlighting>. Each move tab in the AT spreadsheet contains two cells labeled H-Move1 (Highlighted Move 1) and H-Move2 (Highlighted Move 2). This allows you to highlight two moves in the move tab, in two different colors, making them easier to find.

The cell to the right of the “H-Move1” label is highlighted in dark yellow. If you enter a move (<without> a move number) in this cell will highlight all the cells in the move tab that contain that move in yellow, including, if you have the Display Type = “Tree”, those cells which are currently blank as a result of their contents being the same as the content of the cell just above it.

The same will happen if you enter a move in the cell to the right of the “H-Move2” label (highlighted in orange); all the cells in the move tab containing the move entered in the orange-highlighted cell will be highlighted in orange.

Note that <all> cells that contain the moves entered in either the H-Move1 or H-Move2 entry cells (those highlighted in yellow and orange) will be highlighted, regardless of whether it is a move by White or a move by Black. If you’re only interested in the move if it’s White’s move, you can indicate so by clicking on the cell to the right of the H-Move1 or H-Move2 entry cells. A down arrow will be displayed and, if you click on it, it will show a drop-down menu with a “White” and “Black” option. If you click on “White”, it will only highlight those cells containing the move you specified if it corresponds to a White move. Of course, if you click on “Black”, it will only highlight those cells containing the move you specified if it corresponds to a Black move.

If you want to specify a different move to be highlighted, either in yellow or orange, just enter a new move in the H-Move entry cell. If you don’t want any more moves to be highlighted you can just clear the H-move entry cell corresponding to the color you no longer want to see. If you no longer care whether the move entered corresponds to a White move or a Black move, just clear the cell containing “White” or “Black”

Jun-06-12
Premium Chessgames Member
  AylerKupp: <Analysis Tree (AT) Spreadsheet Tutorial – Finding desired moves or specific analyses> (part 2 of 3)

<Focusing>. Highlighting the move(s) that you are interested in will help you find the analyses that contain that move. But there may still be many analyses, separated by many others, and that will require you to scroll up or down to see all the analyses containing those moves, making it difficult to compare them.

Instead of scrolling up and down, you can indicate that you want to <Focus> on the analyses containing the H-Move(s) you specified by holding down the <Ctrl> and <Shift> keys, and pressing F (for Focus), or <Ctrl><Shift>F. This will filter all the analyses NOT containing the H-Move(s) you specified, and will only display those analyses containing the H-Moves you specified. This should reduce the number of analyses displayed considerably, and you will be able to compare them more easily. And, if you have Display Type = Tree specified, you will be able to see where each of the highlighted analyses deviate from one another.

You can further focus on specific moves by specifying a logical relationship (OR, AND, NOT) between the H-Moves using a pull-down menu in the cell immediately to the left of H-Move 2 as follows:

OR: The analyses will be displayed if <either> H-Move1 <OR> H-Move2 are included in the analysis line.

AND: The analyses will be displayed only if <both> H-Move1 <AND> H-Move2 are included in the analysis line.

NOT: The analyses will be displayed only if H-Move1 <AND NOT> H-Move2 are included in the analysis line; that is, if H-Move1 is included in the analysis line and H-Move2 is not.

Once you’re done and you want to see all the analyses again, you can press <Ctrl><Shift>A (for <All>. This will remove the filter applied to the H-Move(s) and will resort the analyses in move order. The sorting may take a noticeable amount of time depending on how fast your computer is, and during that time the Excel (or equivalent) status bar (in the lower left of the display for Excel) will blink the message “**** SORTING MOVES ****”. You can’t do anything else when the sorting is being done but it should be pretty quick, less than 10 seconds or so.

Jump to page #    (enter # from 1 to 35)
< Earlier Kibitzing  · PAGE 29 OF 35 ·  Later Kibitzing>

Times Chess Twitter Feed
NOTE: You need to pick a username and password to post a reply. Getting your account takes less than a minute, totally anonymous, and 100% free--plus, it entitles you to features otherwise unavailable. Pick your username now and join the chessgames community!
If you already have an account, you should login now.
Please observe our posting guidelines:
  1. No obscene, racist, sexist, or profane language.
  2. No spamming, advertising, or duplicating posts.
  3. No personal attacks against other users.
  4. Nothing in violation of United States law.
Blow the Whistle See something which violates our rules? Blow the whistle and inform an administrator.


NOTE: Keep all discussion on the topic of this page. This forum is for this specific user and nothing else. If you want to discuss chess in general, or this site, you might try the Kibitzer's Café.
Messages posted by Chessgames members do not necessarily represent the views of Chessgames.com, its employees, or sponsors.
Participating Grandmasters are Not Allowed Here!

You are not logged in to chessgames.com.
If you need an account, register now;
it's quick, anonymous, and free!
If you already have an account, click here to sign-in.

View another user profile:
  


home | about | login | logout | F.A.Q. | your profile | preferences | Premium Membership | Kibitzer's Café | Biographer's Bistro | new kibitzing | chessforums | Tournament Index | Player Directory | World Chess Championships | Opening Explorer | Guess the Move | Game Collections | ChessBookie Game | Chessgames Challenge | Little ChessPartner | privacy notice | contact us
Copyright 2001-2013, Chessgames Services LLC
Web design & database development by 20/20 Technologies