Latest Updates:
Page Index Toggle Pages: [1] 2 3 ... 13
Topic Tools
Very Hot Topic (More than 25 Replies) The best analysis program? (Read 244509 times)
an ordinary chessplayer
God Member
*****
Offline


I used to be not bad.

Posts: 1790
Location: Columbus, OH (USA)
Joined: 01/02/15
Re: The best analysis program?
Reply #193 - 01/27/26 at 04:08:36
Post Tools
FreeRepublic wrote on 01/13/26 at 13:21:21:
Do engines recognize triple repetition and a draw?

Revisiting this question, I just saw this:

Quote:
Using moves is the recommended way to set up game positions because the move history allows the engine to correctly handle threefold repetition detection.
https://official-stockfish.github.io/docs/stockfish-wiki/UCI-&-Commands.html

So it seems the GUI also has a say in the engine's recognition of three-fold repetition, since the GUI could choose to send each position as a FEN instead of as a sequence of moves from startpos. I believe at one time I read about a GUI that actually does it the FEN way, but unfortunately at the moment I don't recall which GUI that was.
  
Back to top
 
IP Logged
 
Dink Heckler
God Member
*****
Offline


Love-Forty

Posts: 897
Joined: 02/01/07
Gender: Male
Re: The best analysis program?
Reply #192 - 01/14/26 at 11:19:12
Post Tools
I immediately recognised this Philidor carnage.

21...Be1+ looks like the most human move  Smiley

  

'Am I any good at tactics?'
'Computer says No!'
Back to top
 
IP Logged
 
an ordinary chessplayer
God Member
*****
Offline


I used to be not bad.

Posts: 1790
Location: Columbus, OH (USA)
Joined: 01/02/15
Re: The best analysis program?
Reply #191 - 01/14/26 at 03:15:47
Post Tools
FreeRepublic wrote on 01/13/26 at 13:21:21:
Do engines recognize triple repetition and a draw?

I suppose different engines handle it differently. Traditionally draw claims are left to the GUI, but engines can and commonly do detect repetitions. Crafty for instance even had code to avoid repetitions in the opening book.

FreeRepublic wrote on 01/13/26 at 13:21:21:
It seems to me that if the best move it can find is to repeat, it should move on to a second best move

In fact just yesterday I was reviewing some openings analysis and came across the following note to myself.

* * * * * * * *
* * * * * * * *
* * * * * * * *
* * * * * * * *
* * * * * * * *
* * * * * * * *
* * * * * * * *
* * * * * * * *
*

21...Be3+?? (+-) 
21...Bh4! (-+) 
21...Qg5+ 22.Kd1 Qg1+ 23.Kd2 Bh4

Quote:
weird that Stockfish15 gives 21...Qg5+ as best, only to repeat and then play the correct 23...Bh4 (2025.02.20)

Stockfish15 ordered them top 21...Qg5+, 2nd 21...Bh4 but looking at the PV it switched to ...Bh4 on move 23. So it is handling the repetition, but in a non-intuitive way, because it is allowing the first repetition, only avoiding the second repetition. Just now I re-ran the same position with Stockfish17 to see what is going on. Because the repetition has four useless ply, the effective depth of the repetition line is four less than the non-repetition line. So the eval of ...Qg5 at depth N is the same as the eval of ...Bh4 at depth (N-4). When the eval of ...Bh4 is increasing with depth, ...Bh4 is preferred. When the eval of ...Bh4 is decreasing with depth, ...Qg5 is preferred. 
Edited:
Oops. I used increasing/decreasing in an inexact way. By increasing I meant more favorable to black (more top move), decreasing meant less favorable to black.
This was an easy case to analyze because I already knew the answer, and the repeating variation is quite short.

...Bh4         |  ...Qg5+        |  overall
depth  eval    |  depth  eval    |     top
---------------+-----------------+---------
  32  -6.03    |    32           | 
  36  -5.95    |    36  -6.03    |  ...Qg5+ 
  40  -6.11    |    40  -5.95    |  ...Bh4 

The general case of repetitions is tricky. For example, what if the overall eval is close to zero and switches from positive to negative with increasing depth? Then we switch from wanting to avoid a repetition to wanting to achieve it. Credit to the programmers for handling the many edge cases correctly. It's up to the human to notice the repetition in the PV and interpret the engine eval in a way that makes sense to the human.
  
Back to top
 
