Semantic Consistency for Assuring Reliability of Large Language Models
Not on the map. Why?
Abstract (arXiv)
Large Language Models (LLMs) exhibit remarkable fluency and competence across various natural language tasks. However, recent research has highlighted their sensitivity to variations in input prompts. To deploy LLMs in a safe and reliable manner, it is crucial for their outputs to be consistent when prompted with expressions that carry the same meaning or intent. While some existing work has explored how state-of-the-art LLMs address this issue, their evaluations have been confined to assessing lexical equality of single- or multi-word answers, overlooking the consistency of generative text sequences. For a more comprehensive understanding of the consistency of LLMs in open-ended text generation scenarios, we introduce a general measure of semantic consistency, and formulate multiple versions of this metric to evaluate the performance of various LLMs. Our proposal demonstrates significantly higher consistency and stronger correlation with human evaluations of output consistency than traditional metrics based on lexical consistency. Finally, we propose a novel prompting strategy, called Ask-to-Choose (A2C), to enhance semantic consistency. When evaluated for closed-book question answering based on answer variations from the TruthfulQA benchmark, A2C increases accuracy metrics for pretrained and finetuned LLMs by up to 47%, and semantic consistency metrics for instruction-tuned models by up to 7-fold.
Key facts. Cited by 15 papers in the map (data through 7 Oct 2026). Builds on 29 of its 36 references that are in the map. First posted on arXiv 17 Aug 2023.
Builds on
29 of 36 references.
References · 29
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,601
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
- 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,464
- 2022Scaling Instruction-Finetuned Language Modelscited by 2,997
- 2021TruthfulQA: Measuring How Models Mimic Human Falsehoodscited by 2,919
- 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,665
- 2020DeBERTa: Decoding-enhanced BERT with Disentangled Attentioncited by 2,157
- 2019Language Models as Knowledge Bases?cited by 1,922
- 2021DeBERTaV3: Improving DeBERTa using ELECTRA-Style Pre-Training with Gradient-Disentangled Embedding Sharingcited by 1,219
- 2020BLEURT: Learning Robust Metrics for Text Generationcited by 1,196
17 more
- 2019How Can We Know What Language Models Know?cited by 953
- 2023Semantic Uncertainty: Linguistic Invariances for Uncertainty Estimation in Natural Language Generationcited by 795
- 2019PAWS: Paraphrase Adversaries from Word Scramblingcited by 395
- 2021Measuring and Improving Consistency in Pretrained Language Modelscited by 361
- 2021Do Prompt-Based Models Really Understand the Meaning of their Prompts?cited by 324
- 2022Prompting GPT-3 To Be Reliablecited by 258
- 2023Let's Sample Step by Step: Adaptive-Consistency for Efficient Reasoning and Coding with LLMscited by 111
- 2022Evaluating the Factual Consistency of Large Language Models Through News Summarizationcited by 90
- 2022Prompt Consistency for Zero-Shot Task Generalizationcited by 66
- 2021BeliefBank: Adding Memory to a Pre-Trained Language Model for a Systematic Notion of Beliefcited by 56
- 2022Enhancing Self-Consistency and Performance of Pre-Trained Language Models through Natural Language Inferencecited by 40
- 2022Measuring Reliability of Large Language Models through Semantic Consistencycited by 38
- 2023Sociodemographic Bias in Language Models: A Survey and Forward Pathcited by 27
- 2021P-Adapters: Robustly Extracting Factual Information from Language Models with Diverse Promptscited by 22
- 2023DLAMA: A Framework for Curating Culturally Diverse Facts for Probing the Knowledge of Pretrained Language Modelscited by 17
- 2022Factual Consistency of Multilingual Pretrained Language Modelscited by 15
- 2021Accurate, yet inconsistent? Consistency Analysis on Language Understanding Modelscited by 13
Built on by
Citing papers per year: 2023: 1; 2024: 7; 2025: 5; 2026: 2.
15 papers.
Sort:
By area:
- 2024INSIDE: LLMs' Internal States Retain the Power of Hallucination Detectioncited by 317
- 2025Benchmarking Prompt Sensitivity in Large Language Modelscited by 38
- 2024Logically Consistent Language Models via Neuro-Symbolic Integrationcited by 30
- 2024BeHonest: Benchmarking Honesty in Large Language Modelscited by 20
- 2024Selective Prompt Anchoring for Code Generationcited by 16
- 2024Logical Consistency of Large Language Models in Fact-checkingcited by 15
- 2023Assessing the Reliability of Large Language Model Knowledgecited by 13
- 2025LF-Steering: Latent Feature Activation Steering for Enhancing Semantic Consistency in Large Language Modelscited by 7
- 2025Knowledge Integration for Physics-informed Symbolic Regression Using Pre-trained Large Language Modelscited by 7
- 2026Detecting Misbehaviors of Large Vision-Language Models by Evidential Uncertainty Quantificationcited by 5
- 2024Variability Need Not Imply Error: The Case of Adequate but Semantically Distinct Responsescited by 2
- 2024A Statistical Analysis of LLMs' Self-Evaluation Using Proverbscited by 1
3 more
- 2025Visual hallucination detection in large vision-language models via evidential conflictcited by 0
- 2025Is GPT-OSS All You Need? Benchmarking Large Language Models for Financial Intelligence and the Surprising Efficiency Paradoxcited by 0
- 2026Assessing Reliability of BERT-Based Models on Question Answering Taskscited by 0
- 2026Assessing Reliability of BERT-Based Models on Question Answering Tasks11 Aug 2026
- 2026Detecting Misbehaviors of Large Vision-Language Models by Evidential Uncertainty Quantification5 Feb 2026
- 2025Is GPT-OSS All You Need? Benchmarking Large Language Models for Financial Intelligence and the Surprising Efficiency Paradox9 Dec 2025
- 2025Knowledge Integration for Physics-informed Symbolic Regression Using Pre-trained Large Language Models3 Sep 2025
- 2025Visual hallucination detection in large vision-language models via evidential conflict24 Jun 2025
- 2025Benchmarking Prompt Sensitivity in Large Language Models9 Feb 2025
- 2025LF-Steering: Latent Feature Activation Steering for Enhancing Semantic Consistency in Large Language Models19 Jan 2025
- 2024Logical Consistency of Large Language Models in Fact-checking20 Dec 2024
- 2024Variability Need Not Imply Error: The Case of Adequate but Semantically Distinct Responses20 Dec 2024
- 2024A Statistical Analysis of LLMs' Self-Evaluation Using Proverbs22 Oct 2024
- 2024Logically Consistent Language Models via Neuro-Symbolic Integration9 Sep 2024
- 2024Selective Prompt Anchoring for Code Generation17 Aug 2024
3 more
- 2024INSIDE: LLMs' Internal States Retain the Power of Hallucination Detectioncited by 317
- 2025Benchmarking Prompt Sensitivity in Large Language Modelscited by 38
- 2024Logically Consistent Language Models via Neuro-Symbolic Integrationcited by 30
- 2024BeHonest: Benchmarking Honesty in Large Language Modelscited by 20
- 2024Selective Prompt Anchoring for Code Generationcited by 16
- 2024Logical Consistency of Large Language Models in Fact-checkingcited by 15
- 2023Assessing the Reliability of Large Language Model Knowledgecited by 13
- 2025LF-Steering: Latent Feature Activation Steering for Enhancing Semantic Consistency in Large Language Modelscited by 7
- 2025Knowledge Integration for Physics-informed Symbolic Regression Using Pre-trained Large Language Modelscited by 7
- 2024Variability Need Not Imply Error: The Case of Adequate but Semantically Distinct Responsescited by 2
- 2024A Statistical Analysis of LLMs' Self-Evaluation Using Proverbscited by 1
- 2025Is GPT-OSS All You Need? Benchmarking Large Language Models for Financial Intelligence and the Surprising Efficiency Paradoxcited by 0
12 most cited of 13 All 13 (JSON)
- 2026Assessing Reliability of BERT-Based Models on Question Answering Tasks11 Aug 2026
- 2025Is GPT-OSS All You Need? Benchmarking Large Language Models for Financial Intelligence and the Surprising Efficiency Paradox9 Dec 2025
- 2025Knowledge Integration for Physics-informed Symbolic Regression Using Pre-trained Large Language Models3 Sep 2025
- 2025Benchmarking Prompt Sensitivity in Large Language Models9 Feb 2025
- 2025LF-Steering: Latent Feature Activation Steering for Enhancing Semantic Consistency in Large Language Models19 Jan 2025
- 2024Logical Consistency of Large Language Models in Fact-checking20 Dec 2024
- 2024Variability Need Not Imply Error: The Case of Adequate but Semantically Distinct Responses20 Dec 2024
- 2024A Statistical Analysis of LLMs' Self-Evaluation Using Proverbs22 Oct 2024
- 2024Logically Consistent Language Models via Neuro-Symbolic Integration9 Sep 2024
- 2024Selective Prompt Anchoring for Code Generation17 Aug 2024
- 2024BeHonest: Benchmarking Honesty in Large Language Models19 Jun 2024
- 2024INSIDE: LLMs' Internal States Retain the Power of Hallucination Detection6 Feb 2024
12 newest of 13 All 13 (JSON)