arXiv:2410.00151cs.CL2024-10被引 10

用逻辑链生成难题,测试大模型数学推理极限。

Scheherazade: Evaluating Chain-of-Thought Math Reasoning in LLMs with Chain-of-Problems

  • 自动构建复杂数学题:通过前向/后向链式推理生成新问题。
  • 顶尖模型在多层链式题中表现骤降,仅o1-preview保持稳定。
  • 适合研究模型真实推理能力或设计更难评测基准的人。

评估基准对衡量大语言模型(LLM)的推理能力至关重要。然而,随着模型性能提升,现有基准如GSM8K已难以区分先进模型——当前最优模型在该数据集上准确率已超94%(paperwithcode, 2024)。手动构建更难基准成本高且不可扩展。为此,我们提出Scheherazade,一种自动化生成大量挑战性数学推理题的方法,通过逻辑链式结构从少量初始问题出发。提出前向链与后向链两种方法,并引入随机分支以生成复杂推理路径。我们将该方法应用于GSM8K,生成GSM8K-Scheherazade基准,评估3个前沿LLM及OpenAI的o1-preview。结果显示,其他模型在仅几道链式题后性能急剧下降,而o1-preview表现持续稳定,且唯一在后向推理任务中表现更优。代码与数据开源:https://github.com/YoshikiTakashima/scheherazade-code-data。

原文摘要 · Abstract (English)

Benchmarks are critical for measuring Large Language Model (LLM) reasoning capabilities. Some benchmarks have even become the de facto indicator of such capabilities. However, as LLM reasoning capabilities improve, existing widely-used benchmarks such as GSM8K marginally encapsulate model reasoning differentials - most state-of-the-art models for example achieve over 94% accuracy on the GSM8K dataset (paperwithcode, 2024). While constructing harder benchmarks is possible, their creation is often manual, expensive, and unscalable. As such, we present Scheherazade, an automated approach to produce large quantities of challenging mathematical reasoning benchmarks by logically chaining a small starting set of problems. We propose two different chaining methods, forward chaining and backward chaining, which include randomized branching techniques to generate complex reasoning problems. We apply Scheherazade on GSM8K to create GSM8K-Scheherazade and evaluate 3 frontier LLMs and OpenAI's o1-preview on it. We show that while other frontier models' performance declines precipitously at only a few questions chained, our evaluation suggests o1-preview's performance persists, with the flagship OpenAI model the only one to perform better at backward reasoning. Our data and code are available at https://github.com/YoshikiTakashima/scheherazade-code-data.

数学推理评测基准链式思维

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。