arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2512.10713cs.SEcs.AI
收藏

PACIFIC:用于检查精确自动指令遵循的代码基准生成框架

PACIFIC: a framework for generating benchmarks to check Precise Automatically Checked Instruction Following In Code

IBM Research(IBM研究)

Itay Dreyfuss, Antonio Abu Nassar, Samuel Ackerman, Axel Ben David, Eitan Farchi, Rami Katan, Orna Raz, Marcel Zalmanovici

AI总结:

PACIFIC框架通过生成具有明确预期输出的基准,评估LLM在代码指令遵循和dry运行能力上的表现,提供了一种抗污染且可扩展的评估方法。

摘要:

大型语言模型(LLM)基于的代码助手已经作为生成式AI的强大应用出现,展示了在代码生成和理解方面的 impressive 能力。这些系统的一个关键要求是其准确遵循用户指令的能力。我们提出了精确自动检查指令遵循在代码中的(PACIFIC),一种新的框架,旨在自动生成基准,严格评估LLM在顺序指令遵循和代码dry运行能力方面的表现,同时允许控制基准难度。PACIFIC产生具有明确定义预期输出的基准变体,通过简单的输出比较实现直接且可靠的评估。与现有方法通常依赖工具使用或代理行为不同,我们的工作隔离并评估LLM内在的推理能力,逐步推理代码行为,而不进行执行(dry运行)以及遵循指令。此外,我们的框架通过促进 effortless 生成新的基准变体来缓解训练数据污染。我们通过生成涵盖不同难度级别的基准套件并评估多个最先进的LLM来验证我们的框架。我们的结果表明,PACIFIC能够生成越来越具有挑战性的基准,有效区分指令遵循和dry运行能力,即使在高级模型之间。总体而言,我们的框架提供了一种可扩展、抗污染的方法,用于评估LLM在代码相关任务中的核心能力。

英文摘要:

Large Language Model (LLM)-based code assistants have emerged as a powerful application of generative AI, demonstrating impressive capabilities in code generation and comprehension. A key requirement for these systems is their ability to accurately follow user instructions. We present Precise Automatically Checked Instruction Following In Code (PACIFIC), a novel framework designed to automatically generate benchmarks that rigorously assess sequential instruction-following and code dry-running capabilities in LLMs, while allowing control over benchmark difficulty. PACIFIC produces benchmark variants with clearly defined expected outputs, enabling straightforward and reliable evaluation through simple output comparisons. In contrast to existing approaches that often rely on tool usage or agentic behavior, our work isolates and evaluates the LLM's intrinsic ability to reason through code behavior step-by-step without execution (dry running) and to follow instructions. Furthermore, our framework mitigates training data contamination by facilitating effortless generation of novel benchmark variations. We validate our framework by generating a suite of benchmarks spanning a range of difficulty levels and evaluating multiple state-of-the-art LLMs. Our results demonstrate that PACIFIC can produce increasingly challenging benchmarks that effectively differentiate instruction-following and dry running capabilities, even among advanced models. Overall, our framework offers a scalable, contamination-resilient methodology for assessing core competencies of LLMs in code-related tasks.

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

↑