SortBench:基于列表排序能力的大语言模型基准测试
SortBench: Benchmarking LLMs based on their ability to sort lists
AI总结:
本文提出SortBench基准,通过可扩展难度的列表排序任务评估七个前沿LLM,揭示其在长列表输入忠实性、语法与语义混淆及测试时推理过度思考等方面的缺陷。
摘要:
排序对人类智能而言是一项繁琐但简单的任务,并且可以通过算法相当容易地解决。然而,对于大语言模型(LLMs)来说,这项任务却出人意料地困难,因为排序的某些特性属于 LLMs 已知的弱点:忠实于输入数据、在值之间进行逻辑比较,以及严格区分语法(用于排序)和语义(通常通过嵌入学习)。在本文中,我们描述了新的 SortBench 基准测试,该基准面向 LLMs,具有不同的难度,并且可以在难度上轻松扩展。我们将该基准应用于七个最先进的 LLMs,包括当前的测试时推理模型。我们的结果表明,虽然 o3-mini 模型在总体上非常擅长排序,但如果字符串被定义为混合语法和语义方面,例如要求对以单词形式写出的数字进行排序,即使该模型也会被欺骗。此外,所有模型在长列表的输入忠实性方面都存在问题,即它们会丢弃项目并添加新项目。我们的结果还表明,测试时推理倾向于过度思考问题,从而导致性能下降。最后,没有测试时推理的模型(如 GPT-4o)并不比推理模型差多少。
英文摘要:
Sorting is a tedious but simple task for human intelligence and can be solved fairly easily algorithmically. However, for Large Language Models (LLMs) this task is surprisingly hard, as some properties of sorting are among known weaknesses of LLMs: being faithful to the input data, logical comparisons between values, and strictly differentiating between syntax (used for sorting) and semantics (typically learned by embeddings). Within this paper, we describe the new SortBench benchmark for LLMs that comes with different difficulties and that can be easily scaled in terms of difficulty. We apply this benchmark to seven state-of-the-art LLMs, including current test-time reasoning models. Our results show that while the o3-mini model is very capable at sorting in general, even this can be fooled if strings are defined to mix syntactical and semantical aspects, e.g., by asking to sort numbers written-out as word. Furthermore, all models have problems with the faithfulness to the input of long lists, i.e., they drop items and add new ones. Our results also show that test-time reasoning has a tendency to overthink problems which leads to performance degradation. Finally, models without test-time reasoning like GPT-4o are not much worse than reasoning models.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。