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

量子飞跃的基准测试:针对量子代码生成的大语言模型评估审计

Benchmarking the Quantum Leap: Auditing LLM Evaluation for Quantum Code Generation

Quantum Science Center, Oak Ridge National Laboratory(橡树岭国家实验室量子科学中心)

Ethan Seefried, Romit Ghosh, Sharmin Afrose, Nicholas Stapleton, Vicente Layton Ortega, Travis Humble, Tirthankar Ghosal

AI总结:

本研究审计量子代码生成的LLM评估,发现基准缺陷会导致评分偏差,提出需验证评估器、隔离候选代码等建议,发布相关工具与结果。

摘要:

大语言模型(LLM)可生成量子程序,但可靠评估仍存在困难,因为不同基准在任务构成、评分及失败处理方面存在差异。我们评估了15种托管的前沿、开放权重、量子专用及检索增强模型,涉及5个量子代码生成套件(共530项任务),并在我们新的QuantumBenchEval(QBE)基准(涵盖6个主题的96项任务)上评估了10种模型。我们报告了自助法置信区间、多重调整配对比较,以及对输出有效性和评估器行为的审计。QiskitHumanEval-Standard接近饱和(pass@1为98.7%),而其Hard变体仍有提升空间(pass@1为63.8%)。在多重比较校正后,主要套件中排名前五的两两比较均不再显著。评估器设计会显著改变评分:移除对未指定量的检查后,GPT-6 Astra的QBE pass@1从0%提升至94.1%(T1),从1.2%提升至92.9%(T6),且未改变模型输出。我们识别出17项QuanBench-117任务存在与基准专属导入相关的共同失败。受控探测还发现未执行的单元测试、规范函数泄漏到候选执行中,以及会阻止原本有效候选的参考导入。这些缺陷可导致假失败和假通过,因此历史QuanBench结果需在隔离评估器下重新验证。总体而言,仅排行榜分数不足以充分表征量子代码生成的进展。我们发布了我们的工具链、逐样本结果及审计工件,并建议验证评估器、隔离候选代码,以及报告不确定性和输出有效性。

英文摘要:

Large language models (LLMs) can generate quantum programs, but reliable evaluation remains difficult because benchmarks differ in task composition, scoring, and failure handling. We evaluate 15 hosted frontier, open-weight, quantum-specialized, and retrieval-augmented models on five quantum code-generation suites (530 tasks), plus 10 models on our new QuantumBenchEval (QBE) benchmark (96 tasks across six topics). We report bootstrap confidence intervals, multiplicity-adjusted paired comparisons, and audits of output validity and evaluator behavior. QiskitHumanEval-Standard approaches saturation (98.7% pass@1), while its Hard variant retains headroom (63.8%). None of the five top-two comparisons across primary suites remains significant after multiple-comparison correction. Evaluator design substantially changes scores: removing checks for unspecified quantities raises GPT-6 Astra's QBE pass@1 from 0% to 94.1% (T1) and from 1.2% to 92.9% (T6), without changing model outputs. We identify 17 QuanBench-117 tasks with shared failures linked to benchmark-owned imports. Controlled probes also reveal unexecuted unit tests, leakage of canonical functions into candidate execution, and reference imports that block otherwise valid candidates. These defects can produce both false failures and false passes, so historical QuanBench results require revalidation under an isolated evaluator. Overall, leaderboard scores alone do not adequately characterize progress in quantum code generation. We release our harness, per-sample results, and audit artifacts and recommend validating evaluators, isolating candidate code, and reporting uncertainty and output validity.

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

↑