SelfCheckGPT: Zero-Resource Black-Box Hallucination Detection for Generative Large Language Models

Generative Large Language Models (LLMs) such as GPT-3 are capable of generating highly fluent responses to a wide variety of user prompts. However, LLMs are known to hallucinate facts and make non-factual statements which can undermine trust in their output. Existing fact-checking approaches either require access to the output probability distribution (which may not be available for systems such as ChatGPT) or external databases that are interfaced via separate, often complex, modules. In this work, we propose"SelfCheckGPT", a simple sampling-based approach that can be used to fact-check the responses of black-box models in a zero-resource fashion, i.e. without an external database. SelfCheckGPT leverages the simple idea that if an LLM has knowledge of a given concept, sampled responses are likely to be similar and contain consistent facts. However, for hallucinated facts, stochastically sampled responses are likely to diverge and contradict one another. We investigate this approach by using GPT-3 to generate passages about individuals from the WikiBio dataset, and manually annotate the factuality of the generated passages. We demonstrate that SelfCheckGPT can: i) detect non-factual and factual sentences; and ii) rank passages in terms of factuality. We compare our approach to several baselines and show that our approach has considerably higher AUC-PR scores in sentence-level hallucination detection and higher correlation scores in passage-level factuality assessment compared to grey-box methods.


Introduction
Large Language Models (LLMs) such as GPT-3 (Brown et al., 2020) and PaLM (Chowdhery et al., 2022) are capable of generating fluent and realistic responses to a variety of user prompts.They have been used in many applications such as automatic Figure 1: SelfCheckGPT with Prompt.Each LLM-generated sentence is compared against stochastically generated responses with no external database.A comparison method can be, for example, through LLM prompting as shown above.
tools to draft reports, virtual assistants and summarization systems.Despite the convincing and realistic nature of LLM-generated texts, a growing concern with LLMs is their tendency to hallucinate facts.It has been widely observed that models can confidently generate fictitious information, and worryingly there are few, if any, existing approaches to suitably identify LLM hallucinations.
A possible approach of hallucination detection is to leverage existing intrinsic uncertainty metrics to determine the parts of the output sequence that the system is least certain of (Yuan et al., 2021;Fu et al., 2023).However, uncertainty metrics such as token probability or entropy require access to token-level probability distributions, information which may not be available to users for example when systems are accessed through limited external APIs.An alternate approach is to leverage fact-verification approaches, where evidence is retrieved from an external database to assess the veracity of a claim (Thorne et al., 2018;Guo et al., 2022).However, facts can only be assessed relative to the knowledge present in the database.Addition-ally, hallucinations are observed over a wide range of tasks beyond pure fact verification (Kryscinski et al., 2020;Maynez et al., 2020).
In this paper, we propose SelfCheckGPT, a sampling-based approach that can detect whether responses generated by LLMs are hallucinated or factual.To the best of our knowledge, SelfCheck-GPT is the first work to analyze model hallucination of general LLM responses, and is the first zero-resource hallucination detection solution that can be applied to black-box systems.The motivating idea of SelfCheckGPT is that when an LLM has been trained on a given concept, the sampled responses are likely to be similar and contain consistent facts.However, for hallucinated facts, stochastically sampled responses are likely to diverge and may contradict one another.By sampling multiple responses from an LLM, one can measure information consistency between the different responses and determine if statements are factual or hallucinated.Since SelfCheckGPT only leverages sampled responses, it has the added benefit that it can be used for black-box models, and it requires no external database.Five variants of SelfCheckGPT for measuring informational consistency are considered: BERTScore, question-answering, n-gram, NLI, and LLM prompting.Through analysis of annotated articles generated by GPT-3, we show that SelfCheckGPT is a highly effective hallucination detection method that can even outperform greybox methods, and serves as a strong first baseline for an increasingly important problem of LLMs.
2 Background and Related Work

Hallucination of Large Language Models
Hallucination has been studied in text generation tasks, including summarization (Huang et al., 2021) and dialogue generation (Shuster et al., 2021), as well as in a variety of other natural language generation tasks (Ji et al., 2023).Self-consistency decoding has shown to improve chain-of-thought prompting performance on complex reasoning tasks (Wang et al., 2023).Further, Liu et al. (2022) introduce a hallucination detection dataset, however, texts are obtained by perturbing factual texts and thus may not reflect true LLM hallucination.
Recently, Azaria and Mitchell (2023) trained a multi-layer perception classifier where an LLM's hidden representations are used as inputs to predict the truthfulness of a sentence.However, this approach is a white-box approach that uses the internal states of the LLM, which may not be available through API calls, and requires labelled data for supervised training.Another recent approach is self-evaluation (Kadavath et al., 2022), where an LLM is prompted to evaluate its previous prediction, e.g., to predict the probability that its generated response/answer is true.