IP Logged
 
FreeRepublic
God Member
*****
Offline


I Love ChessPublishing!

Posts: 959
Location: Georgia
Joined: 06/08/17
Gender: Male
Re: The best analysis program?
Reply #190 - 01/13/26 at 13:21:21
Post Tools
Do engines recognize triple repetition and a draw? I'm surprised by how often Stockfish claims a white advantage and then repeats the position as white. It may vary later, only to find another way to repeat the position. It seems to me that if the best move it can find is to repeat, it should move on to a second best move, unless that move evaluates to a negative value.
  
Back to top
 
IP Logged
 
an ordinary chessplayer
God Member
*****
Offline


I used to be not bad.

Posts: 1790
Location: Columbus, OH (USA)
Joined: 01/02/15
Re: The best analysis program?
Reply #189 - 08/18/23 at 03:44:00
Post Tools
Quote:
Glenn Flear wrote:
Every opening where White has a space advantage involving a pawn on d5 (whether passed or not) are over-hyped by the engines...

That sounds right. I said something similar on chess.com (yetanotheraoc is me):

Quote:
Engines love a space advantage like the one after d4-d5, but that's just prejudice. An engine isn't a positional genius like Karpov. The point is, nowadays people analyze with an engine all the time, so you can expect to see d4-d5 played in more positions, even when it's not necessarily the best procedure.
https://www.chess.com/forum/view/chess-openings/tension-in-the-centre-in-the-clo...

There is a corollary here: you can adopt a black repertoire based on one of these space-disadvantage structures and do well with them when your opponents over-estimate their chances. Preparing such an opening just requires some experience and judgment to know that position X at +1.05 is fine for black while position Y at +0.90 position is unacceptable.

I wouldn't be able to hold any of these positions against an engine, but that doesn't mean the evaluation is correct!
  
Back to top
 
IP Logged
 
FreeRepublic
God Member
*****
Offline


I Love ChessPublishing!

Posts: 959
Location: Georgia
Joined: 06/08/17
Gender: Male
Re: The best analysis program?
Reply #188 - 08/17/23 at 22:24:48
Post Tools
Glenn Flear in his August 2023 Daring Defense update:

"Time for a pronouncement: I have a theory! Every opening where White has a space advantage involving a pawn on d5 (whether passed or not) are over-hyped by the engines i.e. the silicon monster gives White as having a healthy plus when humans consider Black to be perfectly fine. Has anybody else noticed this?

Check out some main line King's Indians, Chigorin Ruy Lopezs, Benkos, Benonis and various Grünfelds involving a pawn on d5, and note what Stockfish 16 thinks. See what I mean!?"

It's hard to ignore computer evaluations. They evaluate so many positions, so quickly. Yet if there is a flaw in their evaluations, then you might be misled. One might be unduly pessimistic about playing the lines mentioned above with the Black pieces.
  
Back to top
 
IP Logged
 
Pawnpusher
Senior Member
****
Offline


I Love ChessPublishing!

Posts: 274
Joined: 01/04/18
Gender: Male
Re: The best analysis program?
Reply #187 - 06/13/19 at 10:54:55
Post Tools
Has anyone tried to use chess position trainer and LcO?
  
Back to top
 
IP Logged
 
tony37
God Member
*****
Offline


I Love ChessPublishing!

Posts: 619
Joined: 10/16/10
Re: The best analysis program?
Reply #186 - 06/12/19 at 08:52:17
Post Tools
after installing those drivers I couldn't boot into my system and had to revert to the older drivers (I probably should upgrade to Ubuntu 19.04 (update: this works fine with standard drivers; what also worked was installing the 5.1 kernel on 18.04, even without newer drivers))

there seems to be a bug in this thread where the latest post isn't always displayed
« Last Edit: 06/12/19 at 22:54:29 by tony37 »  
Back to top
 
IP Logged
 
tony37
God Member
*****
Offline


I Love ChessPublishing!

Posts: 619
Joined: 10/16/10
Re: The best analysis program?
Reply #185 - 06/11/19 at 19:25:24
Post Tools
Has anyone tried LeelaFish yet? I'd see it as Leela with Stockfish tactical blunder check enabled. Supposedly it's 30 elo higher than Leela alone. See https://github.com/killerducky/lc0/wiki/LeelaFish for more info, don't forget to  link 'AuxEngineFile' to Stockfish, otherwise it's just lc0 running.

