arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2511.04688cs.CLcs.LG
收藏

评估大语言模型在有序程序步骤上的推理能力

Evaluating LLMs' Reasoning Over Ordered Procedural Steps

Amazon(亚马逊公司);Texas A&M University(德克萨斯A&M大学)

Adrita Anika, Md Messal Monem Miah

AI总结:

本文针对大语言模型的有序程序步骤推理能力,基于食谱数据集构建步骤排序任务,结合多类序列评估指标开展零样本、少样本评测,揭示了当前模型在长序列、高打乱程度输入下的程序推理局限。

摘要:

对步骤顺序直接影响结果的程序序列进行推理,是大语言模型(LLM)的一项关键能力。本研究中,我们使用精心整理的食谱数据集(该领域中正确的步骤排序对任务成功至关重要),研究从打乱的程序步骤中重建全局有序序列的任务。我们在零样本和少样本设置下评估了多个大语言模型,并提出了一个综合评估框架,该框架适配了来自排序和序列对齐领域的成熟指标,包括肯德尔tau系数、归一化最长公共子序列(NLCS)和归一化编辑距离(NED),这些指标可捕捉排序质量的互补维度。我们的分析表明,模型性能随序列长度增加而下降,反映出更长程序带来的额外复杂度。我们还发现,输入中步骤位移越大(对应打乱程度越严重),性能下降越明显。这些发现凸显了当前大语言模型在程序推理上的局限性,尤其是面对更长、更无序的输入时。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