Determine a players rating by the moves he makes...

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

Moderator: Ras

User avatar
Don
Posts: 5106
Joined: Tue Apr 29, 2008 4:27 pm

Re: Determine a players rating by the moves he makes...

Post by Don »

JBNielsen wrote:Can you determine a players rating by the moves he makes...?
Not with much accuracy.

I built a tool a while back which convincingly demonstrated that the moves you choose have more to do with personal style than strength.

However strength is still an issue. You might be able to get within 400-500 ELO by looking at the number of errors (presumably as judged by a strong computer) a player makes over a period of several hundred or a few thousand moves.

If you could do this, we could go back in history and estimate the rating of the great players of the old days.

Todays PCs/Chessprograms are so strong, that their deep analysis can almost be considered as the truth.
If you compare a players moves (the computers evaluation of the moves) with the evaluation of what the computer considers the best move, there will be some difference.

And I assume, the higher rating the player has, the lower will the average difference be.

Has anyone tried to find the relation between the average difference and a players rating?

Of course it is best to use as many games/moves by the player as possible.

Perhaps this estimate of a rating is already incorporated in some programs?

I have just bought Chess Assistant with Rybka4, but it has not anything like that.
Dokterchen
Posts: 137
Joined: Wed Aug 15, 2007 12:18 pm
Location: Munich

Re: Determine a players rating by the moves he makes...

Post by Dokterchen »

For Backgammon programs it is well known:

http://www.gnubg.org/documentation/doku ... matches#26
JBNielsen
Posts: 272
Joined: Thu Jul 07, 2011 10:31 pm
Location: Denmark

Re: Determine a players rating by the moves he makes...

Post by JBNielsen »

A few notes on this tricky task:

1) Should the opening moves be omitted? If you play a bad line, it doesn't matter if you played it yourself or from your library...

2) Many position have such a nature, that the deeper the computer analysis, a good score will turn better and better (or a bad score will turn worse).

The computer comes nearer and nearer the truth... And after all - all positions are either lost, drawn or won.

So what is the real score for a position?

3) If we as humans should judge the rating of a game played, it could go like this:

We notice a brilliant combination, that is 0.5 pawn better than the next best move.
(it can be brilliant although the outcome is rather small)

Later in the game the same player makes a silly blunder and looses a knight.

We humans will notice the brilliant combination and more or less ignore the blunder.
We have understood that the player must have a certain rating.

The computer will judge the player as rather silly.
Unless it has an ability to detect brilliant moves (moves that turns up late in the search with a certain raise of the score).

4) Imagine a position where the computer finds these two best moves for white:
Qh5 score 0.20
Ne6 score 0.12
White played Ne6 and we consider it as an error of 0.08

Now the computer calculates the best move -,Kg7 for black with a score of 0.35.
It may have come nearer the truth with a better understanding of the position...
So perhaps whites Ne6 should have a bonus of 0.15 (0.35 - 0.20) instead of the 0.08 error?
(no matter what the score after Qh5 would have been... fx 0.88...)
User avatar
Don
Posts: 5106
Joined: Tue Apr 29, 2008 4:27 pm

Re: Determine a players rating by the moves he makes...

Post by Don »

JBNielsen wrote:A few notes on this tricky task:

1) Should the opening moves be omitted? If you play a bad line, it doesn't matter if you played it yourself or from your library...

2) Many position have such a nature, that the deeper the computer analysis, a good score will turn better and better (or a bad score will turn worse).

The computer comes nearer and nearer the truth... And after all - all positions are either lost, drawn or won.

So what is the real score for a position?
The "real score" is -1, 0, or 1 but that is not so relevant because what we are looking for is an estimate of our winning chances. The score should reflect the odds of winning, so 0.3 means we have a good position, 0.6 means we have a great position and 1.2 means our odds of winning are very high.

If we search really deep, like 40 or 50 ply and we notice the "score" goes up slightly (on average) on every iteration, then it probably means we have a win. If alpha/beta works, then in any won or lost position we should expect to see (on average) a gradual decline (for a loss) or gradual rise for a win. That's because our estimation of our chances is simply more and more accurate with deeper searches.


3) If we as humans should judge the rating of a game played, it could go like this:

We notice a brilliant combination, that is 0.5 pawn better than the next best move.
(it can be brilliant although the outcome is rather small)

Later in the game the same player makes a silly blunder and looses a knight.

We humans will notice the brilliant combination and more or less ignore the blunder.
We have understood that the player must have a certain rating.