Sequence Level Uncertainty Estimation
Token probabilities have been used as an indication of model certainty.For example, OpenAI's GPT-3 web interface allows users to display token probabilities (as shown in Figure 2), and further uncertainty estimation approaches based on aleatoric and epistemic uncertainty have been studied for autoregressive generation (Xiao and Wang, 2021;Malinin and Gales, 2021).Additionally, conditional language model scores have been used to evaluate properties of texts (Yuan et al., 2021;Fu et al., 2023).Recently, semantic uncertainty has been proposed to address uncertainty in free-form generation tasks where probabilities are attached to concepts instead of tokens (Kuhn et al., 2023).

Fact Verification
Existing fact-verification approaches follow a multi-stage pipeline of claim detection, evidence retrieval and verdict prediction (Guo et al., 2022;Zhong et al., 2020).Such methods, however, require access to external databases and can have considerable inference costs.

Grey-Box Factuality Assessment
This section will introduce methods that can be used to determine the factuality of LLM responses in a zero-resource setting when one has full access to output distributions.2We will use 'factual' to define when statements are grounded in valid information, i.e. when hallucinations are avoided, and 'zero-resource' when no external database is used.

Uncertainty-based Assessment
To understand how the factuality of a generated response can be determined in a zero-resource setting, we consider LLM pre-training.During pretraining, the model is trained with next-word prediction over massive corpora of textual data.This gives the model a strong understanding of language (Jawahar et al., 2019;Raffel et al., 2020), powerful contextual reasoning (Zhang et al., 2020), as well as world knowledge (Liusie et al., 2023).Consider the input "Lionel Messi is a _".Since Messi is a world-famous athlete who may have appeared multiple times in pre-training, the LLM is likely to know who Messi is.Therefore given the context, the token "footballer" may be assigned a high probability while other professions such as "carpenter" may be considered improbable.However, for a different input such as "John Smith is a _", the system will be unsure of the continuation which may result in a flat probability distribution.During inference, this is likely to lead to a non-factual word being generated.
This insight allows us to understand the connection between uncertainty metrics and factuality.Factual sentences are likely to contain tokens with higher likelihood and lower entropy, while hallucinations are likely to come from positions with flat probability distributions with high uncertainty.

Token-level Probability
Given the LLM's response R, let i denote the i-th sentence in R, j denote the j-th token in the i-th sentence, J is the number of tokens in the sentence, and p ij be the probability of the word generated by the LLM at the j-th token of the i-th sentence.Two probability metrics are used: Max(− log p) measures the sentence's likelihood by assessing the least likely token in the sentence.

Entropy
The entropy of the output distribution is: where p ij ( w) is the probability of the word w being generated at the j-th token of the i-th sentence, and W is the set of all possible words in the vocabulary.Similar to the probability-based metrics, two entropy-based metrics are used:

Proxy LLMs
A simple approach to approximate the grey-box approaches is by using a proxy LLM, i.e. another LLM that we have full access to, such as LLaMA (Touvron et al., 2023).A proxy LLM can be used to approximate the output token-level probabilities of the black-box LLM generating the text.In the next section, we propose SelfCheckGPT, which is also a black-box approach.

SelfCheckGPT
SelfCheckGPT is our proposed black-box zeroresource hallucination detection scheme, which operates by comparing multiple sampled responses and measuring consistency.Notation: Let R refer to an LLM response drawn from a given user query.SelfCheckGPT draws a further N stochastic LLM response samples {S 1 , S 2 , ..., S n , ..., S N } using the same query, and then measures the consistency between the response and the stochastic samples.We design SelfCheckGPT to predict the hallucination score of the i-th sentence, S(i), such that S(i) ∈ [0.0, 1.0], where S(i) → 0.0 if the i-th sentence is grounded in valid information and S(i) → 1.0 if the i-th sen-tence is hallucinated. 3The following subsections will describe each of the SelfCheckGPT variants.

