arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2406.04229cs.LGcs.AIcs.CLcs.DSstat.ML
收藏

CLRS-Text 算法推理语言基准

The CLRS-Text Algorithmic Reasoning Language Benchmark

Google DeepMind(谷歌DeepMind);University of Maryland(马里兰大学);Carnegie Mellon University(卡内基梅隆大学)

Larisa Markeeva, Sean McLeish, Borja Ibarz, Wilfried Bounsi, Olga Kozlova, Alex Vitvitskyi, Charles Blundell, Tom Goldstein, Avi Schwarzschild, Petar Veličković

AI总结:

本文提出 CLRS-Text 基准,将经典算法执行轨迹文本化,支持三十种算法任务的程序化生成,并通过微调多种语言模型验证其作为通用执行器的能力,揭示了新的推理挑战。

摘要:

从语言模型中激发推理能力是构建智能系统道路上的关键方向。近期大多数专注于推理的研究都关注在程序化生成的合成基准上的分布外性能,这些基准是专门为评估特定技能而定制的。这一趋势使得结果难以在不同论文之间迁移,从而减缓了进展。三年前,在神经算法推理领域,随着 CLRS 基准的出现,一个类似的问题被识别并纠正。CLRS 是一个数据集生成器,包含来自《算法导论》教科书中经典算法的图执行轨迹。受此启发,我们提出了 CLRS-Text——这些算法轨迹的文本版本。开箱即用,CLRS-Text 能够在任何期望的输入分布下程序化地为三十个多样化、具有挑战性的算法任务生成轨迹数据,同时提供一个标准流水线,在该基准中可以创建任何额外的算法任务。我们在此基准上微调并评估了各种语言模型作为通用执行器,验证了先前的工作,并为语言模型推理社区揭示了一个新颖且有趣的挑战。我们的代码可在 https://github.com/google-deepmind/clrs/tree/master/clrs/_src/clrs_text 获取。

英文摘要:

Eliciting reasoning capabilities from language models (LMs) is a critical direction on the path towards building intelligent systems. Most recent studies dedicated to reasoning focus on out-of-distribution performance on procedurally-generated synthetic benchmarks, bespoke-built to evaluate specific skills only. This trend makes results hard to transfer across publications, slowing down progress. Three years ago, a similar issue was identified and rectified in the field of neural algorithmic reasoning, with the advent of the CLRS benchmark. CLRS is a dataset generator comprising graph execution traces of classical algorithms from the Introduction to Algorithms textbook. Inspired by this, we propose CLRS-Text -- a textual version of these algorithmic traces. Out of the box, CLRS-Text is capable of procedurally generating trace data for thirty diverse, challenging algorithmic tasks across any desirable input distribution, while offering a standard pipeline in which any additional algorithmic tasks may be created in the benchmark. We fine-tune and evaluate various LMs as generalist executors on this benchmark, validating prior work and revealing a novel, interesting challenge for the LM reasoning community. Our code is available at https://github.com/google-deepmind/clrs/tree/master/clrs/_src/clrs_text.

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

↑