Ranking lists vs Rating lists vs what Engine is the best

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

Moderator: Ras

User avatar
Laskos
Posts: 10948
Joined: Wed Jul 26, 2006 10:21 pm
Full name: Kai Laskos

Re: Ranking lists vs Rating lists vs what Engine is the best

Post by Laskos »

Laskos wrote:
Milos wrote:
Adam Hair wrote:
If I understand your statement correctly, the deeper the search, the more time spent backtracking than expanding the horizon. Which means the width (or breadth) of the search is effectively less, when the search is time-limited.

Feel free to tell me how wrong I am :)
You did understand perfectly well. ;)
I tried to explain to the local self-proclaimed and accepted guru Bob Hyatt a year ago here this same thing, even building a simple model of the tree and plotting its widening, maybe I will find the thread, he refused to understand literally everything, and denied all you explained here to the end.

Kai
Found the plot and the discussion:

http://www.talkchess.com/forum/viewtopic.php?p=406183

Kai
Albert Silver
Posts: 3026
Joined: Wed Mar 08, 2006 9:57 pm
Location: Rio de Janeiro, Brazil

Re: Ranking lists vs Rating lists vs what Engine is the best

Post by Albert Silver »

Milos wrote: Missing all the points and making irrelevant conclusions just to avoid acknowledging you were wrong in your own statement is a bit childish...
Geez, personal attacks without even an effort at a civil conversation. Have it your way.
"Tactics are the bricks and sticks that make up a game, but positional play is the architectural blueprint."
Uri Blass
Posts: 11278
Joined: Thu Mar 09, 2006 12:37 am
Location: Tel-Aviv Israel

Re: Ranking lists vs Rating lists vs what Engine is the best

Post by Uri Blass »

Milos wrote:
Uri Blass wrote:For example it is possible that some program does not know to win some endgames in blitz and simply fails to make progress in some winning endgames because of bad evaluation but the same program can win them at long time control thanks to search.
If blitz is at least 10s/move, modern hardware and strong programs how much is Elo-wise that endgame knowledge?
How often do programs reach those endgames where the difference matters?
1 in 10 games, or it's more like 1 in 100. If it's 1 in 100 what the Elo difference?
In reality the probability is lower than 1 game in 100 games (1 game becomes draw instead of win or vice-versa). That's less than 3.5 Elo points...
blitz can be 1 s/move and not 10 s/move and I only gave one example when better evaluation can have a positive effect at blitz and not at long time control.

There are also examples when better evaluation is what make programs better at long time control.

I remember reading that mobility evaluation helps more at long time control relative to blitz.

Of course all top programs have mobility in their evaluation but I believe that there are changes that are productive at long time control and not at blitz or the opposite.

The difference is not very high but it does not mean that there is no difference between short time control and long time control because of evaluation.

I believe that it is possible to have some evaluation change that make no difference at 10 seconds per move but make 20 elo improvement at 100 seconds per move but the problem is that you need many games to prove it.
John Conway
Posts: 161
Joined: Wed Jul 11, 2007 1:44 pm

Re: Pourquoi CCRL - ma FemmeFatale ?

Post by John Conway »

4.who is "la FemmeFatale " in CCRL team ? Any response ?
Image
Albert Silver
Posts: 3026
Joined: Wed Mar 08, 2006 9:57 pm
Location: Rio de Janeiro, Brazil

Re: Ranking lists vs Rating lists vs what Engine is the best

Post by Albert Silver »

SzG wrote:
CRoberson wrote: They do 40/40 and 40/4 based on a virtual AMD 4600+. So, those that have that machine or one of equivalent speed use those TC's. Those that have machines 2x faster use 40/20 and 40/2. Eventually, their long TC could become blitz on the latest hardware.
Depth is what counts. On a 2 times faster computer you reach the same depth in half the time. Why is it so hard to understand? If you run twice as fast as me you need half the time to run the distance. Blitz on latest hardware is long time control on old hardware. I can't believe you are serious.
Actually, it is much like the claims that slower TCs have a lower SD. Presumably this was not true 6 years ago, since the slow TCs then, are the blitz games of today. :wink:
"Tactics are the bricks and sticks that make up a game, but positional play is the architectural blueprint."
User avatar
Don
Posts: 5106
Joined: Tue Apr 29, 2008 4:27 pm

Re: Ranking lists vs Rating lists vs what Engine is the best

Post by Don »

