Evaluating LLMs' Reasoning Over Ordered Procedural Steps
Adrita Anika, Md Messal Monem Miah
TL;DR
This work tackles the problem of procedural reasoning by reconstructing globally ordered sequences from shuffled steps in cooking recipes. The authors introduce a multi-m metric evaluation framework and apply it to zero-shot and few-shot prompting of five instruction-tuned LLMs, analyzing performance as sequence length and shuffling difficulty vary. Key findings show that models improve from 0 to 3 shots but gain little from additional demonstrations, with Qwen-3 and GPT-4o achieving the strongest overall ordering quality while longer and more disordered sequences reveal remaining gaps in precise step-level reasoning. The study provides insight into the limits of current LLMs for procedural tasks and motivates future work on dataset breadth, cross-domain generalization, and targeted fine-tuning to enhance global sequence reconstruction capabilities.
Abstract
Reasoning over procedural sequences, where the order of steps directly impacts outcomes, is a critical capability for large language models (LLMs). In this work, we study the task of reconstructing globally ordered sequences from shuffled procedural steps, using a curated dataset of food recipes, a domain where correct sequencing is essential for task success. We evaluate several LLMs under zero-shot and few-shot settings and present a comprehensive evaluation framework that adapts established metrics from ranking and sequence alignment. These include Kendall's Tau, Normalized Longest Common Subsequence (NLCS), and Normalized Edit Distance (NED), which capture complementary aspects of ordering quality. Our analysis shows that model performance declines with increasing sequence length, reflecting the added complexity of longer procedures. We also find that greater step displacement in the input, corresponding to more severe shuffling, leads to further degradation. These findings highlight the limitations of current LLMs in procedural reasoning, especially with longer and more disordered inputs.