The computer will judge the player as rather silly.
Unless it has an ability to detect brilliant moves (moves that turns up late in the search with a certain raise of the score).

4) Imagine a position where the computer finds these two best moves for white:
Qh5 score 0.20
Ne6 score 0.12
White played Ne6 and we consider it as an error of 0.08

Now the computer calculates the best move -,Kg7 for black with a score of 0.35.
It may have come nearer the truth with a better understanding of the position...
So perhaps whites Ne6 should have a bonus of 0.15 (0.35 - 0.20) instead of the 0.08 error?
(no matter what the score after Qh5 would have been... fx 0.88...)
It's very difficult to deduce the rating of a player by looking at his moves. You cannot simply count how many moves that match the computer. And there are small and big mistakes that should be given different reckoning.

We don't have to guess, we could try to see how effectively this could be done. One try is to simply try to measure the difference in score between the move the computer choose and the human choose. Probably we would want to apply some function that would minimize small differences (perhaps the square of the difference) since they are likely to be more noise than anything. Then we have to apply a function to this score to convert it to an estimate ELO rating. Perhaps each position should be weighted by how obvious the reply is too.
User avatar
Don
Posts: 5106
Joined: Tue Apr 29, 2008 4:27 pm

Re: Determine a players rating by the moves he makes...

Post by Don »

Don wrote:
JBNielsen wrote:A few notes on this tricky task:

1) Should the opening moves be omitted? If you play a bad line, it doesn't matter if you played it yourself or from your library...

2) Many position have such a nature, that the deeper the computer analysis, a good score will turn better and better (or a bad score will turn worse).

The computer comes nearer and nearer the truth... And after all - all positions are either lost, drawn or won.

So what is the real score for a position?
The "real score" is -1, 0, or 1 but that is not so relevant because what we are looking for is an estimate of our winning chances. The score should reflect the odds of winning, so 0.3 means we have a good position, 0.6 means we have a great position and 1.2 means our odds of winning are very high.

If we search really deep, like 40 or 50 ply and we notice the "score" goes up slightly (on average) on every iteration, then it probably means we have a win. If alpha/beta works, then in any won or lost position we should expect to see (on average) a gradual decline (for a loss) or gradual rise for a win. That's because our estimation of our chances is simply more and more accurate with deeper searches.


3) If we as humans should judge the rating of a game played, it could go like this:

We notice a brilliant combination, that is 0.5 pawn better than the next best move.
(it can be brilliant although the outcome is rather small)

Later in the game the same player makes a silly blunder and looses a knight.

We humans will notice the brilliant combination and more or less ignore the blunder.
We have understood that the player must have a certain rating.

The computer will judge the player as rather silly.
Unless it has an ability to detect brilliant moves (moves that turns up late in the search with a certain raise of the score).

4) Imagine a position where the computer finds these two best moves for white:
Qh5 score 0.20
Ne6 score 0.12
White played Ne6 and we consider it as an error of 0.08

Now the computer calculates the best move -,Kg7 for black with a score of 0.35.
It may have come nearer the truth with a better understanding of the position...
So perhaps whites Ne6 should have a bonus of 0.15 (0.35 - 0.20) instead of the 0.08 error?
(no matter what the score after Qh5 would have been... fx 0.88...)
It's very difficult to deduce the rating of a player by looking at his moves. You cannot simply count how many moves that match the computer. And there are small and big mistakes that should be given different reckoning.

We don't have to guess, we could try to see how effectively this could be done. One try is to simply try to measure the difference in score between the move the computer choose and the human choose. Probably we would want to apply some function that would minimize small differences (perhaps the square of the difference) since they are likely to be more noise than anything. Then we have to apply a function to this score to convert it to an estimate ELO rating. Perhaps each position should be weighted by how obvious the reply is too.
I meant to add that we have access to many games of strong players, so we can easily study any ideas we have in this regard.
oreopoulos
Posts: 110
Joined: Fri Apr 25, 2008 10:56 pm

Re: Determine a players rating by the moves he makes...

Post by oreopoulos »

I have done something like that using AquariumScripter in aquarium
You can see it here

There is another post showing comparisons between players (anand, kasparov of the 90's karpov of the 80's) but its in a private forum area.
I also compared to players with lower ratings (2450)

The result was quite expected. If you compare a 2450 player to Anand, the big difference is not on the good moves played but on the frequency bad moves are played.

Here is one graph that "explains" why anand plays better than a 2450 player.

Image

Uploaded with ImageShack.us