CryptoQA: 一个大规模问答数据集,用于人工智能辅助密码学
CryptoQA: A Large-scale Question-answering Dataset for AI-assisted Cryptography
AI总结:
CryptoQA是一个大规模问答数据集,旨在评估和训练LLMs在密码学任务中的能力,揭示LLMs在形式推理和数学知识上的不足,推动密码学研究的发展。
摘要:
大型语言模型(LLMs)在许多通用自然语言处理任务中表现出色。然而,它们在执行深度推理和数学分析方面的能力,尤其是在密码学所需复杂任务中,仍然理解不足,这主要是由于缺乏适合评估和训练的数据。为了解决这一差距,我们提出了CryptoQA,这是首个大规模问答(QA)数据集,专门设计用于密码学。CryptoQA包含超过两百万对QA数据,来源于精心挑选的学术资料,同时还包含上下文元数据,可用于测试LLMs的密码学能力,并训练新的LLMs在密码学任务上。我们对15种最先进的LLMs在CryptoQA上进行了基准测试,评估它们的事实准确性、数学推理、一致性、引用、逆向推理以及对对抗样本的鲁棒性。除了定量指标外,我们还提供了专家评审,对模型输出进行定性评估,并建立了一个金标准基准。我们的结果揭示了LLMs在某些任务上的显著性能缺陷,特别是需要形式推理和精确数学知识的任务。这显示了对密码学研究和开发的LLM助手的迫切需求。我们证明,通过使用CryptoQA,LLMs可以被微调以在密码学任务上表现出更好的性能。
英文摘要:
Large language models (LLMs) excel at many general-purpose natural language processing tasks. However, their ability to perform deep reasoning and mathematical analysis, particularly for complex tasks as required in cryptography, remains poorly understood, largely due to the lack of suitable data for evaluation and training. To address this gap, we present CryptoQA, the first large-scale question-answering (QA) dataset specifically designed for cryptography. CryptoQA contains over two million QA pairs drawn from curated academic sources, along with contextual metadata that can be used to test the cryptographic capabilities of LLMs and to train new LLMs on cryptographic tasks. We benchmark 15 state-of-the-art LLMs on CryptoQA, evaluating their factual accuracy, mathematical reasoning, consistency, referencing, backward reasoning, and robustness to adversarial samples. In addition to quantitative metrics, we provide expert reviews that qualitatively assess model outputs and establish a gold-standard baseline. Our results reveal significant performance deficits of LLMs, particularly on tasks that require formal reasoning and precise mathematical knowledge. This shows the urgent need for LLM assistants tailored to cryptography research and development. We demonstrate that, by using CryptoQA, LLMs can be fine-tuned to exhibit better performance on cryptographic tasks.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。