bob wrote:yoshiharu wrote:bob wrote:
This is not that uncommon a theme in chess programs. It is a subset of a larger problem known as an "evaluation discontinuity". Whenever a single move can change things enough to make a large change in the evaluation, that move can either be played, or avoided, at points in the tree where it gives maximal advantage to the side with the option.
For this effect to show up, are transposition tables necessary?
Cheers, Mauro
No. Here's a trivial case to illustrate. Suppose your king safety scores can go from 0 to 1.5 pawns. And suppose you turn that off at some point, let's say when you remove the queens. Now the program is faced with the loss of 1.5 pawns (your opponent's king is terribly exposed) if queens are traded, and it is going to try to avoid that as long as possible. Or it will try to do it at a point where it is to its best interest to suddenly turn that off. So you might well wreck your own king safety, which brings up your opponent's king safety score, and now you trade queens because you both lose your "attacking bonus". And all you did was wreck your position to make it worthwhile to trade queens. There are lots of places where a discontinuity in the evaluation can produce results you never imagined in your wildest dreams. Because the program will use those discontinuities in very unusual ways thanks to the enormous tree search space it has to play around with.
Ugly.
And yes, I have seen lots of similar cases over the years.

Nice example. But is this obvious explanation correct ?
How do you see the difference between this and something I thought I observed lately ?
Kingsafety scoring is non linear. Suppose kingsafetyscore at this moment is .5 pawn. (mine is +1, yours plus 0.5)
Now by wrecking my own kingsafety, I can continue the attack. My attackindex goes up with 30 yours with 50. But because I'm allready on plus 1 score, the value of my 30 is 0.5 pawn while your 50 is also worth 0.5 pawns.
So by ruining my kingsafety and giving you more extra counterplay, I kept my +0.5 score
If this conclusion is correct, the kingsafety scoring is too much exponential up.
Problem only is how to see the difference between discontinuity and non-linearity.
Both seem to have the same beheaviour. Giving the oppenent too much counterplay until it's called a deadly king attack.
Tony