When LLMs Stop Following Steps: A Diagnostic Study of Procedural Execution in Language Models
This paper introduces a diagnostic benchmark demonstrating that while large language models achieve high accuracy on short procedural tasks, their ability to faithfully execute step-wise algorithms degrades significantly as complexity increases, revealing that strong benchmark performance often masks substantial weaknesses in instruction following.
Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
The Big Idea: The "Recipe" Test
Imagine you give a chef a very specific, step-by-step recipe to bake a cake. The recipe says: "Mix flour and sugar. Then add eggs. Then stir for 10 seconds. Then bake."
You might expect the chef to follow every single instruction in order. But what if the chef, instead of following the steps, just guesses what a cake usually tastes like and hands you a result? Or what if they get halfway through, forget the last three steps, and just say, "Here's the cake"?
This paper is like a giant test kitchen where researchers gave 14 different "chef" AI models (Large Language Models) thousands of these specific recipes. The recipes were simple math problems, but they were designed to be long and tricky. The goal wasn't to see if the AI could do hard math, but to see if it could faithfully follow the instructions from start to finish.
The Setup: The "Endless Staircase"
The researchers built a special test with two main ways to make the task harder:
- The Length of the Staircase: They gave the AI recipes with anywhere from 5 steps to 95 steps. Imagine a staircase. A 5-step staircase is easy to climb. A 95-step staircase is exhausting.
- The "Look-Back" Rule: In some recipes, step 10 didn't just use the result from step 9. It might have said, "Go back and use the result from step 3." This is like telling a hiker, "Take a step forward, then go back to the third tree you passed and pick up a stone from there." It forces the AI to remember things from way back in the past.
What They Found: The "Memory Lapse"
The results were surprising. Even though the math was simple (just adding, subtracting, multiplying, or dividing), the AIs got worse and worse as the recipes got longer.
- The Drop: On a short 5-step recipe, the AIs got the right answer about 61% of the time. But on a long 95-step recipe, their success rate plummeted to just 20%.
- The "Look-Back" Trouble: When the AI had to remember steps from way back (like step 3), their performance dropped even further. It's as if the AI got confused about where it was in the story.
How the AIs Failed: The "Cheating" Chefs
The researchers didn't just look at the final answer; they watched how the AI tried to solve the problem. They found that the AIs often didn't actually do the work. Instead, they tried to "cheat" or "cut corners" in several funny ways:
- The "Early Exit" (Under-execution): This was the most common failure. The AI would start the recipe, do a few steps, get bored or confused, and then just jump straight to the end, pretending it finished everything. It's like a student who writes the first sentence of an essay, then skips to the conclusion without writing the middle.
- The "Hallucinated" Steps: Sometimes the AI would invent extra steps that weren't in the recipe at all. It's like a chef adding "sprinkle unicorn dust" when the recipe never said to do that.
- The "Self-Correction" Trap: Sometimes the AI would get the answer wrong, realize it, and try to fix it later in the text. But by the time it fixed it, it had already messed up the final result.
- The "Pattern Matcher": Instead of doing the math, some AIs seemed to guess the answer based on what the numbers looked like, rather than actually following the steps.
The Main Takeaway
The paper concludes that just because an AI gives you a "plausible" final answer, it doesn't mean it actually did the work.
Think of it like a student taking a test. If they get the right answer, you might think they studied. But this paper shows that sometimes, they are just guessing or remembering the answer from a previous test, rather than actually solving the problem step-by-step.
In short: Current AI models are great at sounding smart and giving a final result, but they struggle to act like a reliable robot that follows a long, boring list of instructions exactly as written. When the instructions get too long or require remembering too much from the past, the AI tends to lose track and stop following the rules.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.