mlsanityData to 7 Oct 2026

Automated Consistency Analysis of LLMs

arXiv 2502.07036 ↗First posted 10 Feb 2025cs.CR cs.AI cs.LGcited by 4

Not on the map. Why?

Abstract (arXiv)

Generative AI (Gen AI) with large language models (LLMs) are being widely adopted across the industry, academia and government. Cybersecurity is one of the key sectors where LLMs can be and/or are already being used. There are a number of problems that inhibit the adoption of trustworthy Gen AI and LLMs in cybersecurity and such other critical areas. One of the key challenge to the trustworthiness and reliability of LLMs is: how consistent an LLM is in its responses? In this paper, we have analyzed and developed a formal definition of consistency of responses of LLMs. We have formally defined what is consistency of responses and then develop a framework for consistency evaluation. The paper proposes two approaches to validate consistency: self-validation, and validation across multiple LLMs. We have carried out extensive experiments for several LLMs such as GPT4oMini, GPT3.5, Gemini, Cohere, and Llama3, on a security benchmark consisting of several cybersecurity questions: informational and situational. Our experiments corroborate the fact that even though these LLMs are being considered and/or already being used for several cybersecurity tasks today, they are often inconsistent in their responses, and thus are untrustworthy and unreliable for cybersecurity.

Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Builds on 16 of its 45 references that are in the map. First posted on arXiv 10 Feb 2025.

Builds on

16 of 45 references.

References · 16

  1. 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,393
  2. 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,464
  3. 2022BLOOM: A 176B-Parameter Open-Access Multilingual Language Modelcited by 1,968
  4. 2023Check Your Facts and Try Again: Improving Large Language Models with External Knowledge and Automated Feedbackcited by 351
  5. 2023Multi-Agent Collaboration: Harnessing the Power of Intelligent LLM Agentscited by 329
  6. 2024Hallucination is Inevitable: An Innate Limitation of Large Language Modelscited by 329
  7. 2023Summary of ChatGPT-Related Research and Perspective Towards the Future of Large Language Modelscited by 152
  8. 2024Beyond Functional Correctness: Exploring Hallucinations in LLM-Generated Codecited by 106
  9. 2023How Secure is Code Generated by ChatGPT?cited by 77
  10. 2024A New Era in LLM Security: Exploring Security Concerns in Real-World LLM-based Systemscited by 74
  11. 2023Consistency Analysis of ChatGPTcited by 37
  12. 2022Validating Large Language Models with ReLMcited by 33
4 more
  1. 2023LLM for SoC Security: A Paradigm Shiftcited by 22
  2. 2024LLMs in Web Development: Evaluating LLM-Generated PHP Code Unveiling Vulnerabilities and Limitationscited by 21
  3. 2024Analyzing and Mitigating (with LLMs) the Security Misconfigurations of Helm Charts from Artifact Hubcited by 8
  4. 2024Mixture of Experts for Network Optimization: A Large Language Model-enabled Approachcited by 7

Built on by

Cited by year

Citing papers per year: 2025: 4.

4 papers.