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.

  • johnlawrenceaspden@thelemmy.clubOP
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    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?

    • jorge@sopuli.xyzM
      link
      fedilink
      arrow-up
      1
      ·
      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.