Probably not important for most, but after installing the latest Linux drivers for my AMD GPU (from ppa:oibaf/graphics-drivers for those interested), my mouse isn't hanging anymore when I put lc0 on.
  
Back to top
 
IP Logged
 
Pawnpusher
Senior Member
****
Offline


I Love ChessPublishing!

Posts: 274
Joined: 01/04/18
Gender: Male
Re: The best analysis program?
Reply #184 - 06/06/19 at 22:09:18
Post Tools
Ahh but the quest to optimize!!
  
Back to top
 
IP Logged
 
JFugre
Junior Member
**
Offline


I Love ChessPublishing!

Posts: 89
Joined: 01/22/19
Re: The best analysis program?
Reply #183 - 06/06/19 at 07:55:38
Post Tools
Pawnpusher wrote on 06/05/19 at 15:52:11:
Thanks guys, I get the eval better now. Does anyone know how to find the best settings for a GPU (nvidia 1060)?


Defaults are fine.
  
Back to top
 
IP Logged
 
Pawnpusher
Senior Member
****
Offline


I Love ChessPublishing!

Posts: 274
Joined: 01/04/18
Gender: Male
Re: The best analysis program?
Reply #182 - 06/05/19 at 15:52:11
Post Tools
Thanks guys, I get the eval better now. Does anyone know how to find the best settings for a GPU (nvidia 1060)?
  
Back to top
 
IP Logged
 
JFugre
Junior Member
**
Offline


I Love ChessPublishing!

Posts: 89
Joined: 01/22/19
Re: The best analysis program?
Reply #181 - 06/05/19 at 08:53:48
Post Tools
Pawnpusher wrote on 06/04/19 at 23:40:57:
I do use Cuda, the evaluation puzzles me. I am used to seeing scores far lower than LcO gives for positions. Have you noticed this?


The latest lc0 version has a re-scaled formula to convert winning percentage to centipawns. The scores are now much less extreme, and were calibrated to the average of Stockfish/Komodo scores in TCEC15, or something. So it's more comparable to a classic engine now.

I believe the one playing in TCEC had the old formula. You can change it in the settings.
  
Back to top
 
IP Logged
 
brabo
God Member
*****
Offline


Welcome chessfriend

Posts: 1072
Joined: 02/02/07
Re: The best analysis program?
Reply #180 - 06/05/19 at 00:18:33
Post Tools
Pawnpusher wrote on 06/04/19 at 23:40:57:
I do use Cuda, the evaluation puzzles me. I am used to seeing scores far lower than LcO gives for positions. Have you noticed this?

Yes it is explained at https://github.com/LeelaChessZero/lc0/wiki/Technical-Explanation-of-Leela-Chess-...
+3,36 would mean 90% probabily of a win for white.

For e.g. Houdini only +1,5 already means 90% probability of a win for white see http://www.cruxis.com/chess/houdini.htm

So you should make a conversion from 1 scale to another.
  
Back to top
WWW  
IP Logged
 
brabo
God Member
*****
Offline


Welcome chessfriend

Posts: 1072
Joined: 02/02/07
Re: The best analysis program?
Reply #179 - 06/05/19 at 00:18:15
Post Tools
tony37 wrote on 06/04/19 at 23:26:56:
brabo wrote on 06/04/19 at 11:15:32:
tony37 wrote on 06/04/19 at 09:30:49:

ordo elo (or self-play elo) can be very misleading, as I wrote a few posts before
can I ask what AMD card you're using? probably way better than mine


My AMD FX(tm)-6300 6 core processor 3,5Ghz is configured with a Nvidia Geforce GTX 960. That is average nowadays.

but since you have an Nvidia card, you probably use the (fast) Cuda version of Lc0 after all
I think JFugre was talking about using the OpenCL version on an AMD graphics card like Radeon

No I am using the OpenCL version. When I try the Cuda version then the lc0 exe just closes without having done any computation. I thought it probably has to do with that I first have to install https://developer.nvidia.com/cuda-zone but then I get the message that I should also install the video studio to let it work properly. I also did that but it kept warning that the video studio is not ok so then I gave up before making some changes which I can't restore anymore afterwards.
  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: [1] 2 3 ... 13
Topic Tools
Bookmarks: del.icio.us Digg Facebook Google Google+ Linked in reddit StumbleUpon Twitter Yahoo