6
submitted 1 year ago* (last edited 1 year ago) by johnlawrenceaspden@thelemmy.club to c/chess@lemmy.ml

In won endgame positions, computers are incredibly good and never miss a trick.

But in positions where they've lost, they tend to play really badly, often with the king running away from where the battle is, in order to delay the mate as long as possible, rather than duking it out and making it difficult to win.

Is there some way to get computers to try the sort of defensive strategies that a human would use against another human?

Where the game might finish more quickly, but the human will have had some thinking to do.

you are viewing a single comment's thread
view the rest of the comments

Behold:

https://lichess.org/?user=maia9#friend

maia9 is a chess bot who plays in a human style. She keeps whacking me in positions where I can beat actual stockfish easily. Just what I wanted. Thank you iceman on reddit.

[-] jalda@sopuli.xyz 4 points 1 year ago

Maia is a good call.

Most engines are designed to play expecting that its rival plays the best move. So when the engine sees that it's going to be mated, it expects that the rival will mate. In a way, all possible moves are equally bad, as they all lead to mate, so it makes no difference to the engine to use defensive strategies.

But the Maia's don't work like that. As they have been trained with games played by humans, they will try to do whatever a human would do, even if it doesn't make sense from an engine point of view.

(Although the best advice is to play against real humans as much as you can)

[-] johnlawrenceaspden@thelemmy.club 1 points 1 year ago* (last edited 1 year ago)

Yes, I'm confused about why engines play so badly in endgames.

If you start them off a piece down then that's presumably a theoretically lost position, but they don't just make random moves because it doesn't matter...

What is it about the endgame that means that they suddenly start to favour the move that drags the game out the longest rather than the move that allows their opponent the biggest chance to screw up?

And actually, they often don't even play the 'drag it out longest' move, they seem to just pick moves at random for no reason.

And that means that I can often beat stockfish in positions which I have no idea how to win against someone who hasn't given up.

Maia does seem to fix this. She plays well in the endgame.

I wonder if it's possible to layer the two things, so that if standard stockfish sees that all moves are equivalent, it can hand off to maia to choose which one to play rather than rolling dice?

[-] jalda@sopuli.xyz 1 points 1 year ago

Engines just don't have the concept of "allowing an opponent the biggest chance to screw up". They follow blindly their evaluation function. In an endgame, the evaluation tells it that M5 is better than M2. In an opening with piece odds, the evaluation tells it that -3 is better than -3.5. When playing with piece odds against a human, an engine doesn't win because it tricks the human into difficult positions; it wins because the human (any human) is very likely to screw up in any position. But if you match an engine with piece odds against a similar engine, you will start to see those "random" moves too.

this post was submitted on 03 Aug 2023
6 points (100.0% liked)

Chess

1924 readers
2 users here now

Play chess on-line

FIDE Rankings

September 2023

# Player Country Elo
1 Magnus Carlsen ๐Ÿ‡ณ๐Ÿ‡ด 2839
2 Fabiano Caruana ๐Ÿ‡บ๐Ÿ‡ธ 2786
3 Hikaru Nakamura ๐Ÿ‡บ๐Ÿ‡ธ 2780
4 Ding Liren ๐Ÿ† ๐Ÿ‡จ๐Ÿ‡ณ 2780
5 Alireza Firouzja ๐Ÿ‡ซ๐Ÿ‡ท 2777
6 Ian Nepomniachtchi ๐Ÿ‡ท๐Ÿ‡บ 2771
7 Anish Giri ๐Ÿ‡ณ๐Ÿ‡ฑ 2760
8 Gukesh D ๐Ÿ‡ฎ๐Ÿ‡ณ 2758
9 Viswanathan Anand ๐Ÿ‡ฎ๐Ÿ‡ณ 2754
10 Wesley So ๐Ÿ‡บ๐Ÿ‡ธ 2753

Tournaments

Speed Chess Championship 2023

September 4 - September 22

Check also

founded 4 years ago
MODERATORS