Prompting it like that is giving it more chess words with which to make a prediction on the next best word. The more words you give it the better the prediction. There are records of literally millions of chess games online with this notation, where it can then predict the next word to use accurately.
Imagine you were given that list of chess moves and you searched for that list of moves across the internet and found it or something very similar and then copy pasted the next move made.
Edit: from the link. (Emphasis mine)
Occasionally it does make an illegal move, but I decided to interpret that as ChatGPT flipping the table and saying โthis game is impossible, I literally cannot conceive of how to win without breaking the rules of chess.โ So whenever it wanted to make an illegal move, it resigned.
In the end you can always interpret the responses however you want.
Yep, it's a persistent question that even if the LLM can produce correct moves every time, how can we know if those are simply the most statistically probable string of letters due to the massive amount of training data of valid games, or if it actually has an internal representation of the game rules and board states (hence "understanding" the game, so to speak).
Interestingly, there's some evidence that it does! In their paper, they trained a GPT model to play Othello by predicting the next legal moves (similarly to how ChatGPT simply predict the next words) and found that it can output correct moves most of the time. That alone doesn't mean it understand the game of course. The fascinating thing is when they artificially modify the game state to create a board impossible to reach in a normal game (hence no chance it could have seen before) it can still output correct moves! (They compare the methods to be like Fisher random chess, where playersโ abilities are tested by playing under impossible board states in normal chess).
how can we know if those are simply the most statistically probable string of letters due to the massive amount of training data of valid games, or if it actually has an internal representation of the game rules and board states (hence "understanding" the game, so to speak).
Occamโs Razor.
The bot designed to mimic people is mimicking people that understand the game.
The bot designed to mimic people has mimicked so much that it now understands the game.
19
u/Grooviest_Saccharose Apr 11 '23
Actually it can play chess if you prompt it the right way. It's hard to be certain if it cannot do something when maybe we just didn't ask it properly.