arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2404.18766cs.AI
收藏

PECC:问题提取与编码挑战

PECC: Problem Extraction and Coding Challenges

Patrick Haller, Jonas Golde, Alan Akbik

AI总结:

本文提出PECC基准,包含2396个源自AoC和Project Euler的问题,评估LLMs理解叙事问题、提取需求并生成代码的能力,发现GPT-3.5-Turbo在AoC通过率为50%而Euler仅8%。

摘要:

大型语言模型(LLMs)的最新进展展示了其在代码生成、问题解决和推理等各种任务中的卓越能力。现有基准测试孤立地评估任务,但LLMs能在多大程度上理解散文式任务、识别潜在问题,然后生成适当的代码解决方案,仍有待探索。为了解决这一差距,我们引入了PECC,这是一个源自Advent Of Code (AoC)挑战和Project Euler的新颖基准,包含2396个问题。与传统基准不同,PECC要求LLMs解释叙事嵌入的问题,提取需求,并生成可执行代码。我们数据集的一个关键特征是在基于聊天的评估中自然语言提示所增加的复杂性,反映了现实世界指令的歧义性。结果显示,在叙事问题和中性问题之间模型表现存在差异,在基于数学的Euler子集中存在特定挑战,GPT-3.5-Turbo通过了50%的AoC挑战,但在Euler问题上仅通过了8%。通过探究LLMs能力的极限,我们的基准提供了一个框架,以监控和评估LLMs作为通用问题解决器的后续进展。

英文摘要:

Recent advancements in large language models (LLMs) have showcased their exceptional abilities across various tasks, such as code generation, problem-solving and reasoning. Existing benchmarks evaluate tasks in isolation, yet the extent to which LLMs can understand prose-style tasks, identify the underlying problems, and then generate appropriate code solutions is still unexplored. Addressing this gap, we introduce PECC, a novel benchmark derived from Advent Of Code (AoC) challenges and Project Euler, including 2396 problems. Unlike conventional benchmarks, PECC requires LLMs to interpret narrative-embedded problems, extract requirements, and generate executable code. A key feature of our dataset is the complexity added by natural language prompting in chat-based evaluations, mirroring real-world instruction ambiguities. Results show varying model performance between narrative and neutral problems, with specific challenges in the Euler math-based subset with GPT-3.5-Turbo passing 50% of the AoC challenges and only 8% on the Euler problems. By probing the limits of LLMs' capabilities, our benchmark provides a framework to monitor and assess the subsequent progress of LLMs as a universal problem solver.

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

↑