SelfCheckGPT with BERTScore
Let B(., .)denote the BERTScore between two sentences.SelfCheckGPT with BERTScore finds the average BERTScore of the i-th sentence with the most similar sentence from each drawn sample: where r i represents the i-th sentence in R and s n k represents the k-th sentence in the n-th sample S n .This way if the information in a sentence appears in many drawn samples, one may assume that the information is factual, whereas if the statement appears in no other sample, it is likely a hallucination.
In this work, RoBERTa-Large (Liu et al., 2019) is used as the backbone of BERTScore.

SelfCheckGPT with Question Answering
We also consider using the automatic multiplechoice question answering generation (MQAG) framework (Manakul et al., 2023) to measure consistency for SelfCheckGPT.MQAG assesses consistency by generating multiple-choice questions over the main generated response, which an independent answering system can attempt to answer while conditioned on the other sampled responses.
If questions on consistent information are queried, the answering system is expected to predict similar answers.MQAG consists of two stages: question generation G and question answering A. For the sentence r i in the response R, we draw questions q and options o: The answering stage A selects the answers: We compare whether a R is equal to a S n for each sample in {S 1 , ..., S N }, yielding #matches N m and #not-matches N n .A simple inconsistency score for the i-th sentence and question q based on the match/not-match counts is defined: S QA (i, q) = 3 With the exception of SelfCheckGPT with n-gram as the score of the n-gram language model is not bounded.

Nn
Nm+Nn .To take into account the answerability of generated questions, we show in Appendix B that we can modify the inconsistency score by applying soft-counting, resulting in: where N ′ m = the effective match count, N ′ n = the effective mismatch count, with γ 1 and γ 2 defined in Appendix B.1.Ultimately, SelfCheckGPT with QA is the average of inconsistency scores across q, (6)

SelfCheckGPT with n-gram
Given samples {S 1 , ..., S N } generated by an LLM, one can use the samples to create a new language model that approximates the LLM.In the limit as N gets sufficiently large, the new language model will converge to the LLM that generated the responses.We can therefore approximate the LLM's token probabilities using the new language model.In practice, due to time and/or cost constraints, there can only be a limited number of samples N .Consequently, we train a simple n-gram model using the samples {S 1 , ..., S N } as well as the main response R (which is assessed), where we note that including R can be considered as a smoothing method where the count of each token in R is increased by 1.We then compute the average of the log-probabilities of the sentence in response R, where pij is the probability (of the j-th token of the i-th sentence) computed using the n-gram model.Similar to the grey-box approach, we can also use the maximum of the negative log probabilities, For SelfCheck-NLI, we use DeBERTa-v3-large (He et al., 2023) fine-tuned to MNLI as the NLI model.The input for NLI classifiers is typically the premise concatenated to the hypothesis, which for our methodology is the sampled passage S n concatenated to the sentence to be assessed r i .Only the logits associated with the 'entailment' and 'contradiction' classes are considered, where z e and z c are the logits of the 'entailment' and 'contradiction' classes, respectively.This normalization ignores the neutral class and ensures that the probability is bounded between 0.0 and 1.0.The SelfCheckGPT with NLI score for each sample S n is then defined as,

SelfCheckGPT with Prompt
LLMs have recently been shown to be effective in assessing information consistency between a document and its summary in zero-shot settings (Luo et al., 2023).Thus, we query an LLM to assess whether the i-th sentence is supported by sample S n (as the context) using the following prompt.

