AICrypto:评估大型语言模型的密码学能力
AICrypto: Evaluating Cryptography Capabilities of Large Language Models
AI总结:
构建AICrypto基准测试,通过多项选择题、夺旗挑战和证明题评估LLM在密码学知识记忆、漏洞利用和形式推理方面的能力,发现最先进模型在常规任务上匹配或超越人类专家,但在抽象概念理解和多步推理上仍有不足。
摘要:
我们构建了 extbf{AICrypto},一个旨在评估大型语言模型(LLM)密码学能力的综合基准测试。该基准测试包含135道多项选择题、150道夺旗挑战题和30道证明题,涵盖了从知识记忆到漏洞利用和形式推理的广泛技能。所有任务均由密码学专家仔细审查或构建,以提高正确性和严谨性。对于每个证明题,我们提供了详细的评分标准和参考答案,实现了自动化评分,与人类专家评估高度相关。我们引入了强人类专家性能基线,用于所有任务类型的比较。我们对17个领先LLM的评估显示,最先进的模型在记忆密码学概念、利用常见漏洞和常规证明方面匹配甚至超越人类专家。然而,我们的分析表明,它们仍然缺乏对抽象数学概念的深入理解,并且在需要多步推理和动态分析的任务上存在困难。我们希望这项工作能为LLM在密码学应用中的未来研究提供见解。我们的代码和数据集可在https://github.com/wangyu-ovo/aicrypto-agent获取。
英文摘要:
We build \textbf{AICrypto}, a comprehensive benchmark designed to evaluate the cryptography capabilities of large language models (LLMs). The benchmark comprises 135 multiple-choice questions, 150 capture-the-flag challenges, and 30 proof problems, covering a broad range of skills from knowledge memorization to vulnerability exploitation and formal reasoning. All tasks are carefully reviewed or constructed by cryptography experts to improve correctness and rigor. For each proof problem, we provide detailed scoring rubrics and reference solutions that enable automated grading, achieving high correlation with human expert evaluations. We introduce strong human expert performance baselines for comparison across all task types. Our evaluation of 17 leading LLMs reveals that state-of-the-art models match or even surpass human experts in memorizing cryptographic concepts, exploiting common vulnerabilities, and routine proofs. However, our analysis reveals that they still lack a deep understanding of abstract mathematical concepts and struggle with tasks that require multi-step reasoning and dynamic analysis. We hope this work could provide insights for future research on LLMs in cryptographic applications. Our code and dataset are available at https://github.com/wangyu-ovo/aicrypto-agent.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。