PBEBench: A Multi-Step Programming by Examples Reasoning Benchmark inspired by Historical Linguistics

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Naik, Atharva, Prakam, Mathur, Yash, Agrawal, Darsh, Kapadnis, Manav, An, Yuwei, Marr, Clayton, Rose, Carolyn, Mortensen, David
Format: Preprint
Publié: 2025
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866915782586269696
author Naik, Atharva
Prakam
Mathur, Yash
Agrawal, Darsh
Kapadnis, Manav
An, Yuwei
Marr, Clayton
Rose, Carolyn
Mortensen, David
author_facet Naik, Atharva
Prakam
Mathur, Yash
Agrawal, Darsh
Kapadnis, Manav
An, Yuwei
Marr, Clayton
Rose, Carolyn
Mortensen, David
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2505_23126
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle PBEBench: A Multi-Step Programming by Examples Reasoning Benchmark inspired by Historical Linguistics
Naik, Atharva
Prakam
Mathur, Yash
Agrawal, Darsh
Kapadnis, Manav
An, Yuwei
Marr, Clayton
Rose, Carolyn
Mortensen, David
Computation and Language
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.
title PBEBench: A Multi-Step Programming by Examples Reasoning Benchmark inspired by Historical Linguistics
topic Computation and Language
url https://arxiv.org/abs/2505.23126