Data and Annotation
As, currently, there are no standard hallucination detection datasets available, we evaluate our hallucination detection approaches by 1) generating synthetic Wikipedia articles using GPT-3 on the individuals/concepts from the WikiBio dataset (Lebret et al., 2016); 2) manually annotating the factuality of the passage at a sentence level; 3) evaluating the system's ability to detect hallucinations.WikiBio is a dataset where each input contains the first paragraph (along with tabular information) of Wikipedia articles of a specific concept.We rank the WikiBio test set in terms of paragraph length and randomly sample 238 articles from the top 20% of longest articles (to ensure no very obscure concept is selected).GPT-3 (text-davinci-003) is then used to generate Wikipedia articles on a concept, using the prompt "This is a Wikipedia passage about {concept}:".Table 1 provides the statistics of GPT-3 generated passages.
We then annotate the sentences of the generated passages using the guidelines shown in Figure 3 such that each sentence is classified as either: • Major Inaccurate (Non-Factual, 1): The sentence is entirely hallucinated, i.e. the sentence is unrelated to the topic.
• Minor Inaccurate (Non-Factual, 0.5): The sentence consists of some non-factual information, but the sentence is related to the topic.
• Accurate (Factual, 0): The information presented in the sentence is accurate.
Of the 1908 annotated sentences, 761 (39.9%) of the sentences were labelled major-inaccurate, 631 (33.1%) minor-inaccurate, and 516 (27.0%) accurate.201 sentences in the dataset had annotations from two different annotators.To obtain a single label for this subset, if both annotators agree, then the agreed label is used.However, if there is disagreement, then the worse-case label is selected (e.g., {minor inaccurate, major inaccurate} is mapped to major inaccurate).The inter-annotator agreement, as measured by Cohen's κ (Cohen, 1960), has κ  (Viera et al., 2005) for the 3-class and 2-class scenarios, respectively. 4 Furthermore, passage-level scores are obtained by averaging the sentence-level labels in each passage.The distribution of passage-level scores is shown in Figure 4, where we observe a large peak at +1.0.We refer to the points at this peak as total hallucination, which occurs when the information of the response is unrelated to the real concept and is entirely fabricated by the LLM.

Experiments
The generative LLM used to generate passages for our dataset is GPT-3 (text-davinci-003), the stateof-the-art system at the time of creating and annotating the dataset.To obtain the main response, we set the temperature to 0.0 and use standard beam search decoding.For the stochastically generated samples, we set the temperature to 1.0 and generate 4 3-class refers to when selecting between accurate, minor inaccurate, major inaccurate.2-class refers to when minor/major inaccuracies are combined into one label.N =20 samples.For the proxy LLM approach, we use LLaMA (Touvron et al., 2023), one of the bestperforming open-source LLMs currently available.For SelfCheckGPT-Prompt, we consider both GPT-3 (which is the same LLM that is used to generate passages) as well as the newly released ChatGPT (gpt-3.5-turbo).More details about the systems in SelfCheckGPT and results using other proxy LLMs can be found in the appendix.

Sentence-level Hallucination Detection
First, we investigate whether our hallucination detection methods can identify the factuality of sentences.In detecting non-factual sentences, both major-inaccurate labels and minor-inaccurate labels are grouped together into the non-factual class, while the factual class refers to accurate sentences.In addition, we consider a more challenging task of detecting major-inaccurate sentences in passages that are not total hallucination passages, which we refer to as non-factual * .5 Figure 5 and Table 2 show the performance of our approaches, where the following observations can be made: 1) LLM's probabilities p correlate well with factuality.Our results show that probability measures (from the LLM generating the texts) are strong baselines for assessing factuality.Factual sentences can be identified with an AUC-PR of 53.97, significantly better than the random baseline of 27.04, with the AUC-PR for hallucination detection also increasing from 72.96 to 83.21.This supports the hypothesis that when the LLMs are uncertain about generated information, generated tokens often have higher uncertainty, paving a promising direction for hallucination detection approaches.Also, the probability p measure performs better than the entropy H measure of top-5 tokens.
2) Proxy LLM perform noticeably worse than LLM (GPT-3).The results of proxy LLM (based on LLaMA) show that the entropy H measures outperform the probability measures.This suggests that using richer uncertainty information can improve factuality/hallucination detection performance, and that previously the entropy of top-5 tokens is likely to be insufficient.In addition, when using other proxy LLMs such as GPT-NeoX or OPT-30B, the performance is near that of the random baseline.We believe this poor performance occurs as different LLMs have different generating patterns, and so even common tokens may have a

