mlsanityData to 7 Oct 2026

CyberMetric: A Benchmark Dataset based on Retrieval-Augmented Generation for Evaluating LLMs in Cybersecurity Knowledge

arXiv 2402.07688 ↗First posted 12 Feb 2024cs.AI cs.CRcited by 55

On the map: Retrieval-augmented generation → Privacy and security of RAG

Abstract (arXiv)

Large Language Models (LLMs) are increasingly used across various domains, from software development to cyber threat intelligence. Understanding all the different fields of cybersecurity, which includes topics such as cryptography, reverse engineering, and risk assessment, poses a challenge even for human experts. To accurately test the general knowledge of LLMs in cybersecurity, the research community needs a diverse, accurate, and up-to-date dataset. To address this gap, we present CyberMetric-80, CyberMetric-500, CyberMetric-2000, and CyberMetric-10000, which are multiple-choice Q&A benchmark datasets comprising 80, 500, 2000, and 10,000 questions respectively. By utilizing GPT-3.5 and Retrieval-Augmented Generation (RAG), we collected documents, including NIST standards, research papers, publicly accessible books, RFCs, and other publications in the cybersecurity domain, to generate questions, each with four possible answers. The results underwent several rounds of error checking and refinement. Human experts invested over 200 hours validating the questions and solutions to ensure their accuracy and relevance, and to filter out any questions unrelated to cybersecurity. We have evaluated and compared 25 state-of-the-art LLM models on the CyberMetric datasets. In addition to our primary goal of evaluating LLMs, we involved 30 human participants to solve CyberMetric-80 in a closed-book scenario. The results can serve as a reference for comparing the general cybersecurity knowledge of humans and LLMs. The findings revealed that GPT-4o, GPT-4-turbo, Mixtral-8x7B-Instruct, Falcon-180B-Chat, and GEMINI-pro 1.0 were the best-performing LLMs. Additionally, the top LLMs were more accurate than humans on CyberMetric-80, although highly experienced human experts still outperformed small models such as Llama-3-8B, Phi-2 or Gemma-7b.

Key facts. Cited by 55 papers in the map (data through 7 Oct 2026). Placed in Privacy and security of RAG, one of 15 directions in Retrieval-augmented generation. Builds on 15 of its 27 references that are in the map. First posted on arXiv 12 Feb 2024.

Builds on

15 of 27 references.

References · 15

  1. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
  2. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  3. 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,203
  4. 2018Can a Suit of Armor Conduct Electricity? A New Dataset for Open Book Question Answeringcited by 2,114
  5. 2022Large Language Models Encode Clinical Knowledgecited by 1,807
  6. 2023BloombergGPT: A Large Language Model for Financecited by 923
  7. 2023Large Language Models for Software Engineering: A Systematic Literature Reviewcited by 389
  8. 2023Sentiment Analysis in the Era of Large Language Models: A Reality Checkcited by 262
  9. 2019QASC: A Dataset for Question Answering via Sentence Compositioncited by 248
  10. 2017DuReader: a Chinese Machine Reading Comprehension Dataset from Real-world Applicationscited by 110
  11. 2018DRCD: a Chinese Machine Reading Comprehension Datasetcited by 57
  12. 2023A New Era in Software Security: Towards Self-Healing Software via Large Language Models and Formal Verificationcited by 42
3 more
  1. 2023SecQA: A Concise Question-Answering Dataset for Evaluating Large Language Models in Computer Securitycited by 37
  2. 2023CodeApex: A Bilingual Programming Evaluation Benchmark for Large Language Modelscited by 15
  3. 2022Aligning Offline Metrics and Human Judgments of Value for Code Generation Modelscited by 14

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 3; 2025: 37; 2026: 15.

55 papers.

Sort:

By area:

  1. 2025From LLM Reasoning to Autonomous AI Agents: A Comprehensive Reviewcited by 146
  2. 2025Llama-3.1-FoundationAI-SecurityLLM-Base-8B Technical Reportcited by 28
  3. 2024SecBench: A Comprehensive Multi-Dimensional Benchmarking Dataset for LLMs in Cybersecuritycited by 21
  4. 2025Llama-3.1-FoundationAI-SecurityLLM-8B-Instruct Technical Reportcited by 21
  5. 2025PurpCode: Reasoning for Safer Code Generationcited by 17
  6. 2025Training Language Model Agents to Find Vulnerabilities with CTF-Dojocited by 15
  7. 2025OCCULT: Evaluating Large Language Models for Offensive Cyber Operation Capabilitiescited by 12
  8. 2025CyberSOCEval: Benchmarking LLMs Capabilities for Malware Analysis and Threat Intelligence Reasoningcited by 12
  9. 2025Cybersecurity AI Benchmark (CAIBench): A Meta-Benchmark for Evaluating Cybersecurity AI Agentscited by 11
  10. 2025Position: Text Embeddings Should Capture Implicit Semantics, Not Just Surface Meaningcited by 10
  11. 2025Large Language Models for Security Operations Centers: A Comprehensive Surveycited by 9
  12. 2026Golden Goose: A Simple Trick to Synthesize Unlimited RLVR Tasks from Unverifiable Internet Textcited by 9
