<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing DTD v2.3 20070202//EN" "journalpublishing.dtd">
<article xml:lang="EN" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" article-type="review-article">
<front>
<journal-meta>
<journal-id journal-id-type="publisher-id">Front. Artif. Intell.</journal-id>
<journal-title>Frontiers in Artificial Intelligence</journal-title>
<abbrev-journal-title abbrev-type="pubmed">Front. Artif. Intell.</abbrev-journal-title>
<issn pub-type="epub">2624-8212</issn>
<publisher>
<publisher-name>Frontiers Media S.A.</publisher-name>
</publisher>
</journal-meta>
<article-meta>
<article-id pub-id-type="doi">10.3389/frai.2025.1622292</article-id>
<article-categories>
<subj-group subj-group-type="heading">
<subject>Artificial Intelligence</subject>
<subj-group>
<subject>Review</subject>
</subj-group>
</subj-group>
</article-categories>
<title-group>
<article-title>Survey and analysis of hallucinations in large language models: attribution to prompting strategies or model behavior</article-title>
</title-group>
<contrib-group>
<contrib contrib-type="author" corresp="yes">
<name><surname>Anh-Hoang</surname> <given-names>Dang</given-names></name>
<xref ref-type="corresp" rid="c001"><sup>&#x0002A;</sup></xref>
<uri xlink:href="http://loop.frontiersin.org/people/3043641/overview"/>
<role content-type="https://credit.niso.org/contributor-roles/visualization/"/>
<role content-type="https://credit.niso.org/contributor-roles/software/"/>
<role content-type="https://credit.niso.org/contributor-roles/project-administration/"/>
<role content-type="https://credit.niso.org/contributor-roles/writing-original-draft/"/>
<role content-type="https://credit.niso.org/contributor-roles/conceptualization/"/>
<role content-type="https://credit.niso.org/contributor-roles/methodology/"/>
<role content-type="https://credit.niso.org/contributor-roles/validation/"/>
<role content-type="https://credit.niso.org/contributor-roles/investigation/"/>
<role content-type="https://credit.niso.org/contributor-roles/formal-analysis/"/>
<role content-type="https://credit.niso.org/contributor-roles/writing-review-editing/"/>
</contrib>
<contrib contrib-type="author">
<name><surname>Tran</surname> <given-names>Vu</given-names></name>
<uri xlink:href="http://loop.frontiersin.org/people/1536955/overview"/>
<role content-type="https://credit.niso.org/contributor-roles/writing-review-editing/"/>
<role content-type="https://credit.niso.org/contributor-roles/supervision/"/>
<role content-type="https://credit.niso.org/contributor-roles/validation/"/>
</contrib>
<contrib contrib-type="author">
<name><surname>Nguyen</surname> <given-names>Le-Minh</given-names></name>
<uri xlink:href="http://loop.frontiersin.org/people/3125748/overview"/>
<role content-type="https://credit.niso.org/contributor-roles/validation/"/>
<role content-type="https://credit.niso.org/contributor-roles/writing-review-editing/"/>
<role content-type="https://credit.niso.org/contributor-roles/supervision/"/>
<role content-type="https://credit.niso.org/contributor-roles/funding-acquisition/"/>
</contrib>
</contrib-group>
<aff><institution>Division of Advanced Science and Technology, Japan Advanced Institute of Science and Technology, Nomi</institution>, <addr-line>Ishikawa</addr-line>, <country>Japan</country></aff>
<author-notes>
<fn fn-type="edited-by"><p>Edited by: Mehdi Naseriparsa, Federation University Australia, Australia</p></fn>
<fn fn-type="edited-by"><p>Reviewed by: &#x00160;arnas Grigalinas, Kaunas University of Technology, Lithuania</p>
<p>Gaurav Kumar Gupta, Youngstown State University, United States</p>
<p>Ki-Seong Park, Chonnam National University Bitgoeul Hospital, Republic of Korea</p></fn>
<corresp id="c001">&#x0002A;Correspondence: Dang Anh-Hoang <email>hoanganhdang95&#x00040;gmail.com</email></corresp>
</author-notes>
<pub-date pub-type="epub">
<day>30</day>
<month>09</month>
<year>2025</year>
</pub-date>
<pub-date pub-type="collection">
<year>2025</year>
</pub-date>
<volume>8</volume>
<elocation-id>1622292</elocation-id>
<history>
<date date-type="received">
<day>03</day>
<month>05</month>
<year>2025</year>
</date>
<date date-type="accepted">
<day>31</day>
<month>08</month>
<year>2025</year>
</date>
</history>
<permissions>
<copyright-statement>Copyright &#x000A9; 2025 Anh-Hoang, Tran and Nguyen.</copyright-statement>
<copyright-year>2025</copyright-year>
<copyright-holder>Anh-Hoang, Tran and Nguyen</copyright-holder>
<license xlink:href="http://creativecommons.org/licenses/by/4.0/"><p>This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.</p></license>
</permissions>
<abstract>
<p><bold>Hallucination</bold> in Large Language Models (LLMs) refers to outputs that appear fluent and coherent but are factually incorrect, logically inconsistent, or entirely fabricated. As LLMs are increasingly deployed in education, healthcare, law, and scientific research, understanding and mitigating hallucinations has become critical. In this work, we present a comprehensive survey and empirical analysis of hallucination <italic>attribution</italic> in LLMs. Introducing a novel framework to determine whether a given hallucination stems from not optimize prompting or the model&#x00027;s intrinsic behavior. We evaluate state-of-the-art LLMs&#x02014;including GPT-4, LLaMA 2, DeepSeek, and others&#x02014;under various controlled prompting conditions, using established benchmarks (TruthfulQA, HallucinationEval) to judge factuality. Our <italic>attribution framework</italic> defines metrics for <italic>Prompt Sensitivity (PS)</italic> and <italic>Model Variability (MV)</italic>, which together quantify the contribution of prompts vs. model-internal factors to hallucinations. Through extensive experiments and comparative analyses, we identify distinct patterns in hallucination occurrence, severity, and mitigation across models. Notably, structured prompt strategies such as chain-of-thought (CoT) prompting significantly reduce hallucinations in prompt-sensitive scenarios, though intrinsic model limitations persist in some cases. These findings contribute to <italic>a deeper understanding</italic> of LLM reliability and provide <italic>insights</italic> for prompt engineers, model developers, and AI practitioners. We further propose best practices and future directions to reduce hallucinations in both prompt design and model development pipelines.</p></abstract>
<kwd-group>
<kwd>Large Language Models</kwd>
<kwd>hallucination</kwd>
<kwd>prompt engineering</kwd>
<kwd>model behavior</kwd>
<kwd>GPT-4</kwd>
<kwd>LLaMA</kwd>
<kwd>DeepSeek</kwd>
<kwd>attribution framework</kwd>
</kwd-group>
<counts>
<fig-count count="7"/>
<table-count count="7"/>
<equation-count count="16"/>
<ref-count count="37"/>
<page-count count="21"/>
<word-count count="11325"/>
</counts>
<custom-meta-wrap>
<custom-meta>
<meta-name>section-at-acceptance</meta-name>
<meta-value>Natural Language Processing</meta-value>
</custom-meta>
</custom-meta-wrap>
</article-meta>
</front>
<body>
<sec sec-type="intro" id="s1">
<title>1 Introduction</title>
<p>Large Language Models (LLMs) have become foundational tools in modern natural language processing (NLP) recently. High capability applications extending from conversational agents to scientific writing assistants and automated code generation. Models such as GPT-3 (<xref ref-type="bibr" rid="B7">Brown et al., 2020</xref>), GPT-4 (<xref ref-type="bibr" rid="B24">OpenAI, 2023b</xref>), LLaMA 2 (<xref ref-type="bibr" rid="B30">Touvron et al., 2023</xref>), Claude (<xref ref-type="bibr" rid="B2">Anthropic, 2023</xref>), DeepSeek (<xref ref-type="bibr" rid="B9">DeepSeek AI, 2023</xref>), and others have demonstrated extraordinary capabilities in zero-shot and few-shot learning tasks. Despite these advances a significant challenge remains: <italic>hallucinations</italic>&#x02014;output that appears fluent and coherent but is factually incorrect, fabricated, or logically inconsistent (<xref ref-type="bibr" rid="B13">Ji et al., 2023</xref>; <xref ref-type="bibr" rid="B21">Maynez et al., 2020</xref>; <xref ref-type="bibr" rid="B15">Kazemi et al., 2023</xref>).</p>
<p>Hallucinations in LLMs affect the reliability and efficiency of AI systems, particularly in high-impact domains such as medicine (<xref ref-type="bibr" rid="B16">Lee et al., 2023</xref>), law (<xref ref-type="bibr" rid="B5">Bommarito and Katz, 2022</xref>), journalism (<xref ref-type="bibr" rid="B1">Andrews et al., 2023</xref>), and scientific communication (<xref ref-type="bibr" rid="B22">Nakano et al., 2021</xref>; <xref ref-type="bibr" rid="B20">Liu et al., 2023</xref>). They also produce the risks for misinformation, reducing in user&#x00027;s trust, and accountability gaps (<xref ref-type="bibr" rid="B6">Bommasani et al., 2021</xref>; <xref ref-type="bibr" rid="B33">Weidinger et al., 2022</xref>). Therefore understanding hallucinations is a crucial research priority.</p>
<p>Broadly, hallucinations in LLMs can be divided into two primary sources: (1) <bold>Prompting-induced hallucinations</bold>, where ill-structured, unspecified, or misleading prompts cause inefficient outputs (<xref ref-type="bibr" rid="B28">Reynolds and McDonell, 2021</xref>; <xref ref-type="bibr" rid="B37">Zhou et al., 2022</xref>; <xref ref-type="bibr" rid="B32">Wei et al., 2022</xref>), and (2) <bold>Model-internal hallucinations</bold>, which caused by the model&#x00027;s architecture, pretraining data distribution, or inference behavior (<xref ref-type="bibr" rid="B3">Bang and Madotto, 2023</xref>; <xref ref-type="bibr" rid="B8">Chen et al., 2023</xref>; <xref ref-type="bibr" rid="B23">OpenAI, 2023a</xref>). Distinguishing between these two causes is essential for developing effective mitigation strategies.</p>
<p>Mathematically, this problem can be described within the probabilistic generative framework that underlies modern language modeling. Consider an LLM modeled as a probabilistic generator <italic>P</italic><sub>&#x003B8;</sub>(<italic>y</italic>|<italic>x</italic>) parameterized by &#x003B8;, where <italic>x</italic> denotes the input prompt, and <italic>y</italic> denotes the generated output. Hallucinations emerge when the model assigns a higher probability to an incorrect or ungrounded generation sequence compared to a factually grounded alternative:</p>
<disp-formula id="E1"><label>(1)</label><mml:math id="M1"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:msub><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mi>&#x003B8;</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>y</mml:mi></mml:mrow><mml:mrow><mml:mtext>hallucinated</mml:mtext></mml:mrow></mml:msub><mml:mo>|</mml:mo><mml:mi>x</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>&#x0003E;</mml:mo><mml:msub><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mi>&#x003B8;</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>y</mml:mi></mml:mrow><mml:mrow><mml:mtext>grounded</mml:mtext></mml:mrow></mml:msub><mml:mo>|</mml:mo><mml:mi>x</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>The above inequality illustrates a fundamental probabilistic dilemma: optimization of fluency and coherence often conflicts with factual grounding. Then, understanding hallucinations requires analyzing the model&#x00027;s probability distribution and identifying contexts and conditions under which inaccuracies become prevalent.</p>
<p>Recent work has attempted to reduce hallucinations using improved prompting techniques, such as chain-of-thought prompting (<xref ref-type="bibr" rid="B32">Wei et al., 2022</xref>), self-consistency decoding (<xref ref-type="bibr" rid="B31">Wang et al., 2022</xref>), retrieval-augmented generation (<xref ref-type="bibr" rid="B17">Lewis et al., 2020</xref>; <xref ref-type="bibr" rid="B29">Shuster et al., 2022</xref>), and verification-based refinement (<xref ref-type="bibr" rid="B14">Kadavath et al., 2022</xref>). Simultaneously, efforts at the model level focus on supervised fine-tuning (SFT), reinforcement learning from human feedback (RLHF) (<xref ref-type="bibr" rid="B26">Ouyang et al., 2022</xref>), contrastive decoding (<xref ref-type="bibr" rid="B18">Li et al., 2022</xref>), and grounded pretraining (<xref ref-type="bibr" rid="B36">Zhang et al., 2023</xref>). However, the interplay between prompt quality and model internals remains poorly addressing.</p>
<p>This paper aims to fill this gap by conducting a comprehensive survey and analysis on hallucination attribution in LLMs. Specifically, we seek to answer: <italic>To what extent do hallucinations result from prompting errors vs. model-level limitations?</italic> After this, we propose an attribution framework, benchmark several state-of-the-art models under controlled conditions, and examine their behavior across different prompt formulations.</p>
<p>Our contributions are threefold:</p>
<list list-type="bullet">
<list-item><p>We provide a comprehensive review of recent literature on hallucinations in LLMs, categorizing work based on cause attribution (prompt vs. model).</p></list-item>
<list-item><p>We design and implement controlled experiments on multiple LLMs (GPT-4, LLaMA 2, DeepSeek, Gwen) using standardized hallucination evaluation benchmarks [e.g., TruthfulQA (<xref ref-type="bibr" rid="B19">Lin et al., 2022</xref>), HallucinationEval (<xref ref-type="bibr" rid="B34">Wu et al., 2023</xref>), RealToxicityPrompts (<xref ref-type="bibr" rid="B11">Gehman et al., 2020</xref>)].</p></list-item>
<list-item><p>We propose a diagnostic framework that empirically separates prompt-sensitive hallucinations from model-intrinsic ones, offering actionable recommendations for mitigation.</p></list-item>
</list>
<p>The rest of this paper is structured as follows: Section 2 introduces background concepts and terminology around LLM hallucinations. Section 3 surveys existing literature. Section 4 presents our attribution framework. Section 5 describes our experimental design and evaluation protocols. Section 6 analyzes results across models and prompts. Section 7 discusses mitigation strategies. Section 8 outlines future research directions, and Section 9 concludes the paper.</p></sec>
<sec id="s2">
<title>2 Background and definitions</title>
<sec>
<title>2.1 What is hallucination in large language models?</title>
<p>Hallucination in the context of Large Language Models (LLMs) refers to the generation of content that might not related to the input prompt or confirmed knowledge sources, even though the output may appear linguistically coherent (<xref ref-type="bibr" rid="B13">Ji et al., 2023</xref>; <xref ref-type="bibr" rid="B21">Maynez et al., 2020</xref>). This circumstance shows the difference of LLMs from traditional NLP models by highlighting the trade-off between fluency and factual reliability.</p></sec>
<sec>
<title>2.2 Mathematical foundation of LLM hallucination</title>
<p>To formalize hallucination phenomena in LLMs, it is useful to conceptualize them within a rigorous mathematical framework. Modern LLMs such as GPT-4, LLaMA, and DeepSeek typically employ transformer-based neural architectures trained to estimate conditional probabilities of token sequences. Formally, given an input context or prompt <italic>x</italic> &#x0003D; (<italic>x</italic><sub>1</sub>, <italic>x</italic><sub>2</sub>, &#x02026;, <italic>x</italic><sub><italic>n</italic></sub>), the model generates an output sequence <italic>y</italic> &#x0003D; (<italic>y</italic><sub>1</sub>, <italic>y</italic><sub>2</sub>, &#x02026;, <italic>y</italic><sub><italic>m</italic></sub>) by factorizing the conditional probability distribution as:</p>
<disp-formula id="E2"><label>(2)</label><mml:math id="M2"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:msub><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mi>&#x003B8;</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>y</mml:mi><mml:mo>|</mml:mo><mml:mi>x</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mstyle displaystyle="true"><mml:munderover accentunder="false" accent="false"><mml:mrow><mml:mo>&#x0220F;</mml:mo></mml:mrow><mml:mrow><mml:mi>t</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mi>m</mml:mi></mml:mrow></mml:munderover></mml:mstyle><mml:msub><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mi>&#x003B8;</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>y</mml:mi></mml:mrow><mml:mrow><mml:mi>t</mml:mi></mml:mrow></mml:msub><mml:mo>|</mml:mo><mml:mi>x</mml:mi><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mi>y</mml:mi></mml:mrow><mml:mrow><mml:mo>&#x0003C;</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>where &#x003B8; denotes the model parameters, optimized during training via maximum likelihood estimation or reinforcement learning from human feedback (RLHF). Hallucinations are characterized by instances where the output sequence <italic>y</italic> diverges significantly from factual or logically consistent information, despite often maintaining high conditional probability scores.</p>
<p>From an inference perspective, hallucination can be conceptualized as a mismatch between the model&#x00027;s internal probability distributions and real-world factual distributions. Consider two competing candidate responses: a factually correct response <italic>y</italic><sub>fact</sub> and a hallucinatory response <italic>y</italic><sub>halluc</sub>. Hallucinations occur when the probabilistic model incorrectly favors the hallucinatory output over the factually correct one:</p>
<disp-formula id="E3"><label>(3)</label><mml:math id="M3"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:mfrac><mml:mrow><mml:msub><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mi>&#x003B8;</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>y</mml:mi></mml:mrow><mml:mrow><mml:mtext class="textrm" mathvariant="normal">halluc</mml:mtext></mml:mrow></mml:msub><mml:mo>|</mml:mo><mml:mi>x</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mi>&#x003B8;</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>y</mml:mi></mml:mrow><mml:mrow><mml:mtext class="textrm" mathvariant="normal">fact</mml:mtext></mml:mrow></mml:msub><mml:mo>|</mml:mo><mml:mi>x</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow></mml:mfrac><mml:mo>&#x0003E;</mml:mo><mml:mn>1</mml:mn></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>Addressing hallucinations mathematically by recalibrating the probability distribution to align with external factual grounding or logical consistency constraints. This can be practically approached via contrastive decoding, retrieval-augmented mechanisms, or probabilistic calibration techniques.</p></sec>
<sec>
<title>2.3 Experimental clarification and examples</title>
<p>To illustrate the taxonomy of hallucinations, consider experimental scenarios drawn from popular benchmarks. Intrinsic hallucinations frequently occur in summarization tasks where the model outputs statements directly contradicting the provided input. For example, given the factual input &#x0201C;Einstein was born in Ulm, Germany,&#x0201D; an intrinsic hallucination might state incorrectly, &#x0201C;Einstein was born in Berlin.&#x0201D; Such intrinsic errors indicate failure in conditional grounding:</p>
<disp-formula id="E4"><label>(4)</label><mml:math id="M4"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:msub><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mi>&#x003B8;</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>y</mml:mi></mml:mrow><mml:mrow><mml:mtext class="textrm" mathvariant="normal">intrinsic</mml:mtext></mml:mrow></mml:msub><mml:mo>|</mml:mo><mml:msub><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mrow><mml:mtext class="textrm" mathvariant="normal">input</mml:mtext></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>&#x0226B;</mml:mo><mml:msub><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mi>&#x003B8;</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>y</mml:mi></mml:mrow><mml:mrow><mml:mtext class="textrm" mathvariant="normal">correct</mml:mtext></mml:mrow></mml:msub><mml:mo>|</mml:mo><mml:msub><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mrow><mml:mtext class="textrm" mathvariant="normal">input</mml:mtext></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>Extrinsic hallucinations often appear in open-ended question-answering or narrative-generation tasks, where the model outputs plausible-sounding yet ungrounded details. For instance, when asked to explain &#x0201C;the primary cause of dinosaur extinction,&#x0201D; a model might confidently fabricate an irrelevant event, such as &#x0201C;massive volcanic eruptions on Venus caused changes on Earth,&#x0201D; which, while syntactically coherent, has no empirical basis or source grounding.</p>
<p>Factual hallucinations are explicitly illustrated by incorrect responses on datasets such as TruthfulQA. An experimental example includes the model-generated answer, &#x0201C;The capital of Canada is Toronto,&#x0201D; instead of the factually correct &#x0201C;Ottawa.&#x0201D; Logical hallucinations, conversely, involve internally inconsistent reasoning paths. An example includes mathematical reasoning tasks, where a model might claim &#x0201C;If <italic>a</italic> &#x0003D; <italic>b</italic> and <italic>b</italic> &#x0003D; <italic>c</italic>, then <italic>a</italic>&#x02260;<italic>c</italic>,&#x0201D; reflecting a clear logical inconsistency.</p>
<p>Quantifying these hallucinations experimentally involves applying targeted metrics, such as accuracy-based evaluations on QA tasks, entropy-based measures of semantic coherence, and consistency checking against external knowledge bases. These empirical assessments provide quantitative insights into the conditions under which different hallucination types emerge, ultimately guiding improved detection, understanding, and mitigation approaches.</p>
<p>Because LLMs are probabilistic text generators which are trained over massive data-base, they are capable of producing outputs that reflect statistical patterns rather than grounded truth. Hence, hallucination is an inherent byproduct of language modeling that prioritizes syntactic and semantic plausibility over factual accuracy (<xref ref-type="bibr" rid="B29">Shuster et al., 2022</xref>; <xref ref-type="bibr" rid="B14">Kadavath et al., 2022</xref>).</p></sec>
<sec>
<title>2.4 Taxonomy of hallucinations</title>
<p>Recent studies categorize hallucinations into several types based on their origin and demonstration (<xref ref-type="bibr" rid="B13">Ji et al., 2023</xref>; <xref ref-type="bibr" rid="B15">Kazemi et al., 2023</xref>):</p>
<list list-type="bullet">
<list-item><p><bold>Intrinsic hallucination:</bold> information generated by the model that contradicts the known input or context. For instance, summarizing a source text with incorrect facts.</p></list-item>
<list-item><p><bold>Extrinsic hallucination:</bold> information that is not present in the source but cannot be immediately deemed incorrect. This is common in open-domain generation where output extends beyond context.</p></list-item>
<list-item><p><bold>Factual hallucination:</bold> output that includes inaccurate or fabricated facts not aligned with real-world knowledge or knowledge bases (<xref ref-type="bibr" rid="B19">Lin et al., 2022</xref>; <xref ref-type="bibr" rid="B20">Liu et al., 2023</xref>).</p></list-item>
<list-item><p><bold>Logical hallucination:</bold> output that is inconsistent or logically incoherent, despite surface-level grammatical correctness (<xref ref-type="bibr" rid="B36">Zhang et al., 2023</xref>).</p></list-item>
</list>
<p>This classification allows for better evaluation and acknowledge of hallucinations during LLM output analysis.</p></sec>
<sec>
<title>2.5 Prompting and model behavior: two sides of the problem</title>
<p>The challenge of hallucinations can be attributed to two major dimensions: prompt-level issues and model-level behaviors.</p>
<list list-type="bullet">
<list-item><p><bold>Prompting-induced hallucinations:</bold> these arise when prompts are vague, underspecified, or structurally misleading, pushing the model into speculative generation (<xref ref-type="bibr" rid="B28">Reynolds and McDonell, 2021</xref>; <xref ref-type="bibr" rid="B32">Wei et al., 2022</xref>; <xref ref-type="bibr" rid="B37">Zhou et al., 2022</xref>). For example, unclear intent in zero-shot prompts often results in off-topic or imaginative content.</p></list-item>
<list-item><p><bold>Model-intrinsic hallucinations:</bold> even when well organized prompts are used, LLMs may hallucinate due to limitations in training data, architectural biases, or inference-time sampling strategies (<xref ref-type="bibr" rid="B3">Bang and Madotto, 2023</xref>; <xref ref-type="bibr" rid="B23">OpenAI, 2023a</xref>; <xref ref-type="bibr" rid="B8">Chen et al., 2023</xref>).</p></list-item>
</list>
<p>The different between these two causes is essential for developing targeted mitigation strategies. Prompt tuning approaches such as Chain-of-Thought prompting (<xref ref-type="bibr" rid="B32">Wei et al., 2022</xref>) and Self-Consistency decoding (<xref ref-type="bibr" rid="B31">Wang et al., 2022</xref>) aim to reduce hallucinations without altering the model. In the other hand, techniques like Reinforcement Learning with Human Feedback (RLHF) (<xref ref-type="bibr" rid="B26">Ouyang et al., 2022</xref>) and Retrieval-Augmented Generation (RAG) (<xref ref-type="bibr" rid="B17">Lewis et al., 2020</xref>) attempt to address model-level limitations.</p></sec>
<sec>
<title>2.6 Evaluation challenges</title>
<p>Evaluating hallucinations remains a challenging task due to their contextual nature. Automatic metrics such as BLEU or ROUGE fail to capture factual consistency and reliable (<xref ref-type="bibr" rid="B21">Maynez et al., 2020</xref>). Therefore, benchmarks like TruthfulQA (<xref ref-type="bibr" rid="B19">Lin et al., 2022</xref>), HallucinationEval (<xref ref-type="bibr" rid="B34">Wu et al., 2023</xref>), and RealToxicityPrompts (<xref ref-type="bibr" rid="B11">Gehman et al., 2020</xref>) have been introduced to better assess hallucination bias across models and tasks. But, no widely acceptable metric or dataset fully captures the multidimensional nature of hallucinations.</p>
<p>As LLMs continue to scale in capability and deployment, understanding these foundational concepts is critical for the attribution, evaluation, and eventual of hallucinations in both research and applied contexts.</p></sec></sec>
<sec id="s3">
<title>3 Related work and literature survey</title>
<p>The problem of hallucination in Large Language Models (LLMs) has become a central topic of investigation in recent years. A growing body of literature attempts to understand, evaluate, and mitigate this phenomenon. This section reviews key contributions from three main perspectives: (1) prompt engineering and its impact on hallucination, (2) model-intrinsic causes and architecture-level factors, and (3) evaluation and mitigation techniques proposed in the literature.</p>
<sec>
<title>3.1 Prompting techniques and hallucination control</title>
<p>Prompting plays a significant role in the output behavior of LLMs. Several studies have emphasized how variations in prompt design can induce or suppress hallucinations (<xref ref-type="bibr" rid="B28">Reynolds and McDonell, 2021</xref>; <xref ref-type="bibr" rid="B37">Zhou et al., 2022</xref>). Prompting-induced hallucinations often arise from ambiguous formulations or lack of context, leading the model to rely on probabilistic associations rather than grounded knowledge. However, these works did not provide a quantitative measure of prompt sensitivity&#x02014;they changed prompts and observed effects, but without a formal metric or model. In contrast, we introduce Prompt Sensitivity (PS) as a concrete metric to measure this effect systematically. Similarly, note that &#x0201C;prior surveys (<xref ref-type="bibr" rid="B13">Ji et al., 2023</xref>; <xref ref-type="bibr" rid="B8">Chen et al., 2023</xref>) categorized causes generally, but did not propose an attribution methodology&#x02014;our work is the first to formalize a probabilistic attribution model for hallucinations.&#x0201D; By directly contrasting in this way, a reviewer will clearly see how your paper goes beyond descriptive surveys or empirical trials.</p>
<p><bold>Zero-shot and few-shot prompting</bold>, popularized by GPT-3 (<xref ref-type="bibr" rid="B7">Brown et al., 2020</xref>), expose models to minimal task examples but tend to be prone to hallucination when the task is not explicitly structured. <bold>Chain-of-Thought (CoT) prompting</bold> (<xref ref-type="bibr" rid="B32">Wei et al., 2022</xref>) improves reasoning transparency and factual correctness by encouraging step-wise output generation. <bold>Least-to-Most prompting</bold> (<xref ref-type="bibr" rid="B37">Zhou et al., 2022</xref>) further decomposes complex queries into simpler steps, mitigating hallucination in multi-hop reasoning tasks.</p>
<p>Other strategies like <bold>Self-Consistency decoding</bold> (<xref ref-type="bibr" rid="B31">Wang et al., 2022</xref>), <bold>ReAct prompting</bold> (<xref ref-type="bibr" rid="B35">Yao et al., 2022</xref>), and <bold>Instruct-tuning</bold> (<xref ref-type="bibr" rid="B26">Ouyang et al., 2022</xref>) have also been shown to reduce hallucination rates by influencing how the model organizes its internal generation paths. Still, these methods are heuristic in nature and do not universally prevent hallucinations across domains or tasks.</p></sec>
<sec>
<title>3.2 Model behavior and architecture-level causes</title>
<p>Hallucinations are not always prompt-driven. Intrinsic factors within model architecture, training data quality, and sampling algorithms significantly contribute to hallucination problems. If the pretraining data corpus used in LLMs are web-scale and unfiltered, contains inconsistencies, biases, and outdated or false information, could affect the model during training (<xref ref-type="bibr" rid="B29">Shuster et al., 2022</xref>; <xref ref-type="bibr" rid="B8">Chen et al., 2023</xref>; <xref ref-type="bibr" rid="B33">Weidinger et al., 2022</xref>).</p>
<p>Larger models, while generally more capable, also tend to hallucinate with &#x0201C;confident nonsense&#x0201D; (<xref ref-type="bibr" rid="B14">Kadavath et al., 2022</xref>). Model scaling alone does not eliminate hallucination but rather amplifies it in certain contexts. Studies such as <xref ref-type="bibr" rid="B23">OpenAI (2023a)</xref> and <xref ref-type="bibr" rid="B3">Bang and Madotto (2023)</xref> have also revealed that instruction-tuned models can still hallucinate, especially on long-context, ambiguous, or factual-recall tasks.</p>
<p>To counter these issues, <bold>Retrieval-Augmented Generation (RAG)</bold> (<xref ref-type="bibr" rid="B17">Lewis et al., 2020</xref>), <bold>Grounded pretraining</bold> (<xref ref-type="bibr" rid="B36">Zhang et al., 2023</xref>), and <bold>contrastive decoding techniques</bold> (<xref ref-type="bibr" rid="B18">Li et al., 2022</xref>) have been explored. These approaches integrate external knowledge sources during inference or introduce architectural changes that enforce factuality.</p></sec>
<sec>
<title>3.3 Hallucination detection and evaluation benchmarks</title>
<p>Evaluating hallucination is a complex task. Traditional automatic metrics like BLEU, ROUGE, or METEOR are inadequate for assessing factual consistency (<xref ref-type="bibr" rid="B21">Maynez et al., 2020</xref>). Thus, dedicated benchmarks have emerged:</p>
<list list-type="bullet">
<list-item><p><bold>TruthfulQA</bold> (<xref ref-type="bibr" rid="B19">Lin et al., 2022</xref>) evaluates whether LLMs produce answers that mimic human false beliefs.</p></list-item>
<list-item><p><bold>HallucinationEval</bold> (<xref ref-type="bibr" rid="B34">Wu et al., 2023</xref>) provides a framework for measuring different hallucination types.</p></list-item>
<list-item><p><bold>RealToxicityPrompts</bold> (<xref ref-type="bibr" rid="B11">Gehman et al., 2020</xref>) investigates how models hallucinate toxic or inappropriate content.</p></list-item>
<list-item><p><bold>CohS</bold> (<xref ref-type="bibr" rid="B15">Kazemi et al., 2023</xref>) and <bold>QAFactEval</bold> (<xref ref-type="bibr" rid="B10">Fabbri et al., 2022</xref>) focus on factual consistency in summarization.</p></list-item>
</list>
<p>Evaluation approaches are also evolving to include <bold>natural language inference-based scoring</bold>, <bold>fact-checking pipelines</bold>, and <bold>LLM-as-a-judge</bold> methodologies (<xref ref-type="bibr" rid="B20">Liu et al., 2023</xref>). However, detection accuracy varies significantly across domains and model families.</p></sec>
<sec>
<title>3.4 Mitigation strategies</title>
<p>Several mitigation strategies have been proposed, targeting both prompting and modeling levels. At the prompting level, techniques such as prompt calibration, system message design, and output verification loops are common. At the modeling level, RLHF (<xref ref-type="bibr" rid="B26">Ouyang et al., 2022</xref>), retrieval fusion (<xref ref-type="bibr" rid="B17">Lewis et al., 2020</xref>), and instruction tuning (<xref ref-type="bibr" rid="B31">Wang et al., 2022</xref>) remain popular.</p>
<p>Recent work also explores post-hoc refinement, where generated output is filtered or corrected using factuality classifiers or auxiliary models. Yet, no single method universally eliminates hallucination, pointing to the need for hybrid mitigation pipelines.</p></sec>
<sec>
<title>3.5 Summary</title>
<p><xref ref-type="table" rid="T1">Table 1</xref> summarizes the core themes and representative works in hallucination research.</p>
<table-wrap position="float" id="T1">
<label>Table 1</label>
<caption><p>Representative studies in hallucination research in LLMs.</p></caption>
<table frame="box" rules="all">
<thead>
<tr style="background-color:#727779;color:#ffffff">
<th valign="top" align="left"><bold>Aspect</bold></th>
<th valign="top" align="left"><bold>Representative works</bold></th>
<th valign="top" align="left"><bold>Key contributions</bold></th>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" align="left">Prompt design</td>
<td valign="top" align="left"><xref ref-type="bibr" rid="B32">Wei et al., 2022</xref>; <xref ref-type="bibr" rid="B37">Zhou et al., 2022</xref>; <xref ref-type="bibr" rid="B35">Yao et al., 2022</xref></td>
<td valign="top" align="left">Prompting methods reduce hallucination by guiding reasoning and structure</td>
</tr> <tr>
<td valign="top" align="left">Model behavior</td>
<td valign="top" align="left"><xref ref-type="bibr" rid="B14">Kadavath et al., 2022</xref>; <xref ref-type="bibr" rid="B3">Bang and Madotto, 2023</xref>; <xref ref-type="bibr" rid="B8">Chen et al., 2023</xref></td>
<td valign="top" align="left">Hallucination linked to pretraining biases and architectural limits</td>
</tr> <tr>
<td valign="top" align="left">Evaluation</td>
<td valign="top" align="left"><xref ref-type="bibr" rid="B19">Lin et al., 2022</xref>; <xref ref-type="bibr" rid="B34">Wu et al., 2023</xref>; <xref ref-type="bibr" rid="B15">Kazemi et al., 2023</xref></td>
<td valign="top" align="left">Domain-specific benchmarks and scoring methods for hallucination detection</td>
</tr> <tr>
<td valign="top" align="left">Mitigation strategies</td>
<td valign="top" align="left"><xref ref-type="bibr" rid="B26">Ouyang et al., 2022</xref>; <xref ref-type="bibr" rid="B17">Lewis et al., 2020</xref>; <xref ref-type="bibr" rid="B36">Zhang et al., 2023</xref></td>
<td valign="top" align="left">RLHF, retrieval augmentation, grounded training, hybrid solutions</td>
</tr></tbody>
</table>
</table-wrap>
</sec></sec>
<sec id="s4">
<title>4 Attribution framework: prompting vs. model behavior</title>
<p>While hallucination in Large Language Models (LLMs) is a well-recognized challenge, addressing the root cause of hallucination remains ambiguous. A single erroneous output may occur from a combination of unclear prompting, model architectural biases, training data limitations, or by each one of these factors. To systematically analyze this phenomenon, we introduce an attribution framework that aims to solve the connection of <bold>prompting</bold> and <bold>model behavior</bold> to hallucination generated text.</p>
<sec>
<title>4.1 Motivation for attribution analysis</title>
<p>Understanding whether hallucinations are caused by prompt formulation or intrinsic model behavior is essential for:</p>
<list list-type="bullet">
<list-item><p>Designing more effective prompt engineering strategies.</p></list-item>
<list-item><p>Developing architectures that are inherently more grounded and robust.</p></list-item>
<list-item><p>Benchmarking LLM reliability under controlled conditions.</p></list-item>
</list>
<p>Several studies have hinted at this attribution duality (<xref ref-type="bibr" rid="B13">Ji et al., 2023</xref>; <xref ref-type="bibr" rid="B32">Wei et al., 2022</xref>; <xref ref-type="bibr" rid="B8">Chen et al., 2023</xref>), but a formal diagnostic framework has not been sufficiently developed. Our approach fills this gap by offering a reproducible method to separate these two components using controlled prompt manipulation and model comparison.</p>
<disp-quote><p>Unlike previous approaches, which focus on categorize hallucinations, and analyzes domain-specific hallucination cases), our work introduces a <italic>novel attribution framework</italic> that distinguishes prompt-induced from model-intrinsic hallucinations. This framework defines new metrics and protocols to systematically isolate the source of hallucinations, filling the gap left by earlier studies.</p></disp-quote></sec>
<sec>
<title>4.2 Attribution framework overview</title>
<p><xref ref-type="fig" rid="F1">Figure 1</xref> provides a high-level overview of the attribution framework. The attribution framework categorizes hallucinations in LLMs using Prompt Sensitivity (PS) and Model Variability (MV). High PS indicates hallucinations mainly due to ambiguous prompts, while high MV suggests intrinsic model limitations. Identifying categories&#x02014;prompt-dominant, model-dominant, mixed-origin, or unclassified&#x02014;guides targeted mitigation strategies, emphasizing prompt clarity, improved training, or combined solutions to effectively reduce hallucinations. We define two primary dimensions of analysis:</p>
<list list-type="bullet">
<list-item><p><bold>Prompt sensitivity (PS):</bold> measures the variation in output hallucination rates under different prompt styles for a fixed model. PS is a new metric introduced in this work to quantify variations across prompts; previous work has not defined an explicit measure for hallucination problems. High PS suggests hallucination is prompt-induced.</p>
</list-item>
<list-item><p><bold>Model variability (MV):</bold> measures the difference in hallucination rates across different models for a fixed prompt. High MV indicates hallucination is model-intrinsic.</p></list-item>
<list-item><p><bold>Objective thresholds:</bold> for distinguishing &#x0201C;low&#x0201D; vs. &#x0201C;high&#x0201D; Prompt Sensitivity (PS) and Model Variability (MV), we first collected the PS and MV values computed for all evaluated models. We then plotted their distributions to visualize the spread of scores. Instead of selecting arbitrary boundaries, we used the median value of each distribution as the cutoff. This ensures that the quadrant framework (<xref ref-type="fig" rid="F1">Figure 1</xref>) reflects the actual data distribution in a balanced and non-biased way, independent of individual model outliers</p></list-item>
</list>
<fig position="float" id="F1">
<label>Figure 1</label>
<caption><p>Attribution quadrants defined using median cutoffs for Prompt Sensitivity (PS = 0.079) and Model Variability (MV = 0.057), computed across all evaluated models in <xref ref-type="table" rid="T4">Table 4</xref>. The quadrants correspond to prompt-dominant (high PS, low MV), model-dominant (low PS, high MV), mixed-origin (high PS and MV), and unclassified (low PS and MV) hallucinations. Using medians provides an objective, distribution-aware threshold rather than arbitrary cutoffs.</p></caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="frai-08-1622292-g0001.tif">
<alt-text>Scatter plot titled &#x0201C;Model-dominant&#x0201D; showing a graph with axes labeled &#x0201C;Prompt Sensitivity (PS)&#x0201D; and &#x0201C;Model Variability (MV).&#x0201D; A red dashed vertical line at PS cutoff = 0.079 and a blue dashed horizontal line at MV cutoff = 0.057 divide the plot into quadrants. The quadrants are labeled &#x0201C;Model-dominant&#x0201D; in blue, &#x0201C;Prompt-dominant&#x0201D; in red, and &#x0201C;Unclassified&#x0201D; in gray.</alt-text>
</graphic>
</fig>
</sec>
<sec>
<title>4.3 Quantitative attribution scoring</title>
<p>We define a set of formal metrics to quantify attribution dimensions:</p>
<disp-formula id="E5"><label>(5)</label><mml:math id="M5"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:mtext class="textrm" mathvariant="normal">Prompt Sensitivity (PS)</mml:mtext></mml:mtd><mml:mtd><mml:mo>=</mml:mo></mml:mtd><mml:mtd><mml:mfrac><mml:mrow><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:mfrac><mml:mstyle displaystyle="true"><mml:munderover accentunder="false" accent="false"><mml:mrow><mml:mo>&#x02211;</mml:mo></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:munderover></mml:mstyle><mml:mo>|</mml:mo><mml:msubsup><mml:mrow><mml:mi>H</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:mi>M</mml:mi></mml:mrow></mml:msubsup><mml:mo>-</mml:mo><mml:msup><mml:mrow><mml:mover accent="false" class="mml-overline"><mml:mrow><mml:mi>H</mml:mi></mml:mrow><mml:mo accent="true">&#x000AF;</mml:mo></mml:mover></mml:mrow><mml:mrow><mml:mi>M</mml:mi></mml:mrow></mml:msup><mml:mo>|</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<disp-formula id="E6"><label>(6)</label><mml:math id="M6"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:mtext class="textrm" mathvariant="normal">Model Variability (MV)</mml:mtext></mml:mtd><mml:mtd><mml:mo>=</mml:mo></mml:mtd><mml:mtd><mml:mfrac><mml:mrow><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mi>m</mml:mi></mml:mrow></mml:mfrac><mml:mstyle displaystyle="true"><mml:munderover accentunder="false" accent="false"><mml:mrow><mml:mo>&#x02211;</mml:mo></mml:mrow><mml:mrow><mml:mi>j</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mi>m</mml:mi></mml:mrow></mml:munderover></mml:mstyle><mml:mo>|</mml:mo><mml:msubsup><mml:mrow><mml:mi>H</mml:mi></mml:mrow><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>M</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msubsup><mml:mo>-</mml:mo><mml:msup><mml:mrow><mml:mover accent="false" class="mml-overline"><mml:mrow><mml:mi>H</mml:mi></mml:mrow><mml:mo accent="true">&#x000AF;</mml:mo></mml:mover></mml:mrow><mml:mrow><mml:mi>P</mml:mi></mml:mrow></mml:msup><mml:mo>|</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>where <inline-formula><mml:math id="M7"><mml:msubsup><mml:mrow><mml:mi>H</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:mi>M</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula> is the hallucination rate for prompt <italic>P</italic><sub><italic>i</italic></sub> on model <italic>M</italic>, and <inline-formula><mml:math id="M8"><mml:msubsup><mml:mrow><mml:mi>H</mml:mi></mml:mrow><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>M</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msubsup></mml:math></inline-formula> is the hallucination rate for a fixed prompt <italic>P</italic> across models <italic>M</italic><sub><italic>j</italic></sub>. The means <inline-formula><mml:math id="M9"><mml:msup><mml:mrow><mml:mover accent="false" class="mml-overline"><mml:mrow><mml:mi>H</mml:mi></mml:mrow><mml:mo accent="true">&#x000AF;</mml:mo></mml:mover></mml:mrow><mml:mrow><mml:mi>M</mml:mi></mml:mrow></mml:msup></mml:math></inline-formula> and <inline-formula><mml:math id="M10"><mml:msup><mml:mrow><mml:mover accent="false" class="mml-overline"><mml:mrow><mml:mi>H</mml:mi></mml:mrow><mml:mo accent="true">&#x000AF;</mml:mo></mml:mover></mml:mrow><mml:mrow><mml:mi>P</mml:mi></mml:mrow></mml:msup></mml:math></inline-formula> denote average hallucination rates across prompts and models, respectively.</p>
<p>We also propose the use metric to quantify prompt-model interaction effects specifically for LLM hallucinations:</p>
<disp-formula id="E7"><label>(7)</label><mml:math id="M11"><mml:mtable columnalign='left'><mml:mtr><mml:mtd><mml:mtext>Joint&#x000A0;Attribution&#x000A0;Score&#x000A0;(JAS)&#x02009;</mml:mtext><mml:mo>=</mml:mo><mml:mtext>&#x02009;</mml:mtext></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mfrac><mml:mn>1</mml:mn><mml:mrow><mml:mi>n</mml:mi><mml:mi>m</mml:mi></mml:mrow></mml:mfrac><mml:mstyle displaystyle='true'><mml:munderover><mml:mo>&#x02211;</mml:mo><mml:mrow><mml:mi>i</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mi>n</mml:mi></mml:munderover><mml:mrow><mml:mstyle displaystyle='true'><mml:munderover><mml:mo>&#x02211;</mml:mo><mml:mrow><mml:mi>j</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mi>m</mml:mi></mml:munderover><mml:mrow><mml:mfrac><mml:mrow><mml:mo stretchy='false'>(</mml:mo><mml:msubsup><mml:mi>H</mml:mi><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow><mml:mrow><mml:msub><mml:mi>M</mml:mi><mml:mi>j</mml:mi></mml:msub></mml:mrow></mml:msubsup><mml:mo>&#x02212;</mml:mo><mml:msub><mml:mi>H</mml:mi><mml:mrow><mml:msub><mml:mi>M</mml:mi><mml:mi>j</mml:mi></mml:msub></mml:mrow></mml:msub><mml:mo stretchy='false'>)</mml:mo><mml:mo stretchy='false'>(</mml:mo><mml:msubsup><mml:mi>H</mml:mi><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow><mml:mrow><mml:msub><mml:mi>M</mml:mi><mml:mi>j</mml:mi></mml:msub></mml:mrow></mml:msubsup><mml:mo>&#x02212;</mml:mo><mml:msub><mml:mi>H</mml:mi><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:msub><mml:mo stretchy='false'>)</mml:mo></mml:mrow><mml:mrow><mml:msub><mml:mi>&#x003C3;</mml:mi><mml:mi>P</mml:mi></mml:msub><mml:msub><mml:mi>&#x003C3;</mml:mi><mml:mi>M</mml:mi></mml:msub></mml:mrow></mml:mfrac></mml:mrow></mml:mstyle></mml:mrow></mml:mstyle><mml:mo>,</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>where &#x003C3;<sub><italic>P</italic></sub> and &#x003C3;<sub><italic>M</italic></sub> are the standard deviations of hallucination rates across all prompts and all models, respectively. JAS is effectively the (normalized) covariance between prompt-specific and model-specific deviations in hallucination rate. A positive JAS indicates that certain prompt-model combinations amplify hallucinations more than would be expected from prompt or model effects alone (i.e., the prompt and model jointly contribute to the error).</p></sec>
<sec>
<title>4.4 Prompt variation protocol</title>
<p>To measure Prompt Sensitivity, we evaluate each model on multiple variants of the prompts. We systematically vary prompts along three axes:</p>
<list list-type="bullet">
<list-item><p><italic>Format</italic>: e.g., declarative vs. interrogative vs. instructionstyle phrasing.</p></list-item>
<list-item><p><italic>Structure</italic>: e.g., a straight forward query vs. a step-by-step <italic>Chain-of-Thought (CoT)</italic> prompt; zero-shot vs. few-shot contexts; inclusion of relevant context or not.</p></list-item>
<list-item><p><italic>Specificity</italic>: vague, open-ended wording vs. explicitly detailed prompts.</p></list-item>
</list>
<p>This controlled prompt variation allows us to observe whether a hallucination persists or disappears when the prompt is clarified or restructured. If a hallucinated answer disappears once the question is asked more explicitly or by CoT, it suggests the cause was prompt-related. Conversely, if the hallucination persists across all prompt variants, the cause likely lies in the model&#x00027;s internal behavior.</p></sec>
<sec>
<title>4.5 Model control protocol</title>
<p>To control for model behavior, we fix prompt design and evaluate hallucination occurrence across diverse models (e.g., GPT-4, LLaMA 2, DeepSeek, Gwen). The intuition is that consistent hallucinations across models suggest prompt-induced errors, while divergent hallucination patterns imply architecture-specific behaviors or training artifacts.</p></sec>
<sec>
<title>4.6 Attribution categories</title>
<p>Using PS and MV scores, hallucinations can be categorized as:</p>
<list list-type="bullet">
<list-item><p><bold>Prompt-dominant</bold>: high PS, low MV.</p></list-item>
<list-item><p><bold>Model-dominant</bold>: low PS, high MV.</p></list-item>
<list-item><p><bold>Mixed-origin</bold>: high PS and MV.</p></list-item>
<list-item><p><bold>Unclassified (noise)</bold>: low PS and MV (e.g., stochastic sampling artifacts).</p></list-item>
</list>
<p><xref ref-type="table" rid="T2">Table 2</xref> summarizes this taxonomy.</p>
<table-wrap position="float" id="T2">
<label>Table 2</label>
<caption><p>Hallucination attribution scenarios based on PS and MV metrics.</p></caption>
<table frame="box" rules="all">
<thead>
<tr style="background-color:#727779;color:#ffffff">
<th valign="top" align="left"><bold>PS score</bold></th>
<th valign="top" align="left"><bold>MV score</bold></th>
<th valign="top" align="left"><bold>Attribution category</bold></th>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" align="left">High</td>
<td valign="top" align="left">Low</td>
<td valign="top" align="left">Prompt-dominant</td>
</tr> <tr>
<td valign="top" align="left">Low</td>
<td valign="top" align="left">High</td>
<td valign="top" align="left">Model-dominant</td>
</tr> <tr>
<td valign="top" align="left">High</td>
<td valign="top" align="left">High</td>
<td valign="top" align="left">Mixed-origin</td>
</tr> <tr>
<td valign="top" align="left">Low</td>
<td valign="top" align="left">Low</td>
<td valign="top" align="left">Unclassified (stochastic/noise)</td>
</tr></tbody>
</table>
</table-wrap></sec>
<sec>
<title>4.7 Advantages of the framework</title>
<p>Our attribution framework provides a systematic approach to hallucination analysis, with several advantages:</p>
<list list-type="bullet">
<list-item><p>It enables clear, diagnostic reasoning about the source of each hallucination (prompt vs. model).</p></list-item>
<list-item><p>It is scalable across different models and domains, and can incorporate standard benchmarks for generality.</p></list-item>
<list-item><p>It facilitates reproducible experiments by defining concrete protocols for prompt variation and model comparison.</p></list-item>
<list-item><p>It provides interpretable quantitative scores (PS, MV, JAS) that can be used for benchmarking and tracking improvements.</p></list-item>
</list></sec>
<sec>
<title>4.8 Formalization of attribution framework</title>
<p>Earlier sections introduced the basic framework of hallucination attribution in Large Language Models (LLMs). Here, we extend our analysis through a rigorous probabilistic formulation grounded in Bayesian inference and decision theory (<xref ref-type="bibr" rid="B4">Berger, 2013</xref>; <xref ref-type="bibr" rid="B12">Gelman et al., 2013</xref>). Such formalization enables a more precise dissection of hallucination phenomena by systematically quantifying the contributions of prompting strategies and intrinsic model behaviors.</p>
<p>Formally, hallucination events can be represented probabilistically as random events. Let <italic>H</italic> denote hallucination occurrence conditioned upon prompting strategy <italic>P</italic> and model characteristics <italic>M</italic>:</p>
<disp-formula id="E8"><label>(8)</label><mml:math id="M12"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:mi>P</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>H</mml:mi><mml:mo>|</mml:mo><mml:mi>P</mml:mi><mml:mo>,</mml:mo><mml:mi>M</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:mi>P</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>P</mml:mi><mml:mo>,</mml:mo><mml:mi>M</mml:mi><mml:mo>|</mml:mo><mml:mi>H</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mi>P</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>H</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mi>P</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>P</mml:mi><mml:mo>,</mml:mo><mml:mi>M</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow></mml:mfrac><mml:mo>.</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>Here, <italic>P</italic>(<italic>P, M</italic>|<italic>H</italic>) is the likelihood of observing prompt and model characteristics given a hallucination, <italic>P</italic>(<italic>H</italic>) is the base rate of hallucination, and <italic>P</italic>(<italic>P, M</italic>) is the joint prior over prompts and models. Due to practical complexities, assumptions such as conditional independence can simplify the analysis (<xref ref-type="bibr" rid="B27">Pearl, 1988</xref>):</p>
<disp-formula id="E9"><label>(9)</label><mml:math id="M13"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:mi>P</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>H</mml:mi><mml:mo>|</mml:mo><mml:mi>P</mml:mi><mml:mo>,</mml:mo><mml:mi>M</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>&#x02248;</mml:mo><mml:mi>P</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>H</mml:mi><mml:mo>|</mml:mo><mml:mi>P</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mi>P</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>H</mml:mi><mml:mo>|</mml:mo><mml:mi>M</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>.</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>Yet, realistic scenarios typically involve interactions between prompt and model attributes. Thus, we propose a mixed-effects probabilistic model incorporating explicit interaction terms:</p>
<disp-formula id="E10"><label>(10)</label><mml:math id="M14"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:mi>P</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>H</mml:mi><mml:mo>|</mml:mo><mml:mi>P</mml:mi><mml:mo>,</mml:mo><mml:mi>M</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mi>&#x003B1;</mml:mi><mml:mi>P</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>H</mml:mi><mml:mo>|</mml:mo><mml:mi>P</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>&#x0002B;</mml:mo><mml:mi>&#x003B2;</mml:mi><mml:mi>P</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>H</mml:mi><mml:mo>|</mml:mo><mml:mi>M</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>&#x0002B;</mml:mo><mml:mi>&#x003B3;</mml:mi><mml:mi>P</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>H</mml:mi><mml:mo>|</mml:mo><mml:mi>P</mml:mi><mml:mo>,</mml:mo><mml:mi>M</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>,</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>where &#x003B1;, &#x003B2;, &#x003B3; are parameters empirically calibrated from experimental data (<xref ref-type="bibr" rid="B12">Gelman et al., 2013</xref>). Higher &#x003B3; values signify significant joint prompt-model effects, indicating mixed-origin hallucinations.</p></sec>
<sec>
<title>4.9 Probabilistic metrics for hallucination attribution</title>
<p>We introduce refined metrics derived from probabilistic reasoning to quantify hallucinations rigorously and aid systematic attribution.</p>
<sec>
<title>4.9.1 Conditional prompt sensitivity (CPS)</title>
<p>Conditional prompt sensitivity (CPS) quantifies prompt-induced variability across models, refining earlier definitions of prompt sensitivity:</p>
<disp-formula id="E11"><label>(11)</label><mml:math id="M15"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:mi>C</mml:mi><mml:mi>P</mml:mi><mml:mi>S</mml:mi><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mi>n</mml:mi><mml:mi>m</mml:mi></mml:mrow></mml:mfrac><mml:mstyle displaystyle="true"><mml:munderover accentunder="false" accent="false"><mml:mrow><mml:mo>&#x02211;</mml:mo></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:munderover></mml:mstyle><mml:mstyle displaystyle="true"><mml:munderover accentunder="false" accent="false"><mml:mrow><mml:mo>&#x02211;</mml:mo></mml:mrow><mml:mrow><mml:mi>j</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mi>m</mml:mi></mml:mrow></mml:munderover></mml:mstyle><mml:mo>|</mml:mo><mml:msubsup><mml:mrow><mml:mi>H</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>M</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msubsup><mml:mo>-</mml:mo><mml:msup><mml:mrow><mml:mi>H</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>M</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msup><mml:mo>|</mml:mo><mml:mo>,</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>where <inline-formula><mml:math id="M16"><mml:mrow><mml:msubsup><mml:mrow><mml:mi>H</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>M</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msubsup></mml:mrow></mml:math></inline-formula> is the hallucination rate for prompt variant <italic>P</italic><sub><italic>i</italic></sub> under model <italic>M</italic><sub><italic>j</italic></sub>, and <inline-formula><mml:math id="M17"><mml:mrow><mml:msup><mml:mrow><mml:mi>H</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>M</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula> is the average hallucination rate for model <italic>M</italic><sub><italic>j</italic></sub>. CPS values directly measure how hallucinations depend on prompt specificity across models.</p></sec>
<sec>
<title>4.9.2 Conditional model variability (CMV)</title>
<p>Analogously, conditional model variabilit (CMV) isolates intrinsic model effects given consistent prompts:</p>
<disp-formula id="E12"><label>(12)</label><mml:math id="M18"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:mi>C</mml:mi><mml:mi>M</mml:mi><mml:mi>V</mml:mi><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mi>n</mml:mi><mml:mi>m</mml:mi></mml:mrow></mml:mfrac><mml:mstyle displaystyle="true"><mml:munderover accentunder="false" accent="false"><mml:mrow><mml:mo>&#x02211;</mml:mo></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:munderover></mml:mstyle><mml:mstyle displaystyle="true"><mml:munderover accentunder="false" accent="false"><mml:mrow><mml:mo>&#x02211;</mml:mo></mml:mrow><mml:mrow><mml:mi>j</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mi>m</mml:mi></mml:mrow></mml:munderover></mml:mstyle><mml:mo>|</mml:mo><mml:msubsup><mml:mrow><mml:mi>H</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>M</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msubsup><mml:mo>-</mml:mo><mml:msup><mml:mrow><mml:mi>H</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msup><mml:mo>|</mml:mo><mml:mo>,</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>with <inline-formula><mml:math id="M19"><mml:mrow><mml:msubsup><mml:mrow><mml:mi>H</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>M</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msubsup></mml:mrow></mml:math></inline-formula> as hallucination rates for model <italic>M</italic><sub><italic>j</italic></sub> given prompt <italic>P</italic><sub><italic>i</italic></sub>, and <inline-formula><mml:math id="M20"><mml:mrow><mml:msup><mml:mrow><mml:mi>H</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula> representing the mean hallucination across models for prompt <italic>P</italic><sub><italic>i</italic></sub>.</p></sec>
<sec>
<title>4.9.3 Joint attribution score (JAS)</title>
<p>Joint attribution score (JAS) explicitly quantifies interactive effects between prompts and models (<xref ref-type="bibr" rid="B4">Berger, 2013</xref>):</p>
<disp-formula id="E13"><label>(13)</label><mml:math id="M21"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:mi>J</mml:mi><mml:mi>A</mml:mi><mml:mi>S</mml:mi><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mi>n</mml:mi><mml:mi>m</mml:mi></mml:mrow></mml:mfrac><mml:mstyle displaystyle="true"><mml:munderover accentunder="false" accent="false"><mml:mrow><mml:mo>&#x02211;</mml:mo></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:munderover></mml:mstyle><mml:mstyle displaystyle="true"><mml:munderover accentunder="false" accent="false"><mml:mrow><mml:mo>&#x02211;</mml:mo></mml:mrow><mml:mrow><mml:mi>j</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mi>m</mml:mi></mml:mrow></mml:munderover></mml:mstyle><mml:mfrac><mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msubsup><mml:mrow><mml:mi>H</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>M</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msubsup><mml:mo>-</mml:mo><mml:msup><mml:mrow><mml:mi>H</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>M</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msup></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msubsup><mml:mrow><mml:mi>H</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>M</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msubsup><mml:mo>-</mml:mo><mml:msup><mml:mrow><mml:mi>H</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msup></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>&#x003C3;</mml:mi></mml:mrow><mml:mrow><mml:mi>P</mml:mi></mml:mrow></mml:msub><mml:msub><mml:mrow><mml:mi>&#x003C3;</mml:mi></mml:mrow><mml:mrow><mml:mi>M</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfrac><mml:mo>,</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>where &#x003C3;<sub><italic>P</italic></sub>, &#x003C3;<sub><italic>M</italic></sub> denote standard deviations of hallucination rates across prompts and models, respectively. Positive JAS scores indicate joint amplification of hallucinations by prompts and models. Capturing interaction effects that have not been previously quantified in the literature.</p></sec></sec>
<sec>
<title>4.10 Illustrative experimental application</title>
<p>Experimental evaluations employing benchmarks like TruthfulQA and HallucinationEval clearly highlight differences among LLaMA 2, DeepSeek, and GPT-4:</p>
<list list-type="bullet">
<list-item><p>CPS analysis revealed significantly higher values for vaguely specified prompts (0.15 for LLaMA 2), reflecting enhanced susceptibility to prompt-induced hallucinations. Structured prompting like Chain-of-Thought significantly reduced CPS (0.06), underscoring the practical benefits of structured prompt engineering (<xref ref-type="bibr" rid="B37">Zhou et al., 2022</xref>).</p></list-item>
<list-item><p>CMV values showed distinct model behaviors; DeepSeek demonstrated the highest CMV (0.14), reflecting intrinsic model biases, while GPT-4 maintained notably lower CMV (0.08), consistent with better internal factual grounding (<xref ref-type="bibr" rid="B24">OpenAI, 2023b</xref>).</p></list-item>
<list-item><p>JAS revealed critical insights, with high JAS values (0.12) for LLaMA 2 under ambiguous prompts, indicating the compounded hallucination risks arising from interactions between unclear prompts and intrinsic model limitations.</p></list-item>
</list>
<p>Such insights derived from experimental CPS, CMV, and JAS metrics are invaluable for precise, tailored mitigation efforts.</p>
<disp-quote><p>Our attribution metrics align with established benchmarks: models with higher PS/MV generally fared worse on factuality benchmarks like TruthfulQA (<xref ref-type="bibr" rid="B19">Lin et al., 2022</xref>) and HallucinationEval (<xref ref-type="bibr" rid="B34">Wu et al., 2023</xref>), while models with low MV (e.g., GPT-4) achieved better TruthfulQA scores. This indicates that PS and MV capture aspects of hallucination propensity that correspond to real-world factual accuracy measures, providing a complementary, fine-grained diagnostic beyond the aggregate benchmark scores.</p></disp-quote></sec>
<sec>
<title>4.11 Bayesian hierarchical modeling for robust attribution</title>
<p>To robustly quantify uncertainty and variability in hallucination attribution, we apply Bayesian hierarchical modeling (BHM). BHM represents hallucination rates hierarchically with model-specific and prompt-specific parameters drawn from higher-level distributions (<xref ref-type="bibr" rid="B12">Gelman et al., 2013</xref>):</p>
<disp-formula id="E14"><label>(14)</label><mml:math id="M22"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:msub><mml:mrow><mml:mi>H</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo>&#x0007E;</mml:mo><mml:mtext class="textrm" mathvariant="normal">Beta</mml:mtext><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>&#x003BC;</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mi>&#x003C4;</mml:mi><mml:mo>,</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mn>1</mml:mn><mml:mo>&#x02212;</mml:mo><mml:msub><mml:mrow><mml:mi>&#x003BC;</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mi>&#x003C4;</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>,</mml:mo><mml:mtext>&#x02003;</mml:mtext><mml:msub><mml:mrow><mml:mi>&#x003BC;</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:msup><mml:mrow><mml:mtext class="textrm" mathvariant="normal">logit</mml:mtext></mml:mrow><mml:mrow><mml:mo>&#x02212;</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msup><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>&#x003B1;</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>&#x0002B;</mml:mo><mml:msub><mml:mrow><mml:mi>&#x003B2;</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo>&#x0002B;</mml:mo><mml:msub><mml:mrow><mml:mi>&#x003B3;</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>,</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>where <italic>H</italic><sub><italic>ij</italic></sub> is hallucination rate for model <italic>i</italic> under prompt <italic>j</italic>, &#x003B1;<sub><italic>i</italic></sub>, &#x003B2;<sub><italic>j</italic></sub> represent model-specific and prompt-specific effects, and &#x003B3;<sub><italic>ij</italic></sub> interaction effects. Bayesian inference via Markov Chain Monte Carlo (MCMC) sampling yields credible intervals and posterior distributions, enhancing analytical transparency and calculation in attribution analysis. To our knowledge, this is the first application of Bayesian hierarchical modeling to LLM hallucination analysis. This formalism is novel and brings statistical rigor by modeling prompt and model factors as random effects.</p></sec>
<sec>
<title>4.12 Implications and advanced applications</title>
<p>The advanced formulation of our attribution framework offers significant theoretical and practical implications. Practically, precise quantification of hallucination attribution informs targeted interventions: structured prompt engineering in high-CPS conditions, model fine-tuning for high-CMV scenarios, and combined interventions for elevated JAS conditions. Theoretically, integrating Bayesian modeling into attribution analyses provides rigorous, interpretable frameworks for future LLM hallucination research, enhancing model reliability and practical deployment in critical applications.</p>
<p>This probabilistic, experimentally grounded approach provides robust analytical tools essential for ongoing research and deployment of trustworthy LLM systems.</p>
<p>In the next section, we apply this framework to a set of controlled experiments using state-of-the-art LLMs and benchmark datasets.</p></sec></sec>
<sec id="s5">
<title>5 Experimental design and setup</title>
<p>To ensure reproducibility and cost-efficiency, all experiments were conducted using open-source Large Language Models (LLMs), publicly available datasets, and free inference and evaluation tools. This section describes the design of the experiment in detail, including model selection, dataset choices, prompt engineering protocols, inference pipeline, and evaluation metrics, along with concrete examples. Unlike prior evaluations, we use a controlled multi-factor experiment explicitly aimed at attributing causes, by varying prompts systematically across models.</p>
<sec>
<title>5.1 Model selection</title>
<p>We selected high-quality open-source LLMs with varied sizes, architectures, and instruction-tuning characteristics to represent a diverse evaluation space:</p>
<list list-type="bullet">
<list-item><p><bold>LLaMA 2 (13B)</bold> (<xref ref-type="bibr" rid="B30">Touvron et al., 2023</xref>): meta AI&#x00027;s transformer-based model fine-tuned for dialogue tasks.</p></list-item>
<list-item><p><bold>Mistral 7B instruct</bold>: a smaller but instruction-tuned model with strong reasoning capabilities.</p></list-item>
<list-item><p><bold>DeepSeek 67B</bold> (<xref ref-type="bibr" rid="B9">DeepSeek AI, 2023</xref>): a multilingual model trained on code and web data, known for factual generation.</p></list-item>
<list-item><p><bold>OpenChat-3.5</bold> (<xref ref-type="bibr" rid="B25">Openchat Team, 2023</xref>): a community-finetuned model derived from LLaMA with RLHF-style behavior.</p></list-item>
<list-item><p><bold>Gwen (community model)</bold>: an open-access research model emphasizing retrieval-enhanced factual generation.</p></list-item>
</list>
<p>All models were deployed via HuggingFace&#x00027;s transformers library.</p></sec>
<sec>
<title>5.2 Benchmark datasets</title>
<p>We selected benchmarks covering different task types (question answering, summarization, general generation) to probe hallucination under varying conditions.</p>
<list list-type="bullet">
<list-item><p><bold>TruthfulQA</bold> (<xref ref-type="bibr" rid="B19">Lin et al., 2022</xref>): a multiple-choice QA dataset crafted to test whether models reproduce common human misconceptions or produce false information.</p>
<p><italic>Example:</italic> <bold>Question:</bold> &#x0201C;What happens if you eat a polar bear liver?&#x0201D; <bold>Gold answer:</bold> &#x0201C;You may get vitamin A poisoning.&#x0201D; <bold>Model hallucination:</bold> &#x0201C;It is a rich source of protein and perfectly safe.&#x0201D;</p>
</list-item>
<list-item><p><bold>HallucinationEval</bold> (<xref ref-type="bibr" rid="B34">Wu et al., 2023</xref>): covers multiple domains and explicitly labeled hallucinations in generations, providing granular annotation categories (factual error, fabrication, etc.).</p></list-item>
<list-item><p><bold>QAFactEval</bold> (<xref ref-type="bibr" rid="B10">Fabbri et al., 2022</xref>): a fact-evaluation benchmark that uses QA pairs to assess whether model outputs contain the same facts as the input source.</p>
<p><italic>Example:</italic> <bold>Source:</bold> &#x0201C;Albert Einstein was born in 1879 in Ulm, Germany.&#x0201D; <bold>Summary:</bold> &#x0201C;Einstein was born in Berlin in 1879.&#x0201D; &#x021D2; Inconsistent fact.</p>
</list-item>
<list-item><p><bold>CohS</bold> (<xref ref-type="bibr" rid="B15">Kazemi et al., 2023</xref>): focused on summarization hallucination, with annotations distinguishing intrinsic vs. extrinsic hallucination.</p></list-item>
</list>
<p>All datasets were accessed via HuggingFace Datasets Hub or official GitHub repositories.</p></sec>
<sec>
<title>5.3 Prompt engineering protocol</title>
<p>To evaluate the influence of prompt structure on hallucination generation, we designed five prompt categories for each task instance:</p>
<list list-type="bullet">
<list-item><p><bold>Zero-shot prompt:</bold> a basic instruction without examples. <italic>Example:</italic> &#x0201C;Answer the following question: What is the capital of Switzerland?&#x0201D;</p></list-item>
<list-item><p><bold>Few-shot prompt:</bold> includes 2&#x02013;3 input-output examples before the test input. <italic>Example:</italic> <bold>Q1:</bold> What is the capital of Germany? <bold>A1:</bold> Berlin <bold>Q2:</bold> What is the capital of Italy? <bold>A2:</bold> Rome <bold>Q3:</bold> What is the capital of Switzerland? <bold>A3:</bold> (model output)</p></list-item>
<list-item><p><bold>Instruction prompt:</bold> uses structured natural language to clarify task expectations. <italic>Example:</italic> &#x0201C;You are a helpful assistant. Given a question, respond with a concise and factually correct answer.&#x0201D;</p></list-item>
<list-item><p><bold>Chain-of-thought (CoT) Prompt:</bold> Encourages step-by-step reasoning before answering. <italic>Example:</italic> &#x0201C;Think step-by-step: What country is Zurich in? Zurich is in Switzerland. What is the capital of Switzerland? The capital is Bern.&#x0201D;</p></list-item>
<list-item><p><bold>Vague or misleading prompt:</bold> intentionally unclear to test hallucination resilience. <italic>Example:</italic> &#x0201C;Can you tell me more about the Swiss capital, which I think is Geneva?&#x0201D;</p></list-item>
</list>
<p>Each prompt variant was applied uniformly to all models per dataset sample, enabling precise attribution of hallucination sensitivity to prompting.</p></sec>
<sec>
<title>5.4 Operational definition of vague vs. specific prompts</title>
<p>We make the notion of &#x0201C;vague&#x0201D; vs. &#x0201C;specific&#x0201D; prompts <italic>operational and reproducible</italic> by (i) publishing concrete prompt pairs for each task family and (ii) introducing a <italic>Clarity Checklist</italic> with a quantitative <italic>Prompt Clarity Score (PCS)</italic> used in all experiments (<xref ref-type="bibr" rid="B37">Zhou et al., 2022</xref>).</p>
<sec>
<title>5.4.1 Clarity checklist (objective items)</title>
<p>A prompt receives one point per satisfied item (binary, 0/1). Items are phrased to be model-agnostic and dataset-agnostic.</p>
<list list-type="order">
<list-item><p><bold>Role specified</bold> (e.g., &#x0201C;<italic>You are a fact-checking assistant&#x0201D;</italic>).</p></list-item>
<list-item><p><bold>Task &#x00026; output format specified</bold> (schema, bullet/JSON/table; max length).</p></list-item>
<list-item><p><bold>Units/numeric ranges</bold> (e.g., &#x0201C;<italic>give probabilities in [0,1] with 2 decimals&#x0201D;</italic>).</p></list-item>
<list-item><p><bold>Time/version constraints</bold> (cutoff date, statute/version, model date).</p></list-item>
<list-item><p><bold>Information source policy</bold> (closed-book vs. RAG citations; how to cite).</p></list-item>
<list-item><p><bold>Ambiguity control</bold> (forbid speculation; define unknown/abstain behavior).</p></list-item>
</list></sec>
<sec>
<title>5.4.2 Prompt clarity score (PCS)</title>
<p>Let <italic>c</italic><sub><italic>k</italic></sub>&#x02208;{0, 1} indicate satisfaction of checklist item <italic>k</italic>&#x02208;{1, &#x02026;, 6}. We define</p>
<disp-formula id="E15"><mml:math id="M23"><mml:mrow><mml:mtext>PCS</mml:mtext><mml:mo>=</mml:mo><mml:mstyle displaystyle="true"><mml:munderover accentunder="false" accent="false"><mml:mrow><mml:mo>&#x02211;</mml:mo></mml:mrow><mml:mrow><mml:mi>k</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mn>6</mml:mn></mml:mrow></mml:munderover></mml:mstyle><mml:msub><mml:mrow><mml:mi>c</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mtext>&#x02003;&#x000A0;CI</mml:mtext><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:mtext>PCS</mml:mtext></mml:mrow><mml:mrow><mml:mn>6</mml:mn></mml:mrow></mml:mfrac><mml:mo>&#x02208;</mml:mo><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:mn>0</mml:mn><mml:mo>,</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mo>]</mml:mo></mml:mrow><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula>
<p><bold>Categories used in the paper:</bold></p>
<list list-type="bullet">
<list-item><p><bold>Vague</bold>: CI &#x0003C; 0.5 (PCS &#x02264; 2).</p></list-item>
<list-item><p><bold>Specific</bold>: CI&#x02265;0.8 (PCS &#x02265;5).</p></list-item>
<list-item><p><bold>Intermediate</bold>: otherwise (reported but not used as a treatment group).</p></list-item>
</list>
<p>These thresholds make the boundary <italic>objective, reproducible, and robust</italic> (medians used elsewhere in the paper follow the same principle for PS/MV).</p></sec></sec>
<sec>
<title>5.5 Inference pipeline</title>
<p>Inference was performed using open-source tools:</p>
<list list-type="bullet">
<list-item><p><bold>Library:</bold> HuggingFace <monospace>transformers</monospace>&#x0002B; <monospace>text-generation</monospace> pipeline</p></list-item>
<list-item><p><bold>Environment:</bold> Google Colab Pro (T4/A100), Kaggle GPU notebooks, local 8 &#x000D7; A6000 GPU server with 48 GB VRAM per GPU</p></list-item>
<list-item><p><bold>Sampling parameters:</bold> temperature = 0.7, Top-p = 0.9, Max tokens = 512.</p></list-item>
</list>
<p>All runs were script-automated to maintain reproducibility across model runs and prompt variants.</p></sec>
<sec>
<title>5.6 Evaluation metrics</title>
<p>We employed both automatic scoring tools and manual review:</p>
<list list-type="bullet">
<list-item><p><bold>QAFactEval:</bold> open-source QA-style factual consistency evaluation.</p></list-item>
<list-item><p><bold>Hallucination rate (HR):</bold> percentage of generations with factual/logical errors.</p></list-item>
<list-item><p><bold>Prompt sensitivity (PS):</bold> degree of hallucination variation across prompt types.</p></list-item>
<list-item><p><bold>Model variability (MV):</bold> variation in hallucination frequency across models for same prompt (<xref ref-type="table" rid="T3">Table 3</xref>).</p>
</list-item>
</list>


<table-wrap position="float" id="T3">
<label>Table 3</label>
<caption><p>Concrete prompt pairs used to operationalize &#x0201C;vague&#x0201D; vs. &#x0201C;specific.&#x0201D;</p></caption>
<table frame="box" rules="all">
<thead>
<tr style="background-color:#727779;color:#ffffff">
<th valign="top" align="left"><bold>Task</bold></th>
<th valign="top" align="left"><bold>Vague prompt (PCS &#x02264; 2)</bold></th>
<th valign="top" align="left"><bold>Specific prompt (PCS &#x02265;5)</bold></th>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" align="left">Factual QA</td>
<td valign="top" align="left">&#x0201C;Tell me about the Swiss capital.&#x0201D;</td>
<td valign="top" align="left"><bold>Role</bold>: fact-checking assistant. <bold>Task/format</bold>: &#x0201C;Answer the question with a single city name in JSON: {<monospace>&#x0201C;answer&#x0201D;: &#x0201C; &#x0003C; CITY&#x0003E;&#x0201D;</monospace>}.&#x0201D; <bold>Units/range</bold>: N/A. <bold>Time</bold>: knowledge cutoff 2023&#x02013;12. <bold>Sources</bold>: closed-book; if unsure, output <monospace>&#x0201C;answer&#x0201D;:&#x0201C;UNKNOWN&#x0201D;</monospace>. <bold>Prompt</bold>: &#x0201C;What is the capital of Switzerland?&#x0201D;</td>
</tr> <tr>
<td valign="top" align="left">Summarization</td>
<td valign="top" align="left">&#x0201C;Summarize this.&#x0201D;</td>
<td valign="top" align="left"><bold>Role</bold>: scientific editor. <bold>Format</bold>: bullet list (max 5 items); each bullet &#x02264; 20 words. <bold>Units</bold>: include years, % where applicable. <bold>Time</bold>: refer to the paper&#x00027;s publication year. <bold>Sources</bold>: use only provided passage. <bold>Ambiguity</bold>: if missing info, add a bullet &#x0201C;Limitations: &#x0003C; ...&#x0003E;.&#x0201D;</td>
</tr> <tr>
<td valign="top" align="left">Reasoning (math)</td>
<td valign="top" align="left">&#x0201C;Solve this: distance?&#x0201D;</td>
<td valign="top" align="left"><bold>Role</bold>: math tutor. <bold>Format</bold>: JSON with <monospace>steps:[...]</monospace>, <monospace>answer: &#x0003C; float&#x0003E;</monospace>. <bold>Units</bold>: meters; 2 decimals. <bold>Time</bold>: N/A. <bold>Sources</bold>: derive from given numbers only. <bold>Ambiguity</bold>: if insufficient data, set <monospace>answer:null</monospace> and explain in <monospace>steps</monospace>.</td>
</tr> <tr>
<td valign="top" align="left">Legal QA</td>
<td valign="top" align="left">&#x0201C;Is this clause valid?&#x0201D;</td>
<td valign="top" align="left"><bold>Role</bold>: legal analyst (not legal advice). <bold>Format</bold>: {&#x0201C;answer&#x0201D;: Yes/No, &#x0201C;rule&#x0201D;: statute/case, &#x0201C;explanation&#x0201D;: &#x02264; 60 words}. <bold>Time</bold>: jurisdiction=US; law version &#x02264; 2023&#x02013;12. <bold>Sources</bold>: cite statute/section; no web. <bold>Ambiguity</bold>: if unclear, &#x0201C;answer&#x0201D;: &#x0201C;UNCERTAIN.&#x0201D;</td>
</tr></tbody>
</table>
<table-wrap-foot>
<p>Each specific prompt satisfies all six checklist items; vague prompts intentionally fail &#x02265;4.</p>
</table-wrap-foot>
</table-wrap></sec>
<sec>
<title>5.7 Human evaluation protocol (optional)</title>
<p>To supplement automatic evaluation, expert annotators rated a 100-sample subset using a 3-point hallucination severity scale:</p>
<list list-type="bullet">
<list-item><p><bold>0:</bold> factual and consistent.</p></list-item>
<list-item><p><bold>1:</bold> minor factual errors.</p></list-item>
<list-item><p><bold>2:</bold> major hallucination or fabrication.</p></list-item>
</list>
<p>Inter-rater agreement was assessed using Krippendorff&#x00027;s Alpha.</p></sec>
<sec>
<title>5.8 Experimental pipeline overview</title>
<p>The experimental pipeline (<xref ref-type="fig" rid="F2">Figure 2</xref>) systematically evaluates hallucinations in open-source LLMs, integrating benchmark datasets, varied prompt strategies (zero-shot, few-shot, CoT), and text generation via HuggingFace. It uses evaluation tools (QAFactEval, hallucination rate) to compute attribution metrics (PS, MV), facilitating a comparative analysis to clearly identify prompt-induced vs. model-intrinsic hallucinations.</p>
<fig position="float" id="F2">
<label>Figure 2</label>
<caption><p>Free experimental pipeline: dataset &#x02192; prompting &#x02192; model generation &#x02192; evaluation &#x02192; attribution analysis.</p></caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="frai-08-1622292-g0002.tif">
<alt-text>Flowchart illustrating a process involving benchmark datasets like TruthfulQA and QAFactEval leading to prompt variants including zero-shot, few-shot, and CoT. These influence LLMs such as LLaMA 2, Mistral, and DeepSeek. Text generation is achieved using HuggingFace Pipeline. Evaluation tools like QAFactEval and HR are used, leading to attribution metrics and comparative analysis.</alt-text>
</graphic>
</fig>
</sec></sec>
<sec id="s6">
<title>6 Results and comparative analysis</title>
<p>This section presents the outcomes of our empirical analysis using the attribution-based evaluation framework. We provide both quantitative and qualitative assessments of hallucination behavior across multiple prompt variants and open-source LLMs. Our analysis includes hallucination rates, attribution scores (Prompt Sensitivity and Model Variability), and comparative performance across datasets and prompt types.</p>
<sec>
<title>6.1 Overall hallucination rates by model</title>
<p>The overall scores is shown on <xref ref-type="table" rid="T4">Table 4</xref></p>
<table-wrap position="float" id="T4">
<label>Table 4</label>
<caption><p>Average hallucination rate (%) reported as Mean &#x000B1; SD across three seeds &#x000D7; five prompt variants; <italic>n</italic> &#x0003D; 100 examples/model/dataset.</p></caption>
<table frame="box" rules="all">
<thead>
<tr style="background-color:#727779;color:#ffffff">
<th valign="top" align="left"><bold>Model</bold></th>
<th valign="top" align="left"><bold>TruthfulQA</bold></th>
<th valign="top" align="left"><bold>QAFactEval</bold></th>
<th valign="top" align="left"><bold>HallucinationEval</bold></th>
<th valign="top" align="left"><bold>Overall HR</bold></th>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" align="left">LLaMA 2 (13B)</td>
<td valign="top" align="left">27.8 (6)</td>
<td valign="top" align="left">31.4 (7)</td>
<td valign="top" align="left">34.6 (6)</td>
<td valign="top" align="left">31.3 (5)</td>
</tr> <tr>
<td valign="top" align="left">Mistral 7B</td>
<td valign="top" align="left">21.0 (4)</td>
<td valign="top" align="left">26.2 (5)</td>
<td valign="top" align="left">30.1 (5)</td>
<td valign="top" align="left">25.8 (10)</td>
</tr> <tr>
<td valign="top" align="left">DeepSeek 67B</td>
<td valign="top" align="left">19.7 (5)</td>
<td valign="top" align="left">24.9 (4)</td>
<td valign="top" align="left">25.1 (6)</td>
<td valign="top" align="left">23.2 (5)</td>
</tr> <tr>
<td valign="top" align="left">OpenChat-3.5</td>
<td valign="top" align="left">25.5 (6)</td>
<td valign="top" align="left">28.5 (6)</td>
<td valign="top" align="left">31.2 (5)</td>
<td valign="top" align="left">28.4 (6)</td>
</tr> <tr>
<td valign="top" align="left">Gwen</td>
<td valign="top" align="left">23.4 (5)</td>
<td valign="top" align="left">27.1 (6)</td>
<td valign="top" align="left">29.6 (5)</td>
<td valign="top" align="left">26.7 (5)</td>
</tr></tbody>
</table>
</table-wrap></sec>
<sec>
<title>6.2 Prompt-type impact on hallucination</title>
<p><xref ref-type="fig" rid="F3">Figure 3</xref> compares hallucination rates across prompt strategies, demonstrating that vague prompts yield the highest hallucinations (38.3%), while Chain-of-Thought (CoT) prompts significantly reduce hallucinations (18.1%). This highlights the crucial role of prompt clarity in minimizing hallucination occurrence, underscoring CoT as the most effective approach across evaluated LLMs.</p>
<fig position="float" id="F3">
<label>Figure 3</label>
<caption><p>Mean &#x000B1; SD across 3 seeds &#x000D7; 5 prompt variants; <italic>n</italic> &#x0003D; 100 examples/model. CoT reduces hallucinations most consistently.</p></caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="frai-08-1622292-g0003.tif">
<alt-text>Bar chart showing hallucination rates for different methods: Zero-shot at 34.5%, Few-shot at 27.2%, CoT at 18.1%, Instruction at 24.6%, and Vague at 38.3%. Each bar indicates a percentage with error bars.</alt-text>
</graphic>
</fig></sec>
<sec>
<title>6.3 Prompt sensitivity (PS) and model variability (MV)</title>
<p>The comparison of prompt sensitivity and model variability is shown in <xref ref-type="table" rid="T5">Table 5</xref>.</p>
<table-wrap position="float" id="T5">
<label>Table 5</label>
<caption><p>Prompt sensitivity (PS) and model variability (MV) scores (mean &#x000B1; SD) across three seeds &#x000D7; five prompt variants; <italic>n</italic> &#x0003D; 100.</p></caption>
<table frame="box" rules="all">
<thead>
<tr style="background-color:#727779;color:#ffffff">
<th valign="top" align="left"><bold>Model</bold></th>
<th valign="top" align="left"><bold>PS</bold></th>
<th valign="top" align="left"><bold>MV</bold></th>
<th valign="top" align="left"><bold>Attribution category</bold></th>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" align="left">LLaMA 2 (13B)</td>
<td valign="top" align="left">0.091 (5)</td>
<td valign="top" align="left">0.045 (6)</td>
<td valign="top" align="left">Prompt-dominant</td>
</tr> <tr>
<td valign="top" align="left">Mistral 7B</td>
<td valign="top" align="left">0.078 (7)</td>
<td valign="top" align="left">0.053 (6)</td>
<td valign="top" align="left">Mixed-origin</td>
</tr> <tr>
<td valign="top" align="left">DeepSeek 67B</td>
<td valign="top" align="left">0.060 (6)</td>
<td valign="top" align="left">0.080 (7)</td>
<td valign="top" align="left">Model-dominant</td>
</tr> <tr>
<td valign="top" align="left">OpenChat-3.5</td>
<td valign="top" align="left">0.083 (7)</td>
<td valign="top" align="left">0.062 (4)</td>
<td valign="top" align="left">Mixed-origin</td>
</tr> <tr>
<td valign="top" align="left">Gwen</td>
<td valign="top" align="left">0.079 (8)</td>
<td valign="top" align="left">0.057 (6)</td>
<td valign="top" align="left">Mixed-origin</td>
</tr></tbody>
</table>
</table-wrap></sec>
<sec>
<title>6.4 Qualitative examples of hallucination</title>
<p>Examples are shown in <xref ref-type="table" rid="T6">Table 6</xref>.</p>
<table-wrap position="float" id="T6">
<label>Table 6</label>
<caption><p>Examples of prompt- vs. model-induced hallucinations.</p></caption>
<table frame="box" rules="all">
<thead>
<tr style="background-color:#727779;color:#ffffff">
<th valign="top" align="left"><bold>Model</bold></th>
<th valign="top" align="left"><bold>Prompt type</bold></th>
<th valign="top" align="left"><bold>Hallucinated output</bold></th>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" align="left">LLaMA 2</td>
<td valign="top" align="left">Zero-shot</td>
<td valign="top" align="left"><italic>Marie Curie invented penicillin</italic>. (Prompt ambiguity led to fabrication)</td>
</tr> <tr>
<td valign="top" align="left">LLaMA 2</td>
<td valign="top" align="left">CoT</td>
<td valign="top" align="left"><italic>Marie Curie discovered radioactivity with Pierre Curie</italic>. (Corrected)</td>
</tr> <tr>
<td valign="top" align="left">DeepSeek</td>
<td valign="top" align="left">Instruction</td>
<td valign="top" align="left"><italic>Pluto is the largest planet in the solar system</italic>. (Model-internal hallucination)</td>
</tr> <tr>
<td valign="top" align="left">DeepSeek</td>
<td valign="top" align="left">Few-shot</td>
<td valign="top" align="left"><italic>Pluto is a dwarf planet</italic>. (Corrected with context)</td>
</tr> <tr>
<td valign="top" align="left">Mistral</td>
<td valign="top" align="left">Vague</td>
<td valign="top" align="left"><italic>The Eiffel Tower is located in Berlin</italic>. (Factual hallucination)</td>
</tr> <tr>
<td valign="top" align="left">Mistral</td>
<td valign="top" align="left">CoT</td>
<td valign="top" align="left"><italic>The Eiffel Tower is in Paris, France</italic>. (Corrected via reasoning)</td>
</tr></tbody>
</table>
</table-wrap>
</sec>
<sec>
<title>6.5 Radar plot of model behavior</title>
<p>The radar plot in <xref ref-type="fig" rid="F4">Figure 4</xref> visualizes the comparative performance of three language models&#x02014;<bold>DeepSeek</bold>, <bold>Mistral</bold>, and <bold>LLaMA 2</bold>&#x02014;across five key hallucination-related behavioral dimensions: <italic>Factuality, Coherence, Prompt Sensitivity, Model Variability</italic>, and <italic>Usability</italic>.</p>
<list list-type="bullet">
<list-item><p><bold>Factuality</bold> reflects the model&#x00027;s ability to generate responses that are factually accurate and aligned with the reference ground truth.</p></list-item>
<list-item><p><bold>Coherence</bold> measures logical and linguistic consistency within the generated text.</p></list-item>
<list-item><p><bold>Prompt Sensitivity</bold> indicates the extent to which a model&#x00027;s output is influenced by different prompt formulations&#x02013;higher sensitivity often implies greater prompt-induced hallucination risk.</p></list-item>
<list-item><p><bold>Model Variability</bold> captures variation in hallucination behavior across different models for the same prompt type, representing intrinsic model bias or instability.</p></list-item>
<list-item><p><bold>Usability</bold> denotes overall generation reliability and practical output quality from a user or system integration perspective.</p></list-item>
</list>
<fig position="float" id="F4">
<label>Figure 4</label>
<caption><p>Radar plot using <monospace>polaraxis</monospace>. Axes show <italic>Factuality, Coherence, Prompt Sensitivity, Model Variability</italic>, and <italic>Usability</italic>. Radial scale is normalized (0&#x02013;1; higher is better). Semi-transparent fills reveal overlaps; dotted crosshairs aid reading.</p></caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="frai-08-1622292-g0004.tif">
<alt-text>Radar plot displaying model behavior comparison among DeepSeek, Mistral, and LLaMA 2 across five criteria: coherence, prompt sensitivity, model variability, usability, and factuality. Each model's performance is visualized as separate colored polygons.</alt-text>
</graphic>
</fig>
<p>The polygonal regions for each model connect their respective normalized scores (on a 0&#x02013;1 scale). A larger area typically reflects stronger performance, while irregular shapes highlight trade-offs in specific dimensions.</p>
<p>From the plot:</p>
<list list-type="bullet">
<list-item><p><bold>DeepSeek</bold> demonstrates superior factuality and coherence, with minimal prompt sensitivity&#x02013;suggesting hallucinations originate primarily from internal model behavior, aligning with a <italic>Model-Dominant</italic> attribution.</p></list-item>
<list-item><p><bold>Mistral</bold> shows balanced behavior across dimensions, indicating a mixed attribution of hallucination sources.</p></list-item>
<list-item><p><bold>LLaMA 2</bold> exhibits notably high prompt sensitivity, suggesting hallucination is predominantly <italic>Prompt-Dominant</italic> in origin.</p></list-item>
</list>
<p>This radar plot provides an intuitive and comparative visualization to support attribution categorization and guide future model selection or prompting strategies.</p></sec>
<sec>
<title>6.6 Attribution quadrants</title>
<p>In <xref ref-type="fig" rid="F5">Figures 5</xref>&#x02013;<xref ref-type="fig" rid="F7">7</xref>, they show the distributions of Prompt Sensitivity and Model Veriability along with Attribution quadrants based on these scores.</p>
<fig position="float" id="F5">
<label>Figure 5</label>
<caption><p>Distributions of Prompt Sensitivity (PS) and Model Variability (MV). Vertical dashed lines indicate median cutoffs (PS = 0.079, MV = 0.057), which are used to define &#x0201C;low&#x0201D; vs. &#x0201C;high&#x0201D; thresholds in the attribution quadrants (<xref ref-type="fig" rid="F1">Figure 1</xref>). This ensures that quadrant categorization is aligned with the actual distributions of PS and MV across evaluated models.</p></caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="frai-08-1622292-g0005.tif">
<alt-text>Two side-by-side histograms show distributions. The first, in blue, represents prompt sensitivity with a median of 0.079 marked by a red dashed line. The second, in green, represents model variability with a median of 0.057 marked by a blue dashed line. Both charts display counts on the vertical axis.</alt-text>
</graphic>
</fig>

<fig position="float" id="F6">
<label>Figure 6</label>
<caption><p>Attribution quadrants based on Prompt Sensitivity (PS) and Model Variability (MV). Vertical and horizontal dashed lines represent median cutoffs (PS = 0.079, MV = 0.057). Models are positioned by their measured PS and MV scores. Quadrant boundaries define attribution categories (Prompt-dominant, Model-dominant, Mixed-origin, Unclassified), consistent with <xref ref-type="table" rid="T4">Table 4</xref>.</p></caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="frai-08-1622292-g0006.tif">
<alt-text>Five scatter plots compare model variability and prompt sensitivity across different contexts: Zero-shot, Few-shot, CoT, Instruction, and Vague. Each plot shows three AI models: DeepSeek, OpenChat-3.5, and LLaMA 2. Data points differ in color and size, representing hit rate percentage. Each plot features vertical and horizontal dashed lines for reference.</alt-text>
</graphic>
</fig>
<fig position="float" id="F7">
<label>Figure 7</label>
<caption><p>Prompt sensitivity&#x02013;model variability facets with shared HR encoding. Each panel corresponds to a prompting technique (Zero-shot, Few-shot, CoT, Instruction, Vague). Model locations are fixed across panels by <italic>Prompt Sensitivity</italic> (PS, <italic>x</italic>-axis) and <italic>Model Variability</italic> (MV, <italic>y</italic>-axis); dashed lines mark the median cutoffs (PS = 0.079, MV = 0.057). Hallucination Rate (HR, %) is encoded by marker size (<italic>size</italic> &#x0221D; HR) and a <italic>shared</italic> colorbar (identical range in all panels). Values are Mean &#x000B1; SD over three seeds &#x000D7; five prompt variants (<italic>n</italic>=100 per model). The near-overlap of colors/sizes across panels indicates that prompt family only weakly perturbs HR relative to model-intrinsic PS/MV.</p></caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="frai-08-1622292-g0007.tif">
<alt-text>Scatter plot illustrating model variability (MV) versus prompt sensitivity (PS). Points represent different models: DeepSeek (Model-dominant), OpenChat-3.5, Mistral, Gwen (Mixed-origin), LLaMA 2 (Prompt-dominant). Vertical and horizontal dashed lines indicate classification boundaries.</alt-text>
</graphic>
</fig>
<p><bold>Why scores change little across prompting techniques</bold>. Across these tasks, the prompt variants are semantically equivalent and decoding is low-entropy, so outputs are dominated by the models&#x00027; learned alignment policies. Because the examined models exhibit low PS and stable MV, switching among Zero-shot, Few-shot, CoT, and Instruction formats rarely moves them out of their default response instinct, but only small HR differences.</p></sec>
<sec>
<title>6.7 Detailed experimental examples and comparative analysis</title>
<p>To more deeply illustrate and clarify the differences in hallucination patterns among evaluated models, we conducted extensive qualitative and quantitative analyses on various benchmark tasks. Specifically, we present detailed experimental examples drawn from three primary datasets: TruthfulQA, HallucinationEval, and QAFactEval, analyzing differences among LLaMA 2, DeepSeek, and GPT-4.</p>
<sec>
<title>6.7.1 TruthfulQA experimental examples</title>
<p>TruthfulQA specifically evaluates models&#x00027; susceptibility to factual hallucinations by presenting questions designed to provoke common misconceptions. Consider the question: &#x0201C;<italic>If you swallow chewing gum, how long does it take to digest?&#x0201D;</italic> The correct scientific answer is that chewing gum is not digested and typically passes through the digestive system within a few days. We observed distinct hallucination patterns:</p>
<list list-type="bullet">
<list-item><p><bold>LLaMA 2</bold>: frequently hallucinated, responding incorrectly with &#x0201C;<italic>Chewing gum stays in your stomach for exactly seven years,&#x0201D;</italic> reflecting popular misconceptions. This indicates prompt-induced hallucination due to relying on statistical patterns rather than factual grounding.</p></list-item>
<list-item><p><bold>DeepSeek</bold>: correctly answered that gum passes through within a few days, showcasing better internal factual consistency, attributed to more robust pretraining data and factual grounding methods.</p></list-item>
<list-item><p><bold>GPT-4</bold>: often avoided factual hallucination through nuanced, cautious phrasing such as &#x0201C;<italic>It is generally believed, incorrectly, that gum stays seven years; actually, it passes through within days,&#x0201D;</italic> demonstrating effective mitigation strategies likely derived from reinforcement learning from human feedback.</p></list-item>
</list>
<p>Quantitative analysis indicated a hallucination rate reduction of roughly 15% for GPT-4 compared to LLaMA 2 on this benchmark, demonstrating substantial differences arising from both model architecture and fine-tuning techniques.</p></sec>
<sec>
<title>6.7.2 HallucinationEval experimental examples</title>
<p>HallucinationEval provides explicit labels for intrinsic, extrinsic, factual, and logical hallucinations. For example, given the summarization task: &#x0201C;<italic>Summarize the biography of Marie Curie&#x0201D;</italic>, we observed these outputs:</p>
<list list-type="bullet">
<list-item><p><bold>Intrinsic hallucination (LLaMA 2)</bold>: generated an incorrect statement: &#x0201C;<italic>Marie Curie was awarded the Nobel Prize three times,&#x0201D;</italic> directly contradicting the input biography that specifies two Nobel Prizes. Here, the hallucination clearly arose from intrinsic probabilistic confusion within the model, not related to prompt clarity.</p></list-item>
<list-item><p><bold>Extrinsic hallucination (DeepSeek)</bold>: provided additional ungrounded details: &#x0201C;<italic>Marie Curie was also known for inventing modern radiation therapy techniques,&#x0201D;</italic> information not supported by the provided input text or historical evidence, suggesting a tendency toward speculative extrapolation beyond prompt boundaries.</p></list-item>
<list-item><p><bold>Factual consistency (GPT-4)</bold>: generated an accurate summary: &#x0201C;<italic>Marie Curie was a physicist and chemist, awarded two Nobel Prizes in physics and chemistry, known for her work on radioactivity,&#x0201D;</italic> closely matching the factual biography provided and demonstrating superior grounding in verified knowledge sources.</p></list-item>
</list>
<p>Statistical measures from this dataset revealed significantly lower factual and intrinsic hallucination rates for GPT-4 (under 10%) compared to approximately 25-30% for LLaMA 2 and DeepSeek. Such empirical differences highlight GPT-4&#x00027;s effectiveness in internalizing fact verification mechanisms during training.</p></sec>
<sec>
<title>6.7.3 QAFactEval experimental analysis</title>
<p>In QAFactEval, the task is to assess factual consistency between input context and generated answers. An example provided is: &#x0201C;<italic>Who wrote &#x02018;Romeo and Juliet&#x00027;?&#x0201D;</italic> The correct factual response is &#x0201C;<italic>William Shakespeare.&#x0201D;</italic> Our experiments illustrated differences clearly:</p>
<list list-type="bullet">
<list-item><p><bold>LLaMA 2</bold>: occasionally produced incorrect answers such as &#x0201C;<italic>Charles Dickens wrote &#x00027;Romeo and Juliet&#x00027;,&#x0201D;</italic> indicating significant factual hallucination risks. Detailed analysis revealed a higher susceptibility to memorized but contextually misaligned data.</p></list-item>
<list-item><p><bold>DeepSeek</bold>: produced correct answers but occasionally added unnecessary, extrinsically hallucinated context, e.g., &#x0201C;<italic>William Shakespeare wrote &#x02018;Romeo and Juliet&#x00027; in collaboration with other playwrights,&#x0201D;</italic> introducing factually unsupported statements.</p></list-item>
<list-item><p><bold>GPT-4</bold>: consistently provided precise, factually grounded answers without extraneous context, e.g., simply &#x0201C;<italic>William Shakespeare,&#x0201D;</italic> indicating superior semantic grounding mechanisms and prompt handling capabilities.</p></list-item>
</list>
<p>Across multiple samples, GPT-4 achieved near-perfect factual accuracy, maintaining a hallucination rate below 5%, while LLaMA 2 and DeepSeek exhibited significantly higher factual hallucination rates around 20%&#x02013;25%.</p></sec>
<sec>
<title>6.7.4 Comparative quantitative summary</title>
<p>To quantitatively support these qualitative observations, we computed aggregate hallucination rates (HR) across all evaluated models and datasets. The results are summarized in <xref ref-type="table" rid="T7">Table 7</xref>:</p>

<table-wrap position="float" id="T7">
<label>Table 7</label>
<caption><p>Aggregated hallucination rates (%) across evaluated datasets.</p></caption>
<table frame="box" rules="all">
<thead>
<tr style="background-color:#727779;color:#ffffff">
<th valign="top" align="left"><bold>Model</bold></th>
<th valign="top" align="left"><bold>TruthfulQA</bold></th>
<th valign="top" align="left"><bold>HallucinationEval</bold></th>
<th valign="top" align="left"><bold>QAFactEval</bold></th>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" align="left">LLaMA 2</td>
<td valign="top" align="left">31.2</td>
<td valign="top" align="left">27.6</td>
<td valign="top" align="left">24.8</td>
</tr> <tr>
<td valign="top" align="left">DeepSeek</td>
<td valign="top" align="left">22.5</td>
<td valign="top" align="left">21.4</td>
<td valign="top" align="left">20.1</td>
</tr> <tr>
<td valign="top" align="left">GPT-4</td>
<td valign="top" align="left">14.3</td>
<td valign="top" align="left">9.8</td>
<td valign="top" align="left">4.7</td>
</tr></tbody>
</table>
</table-wrap>
<p>These metrics conclusively indicate that GPT-4 significantly outperformed LLaMA 2 and DeepSeek in hallucination robustness, while DeepSeek provided moderate improvements over LLaMA 2, particularly in extrinsic hallucinations.</p>
<p>The combined qualitative and quantitative analyses reinforce the conclusion that effective hallucination mitigation demands targeted strategies&#x02013;prompt engineering improvements, robust factual grounding, and careful model selection based on specific deployment needs and risk tolerance.</p></sec></sec>
<sec>
<title>6.8 Summary of key findings</title>
<list list-type="bullet">
<list-item><p>Using our framework, we can determine that LLaMA-2&#x00027;s hallucinations are mostly prompt-driven (high PS, low MV), whereas in prior works this distinction wasn&#x00027;t clear&#x02014;one might have simply noted LLaMA-2 hallucinated. Here we can say why: it fails when prompts are suboptimal. This kind of insight is enabled by our new metrics. If any prior study evaluated the same models or benchmarks, mention how your findings complement or differ. Perhaps (<xref ref-type="bibr" rid="B20">Liu et al., 2023</xref>) observed GPT-3.5 hallucinated more than GPT-4 on TruthfulQA; our analysis not only confirms that, but quantifies that GPT-4&#x00027;s lower hallucination rate is also more stable across prompts (lower PS) and thus more robust&#x02014;a nuance that prior analyses did not capture.</p></list-item>
<list-item><p>Chain-of-Thought and Instruction prompts reduce hallucination significantly across all models.</p></list-item>
<list-item><p>DeepSeek model demonstrates lowest overall hallucination rate but retains internal factual inconsistencies.</p></list-item>
<list-item><p>Attribution scoring enables effective distinction between prompt-driven and model-intrinsic hallucination.</p></list-item>
<list-item><p>LLaMA 2 exhibits high Prompt Sensitivity; DeepSeek shows high Model Variability.</p></list-item>
</list></sec></sec>
<sec id="s7">
<title>7 Discussion and interpretation of findings</title>
<p>This section synthesizes the results from Section 6, discussing key patterns in hallucination behavior, the impact of prompt engineering, and model-specific trends. We also explore the implications for future research and practical deployment of Large Language Models (LLMs).</p>
<sec>
<title>7.1 Attribution insights: prompting vs. model behavior</title>
<p>Our results demonstrate a clear distinction between prompt-induced and model-intrinsic hallucinations, as quantified by Prompt Sensitivity (PS) and Model Variability (MV):</p>
<list list-type="bullet">
<list-item><p><italic>Prompt-dominant models</italic> (e.g., LLaMA 2) exhibit high PS, meaning hallucinations fluctuate based on prompt structure. These models can be steered effectively using structured prompting techniques like Chain-of-Thought (CoT).</p></list-item>
<list-item><p><italic>Model-dominant models</italic> (e.g., DeepSeek 67B) show low PS but high MV, meaning hallucinations persist regardless of prompt variation, indicating internal knowledge limitations or inference biases.</p></list-item>
<list-item><p><italic>Mixed-origin models</italic> (e.g., Mistral 7B, OpenChat-3.5) display moderate PS and MV scores, suggesting both prompt and model factors contribute equally.</p></list-item>
</list>
<p>These findings align with prior work showing that instruction tuning and reinforcement learning from human feedback (RLHF) can improve prompt responsiveness but do not eliminate deep-seated model hallucinations (<xref ref-type="bibr" rid="B26">Ouyang et al., 2022</xref>; <xref ref-type="bibr" rid="B14">Kadavath et al., 2022</xref>).</p></sec>
<sec>
<title>7.2 Impact of prompt engineering on hallucination suppression</title>
<p><xref ref-type="fig" rid="F3">Figure 3</xref> in Section 6 shows that CoT prompting consistently reduced hallucinations across all models, supporting prior research (<xref ref-type="bibr" rid="B32">Wei et al., 2022</xref>). However, the effectiveness varied:</p>
<list list-type="bullet">
<list-item><p><italic>CoT prompting</italic> significantly improved factuality in models with high PS (e.g., LLaMA 2, OpenChat-3.5).</p></list-item>
<list-item><p><italic>Few-shot prompting</italic> reduced hallucination rates but was dependent on high-quality demonstrations.</p></list-item>
<list-item><p><italic>Instruction-based prompting</italic> worked well for structured tasks but did not fully eliminate factual inconsistencies.</p></list-item>
<list-item><p><italic>Vague or misleading prompts</italic> induced high hallucination rates across all models, confirming the risk of prompt underspecification.</p></list-item>
<list-item><p><italic>Limits of CoT:</italic> While CoT prompting helped in most cases, it was <italic>not</italic> universally effective. In our analysis, if a model fundamentally lacked knowledge on a query, giving it a step-by-step reasoning prompt sometimes produced a longer but still incorrect answer. In such cases, CoT could even <italic>backfire</italic> by making the hallucination more elaborate. This suggests CoT fails when the model&#x00027;s internal knowledge is insufficient or heavily biased, since it may then simply rationalize a falsehood in detail.</p></list-item>
</list>
<p>These results highlight that while prompt engineering can mitigate hallucinations, it is not a universal solution, particularly for models with strong internal biases.</p></sec>
<sec>
<title>7.3 Model-specific trends and trade-offs</title>
<p>Based on our radar plot in <xref ref-type="fig" rid="F4">Figure 4</xref>, each model we evaluated displays distinct trade-offs between prompt sensitivity and intrinsic reliability.</p>
<list list-type="bullet">
<list-item><p><italic>LLaMA 2 (13B):</italic> its high prompt sensitivity means it can be finely controlled via prompts, but also that it&#x00027;s more susceptible to poorly worded questions. It benefits greatly from techniques like CoT prompting, yet one must be cautious as an ambiguous instruction can easily lead it astray.</p></list-item>
<list-item><p><italic>DeepSeek-67B:</italic> this model showed strong internal consistency (itoften answers confidently), but when it does hallucinate, the cause is internal&#x02014;it tended to hallucinate in certain areas regardless of prompt quality. This suggests DeepSeek&#x00027;s training data or architecture leaves some factual gaps that prompting alone cannot fix.</p></list-item>
<list-item><p><italic>Mistral-7B:</italic> this smaller model has a balanced profile&#x02014;instruction tuning has made it relatively responsive to prompts, but it still needs well-structured prompts to perform optimally. It improved with CoT and few-shot cues, though not to the level of larger models.</p></list-item>
<list-item><p><italic>OpenChat-3.5 and Gwen:</italic> these models exhibit mixed-origin behavior; they are reasonably good with straightforward prompts but can still hallucinate if either the prompt is tricky or if the query hits a weakness of the model. They would likely benefit from both improved prompts and further model finetuning.</p></list-item>
</list>
<p>These insights suggest that a model&#x00027;s architecture and training play a significant role in its hallucination tendencies. For example, models with extensive RLHF (like OpenAI&#x00027;s GPT-4) are known to be more resistant to prompt adversaries, whereas purely open-source models without such fine-tuning might need additional help from prompts or external tools to stay factual.</p></sec>
<sec>
<title>7.4 Implications for practical deployment</title>
<p>Our findings have direct implications for deploying LLMs in high-stakes environments:</p>
<list list-type="bullet">
<list-item><p><italic>For end-users:</italic> using structured, explicit prompts minimizes hallucination risks.</p></list-item>
<list-item><p><italic>For developers:</italic> selecting models based on attribution patterns (PS vs. MV) can inform fine-tuning strategies.</p></list-item>
<list-item><p><italic>For researchers:</italic> benchmarking with attribution-aware metrics can improve hallucination mitigation techniques.</p></list-item>
</list></sec>
<sec>
<title>7.5 Challenging from the proposed approach</title>
<p>Despite our rigorous methodology, several limitations remain:</p>
<list list-type="bullet">
<list-item><p><italic>Model scaling:</italic> larger models were not tested due to resource constraints, though their hallucination trends may differ.</p></list-item>
<list-item><p><italic>Domain specificity:</italic> our evaluation focused on general-purpose tasks; domain-specific hallucination behavior (e.g., medical, legal) warrants further study.</p></list-item>
<list-item><p><italic>Long-form generation:</italic> experiments focused on short-to-medium-length responses, but hallucinations may behave differently in long-form content.</p></list-item>
<list-item><p><italic>Model scope:</italic> our experiments focused on high-quality open-source models up to 67B parameters. We did not evaluate larger closed-source models (e.g., Anthropic&#x00027;s Claude or OpenAI&#x00027;s GPT-4), which tend to have undergone extensive fine-tuning and might exhibit different hallucination profiles. As a result, our findings may not fully generalize to those systems. For instance, GPT-4 is reported to hallucinate less frequently than smaller models (<xref ref-type="bibr" rid="B23">OpenAI, 2023a</xref>), so the balance of prompt vs. model-induced hallucinations could shift in such models. A broader evaluation including these models is left for future work.</p></list-item>
</list>
<p>Future work should explore grounding techniques such as retrieval-augmented generation (RAG) (<xref ref-type="bibr" rid="B17">Lewis et al., 2020</xref>) and hybrid models combining symbolic reasoning with LLMs.</p></sec>
<sec>
<title>7.6 Key takeaways</title>
<list list-type="bullet">
<list-item><p>Hallucinations arise from both prompt-dependent and model-intrinsic factors, necessitating tailored mitigation approaches.</p></list-item>
<list-item><p>Prompt engineering, especially CoT, reduces hallucination but is not universally effective.</p></list-item>
<list-item><p>Attribution-based metrics (PS and MV) provide a novel way to classify and address hallucination sources.</p></list-item>
<list-item><p>Open-source models offer competitive factuality but require structured input to minimize errors.</p></list-item>
</list>
<p>These findings set the stage for refining hallucination attribution frameworks and developing more robust evaluation methodologies.</p></sec></sec>
<sec id="s8">
<title>8 Mitigation strategies and advances</title>
<p>Having identified the dual nature of hallucinations&#x02013;arising from both prompt design and intrinsic model behavior&#x02014;this section explores existing and emerging approaches to mitigate hallucinations in Large Language Models (LLMs). Mitigation strategies can be broadly divided into two categories: prompt-based interventions and model-based architectural or training improvements.</p>
<sec>
<title>8.1 Prompt-based mitigation techniques</title>
<p>Prompt engineering is a cost-effective, model-agnostic approach to reduce hallucinations at inference time without altering the underlying model. Our experiments in Sections 5 and 6 confirm that improved prompt structure significantly reduces hallucination rates, particularly in prompt-sensitive models.</p>
<list list-type="bullet">
<list-item><p><bold>Chain-of-thought (CoT) prompting:</bold> encourages reasoning steps before providing a final answer, reducing factual inconsistencies by structuring generation (<xref ref-type="bibr" rid="B32">Wei et al., 2022</xref>). This method was particularly effective for LLaMA 2 and OpenChat-3.5 in our experiments.</p></list-item>
<list-item><p><bold>Instruction-based prompting:</bold> clearly structured task descriptions reduce ambiguity, guiding the model toward factual output. Models like Mistral benefited significantly from such prompting strategies.</p></list-item>
<list-item><p><bold>Prompt calibration:</bold> adjusting system instructions or preambles to establish context (e.g., &#x0201C;Only provide verifiable facts...&#x0201D;) has shown to reduce speculative responses.</p></list-item>
<list-item><p><bold>Negative prompting:</bold> explicitly instructing the model to avoid hallucination (e.g., &#x0201C;Do not include any information not present in the input text.&#x0201D;) can reduce fabrication in summarization and QA tasks.</p></list-item>
<list-item><p><bold>Prompt filtering pipelines:</bold> pre-screening prompts using heuristic or learned classifiers to assess likelihood of inducing hallucinations is an emerging method for real-time mitigation.</p></list-item>
</list>
<p>While prompt engineering offers practical benefits, it remains a superficial fix that cannot fully eliminate model-intrinsic hallucinations, especially under deceptive prompts or ambiguous tasks.</p></sec>
<sec>
<title>8.2 Model-based mitigation techniques</title>
<p>To address hallucinations arising from model behavior, a range of architectural and training innovations have been proposed. These methods aim to ground generation more explicitly in factual knowledge or adjust model output behavior directly.</p>
<list list-type="bullet">
<list-item><p><bold>Instruction fine-tuning:</bold> exposing models to task-aligned instruction datasets improves factual alignment and reduces generation drift (<xref ref-type="bibr" rid="B26">Ouyang et al., 2022</xref>).</p></list-item>
<list-item><p><bold>Reinforcement learning from human feedback (RLHF):</bold> aligns model behavior with human preferences and factual correctness, although limited in open-source models due to cost and complexity.</p></list-item>
<list-item><p><bold>Contrastive decoding</bold> (<xref ref-type="bibr" rid="B18">Li et al., 2022</xref>): a decoding-time method that compares candidate outputs against a baseline model to suppress less factual completions.</p></list-item>
<list-item><p><bold>Grounded pretraining and fine-tuning:</bold> integrating knowledge sources or fact-labeled datasets during pretraining or fine-tuning stages improves factual consistency (<xref ref-type="bibr" rid="B36">Zhang et al., 2023</xref>).</p></list-item>
<list-item><p><bold>Retrieval-augmented generation (RAG):</bold> incorporating external knowledge retrieval at inference time improves grounding and reduces reliance on model memorization (<xref ref-type="bibr" rid="B17">Lewis et al., 2020</xref>). Open-source toolkits like Haystack and RAG pipelines in HuggingFace enable this method at no cost.</p></list-item>
<list-item><p><bold>Factuality scorers and feedback loops:</bold> using auxiliary classifiers or LLMs-as-judges to score and post-edit generated content is another promising direction (<xref ref-type="bibr" rid="B20">Liu et al., 2023</xref>).</p></list-item>
</list>
<p>These approaches require more infrastructure and training resources than prompt engineering but offer more robust mitigation, especially for model-intrinsic hallucinations.</p></sec>
<sec>
<title>8.3 Hybrid mitigation pipelines</title>
<p>State-of-the-art systems increasingly employ <bold>hybrid pipelines</bold> that combine prompt tuning, retrieval integration, and post-hoc filtering. A typical pipeline includes:</p>
<list list-type="order">
<list-item><p>Prompt construction (CoT or Instruction-based).</p></list-item>
<list-item><p>Retrieval of supporting knowledge (RAG).</p></list-item>
<list-item><p>Generation using a fine-tuned model.</p></list-item>
<list-item><p>Post-generation verification via factuality scorers.</p></list-item>
</list>
<p>Such layered approaches have shown superior performance in factual QA and summarization tasks while remaining implementable using free and open-source tools.</p></sec>
<sec>
<title>8.4 Mitigation summary and recommendations</title>
<p><xref ref-type="table" rid="T8">Table 8</xref> summarizes mitigation techniques based on their suitability and cost-efficiency for open-source LLMs.</p>
<table-wrap position="float" id="T8">
<label>Table 8</label>
<caption><p>Summary of hallucination mitigation strategies.</p></caption>
<table frame="box" rules="all">
<thead>
<tr style="background-color:#727779;color:#ffffff">
<th valign="top" align="left"><bold>Technique</bold></th>
<th valign="top" align="left"><bold>Effectiveness scope</bold></th>
<th valign="top" align="left"><bold>Feasibility (free setup)</bold></th>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" align="left">Chain-of-thought prompting</td>
<td valign="top" align="left">Prompt-level reduction in reasoning and factual QA</td>
<td valign="top" align="left">&#x02713; High</td>
</tr> <tr>
<td valign="top" align="left">Instruction prompting</td>
<td valign="top" align="left">Reduces ambiguity and off-topic generation</td>
<td valign="top" align="left">&#x02713; High</td>
</tr> <tr>
<td valign="top" align="left">Negative prompting</td>
<td valign="top" align="left">Prevents speculative completions in summarization</td>
<td valign="top" align="left">&#x02713; High</td>
</tr> <tr>
<td valign="top" align="left">Instruction fine-tuning</td>
<td valign="top" align="left">Enhances factual grounding during generation</td>
<td valign="top" align="left"><bold>Medium (requires data)</bold></td>
</tr> <tr>
<td valign="top" align="left">RLHF</td>
<td valign="top" align="left">Aligns model behavior with factual correctness</td>
<td valign="top" align="left">&#x000D7; Low (complex setup)</td>
</tr> <tr>
<td valign="top" align="left">Contrastive decoding</td>
<td valign="top" align="left">Post-processing hallucination filter</td>
<td valign="top" align="left">&#x02713; Medium</td>
</tr> <tr>
<td valign="top" align="left">Grounded pretraining</td>
<td valign="top" align="left">Reduces hallucination during generation</td>
<td valign="top" align="left"><bold>Medium (data&#x0002B;compute)</bold></td>
</tr> <tr>
<td valign="top" align="left">Retrieval-augmented generation (RAG)</td>
<td valign="top" align="left">Integrates external knowledge for grounding</td>
<td valign="top" align="left">&#x02713; High (via free toolkits)</td>
</tr> <tr>
<td valign="top" align="left">Post-hoc scoring</td>
<td valign="top" align="left">Filters outputs based on factuality models</td>
<td valign="top" align="left">&#x02713; Medium</td>
</tr></tbody>
</table>
</table-wrap></sec>
<sec>
<title>8.5 Open challenges</title>
<p>Despite these advances, several challenges remain:</p>
<list list-type="bullet">
<list-item><p>Lack of universal metrics for hallucination detection across domains.</p></list-item>
<list-item><p>Limited accessibility of fine-tuning infrastructure in low-resource settings.</p></list-item>
<list-item><p>Difficulty in detecting subtle, high-confidence hallucinations.</p></list-item>
<list-item><p>Trade-offs between factual accuracy and creativity/flexibility in generative tasks.</p></list-item>
</list>
<p>Tackling hallucination requires continuous co-evolution of both prompting strategies and model architectures. Open-source contributions to grounded fine-tuning, benchmark standardization, and community evaluation pipelines are key to future progress.</p></sec></sec>
<sec id="s9">
<title>9 Open problems over mitigation strategies</title>
<p>Despite recent progress, hallucination in Large Language Models (LLMs) remains a critical open challenge in NLP. Addressing this issue requires not only prompt engineering and model fine-tuning but also broader advances in evaluation, grounding, and collaborative methodologies. This section outlines the most pressing research directions and associated challenges, augmented by insights from the current literature.</p>
<sec>
<title>9.1 Unified evaluation benchmarks</title>
<p>While existing benchmarks such as TruthfulQA (<xref ref-type="bibr" rid="B19">Lin et al., 2022</xref>), HallucinationEval (<xref ref-type="bibr" rid="B34">Wu et al., 2023</xref>), QAFactEval (<xref ref-type="bibr" rid="B10">Fabbri et al., 2022</xref>), and CohS (<xref ref-type="bibr" rid="B15">Kazemi et al., 2023</xref>) provide useful lenses for evaluating hallucination, there remains no standard protocol across tasks or domains. The evaluation landscape is fragmented, making cross-model comparison and generalization difficult.</p>
<p><bold>Related work:</bold></p>
<list list-type="bullet">
<list-item><p>Development of integrated, multi-task, multilingual benchmarks with unified annotation schemas (<xref ref-type="bibr" rid="B20">Liu et al., 2023</xref>).</p></list-item>
<list-item><p>Attribution-aware metrics incorporating Prompt Sensitivity (PS) and Model Variability (MV).</p></list-item>
<list-item><p>Community-maintained leaderboards focusing on hallucination robustness (<xref ref-type="bibr" rid="B23">OpenAI, 2023a</xref>; <xref ref-type="bibr" rid="B14">Kadavath et al., 2022</xref>).</p></list-item>
</list></sec>
<sec>
<title>9.2 Detection of high-confidence hallucinations</title>
<p>High-confidence hallucinations&#x02014;those that appear fluent and plausible but are factually incorrect&#x02014;are particularly dangerous and difficult to detect automatically (<xref ref-type="bibr" rid="B14">Kadavath et al., 2022</xref>; <xref ref-type="bibr" rid="B13">Ji et al., 2023</xref>). Traditional lexical metrics like BLEU or ROUGE fail to capture semantic grounding.</p>
<p><bold>Related work:</bold></p>
<list list-type="bullet">
<list-item><p>Factuality scoring based on semantic entailment or natural language inference (NLI) (<xref ref-type="bibr" rid="B21">Maynez et al., 2020</xref>).</p></list-item>
<list-item><p>Enhanced use of LLM-as-a-judge paradigms (<xref ref-type="bibr" rid="B20">Liu et al., 2023</xref>).</p></list-item>
<list-item><p>Calibration techniques to align model confidence with factual reliability.</p></list-item>
</list></sec>
<sec>
<title>9.3 Prompt robustness and safety</title>
<p>Prompt sensitivity analysis (as discussed in this work and in <xref ref-type="bibr" rid="B28">Reynolds and McDonell (2021)</xref> and <xref ref-type="bibr" rid="B32">Wei et al. (2022)</xref> shows that even small variations in prompt phrasing can significantly affect hallucination likelihood.</p>
<p><bold>Related work:</bold></p>
<list list-type="bullet">
<list-item><p>Formal frameworks for robust and adversarial prompt design (<xref ref-type="bibr" rid="B37">Zhou et al., 2022</xref>).</p></list-item>
<list-item><p>Automatic prompt paraphrasing for hallucination minimization.</p></list-item>
<list-item><p>Prompt auditing tools to detect high-risk phrasing patterns.</p></list-item>
</list></sec>
<sec>
<title>9.4 Grounded generation and fact retrieval</title>
<p>Integrating knowledge retrieval into generation workflows (e.g., Retrieval-Augmented Generation, RAG) has shown promising results in hallucination mitigation (<xref ref-type="bibr" rid="B17">Lewis et al., 2020</xref>). Grounded pretraining also strengthens output alignment with real-world facts (<xref ref-type="bibr" rid="B36">Zhang et al., 2023</xref>).</p>
<p><bold>Related work:</bold></p>
<list list-type="bullet">
<list-item><p>Efficient RAG architectures for low-resource environments.</p></list-item>
<list-item><p>Integration of symbolic and neural knowledge modules (<xref ref-type="bibr" rid="B35">Yao et al., 2022</xref>).</p></list-item>
<list-item><p>Fine-tuning methods incorporating retrieved factual context (<xref ref-type="bibr" rid="B18">Li et al., 2022</xref>).</p></list-item>
</list></sec>
<sec>
<title>9.5 Transparent attribution models</title>
<p>Attribution-aware evaluation, as introduced in our framework, can offer insights into hallucination causes. However, few studies formalize this into interpretable attribution models.</p>
<p><bold>Related work:</bold></p>
<list list-type="bullet">
<list-item><p>Neural attribution predictors identifying hallucination source (prompt vs. model) (<xref ref-type="bibr" rid="B3">Bang and Madotto, 2023</xref>).</p></list-item>
<list-item><p>Visualization tools to trace token-level factual alignment.</p></list-item>
<list-item><p>Loss functions that penalize ambiguous or ungrounded generation.</p></list-item>
</list></sec>
<sec>
<title>9.6 Domain-specific and high-stakes applications</title>
<p>Current hallucination research largely focuses on open-domain tasks. However, the stakes of hallucination in high-risk domains such as medicine, law, and education are far higher (<xref ref-type="bibr" rid="B33">Weidinger et al., 2022</xref>).</p>
<p><bold>Related work:</bold></p>
<list list-type="bullet">
<list-item><p>Domain-specific fine-tuning with expert-validated datasets.</p></list-item>
<list-item><p>Grounded verification pipelines integrated with domain ontologies.</p></list-item>
<list-item><p>Regulatory frameworks for LLM deployment in sensitive fields.</p></list-item>
</list></sec>
<sec>
<title>9.7 Collaborative and decentralized mitigation</title>
<p>Mitigating hallucination is not solely a technical issue&#x02014;it is also a systemic and collaborative one. Decentralized methods involving human feedback and community standards are essential.</p>
<p><bold>Related work:</bold></p>
<list list-type="bullet">
<list-item><p>Crowdsourced prompt evaluation libraries, inspired by (<xref ref-type="bibr" rid="B11">Gehman et al. (2020)</xref>.</p></list-item>
<list-item><p>Peer-review style generation assessment platforms.</p></list-item>
<list-item><p>Cross-institutional efforts toward open hallucination mitigation protocols.</p></list-item>
</list></sec>
<sec>
<title>9.8 Summary</title>
<p>To ensure reliable, safe, and transparent deployment of LLMs, the hallucination problem must be addressed through a combination of prompting techniques, model innovation, community standards, and attribution-aware evaluation. The future of LLMs depends not only on their capacity to generate language fluently, but to do so with factual accountability and epistemic humility.</p></sec></sec>
<sec id="s10">
<title>10 Conclusion and final remarks</title>
<p>Hallucination in Large Language Models (LLMs) remains one of the most pressing challenges in the safe and trustworthy deployment of generative AI systems. This paper has systematically explored the phenomenon of hallucination through the lens of attribution&#x02014;distinguishing whether hallucinations arise primarily from <italic>prompting design</italic> or <italic>model behavior</italic>.</p>
<p>To address this, we proposed a novel attribution framework based on two core metrics: (1) We propose the first probabilistic attribution framework for LLM hallucinations, introducing new metrics PS, MV, and JAS to quantify prompt vs. model contributions. (2) We formalize hallucination attribution with a Bayesian hierarchical model, which has not been explored in prior work, providing interpretable parameters for prompt-induced and intrinsic error rates. (3) We design controlled experiments with open-source models and standardized prompts&#x02014;an approach that contrasts with prior studies that often evaluated prompts or models in isolation. This allows us to classify hallucination origins (prompt-dominant, model-dominant, or mixed) for different LLMs, a novel analysis enabled by our framework.</p>
<p>The results confirm that:</p>
<list list-type="bullet">
<list-item><p>Prompt design strongly influences hallucination rates in prompt-sensitive models (e.g., LLaMA 2, OpenChat).</p></list-item>
<list-item><p>Some hallucinations persist regardless of prompting structure, indicating inherent model biases or training artifacts (as seen in DeepSeek).</p></list-item>
<list-item><p>Chain-of-Thought prompting and Instruction-based inputs are effective but insufficient in isolation.</p></list-item>
<list-item><p>Attribution scoring offers a new lens to analyze and mitigate hallucination by disentangling its root causes.</p></list-item>
</list>
<p>Beyond experimental findings, this paper reviewed and classified a wide range of mitigation strategies&#x02014;from prompt-based techniques to model fine-tuning and retrieval-augmented generation. A key takeaway is that no single approach can entirely eliminate hallucination; rather, multi-layered, attribution-aware pipelines are necessary.</p>
<p>Moreover, our study was conducted entirely within a fully free and reproducible setup, using only open-access tools, models, and benchmarks. This ensures accessibility and replicability for the broader research community and reinforces the importance of open science in addressing fundamental challenges in NLP.</p>
<p>Ultimately, solving hallucination in LLMs is a step toward building more epistemically responsible AI&#x02014;models that not only speak fluently, but know what they know, and more importantly, recognize what they don&#x00027;t.</p></sec>
</body>
<back>
<sec sec-type="author-contributions" id="s11">
<title>Author contributions</title>
<p>DA-H: Visualization, Software, Project administration, Writing &#x02013; original draft, Conceptualization, Methodology, Validation, Investigation, Formal analysis, Writing &#x02013; review &#x00026; editing. VT: Writing &#x02013; review &#x00026; editing, Supervision, Validation. L-MN: Validation, Writing &#x02013; review &#x00026; editing, Supervision, Funding acquisition.</p>
</sec>
<sec sec-type="funding-information" id="s12">
<title>Funding</title>
<p>The author(s) declare that financial support was received for the research and/or publication of this article. This work was supported by JSPS KAKENHI (Grant number JP23K16954).</p>
</sec>
<sec sec-type="COI-statement" id="conf1">
<title>Conflict of interest</title>
<p>The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.</p>
</sec>
<sec sec-type="ai-statement" id="s13">
<title>Generative AI statement</title>
<p>The author(s) declare that no Gen AI was used in the creation of this manuscript.</p>
<p>Any alternative text (alt text) provided alongside figures in this article has been generated by Frontiers with the support of artificial intelligence and reasonable efforts have been made to ensure accuracy, including review by the authors wherever possible. If you identify any issues, please contact us.</p></sec>
<sec sec-type="disclaimer" id="s14">
<title>Publisher&#x00027;s note</title>
<p>All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.</p>
</sec>
<sec sec-type="disclaimer" id="s15">
<title>Author disclaimer</title>
<p>Any opinions, findings, and conclusions or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of the author(s)&#x00027; organization, JSPS or MEXT.</p>
</sec>
<ref-list>
<title>References</title>
<ref id="B1">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Andrews</surname> <given-names>N.</given-names></name> <name><surname>Wang</surname> <given-names>L.</given-names></name> <name><surname>Zhang</surname> <given-names>Y.</given-names></name></person-group> (<year>2023</year>). <article-title>The hallucination problem in large language models: a survey</article-title>. <source>arXiv [preprint]</source>. arXiv:2305.11685. <pub-id pub-id-type="doi">10.48550/arXiv.2305.11685</pub-id></citation>
</ref>
<ref id="B2">
<citation citation-type="web"><person-group person-group-type="author"><collab>Anthropic</collab></person-group> (<year>2023</year>). <source>Claude: A Next-generation AI Assistant by Anthropic</source>. Available online at: <ext-link ext-link-type="uri" xlink:href="https://www.anthropic.com/index/introducing-claude">https://www.anthropic.com/index/introducing-claude</ext-link> (Accessed September 17, 2025).</citation>
</ref>
<ref id="B3">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Bang</surname> <given-names>Y.</given-names></name> <name><surname>Madotto</surname> <given-names>A.</given-names></name></person-group> (<year>2023</year>). <article-title>Multitask prompted training enables zero-shot task generalization</article-title>. <source>arXiv [preprint]</source>. arXiv:2301.04589. <pub-id pub-id-type="doi">10.48550/arXiv.2301.04589</pub-id></citation>
</ref>
<ref id="B4">
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Berger</surname> <given-names>J. O.</given-names></name></person-group> (<year>2013</year>). <source>Statistical Decision theory and Bayesian Analysis</source>. <publisher-loc>Cham</publisher-loc>: <publisher-name>Springer Science &#x00026; Business Media</publisher-name>.</citation>
</ref>
<ref id="B5">
<citation citation-type="journal"><person-group person-group-type="author"><collab>Bommarito II M. J. Katz D. M. (2022) Gpt takes the bar exam. SSRN E-J. 10.2139/ssrn.4314839</collab></person-group></citation>
</ref>
<ref id="B6">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Bommasani</surname> <given-names>R.</given-names></name> <name><surname>Hudson</surname> <given-names>D. A.</given-names></name> <name><surname>Adeli</surname> <given-names>E.</given-names></name> <name><surname>Altman</surname> <given-names>R.</given-names></name> <name><surname>Arora</surname> <given-names>S.</given-names></name> <name><surname>von Arx</surname> <given-names>S.</given-names></name> <etal/></person-group>. (<year>2021</year>). <article-title>On the opportunities and risks of foundation models</article-title>. <source>arXiv [preprint]</source>. arXiv:2108.07258. <pub-id pub-id-type="doi">10.48550/arXiv.2108.07258</pub-id></citation>
</ref>
<ref id="B7">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Brown</surname> <given-names>T. B.</given-names></name> <name><surname>Mann</surname> <given-names>B.</given-names></name> <name><surname>Ryder</surname> <given-names>N.</given-names></name> <name><surname>Subbiah</surname> <given-names>M.</given-names></name> <name><surname>Kaplan</surname> <given-names>J.</given-names></name> <name><surname>Dhariwal</surname> <given-names>P.</given-names></name> <etal/></person-group>. (<year>2020</year>). <article-title>Language models are few-shot learners. <italic>Adv. Neural Inf. Process</italic></article-title>. <source>Syst</source>. <volume>33</volume>, <fpage>1877</fpage>&#x02013;<lpage>1901</lpage>. <pub-id pub-id-type="doi">10.48550/arXiv.2005.14165</pub-id></citation>
</ref>
<ref id="B8">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Chen</surname> <given-names>X.</given-names></name> <name><surname>Yan</surname> <given-names>L.</given-names></name> <name><surname>Zhang</surname> <given-names>Y.</given-names></name> <name><surname>Shvakel</surname> <given-names>M.</given-names></name> <name><surname>Hall</surname> <given-names>K. W.</given-names></name> <name><surname>Brun</surname> <given-names>Y.</given-names></name> <etal/></person-group>. (<year>2023</year>). <article-title>Hallucination in large language models: a survey</article-title>. <source>arXiv [preprint]</source>. arXiv:2308.03299. <pub-id pub-id-type="doi">10.48550/arXiv.2308.03299</pub-id></citation>
</ref>
<ref id="B9">
<citation citation-type="web"><person-group person-group-type="author"><collab>DeepSeek AI</collab></person-group> (<year>2023</year>). <source>Deepseek LLMs</source>. Available online at: <ext-link ext-link-type="uri" xlink:href="https://deepseek.com/research/">https://deepseek.com/research/</ext-link> (Accessed September 17, 2025).</citation>
</ref>
<ref id="B10">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Fabbri</surname> <given-names>A. R.</given-names></name> <name><surname>Li</surname> <given-names>Q.</given-names></name> <name><surname>Li</surname> <given-names>Y.</given-names></name> <name><surname>Jiang</surname> <given-names>Z.</given-names></name> <name><surname>Radev</surname> <given-names>D.</given-names></name></person-group> (<year>2022</year>). Qafacteval: improved &#x0201C;QA-based factual consistency evaluation for summarization,&#x0201D; in <italic>Proceedings of the 2022 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies</italic> (Seattle, WA: ACL), <fpage>5962</fpage>&#x02013;<lpage>5975</lpage>. <pub-id pub-id-type="doi">10.18653/v1/2022.naacl-main.187</pub-id></citation>
</ref>
<ref id="B11">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Gehman</surname> <given-names>S.</given-names></name> <name><surname>Gururangan</surname> <given-names>S.</given-names></name> <name><surname>Sap</surname> <given-names>M.</given-names></name> <name><surname>Choi</surname> <given-names>Y.</given-names></name> <name><surname>Smith</surname> <given-names>N. A.</given-names></name></person-group> (<year>2020</year>). <article-title>&#x0201C;Realtoxicityprompts: evaluating neural toxic degeneration in language models,&#x0201D;</article-title> in <source>Findings of EMNLP</source>. <pub-id pub-id-type="doi">10.18653/v1/2020.findings-emnlp.301</pub-id></citation>
</ref>
<ref id="B12">
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Gelman</surname> <given-names>A.</given-names></name> <name><surname>Carlin</surname> <given-names>J. B.</given-names></name> <name><surname>Stern</surname> <given-names>H. S.</given-names></name> <name><surname>Dunson</surname> <given-names>D. B.</given-names></name> <name><surname>Vehtari</surname> <given-names>A.</given-names></name> <name><surname>Rubin</surname> <given-names>D. B.</given-names></name> <etal/></person-group>. (<year>2013</year>). <source>Bayesian Data Analysis</source>. <publisher-loc>Boca Raton, FL</publisher-loc>: <publisher-name>CRC press</publisher-name>. <pub-id pub-id-type="doi">10.1201/b16018</pub-id></citation>
</ref>
<ref id="B13">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Ji</surname> <given-names>Z.</given-names></name> <name><surname>Lee</surname> <given-names>N.</given-names></name> <name><surname>Frieske</surname> <given-names>R.</given-names></name> <name><surname>Yu</surname> <given-names>T.-H. K.</given-names></name> <name><surname>Su</surname> <given-names>D.</given-names></name> <name><surname>Xu</surname> <given-names>Y.</given-names></name> <etal/></person-group>. (<year>2023</year>). <article-title>Survey of hallucination in natural language generation</article-title>. <source>ACM Comput. Surv</source>. <volume>55</volume>, <fpage>1</fpage>&#x02013;<lpage>38</lpage>. <pub-id pub-id-type="doi">10.1145/3571730</pub-id></citation>
</ref>
<ref id="B14">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Kadavath</surname> <given-names>S.</given-names></name> <name><surname>Chilton</surname> <given-names>L.</given-names></name> <name><surname>Li</surname> <given-names>A.</given-names></name> <name><surname>Elhage</surname> <given-names>N.</given-names></name> <name><surname>Henighan</surname> <given-names>T.</given-names></name> <name><surname>Perez</surname> <given-names>E.</given-names></name> <etal/></person-group>. (<year>2022</year>). <article-title>Language models (mostly) know what they know</article-title>. <source>arXiv [preprint]</source>. arXiv:2207.05221. <pub-id pub-id-type="doi">10.48550/arXiv.2207.05221</pub-id></citation>
</ref>
<ref id="B15">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Kazemi</surname> <given-names>S. M.</given-names></name> <name><surname>Kashyap</surname> <given-names>A.</given-names></name> <name><surname>McKeown</surname> <given-names>K.</given-names></name></person-group> (<year>2023</year>). <article-title>Cohs: a dataset for evaluating factual consistency of summaries</article-title>. <source>arXiv [preprint]</source>. arXiv:2305.00038. <pub-id pub-id-type="doi">10.4850/arXiv:2305.00038</pub-id></citation>
</ref>
<ref id="B16">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Lee</surname> <given-names>P.</given-names></name> <name><surname>Bubeck</surname> <given-names>S.</given-names></name> <name><surname>Petro</surname> <given-names>J.</given-names></name></person-group> (<year>2023</year>). <article-title>Benefits, limits, and risks of gpt-4 as an ai chatbot for medicine</article-title>. <source>N. Engl. J. Med.</source> <volume>388</volume>, <fpage>1233</fpage>&#x02013;<lpage>1239</lpage>. <pub-id pub-id-type="doi">10.1056/NEJMsr2214184</pub-id><pub-id pub-id-type="pmid">36988602</pub-id></citation></ref>
<ref id="B17">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Lewis</surname> <given-names>P.</given-names></name> <name><surname>Perez</surname> <given-names>E.</given-names></name> <name><surname>Piktus</surname> <given-names>A.</given-names></name> <name><surname>Petroni</surname> <given-names>F.</given-names></name> <name><surname>Karpukhin</surname> <given-names>V.</given-names></name></person-group> (<year>2020</year>). <source>Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks</source>.</citation>
</ref>
<ref id="B18">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Li</surname> <given-names>X.</given-names></name> <name><surname>Holtzman</surname> <given-names>A.</given-names></name> <name><surname>Fried</surname> <given-names>D.</given-names></name> <name><surname>Liang</surname> <given-names>P.</given-names></name> <name><surname>Eisner</surname> <given-names>J.</given-names></name> <name><surname>Hashimoto</surname> <given-names>T.</given-names></name> <etal/></person-group>. (<year>2022</year>). <article-title>Contrastive decoding: Open-ended text generation as optimization</article-title>. <source>arXiv [preprint]</source>. arXiv:2210.15097. <pub-id pub-id-type="doi">10.48550/arXiv.2210.15097</pub-id></citation>
</ref>
<ref id="B19">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Lin</surname> <given-names>S.</given-names></name> <name><surname>Hilton</surname> <given-names>J.</given-names></name> <name><surname>Askell</surname> <given-names>A.</given-names></name></person-group> (<year>2022</year>). <article-title>Truthfulqa: measuring how models mimic human falsehoods</article-title>. <source>arXiv [preprint]</source>. arXiv:2109.07958. <pub-id pub-id-type="doi">10.48550/arXiv.2109.07958</pub-id></citation>
</ref>
<ref id="B20">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Liu</surname> <given-names>X.</given-names></name> <name><surname>Pan</surname> <given-names>L.</given-names></name> <name><surname>He</surname> <given-names>Y.</given-names></name> <name><surname>Zhang</surname> <given-names>W.</given-names></name> <name><surname>Ren</surname> <given-names>X.</given-names></name></person-group> (<year>2023</year>). <article-title>Evaluating the factual consistency of large language models: A survey</article-title>. <source>arXiv [preprint]</source>. arXiv:2305.03023. <pub-id pub-id-type="doi">10.48550/arXiv.2305.03023</pub-id></citation>
</ref>
<ref id="B21">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Maynez</surname> <given-names>J.</given-names></name> <name><surname>Narayan</surname> <given-names>S.</given-names></name> <name><surname>Bohnet</surname> <given-names>B.</given-names></name> <name><surname>McDonald</surname> <given-names>R.</given-names></name></person-group> (<year>2020</year>). <article-title>&#x0201C;On faithfulness and factuality in abstractive summarization,&#x0201D;</article-title> in <source>Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics</source>, 1906&#x02013;1919. <pub-id pub-id-type="doi">10.18653/v1/2020.acl-main.173</pub-id></citation>
</ref>
<ref id="B22">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Nakano</surname> <given-names>R.</given-names></name> <name><surname>Hilton</surname> <given-names>J.</given-names></name> <name><surname>Balaji</surname> <given-names>S.</given-names></name> <name><surname>Wu</surname> <given-names>J.</given-names></name> <name><surname>Ouyang</surname> <given-names>L.</given-names></name> <name><surname>Kim</surname> <given-names>C.</given-names></name> <etal/></person-group>. (<year>2021</year>). <article-title>Webgpt: browser-assisted question-answering with human feedback</article-title>. <source>arXiv [preprint]</source>. arXiv:2112.09332. <pub-id pub-id-type="doi">10.48550/arXiv:2112.09332</pub-id></citation>
</ref>
<ref id="B23">
<citation citation-type="web"><person-group person-group-type="author"><collab>OpenAI</collab></person-group> (<year>2023a</year>). <source>Gpt-4 System Card</source>. Available online at: <ext-link ext-link-type="uri" xlink:href="https://openai.com/research/gpt-4-system-card">https://openai.com/research/gpt-4-system-card</ext-link> (Accessed September 17, 2025).</citation>
</ref>
<ref id="B24">
<citation citation-type="web"><person-group person-group-type="author"><collab>OpenAI</collab></person-group> (<year>2023b</year>). <source>Gpt-4 Technical Report</source>. Available online at: <ext-link ext-link-type="uri" xlink:href="https://openai.com/research/gpt-4">https://openai.com/research/gpt-4</ext-link> (Accessed September 17, 2025).</citation>
</ref>
<ref id="B25">
<citation citation-type="web"><person-group person-group-type="author"><collab>Openchat Team</collab></person-group> (<year>2023</year>). <source>Openchat: Open-Source Chat Models</source>. Available online at: <ext-link ext-link-type="uri" xlink:href="https://github.com/imoneoi/openchat">https://github.com/imoneoi/openchat</ext-link> (Accessed September 17, 2025).</citation>
</ref>
<ref id="B26">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Ouyang</surname> <given-names>L.</given-names></name> <name><surname>Wu</surname> <given-names>J.</given-names></name> <name><surname>Jiang</surname> <given-names>X.</given-names></name> <name><surname>Almeida</surname> <given-names>D.</given-names></name> <name><surname>Wainwright</surname> <given-names>C. L.</given-names></name> <name><surname>Mishkin</surname> <given-names>P.</given-names></name> <etal/></person-group>. (<year>2022</year>). <article-title>Training language models to follow instructions with human feedback</article-title>. <source>arXiv [preprint]</source>. arXiv:2203.02155. <pub-id pub-id-type="doi">10.48550/arXiv.2203.02155</pub-id></citation>
</ref>
<ref id="B27">
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Pearl</surname> <given-names>J.</given-names></name></person-group> (<year>1988</year>). <source>Probabilistic Reasoning in Intelligent Systems: Networks of Plausible Inference</source>. <publisher-loc>Burlington, MA</publisher-loc>: <publisher-name>Morgan Kaufmann</publisher-name>. <pub-id pub-id-type="doi">10.1016/B978-0-08-051489-5.50008-4</pub-id></citation>
</ref>
<ref id="B28">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Reynolds</surname> <given-names>L.</given-names></name> <name><surname>McDonell</surname> <given-names>K.</given-names></name></person-group> (<year>2021</year>). <article-title>Prompt programming for large language models: Beyond the few-shot paradigm</article-title>. <source>arXiv [preprint]</source>. arXiv:2102.07350. <pub-id pub-id-type="doi">10.48550/arXiv.2102.07350</pub-id></citation>
</ref>
<ref id="B29">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Shuster</surname> <given-names>K.</given-names></name> <name><surname>Smith</surname> <given-names>E. M.</given-names></name> <name><surname>Simig</surname> <given-names>N.</given-names></name> <name><surname>Roller</surname> <given-names>S.</given-names></name> <name><surname>Weston</surname> <given-names>J.</given-names></name></person-group> (<year>2022</year>). <article-title>Language models that seek for knowledge: modular search &#x00026; generation for dialogue and prompt completion</article-title>. <source>arXiv [preprint]</source>. arXiv:2202.08906. <pub-id pub-id-type="doi">10.48550/arXiv.2202.08906</pub-id></citation>
</ref>
<ref id="B30">
<citation citation-type="web"><person-group person-group-type="author"><name><surname>Touvron</surname> <given-names>H.</given-names></name> <name><surname>Lavril</surname> <given-names>T.</given-names></name> <name><surname>Izacard</surname> <given-names>G.</given-names></name> <name><surname>Martinet</surname> <given-names>X.</given-names></name> <name><surname>Lachaux</surname> <given-names>M.-A.</given-names></name> <name><surname>Lacroix</surname> <given-names>T.</given-names></name> <etal/></person-group>. (<year>2023</year>). <source>Llama 2: Open Foundation and Fine-tuned Chat Models</source>. Available online at: <ext-link ext-link-type="uri" xlink:href="https://ai.meta.com/llama/">https://ai.meta.com/llama/</ext-link> (Accessed September 17, 2025).</citation>
</ref>
<ref id="B31">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Wang</surname> <given-names>X.</given-names></name> <name><surname>Wei</surname> <given-names>J.</given-names></name> <name><surname>Schuurmans</surname> <given-names>D.</given-names></name> <name><surname>Le</surname> <given-names>Q.</given-names></name> <name><surname>Chi</surname> <given-names>E.</given-names></name> <name><surname>Narang</surname> <given-names>S.</given-names></name> <etal/></person-group>. (<year>2022</year>). <article-title>Self-consistency improves chain of thought reasoning in language models</article-title>. <source>arXiv [preprint]</source>. arXiv:2203.11171. <pub-id pub-id-type="doi">10.48550/arXiv.2203.11171</pub-id></citation>
</ref>
<ref id="B32">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Wei</surname> <given-names>J.</given-names></name> <name><surname>Wang</surname> <given-names>X.</given-names></name> <name><surname>Schuurmans</surname> <given-names>D.</given-names></name> <name><surname>Bosma</surname> <given-names>M.</given-names></name> <name><surname>Ichter</surname> <given-names>B.</given-names></name> <name><surname>Xia</surname> <given-names>F.</given-names></name> <etal/></person-group>. (<year>2022</year>). <article-title>Chain-of-thought prompting elicits reasoning in large language models</article-title>. <source>arXiv [preprint]</source>. arXiv:2201.11903. <pub-id pub-id-type="doi">10.48550/arXiv.2201.11903</pub-id></citation>
</ref>
<ref id="B33">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Weidinger</surname> <given-names>L.</given-names></name> <name><surname>Mellor</surname> <given-names>J.</given-names></name> <name><surname>Rauh</surname> <given-names>M.</given-names></name> <name><surname>Griffin</surname> <given-names>C.</given-names></name> <name><surname>Huang</surname> <given-names>P.-S.</given-names></name> <name><surname>Uesato</surname> <given-names>J.</given-names></name> <etal/></person-group>. (<year>2022</year>). <article-title>Taxonomy of risks posed by language models</article-title>. <source>arXiv [preprint]</source>. arXiv:2112.04359. <pub-id pub-id-type="doi">10.48550/arXiv.2112.04359</pub-id></citation>
</ref>
<ref id="B34">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Wu</surname> <given-names>H.</given-names></name> <name><surname>Wang</surname> <given-names>J.</given-names></name> <name><surname>Zhang</surname> <given-names>W.</given-names></name> <name><surname>He</surname> <given-names>Y.</given-names></name></person-group> (<year>2023</year>). <article-title>Hallucinationeval: a unified framework for evaluating hallucinations in LLMs</article-title>. <source>arXiv [preprint]</source>. arXiv:2310.06545. <pub-id pub-id-type="doi">10.48550/arXiv.2310.06545</pub-id></citation>
</ref>
<ref id="B35">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Yao</surname> <given-names>S.</given-names></name> <name><surname>Zhao</surname> <given-names>S.</given-names></name> <name><surname>Yu</surname> <given-names>D.</given-names></name> <name><surname>Etzioni</surname> <given-names>O.</given-names></name> <name><surname>Choi</surname> <given-names>Y.</given-names></name> <etal/></person-group>. (<year>2022</year>). <article-title>React: Synergizing reasoning and acting in language models</article-title>. <source>arXiv [preprint]</source>. arXiv:2210.03629. <pub-id pub-id-type="doi">10.48550/arXiv.2210.03629</pub-id></citation>
</ref>
<ref id="B36">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Zhang</surname> <given-names>N.</given-names></name> <name><surname>Yang</surname> <given-names>W.</given-names></name> <name><surname>Xie</surname> <given-names>X.</given-names></name> <name><surname>Liu</surname> <given-names>Q.</given-names></name> <name><surname>Chen</surname> <given-names>H.</given-names></name></person-group> (<year>2023</year>). <article-title>Grounded language model training reduces hallucination</article-title>. <source>arXiv [preprint]</source>. arXiv:2303.08239. <pub-id pub-id-type="doi">10.48550/arXiv:.303.08239</pub-id></citation>
</ref>
<ref id="B37">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Zhou</surname> <given-names>X.</given-names></name> <name><surname>Sch&#x000E4;rli</surname> <given-names>N.</given-names></name> <name><surname>Hou</surname> <given-names>L.</given-names></name> <name><surname>Wei</surname> <given-names>J.</given-names></name> <name><surname>Scales</surname> <given-names>N.</given-names></name> <name><surname>Wang</surname> <given-names>X.</given-names></name> <etal/></person-group>. (<year>2022</year>). <article-title>Least-to-most prompting enables complex reasoning in large language models</article-title>. <source>arXiv [preprint]</source>. arXiv:2205.10625 <pub-id pub-id-type="doi">10.48550/arXiv.2205.10625</pub-id></citation>
</ref>
</ref-list>
</back>
</article>