Method
Sentence low probability in situations where the response is dissimilar to the generation style of the proxy LLM.We note that a weighted conditional LM score such as BARTScore (Yuan et al., 2021) could be incorporated in future investigations.
3) SelfCheckGPT outperforms grey-box approaches.It can be seen that SelfCheckGPT-Prompt considerably outperforms the grey-box approaches (including GPT-3's output probabilities) as well as other black-box approaches.Even other variants of SelfCheckGPT, including BERTScore, QA, and n-gram, outperform the grey-box approaches in most setups.Interestingly, despite being the least computationally expensive method, SelfCheckGPT with unigram (max) works well across different setups.Essentially, when assessing a sentence, this method picks up the token with the lowest occurrence given all the samples.This suggests that if a token only appears a few times (or once) within the generated samples (N =20), it is likely non-factual.
4) SelfCheckGPT with n-gram.When investigating the n-gram performance from 1-gram to 5-gram, the results show that simply finding the least likely token/n-gram is more effective than computing the average n-gram score of the sentence, details in appendix Table 7.Additionally, as n increases, the performance of SelfCheckGPT with n-gram (max) drops.method outperforms all black-box and grey-box baselines, and its performance is close to the performance of the Prompt method.As SelfCheck-GPT with Prompt can be computationally heavy, SelfCheckGPT with NLI could be the most practical method as it provides a good trade-off between performance and computation.

Passage-level Factuality Ranking
Previous results demonstrate that SelfCheckGPT is an effective approach for predicting sentencelevel factuality.An additional consideration is whether SelfCheckGPT can also be used to determine the overall factuality of passages.Passagelevel factuality scores are calculated by averaging the sentence-level scores over all sentences.
where S(i) is the sentence-level score, and |R| is the number of sentences in the passage.Since human judgement is somewhat subjective, averaging the sentence-level labels would lead to ground truths with less noise.Note that for Avg(− log p) and Avg(H), we compute the average over all tokens in a passage.Whereas for Max(− log p) and Max(H), we first take the maximum operation over tokens at the sentence level, and we then average over all sentences following Equation 12.
Our results in Table 2 and Figure 6 show that all SelfCheckGPT methods correlate far better with human judgements than the other baselines, including the grey-box probability and entropy methods.SelfCheckGPT-Prompt is the best-performing method, achieving the highest Pearson correlation of 78.32.Unsurprisingly, the proxy LLM approach again achieves considerably lower correlations.

Ablation Studies
External Knowledge (instead of SelfCheck) If external knowledge is available, one can measure the informational consistency between the LLM response and the information source.In this experiment, we use the first paragraph of each concept that is available in WikiBio.Our findings in Table 3 show the following.First, SelfCheckGPT with BERTScore/QA, using selfsamples, can yield comparable or even better performance than when using the reference passage.Second, SelfCheckGPT with n-gram shows a large performance drop when using the WikiBio passages instead of self-samples.This failure is attributed to the fact that the WikiBio reference text alone is not sufficient to train an n-gram model.Third, in contrast, SelfCheckGPT with NLI/Prompt can benefit considerably when access to retrieved information is available.Nevertheless, in practice, it is infeasible to have an external database for every possible use case of LLM generation.

The Impact of the Number of Samples
Although sample-based methods are expected to perform better when more samples are drawn, this has higher computational costs.Thus, we investigate performance as the number of samples is varied.Our results in Figure 7 show that the performance of SelfCheckGPT increases smoothly as more samples are used, with diminishing gains as more samples are generated.SelfCheckGPT with n-gram requires the highest number of samples before its performance reaches a plateau.The Choice of LLM for SelfCheckGPT-Prompt We investigate whether the LLM generating the text can self-check its own text.We conduct this ablation using a reduced set of the samples (N =4).The results in Table 4 show that GPT-3 can selfcheck its own text, and is better than the unigram method even when using only 4 samples.However, ChatGPT shows a slight improvement over GPT-3 in evaluating whether the sentence is supported by the context.More details are in Appendix C.

Conclusions
This paper is the first work to consider the task of hallucination detection for general large language model responses.We propose SelfCheck-GPT, a zero-resource approach that is applicable to any black-box LLM without the need for external resources, and demonstrate the efficacy of our method.SelfCheckGPT outperforms a range of considered grey-box and black-box baseline detection methods at both the sentence and passage levels, and we further release an annotated dataset for GPT-3 hallucination detection with sentencelevel factuality labels.

Limitations
In this study, the 238 GPT-3 generated texts were predominantly passages about individuals in the WikiBio dataset.To further investigate the nature of LLM's hallucination, this study could be extended to a wider range of concepts, e.g., to also consider generated texts about locations and objects.Further, this work considers factuality at the sentence level, but we note that a single sentence may consist of both factual and non-factual information.For example, the following work by Min et al. (2023) considers a fine-grained factuality evaluation by decomposing sentences into atomic facts.Finally, SelfCheckGPT with Prompt, which was convincingly the best selfcheck method, is quite computationally heavy.This might lead to impractical computational costs, which could be addressed in future work to be made more efficient.