38 more
  1. 2025SV-TrustEval-C: Evaluating Structure and Semantic Reasoning in Large Language Models for Source Code Vulnerability Analysiscited by 8
  2. 2025Dynamic Risk Assessments for Offensive Cybersecurity Agentscited by 7
  3. 2025PACEbench: A Framework for Evaluating Practical AI Cyber-Exploitation Capabilitiescited by 6
  4. 2024Dynamic Intelligence Assessment: Benchmarking LLMs on the Road to AGI with a Focus on Model Confidencecited by 5
  5. 2025Large Language Models Are Unreliable for Cyber Threat Intelligencecited by 5
  6. 2024Multi-Agent Collaboration in Incident Response with Large Language Modelscited by 4
  7. 2025DFIR-Metric: A Benchmark Dataset for Evaluating Large Language Models in Digital Forensics and Incident Responsecited by 4
  8. 2025DefenderBench: A Toolkit for Evaluating Language Agents in Cybersecurity Environmentscited by 4
  9. 2025Less Data, More Security: Advancing Cybersecurity LLMs Specialization via Resource-Efficient Domain-Adaptive Continuous Pre-training with Minimal Tokenscited by 4
  10. 2025Benchmarking LLM-Assisted Blue Teaming via Standardized Threat Huntingcited by 4
  11. 2025AthenaBench: A Dynamic Benchmark for Evaluating LLMs in Cyber Threat Intelligencecited by 4
  12. 2025AttackSeqBench: Benchmarking the Capabilities of LLMs for Attack Sequences Understandingcited by 3
  13. 2025CyberLLMInstruct: A Pseudo-malicious Dataset Revealing Safety-performance Trade-offs in Cyber Security LLM Fine-tuningcited by 3
  14. 2025Specification and Evaluation of Multi-Agent LLM Systems -- Prototype and Cybersecurity Applicationscited by 3
  15. 2025AutoBnB-RAG: Enhancing Multi-Agent Incident Response with Retrieval-Augmented Generationcited by 3
  16. 2025Toward Cybersecurity-Expert Small Language Modelscited by 3
  17. 2025MEQA: A Meta-Evaluation Framework for Question & Answer LLM Benchmarkscited by 2
  18. 2025CTIConnect: A Benchmark for Retrieval-Augmented LLMs over Heterogeneous Cyber Threat Intelligencecited by 2
  19. 2025HackWorld: Evaluating Computer-Use Agents on Exploiting Web Application Vulnerabilitiescited by 2
  20. 2025Adapting Large Language Models to Emerging Cybersecurity using Retrieval Augmented Generationcited by 2
  21. 2026Minerva: Reinforcement Learning with Verifiable Rewards for Cyber Threat Intelligence LLMscited by 2
  22. 2026Capture the Flags: Family-Based Evaluation of Agentic LLMs via Semantics-Preserving Transformationscited by 2
  23. 2025ACSE-Eval: Can LLMs threat model real-world cloud infrastructure?cited by 1
  24. 2025Fine-tuning of Large Language Models for Domain-Specific Cybersecurity Knowledgecited by 1
  25. 2025A Neuro-Symbolic Multi-Agent Approach to Legal-Cybersecurity Knowledge Integrationcited by 1
  26. 2025LLM-based Multi-class Attack Analysis and Mitigation Framework in IoT/IIoT Networkscited by 1
  27. 2025SCOUT: A Defense Against Data Poisoning Attacks in Fine-Tuned Language Modelscited by 1
  28. 2026RedSage: A Cybersecurity Generalist LLMcited by 1
  29. 2026RuleForge: Automated Generation and Validation for Web Vulnerability Detection at Scalecited by 1
  30. 2026CyberCertBench: Evaluating LLMs in Cybersecurity Certification Knowledgecited by 1
  31. 2025How Good LLM-Generated Password Policies Are?cited by 0
  32. 2025ForensicsData: A Digital Forensics Dataset for Large Language Modelscited by 0
  33. 2025RAG-targeted Adversarial Attack on LLM-based Threat Detection and Mitigation Frameworkcited by 0
  34. 2025Assessing the Software Security Comprehension of Large Language Modelscited by 0
  35. 2026Proactively Detecting Threats: A Novel Approach Using LLMscited by 0
  36. 2026LitBench: A Graph-Centric Large Language Model Benchmarking Tool For Literature Taskscited by 0
  37. 2026Less Data Approximates More: Earning Faithful Confidence in High-Stakes Domainscited by 0
  38. 2026Hierarchical Retrieval Augmented Generation for Adversarial Technique Annotation in Cyber Threat Intelligence Textcited by 0

50 most cited of 55 All 55 (JSON)

Similar, not cited

Close in wording, no citation either way

  1. 2025Large Language Models in Cybersecurity: Applications, Vulnerabilities, and Defense Techniques
  2. 2023Advancing TTP Analysis: Harnessing the Power of Large Language Models with Retrieval Augmented Generation
  3. 2025Leveraging Large Language Models for Cybersecurity Risk Assessment -- A Case from Forestry Cyber-Physical Systems
  4. 2024NYU CTF Bench: A Scalable Open-Source Benchmark Dataset for Evaluating LLMs in Offensive Security
  5. 2025Retrieval Augmented Generation-based Large Language Models for Bridging Transportation Cybersecurity Legal Knowledge Gaps
  6. 2024Ollabench: Evaluating LLMs' Reasoning for Human-centric Interdependent Cybersecurity
  7. 2026Large Language Models (LLMs) and Generative AI in Cybersecurity and Privacy: A Survey of Dual-Use Risks, AI-Generated Malware, Explainability, and Defensive Strategies
  8. 2024AttackQA: Development and Adoption of a Dataset for Assisting Cybersecurity Operations using Fine-tuned and Open-Source LLMs