rvida wrote:
CRoberson wrote: ...
Yes, it is possible to tune an engine so that it plays 50 to 200 Elo stronger at fast time controls than at slow time controls. In fact, it is fairly easy to do,
...
Fairly easy??? Well, download an open-source engine (for example Stockfish) and tune it to be 50-200 ELO stronger at fast time controls then show us your results. Good luck. :)
I can tune it to be 50 ELO stronger if by fast you mean game in 5 seconds. But I think it's pretty clear that after something around 1 or 2 minutes per game the results are mostly transitive. If it's better at 5 minutes it's better at 2 hours with only minor variations. There would be almost no difference in "rankings" if you ordered 100 top programs at 5 minutes then did the same at 2 hours ASSUMING that you had enough games and used the same conditions. People see patterns where they don't exist when they don't have enough samples.
User avatar
Sylwy
Posts: 5520
Joined: Fri Apr 21, 2006 4:19 pm
Location: IAȘI - the historical capital of MOLDOVA
Full name: Silvian Rucsandescu

Re: Pourquoi CCRL - ma FemmeFatale ?

Post by Sylwy »

John Conway wrote:
4.who is "la FemmeFatale " in CCRL team ? Any response ?
Image
WOW ! :lol:

This is a SAS-SEALS Femme Fatale ! :lol:

Testing Mediocre 0.4 regards,
SilvianR :wink:

Bonus: the original "brunette" Mata Hari:

Image

A qestion for programmers: not yet a Mata Hari chess engine ? I have a nice logo ! :lol:
User avatar
Don
Posts: 5106
Joined: Tue Apr 29, 2008 4:27 pm

Re: Ranking lists vs Rating lists vs what Engine is the best

Post by Don »

You make some valid points, but I think that you are putting too much weight on. Time control is not a very large issue. Human conditions and pondering is often stated as being really important, but we have never seen any test that shows pondering changes the results of engine testing dramatically. Perhaps that might be the case if some program has a really bad implementation of it of course.

The generic opening book in my view is very important as results with highly tuned openings can and often ARE designed to beat the top programs. That goes way beyond just making an opening designed to address the programs personal strengths. Also, most consumers want a program that is balanced and can play any position well. I would be unsatisfied with a program that was so fragile that it cannot play what I want it to play.

Adjudication is almost a non-issue but you have a point - I have seen programs not able to win easily won games due to some bug or glitch. I think if you test both ways you will see that this is not making any difference, but it would if some program had a serious problem with winning dead won endings.

The BIGGEST factor on your list in my opinion is how strong is a program on my machine. That does vary, be EVEN SO it's not by more than 20 or 30 ELO in most cases. On 32 bit hardware I know that Komodo is severely crippled compared to other 64 bit program running on 32 bit OS's, but this is probably only by 30 or 40 ELO.

Don

CRoberson wrote:Before I start, I am not bashing the lists (well maybe a little). I am mostly saying the way people are viewing them is wrong. Also, I use CCRL as an example, but the issues pertain to all of the lists. I am not picking on CCRL specifically, I just look at their list more than the rest.

Generally, I refer to the lists as ranking lists instead of rating lists. Simply because they aren't real ratings (they all disagree with the ratings but the rankings are close). Also, the conditions of the games are such that the ratings are inaccurate relative to human playing conditions. Some of the lists forced conditions have impacted the development of computer chess in a negative way. On top of that, the conditions favor some engines and disfavor others creating increased inaccuracy. This says the lists are not good at deciding which engine is best or the ratings! They are good at saying which programs are in the top 50 or the second 100 ... . Certainly, they don't say how strong an engine is going to be when installed on your machine at home or which engine is best for analyzing and helping you prepare for chess tournaments?

Now, I'll explain each point and then some.

1) Inaccurate ratings.

The computers used may not be the strongest and this is worked around by adjusting the TC relative to some old machine. Yes, this has merit for testing and creating rankings, but not ratings. We all know if you speed the program and/or the computer up, you are likely to get a stronger program.

2) Inaccurate relative to human playing conditions:

Human tournaments typically use long time controls where you can use 3 minutes per move and sometimes more. Compare that to some groups which run TC's of 40 moves in 20 minutes which is an average of 30 seconds per move. Easily a 6x faster TC. Increased time to think on each move improves the strength of play for engines. Add to that the fact that some engines are tuned to play better at fast time controls which pushes them up the lists higher than normal.

Yes, it is possible to tune an engine so that it plays 50 to 200 Elo stronger at fast time controls than at slow time controls. In fact, it is fairly easy to do, but it reduces the playing strength at long time controls.

