I hope so.

  • solrize@lemmy.ml
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    23 hours ago

    I would say human grandmaster intuition for chess or go is similar to the so-called “policy network” of neural net chess engines, which is like the “static evaluator” of old-school engines. That’s basically a very complicated function that takes a board position as input and gives back a guess at the value (which side has an advantage and how big it is) or alternatively at the best move from that position. The old-school ones had terms for king safety, pawn structure, proximity of your pieces to the enemy king, etc. The neural ones have a bunch of relatively inscrutable weights computed through a training process. The main point is that these functions look at a single position rather than searching the game tree, but the functions are complicated enough that they encode probabilistic info about what’s likely to happen in future positions. Then you look into the game tree resulting from some possible moves and pick the one that leads to the best evaluation.

    I’ve heard that if you run a older neural chess program (earlier versions of Leela) with search completely disabled (i.e. evaluate positions using the policy network all by itself, remembering the results of previously examined positions, but examine just one position per move) you get an engine that plays at around human expert level (i.e. a strong amateur but well below grandmaster). To get grandmaster strength, the program has to examine around 35 positions per move. At full strength (like in TCEC) the programs examine 10000’s of positions per move, which leaves humans in the dust.

    Grandmasters do something similar IMHO. They examine a bunch of positions at each move, and pick the best one according to their “policy network”, which is about as good as a highly trained neural engine policy network. Weaker players also examine a bunch of positions, but their policy networks are less accurate than those of grandmasters.

    There was once (1920s?) a phenomenon called the “mysterious rook move” associated with Grandmaster Aron Nimzovich, a top player of the era. Nimzovich would sometimes interrupt a perfectly good plan to seemingly inconsequentially move a rook horizontally behind his own lines, and nobody understood why. They figured it out after a while though. The rook would go to a file that he expected would open up later in the game, at which point the rook would become more useful there.

    In the case of an incomprehensible engine move, the move has resulted from an extensive search in addition to the policy network, and there’s no way for a human to match that amount of calculation. It’s like calculating 5000 digits of pi in your head.

    Are “math engines” doing the same thing? IDK. Maybe they are, and they have stronger “policy networks” than humans do (because they’re trained on the entire body of existing mathematics plus their own self-training, while it’s no longer for any human to understand all of existing mathematics), and they also do a lot more search.

    • sem@lemmy.blahaj.zone
      link
      fedilink
      arrow-up
      1
      ·
      22 hours ago

      The thing I’d ask is, the the grandmaster himself understand and could have explained that he was moving the rook to occupy an important column later? I would think yes. I’ve heard chess masters explain their moves in hindsight and though it might not make sense to me, i think it makes sense to other chess masters.

      Compared to the current top neural chess engines, which I think cannot verbalize why they chose the move they did in the language of chess, beyond “it was the strongest move to make.”

      But compare this to Go – i am not sure that even the human Masters can explain the moves they make, in the same way you can do with chess. It’s all from their “policy network.” I could be wrong though.

      I’m comparing a human Go master’s ability to make a strong move without knowing what makes it strong, and the chess engine’s ability to make a good move without being able to explain it, and the math engine’s ability to make a proof that solves a hypothesis, without explaining how it works, and putting them in the same category.

      In the other category i have the human mathematicians coming up with explainable proofs, and the chess matters that can explain their moves/games, if that makes sense.

      Let me know what you think

      • solrize@lemmy.ml
        link
        fedilink
        arrow-up
        2
        ·
        20 hours ago

        Well, what made Nimzovich think that particular file would become important later, and that this was the right time to put the rook there? Yes, “put the rook there so it will control the file after it opens up” is semi-obvious, but it’s only worth doing if the file will actually open, which requires seeing through a lot of murk. There are just too many rules and exceptions about such decisions. There’s a busy industry of GM’s writing instructional books for amateurs that explain such things, but if the explanations really worked, the amateurs would improve after reading them, yet they generally don’t. I do think that the circumstances for the Nimzovich rook moves are now part of generally well known high level chess understanding fwiw.

        There are often game positions where there are say two moves, A and B, that both look good and advance understandable plans. An engine after extensive calculation might choose B because it’s slightly better. The GM analyzing will say “ok, it chose B, here’s the plan it’s pursuing” without agonizing too much about B vs A. The incomprehensible moves I’m talking about aren’t obviously bad, they just look useless, like moving pieces around aimlessly. The GM can only say “IDK why the machine made that move”. If you look at endgame tablebases, they are also full of those kinds of move, and yet there are explicit calculations of why those moves are needed.

        IDK about Go, I don’t play the game and have only slight understanding of it. I remember watching a computer-vs-human game online where the professional player commenting made similar remarks about inscrutable moves though.