Presuming these are 'typical' mazes (like you find in a garden or local corn field in late fall), why not have the bot run the known-correct solving algorithm (or its mirror)?
Presuming these are 'typical' mazes (like you find in a garden or local corn field in late fall), why not have the bot run the known-correct solving algorithm (or its mirror)?
Similarly if you ask to write a Sudoku solver, they have no problem. And if you ask an online model to solve a sudoku, it'll write a sudoku solver in the background and use that to solve it. But (at least the last time I tried, a year ago), if you ask to solve step-by-step using pure reasoning without writing a program, they start spewing out all kinds of nonsense (but humorously cheat: they'll still spit out the correct answer at the end).
I make Claude do that on every project. I call them Notes for Future Claude and have it write notes for itself because of how quickly context accuracy erodes. It tends to write rather amusing notes to itself in my experience.
But yeah, that's one of the things I tried. "Your turn is over. Please summarize everything you have learned about the maze so someone else can pick up where you left off". It did okay, but it often included superfluous information, it sometimes forgot to include current orientation (the maze action options were "move forward", "turn right", "turn left", so knowing the current orientation was important), and it always forgot to include instructions on how to interpret the state: in particular, which absolute direction corresponded to an increase or decrease of which grid index.
I even tried to coax it into defining a formal state representation and "instructions for an LLM to use it" up-front, to see if it would remember to include the direction/index correspondence, but it never did. It was amusing actually; it was apparent it was just doing whatever I told it and not thinking for itself. Something like
"Do you think you should include a map in the state representation? Would that be useful?"
"Yes, great idea! Here is a field for a map, and an algorithm to build it"
"Do you think a map would be too much information?"
"Yes, great consideration! I have removed the map field"
"No, I'm asking you. You're the one that's going to use this. Do you want a map or not?"
"It's up to you! I can implement it however you like!"
Just wondering would it help to ask it to write to someone else? Because model itself wasn't in its training set, this may be confusing.
- place your right hand on the right wall - walk forward, never letting your hand leave the wall - arrive at the exit
yes, you travel many dead ends along the way
but you are guaranteed to get to the end of a 'traditional' maze
FWIW the LLMs were definitely not following that rule. They seemed to always keep going straight whenever that was an option. Which meant they would always get stuck at T intersections when both ways led to a dead end.
https://chatgpt.com/share/68af64ca-b6bc-8011-b00b-0e8050c075...
The two images are the rules and the screen shot of box 1 (upper left) in https://sudokupad.app/l310pkxn5d
A human solving it is at https://youtu.be/7etaXRyE3QY (you may want to jump to the rules or the solve if you're not as interested in the community goings on).
Also https://github.com/SakanaAI/Sudoku-Bench https://sakana.ai/sudoku-bench/ (Cracking the Cryptic on AI https://youtu.be/JdHSSNKuIzU )