CryptoQA: A Large-scale Question-answering Dataset for AI-assisted Cryptography

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Elfares, Mayar, Reisert, Pascal, Dietz, Tilman, Barman, Manpa, Zaki, Ahmed, Küsters, Ralf, Bulling, Andreas
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912743049658368
author Elfares, Mayar
Reisert, Pascal
Dietz, Tilman
Barman, Manpa
Zaki, Ahmed
Küsters, Ralf
Bulling, Andreas
author_facet Elfares, Mayar
Reisert, Pascal
Dietz, Tilman
Barman, Manpa
Zaki, Ahmed
Küsters, Ralf
Bulling, Andreas
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2512_02625
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle CryptoQA: A Large-scale Question-answering Dataset for AI-assisted Cryptography
Elfares, Mayar
Reisert, Pascal
Dietz, Tilman
Barman, Manpa
Zaki, Ahmed
Küsters, Ralf
Bulling, Andreas
Cryptography and Security
Artificial Intelligence
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.
title CryptoQA: A Large-scale Question-answering Dataset for AI-assisted Cryptography
topic Cryptography and Security
Artificial Intelligence
url https://arxiv.org/abs/2512.02625