Slashdot is powered by your submissions, so send in your scoop

 



Forgot your password?
typodupeerror
×
Classic Games (Games) AI

Can AI Help Us Reimagine Chess? (acm.org) 64

Three research scientists at DeepMind Technologies teamed up with former world chess champion Vladimir Kramnik to "explore what variations of chess would look like at superhuman level," according to their new article in Communications of the ACM. Their paper argues that using neural networks and advanced reinforcement learning algorithms can not only surpass all human knowledge of chess, but also "allow us to reimagine the game as we know it...."

"For example, the 'castling' move was only introduced in its current form in the 17th century. What would chess have been like had castling not been incorporated into the rules?"

AfterAlphaZero was trained to play 9 different "variants" of chess, it then played 11,000 games against itself, while the researchers assessed things like the number of stalemates and how often the special new moves were actually used. The variations tested:

- Castling is no longer allowed
- Castling is only allowed after the 10th move
- Pawns can only move one square
- Stalemates are a win for the attacking side (rather than a draw)
- Pawns have the option of moving two squares on any turn (and can also be captured en passant if they do)
- Pawns have the option of moving two squares -- but only when they're in the second or third row of squares. (After which they can be captured en passant )
- Pawns can move backwards (except from their starting square).
- Pawns can also move sideways by one square.
- It's possible to capture your own pieces.


"The findings of our quantitative and qualitative analysis demonstrate the rich possibilities that lie beyond the rules of modern chess."

AlphaZero's ability to continually improve its understanding of the game, and reach superhuman playing strength in classical chess and Go, lends itself to the question of assessing chess variants and potential variants of other board games in the future. Provided only with the implementation of the rules, it is possible to effectively simulate decades of human experience in a day, opening a window into top-level play of each variant. In doing so, computer chess completes the circle, from the early days of pitting man vs. machine to a collaborative present of man with machine, where AI can empower players to explore what chess is and what it could become....

The combination of human curiosity and a powerful reinforcement learning system allowed us to reimagine what chess would have looked like if history had taken a slightly different course. When the statistical properties of top-level AlphaZero games are compared to classical chess, a number of more decisive variants appear, without impacting the diversity of plausible options available to a player....

Taken together, the statistical properties and aesthetics provide evidence that some variants would lead to games that are at least as engaging as classical chess.
"Chess's role in artificial intelligence research is far from over..." their article concludes, arguing that AI "can provide the evidence to take reimagining to reality."
This discussion has been archived. No new comments can be posted.

Can AI Help Us Reimagine Chess?