3) Some lists force a generic opening book on the engine:

Many of us have developed programs to play with certain playing styles thus a mismatched book weakens the programs by 100 Elo or more. If you want to test Opening book theory then don't do it with 100 or more different programs while calculating engine ratings. The two practices conflict with each other.

Some of the testers have complained that many of the engines are starting to play alike. Of course they are, if you force generic books then we have to tune the engine to some generic standard.


4) Some lists adjudicate games early to speed up testing

This practice increases the ratings of engines that are weak at the endgames by not allowing the games to continue. I've seen programs that couldn't finish of a mate do to bugs. Adjudicating the game early, because one program is way ahead will not catch that type of bug, thus awarding a win to what would have been a drawn game.

I've seen many bugs from engines in live computer chess tournaments that don't show up for the rating/ranking groups.


5) How strong is a program when I get it installed on my machine?

The key to that is speed. We all know that a 2x speed up in the engine will produce 70 to 100 Elo gain in performance depending on the engine. The same applies to the hardware: a 2x speed up in hardware will make the same Elo gain for many engines, but not all. Also, a 2x increase in the TC from 40 in 20 to 40 in 40 will produce increased playing strength for most engines.

Here is a formula for approximating the performance under human conditions with your computer.

Code: Select all

   Approximate Elo = CCRL Elo 
           + 80 Elo for each 2x speed up in your hardware over theirs
           - 80 Elo if you are forced to use 32 bit if they are testing 64 bit
           + 80 Elo for each 2x increase in the time control
           + 0 to 100 Elo for a book matching the engine

So, lets look at an example.

How strong is Sloppy 0.2.3.
If your computer is the same as the average of the CCRL list, it can run a 64 bit program and you are using a human TC of 40 moves in 120 minutes then

Code: Select all

    Approximate Elo = 2714 + 0 - 0 + 200 = 2914.
The 200 is from 2.5 doubles (6x) of the TC.

Now lets say you have a computer 2x faster than say an i5 750. Add another 80 Elo which makes Sloppy a 2994 program. If Sloppy could use a more specialized book, then it could be at 3100 Elo. Again, I am making an estimate relative to typical human tournament conditions.

Wouldn't the improvement be the same for all the top engines? Not really. We've been noticing (for some time now) something that was predicted decades ago - the diminishing returns on performance as speed is increased. I think this is seen more in roughly the top 20 engines. Thus, increases in speed and time controls help the lower ranked engines more than the upper ranked ones. Thus, Sloppy could be nearly as good as Crafty running 4 CPU's.

Interestingly, much of this may be due to the much heavier pruning being done today than 10 years ago. The more pruning the engines search is capable of then the less a speed up seems to help and the less more processors seems to help.

Crafty 23.3 64-bit has a 2868 CCRL rating and it only gains 83 Elo when going to 4 processors which is about a 3.1x speed up. In the 90's, a 3.1x speed up would get you 300 Elo.

6) What is the best engine for analysis for me?

That heavily depends on your playing style and the openings that work best for you. An engine that prefers the openings you play, will be better than others for helping you navigate the middle game assuming it isn't sufficiently weaker than other engines. Of course, this impediment can be overcome by using a program that fits your playing style and another that is high on the rankings. That trick is probably best if you only have access to slow computers. If you can access super fast ones, then the need is reduced.

7) Which engine is the best?

NOBODY KNOWS!

Look at this tournament: http://www.harald-faber.de/thueringen/2 ... n2011.html

Deep Junior performed better than Houdini. Junior had a 2x speed up in hardware advantage, but that is not enough to overcome the nearly 200 Elo rating disadvantage that CCRL list shows. When paired against each other, Junior wins. Not only that, Houdini draws nearly all the other engines.

Sure this could be partly due to the statistical issues of a few number of rounds, but the tournament conditions had a 5x longer time control than is used on some lists, great hardware and no standardized opening books.

8) Creating an accurate computer chess engine RATING list for software programs is an IMPOSSIBLE task and should not be represented as possible.

The only group that has a chance of creating a reasonable computer rating list are the guys that rate the dedicated chess computers. Why? Because nothing changes over time. Assuming the machine doesn't break, it plays the same year after year after year.

There is merit in what the guys behind the lists are doing, so thank you fellows.

My main point here is how to properly use the rating lists. Looking at the top engine on a list and claiming that one is the best is no where near correct.
User avatar
Don
Posts: 5106
Joined: Tue Apr 29, 2008 4:27 pm

