Abstract
Various human activities can be abstracted into a sequence of actions in natural text, such as cooking, repairing, or manufacturing. Such action sequences heavily depend on the executing order, while disorder in action sequences leads to the failure of further task execution by robots or AI agents. Therefore, to verify the order reasoning capability of current neural models in sequential tasks, we propose a challenging benchmark named STEPS. STEPS involves two subtask settings, focusing on determining the rationality of a given next step in recipes and selecting the reasonable step from a multi-choice question, respectively. We describe the data construction and task formulations, and benchmark most significant Large Language Models (LLMs). The experimental results demonstrate that: 1) The commonsense reasoning of action orders in sequential tasks is challenging to resolve via zero-shot prompting or few-shot in-context learning for LLMs; 2) Prompting methods still significantly lag behind tuning-based methods on STEPS.
Introduction
Humans intuitively understand the causal dependencies inherent in daily tasks—for instance, one must preheat an oven before baking. This "order reasoning" is a cornerstone of functional intelligence. However, Large Language Models (LLMs) primarily learn through statistical patterns in text rather than physical experience. While an LLM might recite a recipe, it may not understand why one step must follow another. If AI agents are to assist in the real world, they cannot afford to make disordered mistakes that lead to failed tasks or safety hazards. The STEPS benchmark was created to address the lack of rigorous testing for this specific sequential logic.
The STEPS Benchmark
The benchmark is built upon the FOOD.COM RECIPES dataset, containing over 18 years of web-crawled cooking data. The researchers filtered the data to include recipes with 4 to 10 steps, ensuring sequences were long enough to be challenging but short enough for model context windows. STEPS consists of two primary subtasks:
- Classification Setting (STEPS-CLS): The model is provided with previous steps and a candidate "next step." It must decide if that step is reasonable (Yes/No). This dataset includes 2.68 million training samples.
- Multi-Choice Setting (STEPS-MC): The model is given previous steps and must choose the correct next step from two options: the actual ground-truth step and a "distractor" step that appears much later in the same recipe. This dataset includes 298,000 training samples.
Experimental Setup
The researchers evaluated three major families of LLMs—GPT-2, OPT, and BLOOM—across various sizes. These models were tested using three paradigms:
- Zero-shot: Querying the model directly without examples.
- Few-shot (In-Context Learning): Providing four balanced examples in the prompt.
- Fine-tuning: Training models specifically on the STEPS training sets.
Key Results and Insights
The "Yes-Man" Bias
In zero-shot classification, LLMs (particularly the GPT-2 family) showed a massive bias toward the "positive" class. They frequently labeled almost any cooking-related sentence as a "reasonable next step," leading to high sensitivity but near-zero specificity. Consequently, many models had a "G-Mean" (a metric balancing sensitivity and specificity) as low as 6.1%.
Multi-Choice Effectiveness
The multi-choice format proved to be a more effective way to evaluate LLMs. By comparing the perplexity (likelihood) of two different sequences, models were better able to distinguish the correct order than when making an absolute Yes/No judgment. The best-performing model in this setting was OPT-30B, achieving 71.7% accuracy.
The Impact of Fine-tuning
Scaling model size did not always lead to better order reasoning in zero-shot settings; for example, OPT-30B performed worse on classification than some smaller counterparts. However, fine-tuning significantly boosted performance. Fine-tuning GPT-2 Large raised its G-Mean from 6.1% to 78.1%, proving that supervised learning is currently far more effective than prompting for this type of logical reasoning.
Conclusion
The STEPS benchmark reveals that while the knowledge of step order may exist within pre-trained weights, LLMs require specific alignment to use that knowledge for logical reasoning rather than just word prediction. Current models still lack explicit "world models" of physical constraints. Future research should expand this benchmark to other domains like manufacturing and explore methods like Chain-of-Thought (CoT) prompting to improve physical logic.
Summary updated