A Models and Implementation
A.1 Entropy The entropy of the output distribution is implemented as follows, where W is the set of all possible words in the vocabulary.

B SelfCheckGPT with QA
Previous work showed that implementing question generation (in Equation 2) with two generators (G1 generates the question and associated answer, and G2 generates distractors) yields higher-quality distractors (Manakul et al., 2023).Thus, a two-stage generation is adopted in this work as follows: q, a ∼ P G1 (q, a|r i ); o \a ∼ P G2 (o \a |q, a, R) (14) where o = {a, o \a } = {o 1 , ..., o 4 }.In addition, to filter out bad (unanswerable) questions, we define an answerability score (Raina and Gales, 2022): where the context is either the response R or sampled passages S n , and α → 0.0 for unanswerable and α → 1.0 for answerable.We use α to filter out unanswerable questions which have α lower than a threshold.Next, we derive how Bayes' theorem can be applied to take into account the number of answerable/unanswerable questions.

B.1 SelfCheckGPT-QA with Bayes
Let P (F) denote the probability of the i-th sentence being non-factual, and P (T) denote the probability of the i-th sentence being factual.For a question q, the probability of i-th sentence being non-factual given a set of matched answers L m and a set of not-matched answers L n is: where we assume the sentence is equally likely to be False or True, i.e.P (F) = P (T).The probability of observing L m , L n when the sentence is False (non-factual): and probability of observing L m , L n when the sentence is True (factual): where N m and N n are the number of matched answers and the number of not-matched answers, respectively.Hence, we can simplify Equation 16: where γ 1 = β 2 1−β 1 and γ 2 = β 1 1−β 2 .Lastly, instead of rejecting samples having an answerability score below a threshold,7 we find empirically that softcounting (defined below) improves the detection performance.We set both β 1 and β 2 to 0.8.where α n = P U (answerable|q, S n ).Therefore, the SelfCheckGPT with QA score, S QA , is: In Table 5, we show empically that applying Bayes' theorem and soft counting α (in Equation 20) improves the performance of the SelfCheckGPT with QA method.

C SelfCheckGPT with Prompt
We use the prompt template provided in the main text (in Section 5.5) for both  and ChatGPT (gpt-3.5-turbo).For ChatGPT, a standard system message "You are a helpful assistant." is used in setting up the system.
At the time of conducting experiments, the API costs per 1,000 tokens are $0.020 for GPT-3 and $0.002 for ChatGPT.The estimated costs for running the models to answer Yes/No on all 1908 sentences and 20 samples are around $200 for GPT-3 and $20 for ChatGPT.Given the cost, we conduct the experiments on 4 samples when performing the ablation about LLM choice for SelfCheckGPT-Prompt (Section 7.3).Table 6 shows the breakdown of predictions made by GPT-3 and ChatGPT.

D Additional Experimental Results
Here, we provide experimental results that are complementary to those presented in the main paper.8.

Figure 3 :
Figure 3: Flowchart of our annotation process

Figure 5 :
Figure 5: PR-Curve of detecting non-factual and factual sentences in the GPT-3 generated WikiBio passages.

Figure 6 :
Figure 6: Scatter plot of passage-level scores where Y-axis = Method scores, X-axis = Human scores.Correlations are reported in Table2.The scatter plots of other SelfCheckGPT variants are provided in Figure10in the appendix.

Figure 7 :
Figure 7: The performance of SelfCheckGPT methods on ranking passages (Spearman's) versus the number of samples.

Figure 8 :Figure 9 :
Figure 8: The performance of SelfCheckGPT methods on sentence-level non-factual detection (AUC-PR) versus the number of samples.This Figure extends the passage-level results in Figure 7.

Table 2 :
AUC-PR for sentence-level detection tasks.Passage-level ranking performances are measured by Pearson correlation coefficient and Spearman's rank correlation coefficient w.r.t.human judgements.The results of other proxy LLMs, in addition to LLaMA, can be found in the appendix.
† GPT-3 API returns the top-5 tokens' probabilities, which are used to compute entropy.

Table 3 :
The performance when using SelfCheckGPT samples versus external stored knowledge.
Taken from Table 2 for comparison. †

Table 7 :
The performance using different n-gram models in the SelfCheckGPT with n-gram method.