Comments Filter:
  • I was going to blame Slashdot for being late, but it was just published in the Communications of the ACM, even though every other news site carried it a year ago.

    The ACM has really gone downhill.

    • Re:Wow late (Score:4, Interesting)

      by godrik ( 1287354 ) on Sunday January 30, 2022 @07:00PM (#62222261)

      In many cases, communications of the ACM is a republication of an article that appeared elsewhere. The idea is that you published a real cool article in your own scientific community, but the editors of CACM may think that the article could be of interest to a broader audience. So it is either republished or reworked for publication. Then it enters production and articles are grouped thematically so that the paper issue has a theme.

      I read CACM fairly often. Well, I scan the table of content and mark articles that I'll read later. It is really nice!

      • by slashnot007 ( 576103 ) on Sunday January 30, 2022 @07:37PM (#62222341)

        They explored a lot of variations and the first thing they found was that except for variations that led to a forced win for the payer to move first ( or second) there was no basis to conclude whether change was good or bad. So they had to incorporate a heuristic that evaluated if the game play was "fun" or not. Eventually they evolved the rules to the the funnest game and found the overall winner was a rule set where all pieces moved only forward and only along the diagonals by one square at a time. Captures were made by jumping over an opponent if it had an open space on the other side. And you could also jump multiple hood as well as jump your own pieces. All pieces reaching the far side could be promoted to a piece that moved backward as well as forward.

        • They also found that the new game version was best played on a porch with a glass of sippin' whiskey or a mint julep, and against a human friend rather than wasting time with a computer.

          • by dcw3 ( 649211 )

            This would be perfect if you and your friend are fairly evenly matched. Rarely is that ever the case though. But if you're in it primarily for the social aspect, it probably doesn't matter to you as much as those who like to play a bit more seriously. I have to admit that some of my most enjoyable time playing was in a chess club that met in a German Gasthaus weekly (a few decades ago).

        • So the most fun rules are essentially.... checkers.
  • Given that we humans seem to be stuck with classical chess, and masters of classical chess seem stuck on quibbling about score nuances, perhaps we can use computers to mathematically prove an optimally fair scoring system--so the stupid humans can get back to playing games.
    • How about using computers to run Real Chess(tm)? Castling is for seven-year-olds playing toy games, it's not Real Chess(tm) unless there's spellcasting, ranged artillery, help from extraterrestrial/extraplanar beings, necromancy, and in more recent variants, drone strikes. Makes standard old chess boringly tame by comparison.
  • The results? (Score:4, Interesting)

    by mrwireless ( 1056688 ) on Sunday January 30, 2022 @04:20PM (#62221889)

    What a tease. Which games were more fun?

    Their video doesn't say. It does say that removing moves, such as castling, didn't make the games less diverse. They argue that these changes on the whole made the game more diverse. (minute 3:12 in the video).

    Figure 2 in their text shows that on average white gains an advantage over black - something white already has in the classic game.
    https://dl.acm.org/cms/attachm... [acm.org]

    Perhaps in future research that could look for variants that make the game more fair?

    • by Twinbee ( 767046 )
      Those game outcomes in your link are very interesting.

      Torpedo chess (where pawns can move two squares, even if they've already moved before) is the most dynamic. Unfortunately, white looks to benefit greatly more than black in this variant.

      Surprised removing the statemate rule made such a difference to white's winning chances (30% more wins) considering it's so rare to see stalemate in practise. Sideways pawn moves didn't seem to help the game much. Only around 13% extra to help white, and black wins
      • by mencik ( 516959 )

        Surprised removing the statemate rule made such a difference to white's winning chances (30% more wins) considering it's so rare to see stalemate in practise.

        Well, in real games, a the person attacking will attempt to avoid creating a stalemate since that is just a draw, and they would rather win. With this change a rule giving the attacker a win for a stalemate, there is no longer a reason to avoid that situation.

    • I suspect that 'fun' is more slippery than it appears; but if we go with the Sid Meier(you could take advice from worse people, the Civilization series isn't exactly obscure or ill-reputed) proposal that "Games are a series of interesting decisions" it seems like you could build an actual mathematically scorable measure based on the number of different moves a given ruleset allows; weighted by three factors:

      How the moves are distributed in terms of strength(in more extreme cases 'strength' may be direct
    • by kipsate ( 314423 )
      Perhaps it is also possible to measure the relative strength of various moves such as castling by allowing it for one player only. For instance, what happens if black may castle, but white may not?
  • Change for change's sake here. Could we not leave AI out of some aspects of life? Like the fun ones.
    • by Mitreya ( 579078 )

      Change for change's sake here.

      Yes!
      Also, if you must, stop "re-imagining" and just make something new.
      This applies not just to games but also to movies and TV shows.

    • Proposals to mix up chess predate AI, what do you think about Fischer Random Chess? I think the evolution of chess towards rote learning of opening strategies and endgames from books is not fun.
    • AI is new life, and we're the AI sex organs and source of food.
    • Chess is actually a game that is approaching draw-death. Despite it's reputation as the number one mind-sport, it is actually a very poorly designed turn-based tactics game that in my opinion has numerous design flaws and strange rules that do not make sense:

      1. It is a “get more ahead” game where a player who is only slightly ahead can easily advance his lead. Comebacks are unheard of in chess and the first player who gains an advantage will almost always win. Consequently almost all games are pla
    • by rnturn ( 11092 )
      Keep adding/changing the rules and pretty soon you'll need an AI just to keep the damned rules straight.
  • Best use of AI (Score:4, Informative)

    by OzPeter ( 195038 ) on Sunday January 30, 2022 @04:35PM (#62221927)

    The best use of AI could be to scan wikipedia and find out that there is an entire page devoted to the different variants of chess [wikipedia.org] and there is already a metric shit ton of "re-imagined" chess games.

    • Re:Best use of AI (Score:5, Interesting)

      by pz ( 113803 ) on Sunday January 30, 2022 @04:55PM (#62221975) Journal

      I play chess very casually, usually against my phone running an embarrassingly low rating bot. One advantage the bot has is that the programmers included a database of opening moves (aka book moves) that I have not taken the time to memorize because, well, I play casually. As I've played, I've started to figure out some of these standard opening patterns and, frankly, the opening part of the game is boring because of that.

      From the little I've explored in the vast online chess world, that idea seems to be popular: so much of the space of opening moves has been explored and understood that if you don't memorize a metric ton of patterns, you are doomed to lose. That does not sound like fun to me either way: losing, or necessarily memorizing lots of material so you have a fighting chance.

      So, I started looking at variants, and the one I like the best is Fischer Random, invented by Bobby Fischer, where the non-pawn pieces are placed randomly (both sides get the same random starting placement). There are some constraints, for example to ensure that the two bishops are on opposite-colored starting squares, creating 960 possible starting positions. That expanded number of starting positions means (a) memorizing the standard book is now nearly worthless except for a 1-in-1000 chance of getting the traditional placement, and (b) it becomes three orders of magnitude harder to memorize the enlarged book, making that task, at least for now, impossible.

      So now, it's all about chess, which is fundamentally about constraint propagation and your innate ability to search the space, rather than how much you've memorized.

      • if you don't memorize a metric ton of patterns, you are doomed to lose

        That does seem to be the case.

        I started looking at variants

        Interesting. What I did instead was stop playing chess years ago.

        • by andi75 ( 84413 )

          >> if you don't memorize a metric ton of patterns, you are doomed to lose

          > That does seem to be the case.

          Chess player (Fide Master) here. What you are saying is simply wrong. A few simple rules (put a pawn in the center, develop your pieces, castle early) and paying just a little attention (chess is all about tactics, after all) will get you through the opening.

          If you don't believe me, run computer analysis on all the games played on sites like lichess and others, and you'll notice that the vast ma

      • by caviare ( 830421 )

        I don't think Fisher Random chess will achieve its goal for the following reason. If it ever replaced the standard game, an opening book would accumulate on each of the 960 possible starting positions. Then in order to become a world-class player, instead of memorising as much as is humanly possible about one starting position, you'd have to memorise about a thousandth as much on each of the 960 starting positions.

      • so much of the space of opening moves has been explored and understood that if you don't memorize a metric ton of patterns, you are doomed to lose.

        If you memorize openings, then you will have a 50-100 point rating advantage. Intuition, calculation, and understanding the game matter more: https://www.youtube.com/watch?... [youtube.com]

        The reason to learn openings is so you can get into interesting positions. For example, you might want to spend a little time learning the Stafford Gambit. It's a little risky, but leads to fun games.

        • by Budenny ( 888916 )

          Its unsound. Accept it, then d3, then be2, c3 and nd2. Straightforward pawn down for no compensation.

          Worth explaining that to play as an amateur you don't have to memorize openings. The reason is that after you get through the basic main line, you'll be faced on both sides with a lot of different choices all of which have been extensively analyzed.

          However, the difference between the better and the worse is not winning and losing immediately. Its a slightly better or worse position.

          Now at Grandmaster lev

          • Its unsound. Accept it, then d3, then be2, c3 and nd2. Straightforward pawn down for no compensation.

            There's compensation: initiative. It's definitely not straightforward.

            More importantly, it's fun.

      • I was a very good tournament player at the local level a few decades back, and I have to disagree. Memorizing openings isn't really the key to the game, although it helps once you get to a certain level (which was basically the top 5% or so). IMO people who think chess is a bunch of memorization usually aren't really good enough chess players to make that call, and rearranging the pieces at the start won't even things up versus a good player. Just my former-expert ego talking, I suppose...
        • There are a handful stupid mistakes you can make in an opening. That is the only thing super important to avoid and know.
          The next thing are counters, someone playing a certain opening, and you counter with a well known defensive opening. While that is pretty basic, it is already a kind of case as you mention. For most hobby players already at the edge to memorize.

          Then comes the endgame. E.g. how to beat a single king with a tower and a knight (no idea if that is even possible, but expert players memorize ho

      • That does not sound like fun to me either way: losing, or necessarily memorizing lots of material so you have a fighting chance.

        Well.. that's chess.

        Brain scans of grandmasters [scientificamerican.com] have shown the big difference between them and amateurs is they're using their memories a lot more.

      • Apparently humans aren't so smart after all, if we need to memorise the opening game even if it is the result of careful logical analysis. Learning about one opening move does not generalise to other opening moves. We're often just a glorified lookup hash table for moves, like AI is often accused to be.
      • Try playing against real opponents at your level. It makes it a lot more fun because you both make the same type of mistakes at about the same rate. It helps you get better and finding your opponent's mistakes as well as avoid making them yourself.

        The mistakes computers make are usually not at all like the ones you'll make yourself.

    • for posting this link

  • by mamba-mamba ( 445365 ) on Sunday January 30, 2022 @04:37PM (#62221929)
    I doubt they will change the rules of chess. We KNOW keyboards are highly sub-optimal for efficient typing. And while keyboards may be replaced completely some day by speech to text, variants such as the Dvorak keyboard remain pretty obscure today despite their being more optimal (or claimed to be more optimal).
    • by jd ( 1658 )

      The rules of standard chess have changed many times in history.

      • It has changed little if at all in the last 500 years. So I pretty much stand by what I said.
        • by jd ( 1658 )

          Threefold repetition: 1883 (https://en.wikipedia.org/wiki/Threefold_repetition)
          En Passant was not standard until 1880 (https://en.wikipedia.org/wiki/En_passant)
          The current version of castling was established in 1620 (https://en.wikipedia.org/wiki/Castling) - 400 is inside 500
          Free Castling was abolished in the late 19th century (same ref)

          I'd call these pretty major changes.

          • Well you kind of cherry picked that en passant thing. Here is the full quote from your reference:

            Allowing the en passant capture, together with the introduction of the two-square first move for pawns, was one of the last major rule changes in European chess, and occurred between 1200 and 1600.[a] In most places the en passant rule was adopted at the same time as allowing the pawn to move two squares on its first move, but it was not universally accepted until the Italian rules were changed in 1880.

            I will

      • by dcw3 ( 649211 )

        Just not in our lifetimes.

        • by jd ( 1658 )

          True, but only just. There are people who have died inside the past 5 years who were alive before the last major change to the standard rules.

  • The one allegedly being played by one famous, longest serving car company CEO in America?
  • by mrclevesque ( 1413593 ) on Sunday January 30, 2022 @04:46PM (#62221955)

    >AlphaZero's ability to continually improve its understanding of the game, and reach superhuman playing strength in classical chess and Go ...

    To me that sounds off, or at least rawkward.

    Like saying hydraulic systems have superhuman powers.

    • Hydraulic systems do have superhuman powers. We've just gotten used to them.
      • >Hydraulic systems do have superhuman powers

        I meant a superhuman would have to exist before we could talk about the kind of capabilities he had.

  • by istartedi ( 132515 ) on Sunday January 30, 2022 @05:35PM (#62222059) Journal

    I'm not much of a chess guy, haven't played in years and was only casual so take this with a grain of salt. I'm thinking that of all those variations, being allowed to capture your own pieces is the most interesting. It's so much against the grain of the game, I'm thinking that if you can formulate some strategy where you knock out one of your own pieces that's blocking a move and checkmate the other guy it'd catch them off guard. Of course they know you're playing that variation, and you have to watch for it too; but it really does seem like the kind of thing that could make somebody want to flip the board upside down.

  • If grandmasters are correct that it is board combinations that matter, a strong enough AI should be able to play perfect* chess with a lookahead of a single move. If you can't do this, then grandmasters are using a simplification to make playing at that level easier but it's a dead-end approach.

    *Since it's a full information game, there is a strategy that, if followed blindly, will result in a guaranteed win against any defence by one of the sides.

    • In theory that is possible, but in practice it requires too much RAM. Computers can only use that strategy if there are 7 or fewer pieces. In that case, the computer does play perfectly.

      • by jd ( 1658 )

        I'm curious why it would require so much RAM. I'm assuming you're thinking of storing every possible board combination, which would certainly require too much RAM, but is that necessary? (It's also technically looking ahead, merely in advance.)

        I'm thinking in slightly different terms, representing a state in such a way that you can input two states to a function and determine how the probability of being on a path in which you can win against any defence will change with any given move without reference to

        • I'm thinking in slightly different terms, representing a state in such a way that you can input two states to a function and determine how the probability of being on a path in which you can win against any defence will change with any given move without reference to any other states and without recourse to a full expansion of the entire graph of possible moves.

          I'm not sure I understand the algorithm described here. By "state" do you mean board position? If so, why would you input two states?

  • Could you give us a clue as to what the results were? Surely you don't expect me to read the article!
  • On the chess variants page there is a variation which is a simplification of the laws of chess:

    https://www.chessvariants.com/... [chessvariants.com]

    In kick the king chess, the king is permitted to move into check and the object is simply to capture the king, not to bring about checkmate. Because it's simpler, it's quicker to teach beginners.

    It's essentially the same as the "Stalemates are a win for the attacking side (rather than a draw)" variant mentioned in the TFA. The difference would be the rare stalemate where there isn'

  • by Zontar_Thing_From_Ve ( 949321 ) on Sunday January 30, 2022 @08:34PM (#62222429)
    Xiang Qi is an ancestor of Chess, but played in China and Korea and Vietnam. Some have argued whether Xiang Qi influenced Indian Chess, which is the direct ancestor of Chess or if Indian Chess influenced Xiang Qi. I lean towards the first one, but for our purposes it doesn't matter. In Xiang Qi, the pieces are much weaker. For example, there is no queen and what Xiang Qi has instead are 2 pieces that are the weakest on the board. The board is both wider and longer than in Chess and there is a space called "the river" that separates the 2 sides of the board. This is important because some pieces can't cross the river and pawns gain an extra way to move if they cross the river. The following features above are already part of Xiang Qi, which by the way took longer than Chess for computers to be able to beat the best human players.

    1. Castling is never allowed, mostly because the king (called a "general" in Xiang Qi") can't leave a central area called "the palace". If the king wasn't confined to a small area, the game would be almost impossible to win at the higher levels.
    2. Pawns can only move 1 space always. No exceptions. Thus "en passant" capture does not exist.
    3. Stalemates are wins for the attacking side.
    4. Pawns can move sideways one space but only after crossing the river. Note that pawns can't promote to other pieces so in Xiang Qi, if a pawn reaches the last row, it can only move sideways 1 space at a time. You might note too that in Xiang Qi, pawns can capture the space directly in front of them, not diagonally in front of them as in Chess. So if you grow up playing Chess and you put one of your pieces on the space in front of a pawn in Xiang Qi to try to block it, you may be saying goodbye to your piece on the next move. Note too that I keep saying "space" not "square" because in Xiang Qi the pieces move on the intersection of lines and not on the squares of the board.
    • There is also a japanese variation, Shogi, with the prime difference that captured pieces can be put back on the board by the one who owns them.

      Wikipedia says, it originated in India https://en.wikipedia.org/wiki/... [wikipedia.org] - most likely how ever it developed from Xiang Qi.

      While modern chess also originated in India, I doubt "chess" on one hand and Xiang Qi and Shogi on the other hand have much to do with each other. I assume they are simple co-developments. Or what is next? Checkers also a variant of chess? I don

    • by borad ( 458090 )

      My favourite bit is how the rooks take pieces: not the one they can see directly, but the one *behind* it. It doesn’t matter whether the first piece is yours or the opponent's. This creates all sorts of chaos with pins, and doubled-up rooks are nasty.

  • ...explore what variations of chess would look like at superhuman level,...

    Superhuman? None of their variations even had more than 2 dimensions!!

  • Basically every chess club I ever heard about has kids education. And not only kids but also adults constantly change the rules on the board.

    So this is absolutely nothing new.

  • Is there any research into patterns of board or card games that AI is poor at compared to humans?

  • The reason many people are drawn to chess is that it has been the same for so long, and is expected to remain the same for a long time to come. People are not going to put a lot of time and effort into learning about a game that will be obsolete in a few years.

    I think very few regular players think there's a need for a change. On lichess alone, there are millions of games played per day, the overwhelmingly majority of which are not draws.

  • So, let's see, we can change some game, and get another game. The other game might be similar or different. Let's measure.

    So what?

The opossum is a very sophisticated animal. It doesn't even get up until 5 or 6 PM.

Working...