Re: Ranking lists vs Rating lists vs what Engine is the best

Post by Don »

Milos wrote:
SzG wrote:4. To adjudicating:

My current practice is to adjudicate games as draw after 200 (full) moves. This is based upon my knowledge that the longest computer game that was decided was 193 moves long. Not much risk here...

The other way of adjudicating is to decide a game if a certain threshold is overstepped for a certain time. Currently I use 1000 centipawns for 6 moves. Please note that both engines must agreee that the threshold was overstepped!

Now let us suppose I made a mistake by adjudicating and an engine was awarded a result it did not deserve. What is the amount of my error? If the mistake occurs once in every 100 games (which is probably not the case), I distort the outcome by 0.5 %. In Elo it translates to certainly not more than 1 or 2, and the error margins you find on the lists are around 20 Elo or even more.

So adjudicating is more than justified, and the CPU time gained is enermous.
100cp is usually more than 1 sigma certainty of a win for almost all strong programs. However due to some evaluation bugs tails of the distribution (of winning percentage vs. cp difference) are not of normal distribution, so using more than 400cp in practice has no meaning. Also using just 2 consecutive moves is more than sufficient to avoid any possible fluke. Only these two conditions pretty much guaranty the error far smaller than 0.1%. Room temperature (where your machines are stored) has much more influence on the tournament outcome :lol:.
I find myself agreeing with Milos (for a change) on this. I just don't think common adjudication practices are creating any significant bias in results.
User avatar
Don
Posts: 5106
Joined: Tue Apr 29, 2008 4:27 pm

Re: Ranking lists vs Rating lists vs what Engine is the best

Post by Don »

CRoberson wrote:
SzG wrote:
Milos wrote:
SzG wrote:4. To adjudicating:

My current practice is to adjudicate games as draw after 200 (full) moves. This is based upon my knowledge that the longest computer game that was decided was 193 moves long. Not much risk here...

The other way of adjudicating is to decide a game if a certain threshold is overstepped for a certain time. Currently I use 1000 centipawns for 6 moves. Please note that both engines must agreee that the threshold was overstepped!

Now let us suppose I made a mistake by adjudicating and an engine was awarded a result it did not deserve. What is the amount of my error? If the mistake occurs once in every 100 games (which is probably not the case), I distort the outcome by 0.5 %. In Elo it translates to certainly not more than 1 or 2, and the error margins you find on the lists are around 20 Elo or even more.

So adjudicating is more than justified, and the CPU time gained is enermous.
100cp is usually more than 1 sigma certainty of a win for almost all strong programs. However due to some evaluation bugs tails of the distribution (of winning percentage vs. cp difference) are not of normal distribution, so using more than 400cp in practice has no meaning. Also using just 2 consecutive moves is more than sufficient to avoid any possible fluke. Only these two conditions pretty much guaranty the error far smaller than 0.1%. Room temperature (where your machines are stored) has much more influence on the tournament outcome :lol:.
I do not have the mathematical knowledge to verify your claim. If you are serious, I gather you suggest that 400 cp for 2 moves is more than enough to adjudicate a win.

I still have doubts based on what I saw several times (mostly with average or worse engines). Many times both engines think the score is above 5, still the outcome is an inevitable draw. Typical example is a KBPK endgame with an a or h pawn and bad bishop. That is why I have chosen so high a margin.
That is a good example. Here is another. I've seen this happen several times to programs like Scorpio and other that use Bitbases. They get into a won position that will lead to checkmate and don't pull of the checkmate. I've seen them end up with a draw in 50 moves when it should have been a mate in 15.

As I said I've seen it happen several times. The programming mistake is fairly classic. In the Scorpio case it was entertaining. I warned them of the coding error and they ignored me. Months later in an online tournament, Scorpio drew Telepath due to that bug in an easy mate position.
There is also the issue of semantics, I know that most people consider the game won and ignore such glitches, even though of course it can relevant. So imagine that someone built a super strong program that was crushing the very best stuff we have now, but was systematically drawing the 3 or 4 most basic mates due to some bug, QvsK, RvsK, etc.

The question you might ask yourself is whether you would find such a program valuable and how would you percieve it's playing ability? Does it feel incredibly stronger or just worthless and weak? Of course if you want to get technical the bug hurts it a lot.

I would like to mention that in the early days of computer chess a game was not over until it was over, checkmate. If you were losing you played the game out anyway because the chances of getting a draw was not that remote.