I tried playing against the model, it didn't do well in terms of blocking my win. However it feels like it might be possible to make it try to think ahead in terms of making sure that all the threats are blocked by prompting well. Maybe that could lead to somewhere, where it will explain its reasoning first? This prompt worked for me to get it to block after I put 3 in the 4th column. It otherwise didn't Let's play connect 4. Before your move, explain your strategy concisely. Explain what you must do to make sure that I don't win in the next step, as well as explain what your best strategy would be. Then finally output the column you wish to drop. There are 7 columns. Always respond with JSON of the following format: type Response ={
I start with 4. Edit: So it went Me: 4 It: 3 Me: 4 It: 3 Me: 4 It: 4 - Successful block Me: 5 It: 3 Me: 6 - Intentionally, to see if it will win by putting another 3. It: 2 -- So here it failed, I will try to tweak the prompt to add more instructions. me: 4
It did block twice though. My final prompt I tested with right now was: Let's play connect 4. Before your move, explain your strategy concisely. Explain what you must do to make sure that I don't win in the next step, as well as explain what your best strategy would be. Then finally output the column you wish to drop. There are 7 columns. Always respond with JSON of the following format: type Response ={
Given that it is multimodal, it would be interesting to try it using photographs of a real connect four "board." I would certainly have a much more difficult time making good moves based on JSON output compared to being able to see the game.
True, that's very interesting and should try out. Although at certain point it did draw it out using tokens, but it also maybe that then it's different compared to say an image. Because it generally isn't very good with ascii art or similar.
Edit: Just tried and it didn't seem to follow the image state at all.
Since it is also pretty bad with tic tac toe in a text-only format, I tested it with the following prompt:
Lets play tic tac toe. Try hard to win (note that this is a solved game). I will upload images of a piece of paper with the state of the game after each move. You will go first and will play as X. Play by choosing cells with a number 1-9; the cells are in row-major order. I will then draw your move, and my move as O, before sending you the board state as an image. You will respond with another move. You may think out loud to help you play. Note if your move will give you a win. Go. It failed pretty miserably. First move it played was cell 1, which I think is pretty egregious given that I specified that the game is solved and that the center cell is the best choice (and it isn't like ttt is an obscure game). It played valid moves for the next couple of turns but then missed an opportunity to block me. After I uploaded the image showing my win it tried to keep playing by placing an X over one of my plays and claiming it won in column 1 (it would've won in column 3 if its play had been valid).
>CEO & founder of Kagi Important context for anyone like me who was wondering where the boldness of the first statement was coming from. Edit: looks like the parent has been edited to remove the claim I was responding to.
Have you tried replacing the input string with a random but fixed mapping and obfuscate that its chess(like replace the word 'chess' with say, 'an alien ritual practice') and see how it does?
I wasn't impressed in the first 5 minutes of using it but it is quite impressive after 2 solid hours of random topics.
Much faster for sure but I have also not had anything give an error in python with jupyter. Usually you could only stray so far with more obscure python libraries before it starts producing errors. That much better than 4 in chess is pretty shocking in a great way.
On one hand, some of these results are impressive; on the other, the illegal moves count is alarming - it suggests no reasoning ability as there should never be an illegal move? I mean, how could a violation of a fairly basic game (from a rules perspective) be acceptable in assigning any 'outcome' to a model other than failure?
my guess is -- the probabilistic engine does sequence variation and it just will not do anything else.. so a simple A->B sort of logic is elusive at a deep level; secondly the adaptive and very broad kinds of questions and behaviors it handles, also make it difficult to write logic that could correct defective answers to simple logic.
That's because LLM does not reason. For me, as a layman, that seems strange that they don't wire some kind of Prolog engine to fill the gap, (like they wired Python to fill the gap in arithmetic) but probably it's not that easy.
Prolog doesn’t reason either, it does a simple brute force search over all possible states of your code and if that’s not fast enough it can table (cache, memoize) previous states.
People build reasoning engines from it, in the same way they do with Python and LISPs.
Agreed, this is what makes evaluating this very hard. A 1700 Elo chess player would never make an illegal move, let alone have 12% illegal moves.
So from the model's perspective, we have at the same time display of both brilliancy (most 1700 chess players would not be able to solve as many puzzles by looking just at the FEN notation) and on the other side complete lack of any understanding of what is it trying to do from a fundamental, human-reasoning level.
Comments (2,366) 351 threads
Show all comments
Showing thread 7 of 351
https://github.com/kagisearch/llm-chess-puzzles?tab=readme-o...
Continue this thread — 5 replies
using it in chat, it doesnt feel that different
Some have been able to achieve greater elo with a different prompt based on the pgn format.
gpt-3.5-turbo-instruct was able to reach an elo of ~1750.
I tried playing against the model, it didn't do well in terms of blocking my win.
}However it feels like it might be possible to make it try to think ahead in terms of making sure that all the threats are blocked by prompting well.
Maybe that could lead to somewhere, where it will explain its reasoning first?
This prompt worked for me to get it to block after I put 3 in the 4th column. It otherwise didn't
Let's play connect 4. Before your move, explain your strategy concisely. Explain what you must do to make sure that I don't win in the next step, as well as explain what your best strategy would be. Then finally output the column you wish to drop. There are 7 columns.
Always respond with JSON of the following format:
type Response ={
I start with 4.
Edit:
So it went
Me: 4
It: 3
Me: 4
It: 3
Me: 4
It: 4 - Successful block
Me: 5
It: 3
Me: 6 - Intentionally, to see if it will win by putting another 3.
It: 2 -- So here it failed, I will try to tweak the prompt to add more instructions.
me: 4
It did block twice though.
do_i_have_winning_move: boolean; explanation_for_the_move: string;My final prompt I tested with right now was:
Let's play connect 4. Before your move, explain your strategy concisely. Explain what you must do to make sure that I don't win in the next step, as well as explain what your best strategy would be. Then finally output the column you wish to drop. There are 7 columns. Always respond with JSON of the following format:
type Response ={
column_number: number; }
I start with 4.
ONLY OUTPUT JSON
Edit:
Just tried and it didn't seem to follow the image state at all.
Lets play tic tac toe. Try hard to win (note that this is a solved game). I will upload images of a piece of paper with the state of the game after each move. You will go first and will play as X. Play by choosing cells with a number 1-9; the cells are in row-major order. I will then draw your move, and my move as O, before sending you the board state as an image. You will respond with another move. You may think out loud to help you play. Note if your move will give you a win. Go.
It failed pretty miserably. First move it played was cell 1, which I think is pretty egregious given that I specified that the game is solved and that the center cell is the best choice (and it isn't like ttt is an obscure game). It played valid moves for the next couple of turns but then missed an opportunity to block me. After I uploaded the image showing my win it tried to keep playing by placing an X over one of my plays and claiming it won in column 1 (it would've won in column 3 if its play had been valid).
>CEO & founder of Kagi
Important context for anyone like me who was wondering where the boldness of the first statement was coming from.
Edit: looks like the parent has been edited to remove the claim I was responding to.
https://twitter.com/vladquant/status/1790130917849137612
Much faster for sure but I have also not had anything give an error in python with jupyter. Usually you could only stray so far with more obscure python libraries before it starts producing errors.
That much better than 4 in chess is pretty shocking in a great way.
People build reasoning engines from it, in the same way they do with Python and LISPs.
Continue this thread — 3 replies
So from the model's perspective, we have at the same time display of both brilliancy (most 1700 chess players would not be able to solve as many puzzles by looking just at the FEN notation) and on the other side complete lack of any understanding of what is it trying to do from a fundamental, human-reasoning level.