用编程例子模拟历史语言学推演,测试大模型的归纳推理能力。
PBEBench: A Multi-Step Programming by Examples Reasoning Benchmark inspired by Historical Linguistics
- 设计字符串重写任务,通过多步程序生成模拟语言演化推演。
- 难例求解率低于5%,即使顶尖模型也远未达到真实语言学需求。
- 适合评估模型长链推理与动态计算能力,尤其关注可扩展性研究者。
尽管现有基准多聚焦于数学、编码或数据处理等具体领域,但很少脱离领域细节,纯粹评估推理能力本身。本文提出一种受历史语言学正向重构任务启发的新类型基准——PBEBench,以编程举例(Programming by Examples)形式呈现,任务要求生成一系列简单字符串重写程序,将输入字符串序列转换为期望输出。我们构建了全自动流水线,可程序化生成可控难度的问题,实现大规模可扩展评估且避免数据污染。据此构建两个基准:PBEBench-Lite用于高效分层评估不同能力模型;PBEBench则要求模型推导出复杂度接近历史语言学家水平的程序。实验表明,利用测试时计算或长链思维(LCoT)的模型表现显著优于无此能力者;然而,即使是先进模型,在难例(真实程序级数分别为20和30)上的求解率仍低于5%,远未满足真实历史语言学需求,即便采用昂贵的缩放技术亦然。此外,我们还使用gpt-oss-120b研究不同缩放策略与超参数对生成数据难度的影响。
原文摘要 · Abstract (English)
Although many benchmarks evaluate the reasoning abilities of Large Language Models (LLMs) within domains such as mathematics, coding, or data wrangling, few abstract away from domain specifics to examine reasoning as a capability in and of itself. We contribute a novel type of benchmark evaluating the inductive reasoning capabilities of LLMs that is inspired by the forward reconstruction task from historical linguistics but is formulated in an extremely simple, general way (in the form of Programming by Examples). The task involves generating a cascade of simple string rewrite programs to transform a given list of input strings into a list of desired output strings. We present a fully automated pipeline that programmatically generates problems of this type with controllable difficulty, enabling scalable evaluation of reasoning models while avoiding contamination. Using this approach, we construct two benchmarks: PBEBench-Lite, which efficiently stratifies models of varying capabilities, and PBEBench, which requires models to induce programs similar in complexity to those constructed by historical linguists. Our experiments reveal a substantial performance gap between models that leverage test-time compute or LCoT (long chain-of-thought) reasoning and those that do not. Moreover, although recent models show promise, the solve rate for both of them drops below 5% for hard instances of the PBEBench dataset (ground truth cascade lengths of 20 and 30, respectively), falling well short of realistic historical linguistics requirements even with computationally expensive, popular scaling techniques from the PBE and reasoning literature. Additionally, we also study the effectiveness of different scaling strategies and the impact of various hyperparameters on the difficulty of the generated data using gpt-oss-120b, the best-performing open-source model.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。