Paper deep dive
Look Before You Leap: Factual Decoding with Internal Attribution Signals
Hayeong Ryu, JungMin Yun, Byeonggeuk Lim, Sunhee Jo, YoungBin Kim
Intelligence
Status: not_run | Model: - | Prompt: - | Confidence: 0%
Entities (0)
Relation Signals (0)
No relation signals yet.
Cypher Suggestions (0)
No Cypher suggestions yet.
Abstract
Abstract:Hallucination remains a critical challenge in large language models (LLMs), where early factual errors compound through autoregressive generation in a snowballing effect that neither post-hoc correction nor weight-level intervention can effectively preempt. We propose DescaPE (DEcoding Signal Control Against Path Error-snowballing), a decoding framework that leverages internal model signals to suppress hallucination-prone trajectories at inference time. Through sliding-window MLP ablation, we identify a factual-salient layer span within LLMs whose derived signal is selectively elevated for factual tokens and exhibits anomalous spikes at hallucination-prone steps. We train a lightweight probe to approximate this signal from a single forward pass and integrate it into candidate scoring to penalize high-risk continuations while rewarding factually grounded ones. Experiments across five factuality benchmarks on three LLMs demonstrate that DescaPE achieves factuality improvements over decoding-time baselines in multiple settings, while incurring only 1.10x latency overhead in our efficiency evaluation. Our code is available at this https URL.
Tags
Links
- Source: https://arxiv.org/abs/2609.15745v1
- Canonical: https://arxiv.org/abs/2609.15745v1
Trouble viewing inline? Open PDF directly â
Full Text
94,964 characters extracted from source content.
Expand or collapse full text
Look Before You Leap: Factual Decoding with Internal Attribution Signals Hayeong Ryu Email: bluebarry37@cau.ac.kr JungMin Yun Email: cocoro357@cau.ac.kr Byeonggeuk Lim Email: banggeuk@cau.ac.kr Sunhee Jo Email: jo3438@cau.ac.kr YoungBin Kim Affiliation: Graduate School of Advanced Imaging Sciences, Multimedia and Film, Chung-Ang University Email: ybkim85@cau.ac.kr Affiliation: Department of Artificial Intelligence, Chung-Ang University Abstract Hallucination remains a critical challenge in large language models (LLMs), where early factual errors compound through autoregressive generation in a snowballing effect that neither post-hoc correction nor weight-level intervention can effectively preempt. We propose DescaPE (DEcoding Signal Control Against Path Error-snowballing), a decoding framework that leverages internal model signals to suppress hallucination-prone trajectories at inference time. Through sliding-window MLP ablation, we identify a factual-salient layer span within LLMs whose derived signal is selectively elevated for factual tokens and exhibits anomalous spikes at hallucination-prone steps. We train a lightweight probe to approximate this signal from a single forward pass and integrate it into candidate scoring to penalize high-risk continuations while rewarding factually grounded ones. Experiments across five factuality benchmarks on three LLMs demonstrate that DescaPE achieves factuality improvements over decoding-time baselines in multiple settings, while incurring only 1.10Ă latency overhead in our efficiency evaluation. Our code is available at https://github.com/hayeonggg/DESCAPE. 1 Introduction Despite remarkable advances in large language models (LLMs), hallucination remains a critical and unresolved challenge Kadavath et al. (2022); Gekhman et al. (2024); Jiang et al. (2024); Huang et al. (2025); Alansari and Luqman (2026). Retrieval-Augmented Generation (RAG) Lewis et al. (2020), Supervised Fine-Tuning (SFT) Wei et al. (2022), and Reinforcement Learning from Human Feedback (RLHF) Ouyang et al. (2022) have been widely adopted to mitigate this issue, yet each introduces fundamental limitations: RAG is structurally dependent on retriever quality and incurs search latency, while SFT and RLHF demand substantial computational cost and risk catastrophic forgetting. More critically, the autoregressive generation process allows early factual errors to compound and propagate, a phenomenon known as hallucination snowballing Zhang et al. (2024b), which neither post-hoc corrections nor weight-level interventions can effectively preempt Farquhar et al. (2024). This underscores the need for decoding-time intervention: a lightweight mechanism that suppresses factual errors during generation, without modifying model parameters or relying on external modules. Figure 1: Illustration of our preliminary analysis motivating the proposed method. The Factual Attribution Signal δt _t, extracted from the factual-salient layer span, selectively responds to factual content tokens (blue) throughout the generated sequence. Simultaneously, when the model generates a hallucinated token (Finland, red) with misplaced confidence, δt _t exhibits an anomalous spikeâtriggering a risk signal that can prevent hallucination snowballing before it propagates. Decoding-time factuality research has evolved along three paradigms. Intrinsic Steering methods Chuang et al. (2024); Zhang et al. (2024a); Zhang et al. (2025a) steer internal representations toward truthful outputs, but offer limited recourse once a hallucinated trajectory is initiated. Extrinsic Verification methods Li et al. (2023b); Chang et al. (2025); Yang et al. (2025) rescore candidates via auxiliary signals at the cost of inference overhead and distribution shift. Self-Verification methods Guo et al. (2025); Cheng et al. (2025) leverage self-feedback without external verifiers, yet remain fundamentally bounded by the generatorâs own distributional space. This raises a fundamental question: whether an independent factual signal â internal to the model yet decoupled from its final output distribution â can exist. Figure 2: Analysis of factual-salient layer spans across three models. (a) Factual Attribution Score ÎâĄ(w) (w) for each window, calculated using sliding-window MLP ablation. The â symbol indicates the factual-salient layer span identified for each model. (b) Distribution of δt _t derived from the identified spans, categorized by token type. (c) Empirical CDF of δt _t for hallucinated (solid line) and non-hallucinated (dashed line) tokens. Recent work reports that LLMs exhibit a late sharpening phenomenon CsordĂĄs et al. (2025); Yu et al. (2025), where upper layers sharply narrow probability distributions, suggesting that erroneous trajectories may be internally set before a hallucinated token is emitted Chuang et al. (2024); Zhang et al. (2025a). Yet, this observation paradoxically implies that intermediate layers, prior to this sharpening, harbor independent factual signals, making preemptive decoding-time intervention structurally plausible. Motivated by recent causal analyses of factual recall Meng et al. (2022), we analyze layer-wise MLP activations during text generation and present two key findings. (i) We isolate a contiguous factual-salient layer span selectively engaged during factual generation: the derived factual attribution signal is consistently elevated for knowledge-intensive tokens while remaining negligible for functional tokens. (i) Hallucinated tokens trigger abnormally frequent spikes in this signal relative to factual ones, establishing it as a reliable signal for identifying hallucination-prone continuations. As shown in Figure 1, this signal selectively tracks factual content throughout generation and exhibits anomalous spikes at hallucination-prone steps, providing a real-time basis for preemptive intervention. In this work, we propose DEcoding Signal Control Against Path Error-snowballing (DescaPE), a decoding framework that suppresses hallucination-prone trajectories at inference time. We train a lightweight probe to approximate the factual attribution signal from a single forward pass and integrate it into candidate scoring to penalize high-risk continuations while favoring factually grounded ones. Experiments across five factuality benchmarks show that DescaPE improves factuality in several settings with minimal inference overhead. Our contributions are threefold: 1. We identify a factual-salient layer span within LLMs whose derived attribution signal is selectively elevated for factual tokens, and further demonstrate that it exhibits anomalous spikes at hallucination-prone generation steps. 2. We propose DescaPE, a preventive trajectory control framework that leverages this signal as a unified internal basis for decoding-time intervention, approximating it via a lightweight probe and integrating it into candidate scoring. 3. We validate DescaPE across five factuality benchmarks, demonstrating improvements in several settings with minimal latency overhead. 2 Related Work 2.1 Intrinsic Signal-Based Intervention Prior work has explored improving factual generation by directly manipulating internal representations or layer-wise signals of LLMs. Some intervene at the representation level by steering activations toward truthful directions (ITI Li et al. (2023a); TrFr Chen et al. (2024); TruthX Zhang et al. (2024c)). Others exploit layer-wise distributional differences at decoding time, contrasting or reweighting logits across layers to promote factual predictions (DoLa Chuang et al. (2024); SLED Zhang et al. (2024a); END Wu et al. (2025); ActLCD Zhang et al. (2025a)). However, these layer-wise adjustments are uniformly applied across generation steps, without explicit awareness of whether the current step is hallucination-prone. DescaPE derives a candidate-level attribution signal from a causally identified factual-salient layer span, enabling selective intervention at hallucination-prone steps. 2.2 Extrinsic Verification Decoding Another approach rescores or filters candidate continuations using signals from auxiliary models external to the generator. Contrastive Decoding Li et al. (2023b) amplifies the logit gap between a strong and weak model, with subsequent work refining the contrastive signal via hallucination-induced fine-tuning Zhang et al. (2025b) and adversarial hard negatives Sheng et al. (2025). Monitoring Decoding Chang et al. (2025) further advances toward token-level intervention by deploying a large external monitor to resample high-risk tokens in real time. Despite their precision, these methods introduce distribution mismatch and non-trivial inference overhead â limitations our approach overcomes by deriving an equivalent signal entirely from the generatorâs own factual-salient layer span. 2.3 Self-Verification Decoding Self-verification methods improve factual generation by having the model evaluate and revise its own outputs without external models. Sampling-based approaches exploit cross-sample agreement as a proxy for factual reliability Wang et al. (2023); Manakul et al. (2023); Wang et al. (2024), while recent work extends this to decoding time: Integrative Decoding Cheng et al. (2025) incorporates self-consistency into the decoding objective, and DSVD Guo et al. (2025) triggers dynamic rollback upon erroneous token detection. However, since verification and correction operate within the same representation space, the model is structurally ill-equipped to escape incorrect convictions MĂźndler et al. (2024), and post-detection intervention cannot preempt erroneous trajectories. Our framework addresses both by deriving signals from a factual-salient layer span distinct from the final output distribution, enabling preventive trajectory control. 3 Identifying Factual-Salient Layer Spans To proactively prevent entering hallucination-prone trajectories at the decoding stage, we require an internal signal that can be utilized in real time during generation without modifying the base model parameters or relying on an external verifier LLM. We therefore identify a contiguous span of MLP layers that is selectively engaged in factual generation â which we term the factual-salient layer span â and demonstrate that the signal derived from this span serves as an early indicator of hallucination. 3.1 Background and Motivation Prior work has established through causal tracing that the recall of factual knowledge in LLMs is causally localized in mid-layer MLP modules Meng et al. (2022), with MLP sublayers playing a central role in enriching subject token representations and retrieving factual attributes Geva et al. (2023). Building on this evidence, we focus on contiguous MLP spans that selectively contribute to factual token prediction and use their causal contribution as a candidate-level attribution signal for decoding-time intervention. Component-wise ablation further supports this choice, with MLPs exhibiting stronger factual attribution and factualâfunction separation than attention modules (Appendix A.3). Figure 3: Overview of DescaPE. (Top-left) A lightweight probe fĎf_Ď approximates the candidate-level factual attribution signal δ^tâ(v) δ_t(v) using supervision derived from the factual-salient layer span identified via sliding-window ablation. (Top-right) The estimated signal is incorporated into candidate scoring through a risk penalty riskP_risk and factual bonus âŹfactB_fact to guide beam selection. (Bottom) An illustrative decoding example shows how this intervention prevents error snowballing. At t=0t=0, the base model assigns higher probability to the hallucination-prone candidate Finland, whereas DescaPE penalizes it according to its high attribution signal and promotes the factually grounded candidate Estonia. This redirects generation away from the erroneous greedy trajectory, with signal-integrated scoring at subsequent steps maintaining the corrected trajectory toward a factually grounded response. 3.2 Sliding-Window MLP Ablation To quantify the contribution of each layer span to factual token generation, we propose a sliding-window MLP ablation approach. Specifically, we define a contiguous layer span [lstart,lend][l_start,l_end] as a single window and block the information flow by zeroing out the output activations of all MLP modules within this span. We quantify the causal contribution of each window w using the Factual Attribution Score ÎâĄ(w) (w) as follows: ÎâĄ(w)=logâĄPSâ(a)âlogâĄPWâ(a), (w)= P_S(a)- P_W(a), (1) where PSâ(a)P_S(a) is the probability of the original, un-intervened model (Strong view) predicting the target answer token a, and PWâ(a)P_W(a) is the probability of the ablated model (Weak view) generating the same token a with window w zeroed out at the corresponding decoding step. A higher ÎâĄ(w) (w) indicates a greater contribution of the span to factual token generation. For multi-token answers, we average the ÎâĄ(w) (w) values across all answer tokens to compute the final score for the sample. We designate the span that yields the maximum ÎâĄ(w) (w) as the factual-salient layer span, denoted by wâ=argâĄmaxwâĄÎâĄ(w)w^*= _w (w). Given this fixed span, at decoding step t, we define the real token-level factual attribution signal for a candidate token v as δtrealâ(v,wâ) _t^real(v;w^*) =logâĄpθâ(vâŁx,y<t) = p_θ(v x,y_<t) (2) âlogâĄpθablâ(wâ)â(vâŁx,y<t), - p_ _abl(w^*)(v x,y_<t), where pθablâĄ(wâ)â(vâŁx,y<t)p_θ^abl(w^*)(v x,y_<t) denotes the probability assigned to v by the same model when the MLP outputs in wâw^* are zero-ablated. The resulting δtreal _t^real represents the attribution signal obtained through actual ablation, rather than a factuality label. More detail is in Appendix A. 3.3 Empirical Observations on Factual Signal We apply the proposed sliding-window approach to three models: Llama-3.1-8B-Instruct Grattafiori et al. (2024), Mistral-7B-Instruct-v0.3 Jiang et al. (2023), and Qwen2.5-7B-Instruct Qwen et al. (2024). As shown in Figure 2 (a), all models exhibit a pronounced peak in ÎâĄ(w) (w) at a specific layer span, confirming that a contiguous region of MLP layers is selectively engaged in factual generation. Specifically, the peak is observed at layers 12â18 for Llama, layers 20â26 for Mistral, and layers 12â18 for Qwen11 1 For Qwen, the signal is more diffuse across spans, though we consistently designate the span with the highest ÎâĄ(w) (w) as the factual-salient layer span; the validity of this choice is further corroborated in Section 5.2.. We then analyze the generated-token signal δt:=δtrealâ(yt,wâ) _t:= _t^real(y_t;w^*), where yty_t denotes the token generated at decoding step t, and make two key observations. Observation 1: The signal δt _t is selectively activated by factual tokens. Across all three models, δt _t is consistently elevated for factual tokens (e.g., answers, entities, numbers), while remaining near zero for function words (Figure 2 (b)). This indicates that the factual-salient layer span activates selectively during factual knowledge retrieval, with minimal response to function words. Observation 2: Hallucinated tokens induce abnormal spikes in δt _t. We further find that hallucinated tokens exhibit more frequent abnormal spikes in δt _t compared to non-hallucinated tokens. As shown in Figure 2 (c), the empirical Cumulative Distribution Function (CDF) of non-hallucinated tokens (dashed) lies consistently above that of hallucinated tokens (solid) across all models, even as δt _t remains broadly elevated at factual generation steps. We leverage this signal as a risk indicator in our decoding framework22 2 Although Figure 2 analyzes the signal on generated tokens, Eq. 2 defines δtrealâ(v,wâ) _t^real(v;w^*) for candidate tokens prior to token selection. We further examine whether the resulting intervention preserves correct multi-hop reasoning on HotpotQA; see Appendix K. ; further details are provided in Appendix B. 4 Methodology In this section, we introduce DEcoding Signal Control Against Path Error-snowballing (DescaPE), a decoding framework that leverages internal signals from the factual-salient layer span (Section 3) to suppress hallucination-prone trajectories at inference time. It consists of (1) a lightweight probe that approximates the factual attribution signal from a single forward pass, and (2) a signal-integrated beam scoring strategy that penalizes high-risk continuations while rewarding factually grounded ones. An overview is illustrated in Figure 3. 4.1 Factual Attribution Signal Approximation While our factual attribution signal δtrealâ(v,wâ) _t^real(v;w^*) can be obtained by applying Eq. 2 at each decoding step, performing dual forward passes at every step incurs substantial computational overhead. We therefore propose to train a lightweight probing head that approximates this signal from the hidden representations of a single forward pass, using δtrealâ(v,wâ) _t^real(v;w^*) as the supervision target. Training Data Construction. To collect supervision targets, we run autoregressive generation on up to 3,000 samples from Databricks Dolly-15k33 3 https://huggingface.co/datasets/databricks/databricks-dolly-15k and record δtrealâ(v,wâ) _t^real(v;w^*) for each candidate token at every decoding step. Further details on the data collection procedure are provided in Appendix C. Probe Architecture and Training. To capture the sparse yet decisive spike patterns identified in Section 3.3 (Observation 2), we extend the Huber loss with spike-sensitive weights: â=1Nââi=1NĎiâ HuberâĄ(δ^i,δireal,Ďľh),L= 1N _i=1^N _i¡Huber( δ_i, _i^real, _h), (3) where δ^i δ_i is the probeâs prediction, Ďľh _h is the Huber threshold, and Ďi=softmaxâĄ(βâ maxâĄ(0,δireal))â N _i=softmax(β¡ (0, _i^real))¡ N dynamically up-weights samples with large positive supervision targets, encouraging the probe to focus on high-spike regions. More training details are provided in Appendix D. Method TruthfulQA FreshQA FActScore NQ TriviaQA Truth(%) Info(%) T*I(%) Strict Relaxed Score EM F1 EM F1 Llama-3.1 62.9 69.9 44.4 30.0 33.0 47.10 10.1 25.2 35.7 54.6 + Beam Search 63.6 71.3 44.9 28.8 33.8 44.90 7.7 24.4 53.6 58.5 + Self-Refine 61.8 75.8 46.6 27.7 31.7 50.72 6.7 20.9 54.6 55.1 + DoLa 57.2 65.0 39.3 16.8 25.2 47.26 8.9 21.6 47.3 49.4 + SLED 57.1 72.9 42.5 15.7 27.5 49.30 4.0 16.4 42.7 56.6 + END 60.5 74.2 44.9 13.8 13.0 37.23 1.7 8.5 24.6 35.4 + ActLCD 61.5 72.3 45.1 31.0 32.2 43.20 7.7 22.3 59.8 69.3 + DescaPE (ours) 62.0 78.2 48.5 29.2 33.2 67.20 1.8 23.4 39.8 55.6 Mistral-v0.3 66.3 62.3 41.6 26.3 33.3 47.0 0.3 14.9 35.2 54.4 + Beam Search 66.9 63.2 42.6 25.7 32.8 48.2 0.4 13.7 41.2 58.4 + Self-Refine 66.1 66.6 43.3 26.5 32.5 47.8 0.1 12.7 26.1 46.8 + DoLa 65.9 65.5 43.0 26.0 33.2 45.6 0.2 14.7 30.7 51.8 + SLED 65.7 67.7 43.3 20.5 31.7 45.0 0.1 13.0 34.6 53.1 + END 66.4 67.9 43.1 12.0 12.5 21.6 0.3 4.5 13.5 25.7 + ActLCD 65.4 65.7 43.1 25.5 34.0 46.7 0.1 14.0 29.0 49.6 + DescaPE (ours) 67.6 65.3 43.4 26.5 34.8 47.9 0.5 15.7 41.2 58.8 Qwen2.5 65.0 60.9 39.7 24.3 29.8 40.7 11.1 22.9 48.1 56.0 + Beam Search 65.5 62.7 41.5 25.5 33.7 41.4 8.0 20.4 48.4 56.6 + Self-Refine 65.1 62.8 40.9 25.0 31.2 44.0 7.7 19.8 35.8 47.3 + DoLa 58.4 55.0 34.3 21.8 27.3 28.6 7.6 18.2 38.2 45.8 + SLED 64.2 63.7 41.7 22.0 30.5 39.1 9.3 20.9 44.2 52.6 + END 65.8 63.1 42.1 23.2 28.5 38.3 9.9 21.9 45.8 54.1 + ActLCD 65.2 60.9 40.0 24.8 30.5 40.9 11.4 23.1 47.9 56.0 + DescaPE (ours) 66.4 62.8 42.2 26.0 31.3 40.8 8.0 21.3 49.6 57.3 Table 1: Results across TruthfulQA, FreshQA, FActScore, NQ, and TriviaQA. Best results in each model block are shown in bold, and second-best results are underlined. 4.2 Factual Signal-Based Decoding By incorporating δ^tâ(v) δ_t(v) predicted by fĎf_Ď into the beam scoring at each decoding step, we directly leverage the factual attribution signal at inference time. Specifically, tokens exhibiting abnormally high attribution scores are penalized, while those falling within the stable factual zone receive a bonus, proactively blocking entry into hallucination-prone trajectories and actively steering generation toward factually grounded continuations. Factual Attribution Signal. At each decoding step t, the probe approximates the real token-level factual attribution signal for each candidate token v as: δ^tâ(v)=fĎâ(htâeâĄ(v))âδtrealâ(v,wâ), δ_t(v)=f_Ď(h_t e(v))â _t^real(v;w^*), (4) where hth_t is the hidden state extracted from the last layer of the factual-salient layer span, which is concatenated with the embedding eâĄ(v)e(v) of candidate token v and passed through the probing head fĎf_Ď to produce the score. Signal-Integrated Scoring. To suppress hallucination-prone continuations and promote factually grounded ones, we compute a risk penalty riskâ(v)P_risk(v) and a factual bonus âŹfactâ(v)B_fact(v) for each candidate token: riskâ(v)=Îąâ maxâĄ(0,δ^tâ(v)âĎ),P_risk(v)=ι¡ (0, δ_t(v)-Ď), (5) âŹfact(v)=Îłâ 1[Ďfactâ¤Î´^t(v)<Ď],B_fact(v)=γ¡ 1[ _fact⤠δ_t(v)<Ď], (6) where Îą and Îł are scalar weights controlling the strength of the penalty and bonus, respectively. The thresholds Ď and Ďfact _fact partition a signal value s into three zones: safe (s<Ďfacts< _fact), factual (Ďfactâ¤s<Ď _fact⤠s<Ď), and risk (sâĽĎsâĽĎ). riskâ(v)P_risk(v) suppresses entry into high-risk continuations by penalizing tokens whose δ^tâ(v) δ_t(v) exceeds threshold Ď, corresponding to the anomalous attribution spikes observed at hallucination-prone steps. âŹfactâ(v)B_fact(v) rewards tokens falling within the stable factual attribution zone [Ďfact,Ď)[ _fact,Ď), actively encouraging the model to select factually supported tokens. Tokens below Ďfact _fact are excluded from the bonus, as they correspond to regions where the factual-salient layer span shows minimal activation and are likely non-factual. Combining the risk penalty and factual bonus with the language modelâs generation probability, the incremental score for each candidate token v is defined as: Sincâ(v)=logâĄpâĄ(vâŁy<t,x)âriskâ(v)+âŹfactâ(v).S_inc(v)= p(v y_<t,x)-P_risk(v)+B_fact(v). (7) This combination preserves the fluency of the language model while prioritizing continuations with strong factual support signals. At each step, the top-B beams are selected based on the cumulative SincS_inc scores, with duplicate sequences removed to maintain beam diversity. The beam score is accumulated across decoding steps, and length normalization is applied at the final selection to mitigate length bias. Additional details are provided in Appendix E. Method Latency â Throughput â Greedy 24.96 (Ă1.00) 40.06 (Ă1.00) Beam Search 38.45 (Ă1.54) 26.01 (Ă0.65) Self-Refine 180.77 (Ă7.24) 5.53 (Ă0.14) DoLa 27.77 (Ă1.11) 36.01 (Ă0.90) SLED 26.91 (Ă1.08) 37.16 (Ă0.93) END 45.59 (Ă1.83) 21.94 (Ă0.55) ActLCD 26.90 (Ă1.08) 37.17 (Ă0.93) DescaPE (ours) 27.53 (Ă1.10) 36.32 (Ă0.91) Table 2: Decoding latency (ms/tok) and throughput (tok/s) on TruthfulQA with Llama-3.1. Relative overhead compared to greedy decoding is shown in parentheses. â lower is better, â higher is better. 5 Experiments 5.1 Experimental Setting Datasets & Evaluation Metrics. We evaluate our framework on five benchmarks spanning open-ended factual QA, short-answer QA, and long-form generation. For open-ended factual QA, we use TruthfulQA Lin et al. (2022) and FreshQA Vu et al. (2024) via LLM-as-Judge. For long-form factual generation, we employ FActScore Min et al. (2023), which decomposes generated biographies into atomic facts and measures factual precision against known sources. For short-answer QA, we evaluate on NQ Kwiatkowski et al. (2019) and TriviaQA Joshi et al. (2017) using EM, token-level F1, and SoftEM, a soft variant of EM. More evaluation details can be found in Appendix F. Models & Baselines. We select three LLMs as our base models: Llama-3.1-8B-Instruct Grattafiori et al. (2024) (Llama-3.1), Mistral-7B-Instruct-v0.3 Jiang et al. (2023) (Mistral-v0.3), and Qwen2.5-7B-Instruct Qwen et al. (2024) (Qwen2.5). We compare against seven baselines spanning four categories: standard decoding (1) Greedy, (2) Beam Search; decoding-time interventions (3) DoLa Chuang et al. (2024), (4) ActLCD Zhang et al. (2025a); inference-time refinement (5) Self-Refine Madaan et al. (2023); and contrastive decoding (6) SLED Zhang et al. (2024a), (7) END Wu et al. (2025). Implementation Details. For all experiments, we use beam width B=5B=5 with K=12K=12 candidates per beam. The risk penalty weight and factual bonus weight are set to Îą=0.5Îą=0.5 and Îł=0.3Îł=0.3, respectively. The risk threshold and factual zone lower bound are set to Ď=3.0Ď=3.0 and Ďfact=0.5 _fact=0.5. Length normalization is applied with a penalty exponent of Îť=0.6Îť=0.6. More implementation details including probe training configuration are provided in Appendix G. Method TruthfulQA FreshQA FActScore T*I (%) Latencyâ Relaxed Latencyâ Score Latencyâ Baseline 43.6 47.2 53.0 25.9 57.8 22.4 Penalty Only 51.6 42.5 55.0 25.8 60.7 22.4 Bonus Only 45.0 39.5 54.0 25.8 59.5 22.6 Penalty+Bonus 52.8 27.0 59.0 25.9 61.6 22.5 w/o Early Stopping 48.0 56.1 47.0 40.9 60.9 34.7 w/ Early Stopping 48.2 27.5 55.0 26.1 61.0 22.6 Table 3: Ablation study on scoring components and early stopping using Llama-3.1 on 100-sample pilot subsets. (Top) Baseline (Îą=0,Îł=0Îą=0,Îł=0), Penalty Only (Îł=0Îł=0), Bonus Only (Îą=0Îą=0), and Penalty+Bonus (full). (Bottom) Early stopping effects on latency and generation quality. Penalty+Bonus and w/ Early Stopping denote the same full configuration from independent runs. 5.2 Main Results We present the main results across five benchmarks and three models in Table 1. DescaPE shows improvements on open-ended factual QA and long-form generation tasks. Specifically, on TruthfulQA, it achieves the highest T*I(%) across all three models, with notable gains in Info(%) for Llama-3.1 (+8.3% percentage points over greedy). On FActScore, it substantially outperforms all baselines on Llama-3.1 (67.20), suggesting that signal-integrated decoding is particularly effective for long-form factual generation. On short-answer QA benchmarks (NQ and TriviaQA), however, the improvements are less consistent under standard EM and F1. As analyzed in Appendix I, our method tends to generate longer responses than other baselines, which are penalized by strict lexical matching; a supplementary evaluation with SoftEM reveals that this gap is at least partly attributable to metric sensitivity rather than factual inaccuracy. Figure 4: Zone-level agreement between δtrealâ(v,wâ) _t^real(v;w^*) and δ^tâ(v) δ_t(v) on TruthfulQA with Llama-3.1. Both signals are categorized into safe, factual, and risk zones using the same thresholds: s<Ďfacts< _fact, Ďfactâ¤s<Ď _fact⤠s<Ď, and sâĽĎsâĽĎ, respectively, where s denotes the corresponding signal value. Each cell is row-normalized by the zone frequency of δtrealâ(v,wâ) _t^real(v;w^*). Decoding Efficiency. As shown in Table 2, DescaPE incurs only a 1.10Ă1.10Ă latency overhead relative to greedy decoding, which is substantially lower than Self-Refine (7.24Ă7.24Ă) and END (1.83Ă1.83Ă). Considering the performance gains achieved on factual benchmarks, we observe that our approach offers a favorable trade-off between generation quality and computational cost compared to other baselines. 5.3 Further Analysis Ablation Study. We conduct two ablation studies to validate the design choices in DescaPE: the scoring components and the early stopping strategy (Table 3). ⢠Scoring Components. The full combination of penalty and bonus consistently achieves the best performance across all benchmarks, with the penalty term playing a more critical role than the bonus alone. This confirms that both riskP_risk and âŹfactB_fact contribute complementarily to the overall scoring. ⢠Early Stopping. Early stopping reduces latency by approximately 51.0% (e.g., TruthfulQA: 56.1 â 27.5 ms/tok) while maintaining comparable generation quality in the pilot evaluations, indicating that the heuristic substantially reduces redundant computation in practice. Figure 5: Hyperparameter sensitivity of DescaPE on TruthfulQA with Llama-3.1. (a) Effect of risk penalty strength Îą under varying threshold Ď, with T*I score reported on the left axis. (b) Effect of factual bonus strength Îł under varying Ďfact _fact. (c) Effect of beam width B (top) and number of candidates K (bottom) on T*I score (solid, left axis) and latency in ms/tok (dashed, right axis). Method Truth(%) Info(%) T*I(%) Lat. â Llama-3.1 Greedy 62.9 69.9 44.4 24.96 DescaPE w/ real 62.7 75.6 46.7 53.57 DescaPE (ours) 62.0 78.2 48.5 27.53 Mistral-v0.3 Greedy 66.3 62.3 41.6 23.99 DescaPE w/ real 60.2 68.3 43.3 51.92 DescaPE (ours) 67.6 65.3 43.4 27.36 Qwen2.5 Greedy 65.0 60.9 39.7 23.73 DescaPE w/ real 67.2 60.2 41.0 49.28 DescaPE (ours) 66.4 62.8 42.2 25.67 Table 4: Comparison of DescaPE variants on TruthfulQA across three models. DescaPE w/ real signal directly applies δtrealâ(v,wâ) _t^real(v;w^*) at each decoding step, while DescaPE uses the learned probe fĎf_Ď as an approximation. Latency (Lat.) is measured in ms/tok. Bold indicates the best result for each factuality metric within each model group. Model Dataset Î Î 1 Î Llama-3.1 NQ +13.00 +12.16 -6.9 TriviaQA +6.00 +2.94 -1.0 Mistral-v0.3 NQ +13.00 +15.01 -5.9 TriviaQA +21.00 +10.63 -5.7 Qwen2.5 NQ +11.00 +5.19 -5.3 TriviaQA +5.50 +2.20 -0.5 Table 5: Controlled prompt-sensitivity analysis on NQ and TriviaQA using the answer-only instruction âAnswer with only the entity or short phrase.â Values denote changes relative to the original prompt; Î is the change in average response length measured in tokens. Question Which country in Northern Europe has the best scores on PISA since 2015? GT Estonia Greedy Finland has consistently ranked among the top countries in Northern Europe on the Programme for International Student Assessment (PISA) since 2015, often ranking as the highest or among the highest. Beam Search Since 2015, Finland consistently ranks among the top countries globally and often leads Northern European nations on the Programme for International Student Assessment (PISA) rankings. Self-Refine Finland consistently ranks among the top countries in the Programme for International Student Assessment (PISA) since 2015, but in terms of the best overall scores, it was Finland in 2015, and then Estonia surpassed Finland in 2018, and has maintained its position as the top performer in Northern Europe. DoLa Iceland has achieved the best scores on PISA in Northern Europe, ranking as one of the top countries, from 2015 onwards and consistently among the best, and first, or either first, or second. SLED Based on available data up to 2018 (the last year for which complete results were released), Finland consistently ranked among the top countries globally and is often considered the highest scorer along with other Nordic nations like Estonia or Canada, but among strictly âNorthern Europeanâ nations â Denmark stands out between Germany, Sweden and Norway taking an advantage followed closely by Iceland having some of those years significantly high rankings, however these details may be disputed as of cut-off date. END Finland consistently ranks among the top countries globally and often leads Northern European nations in PISA rankings; however, according to available data from 2018 (the most recent year provided by OECD), Estonia had the highest average score for reading literacy among Northern European countries that participated in the test. ActLCD Finland has consistently ranked among the top countries in the Programme for International Student Assessment (PISA) since 2015, often holding the top spot in reading, science, and mathematics. DescaPE (ours) Since 2015, Estonia consistently ranks as the top-performing country in Northern Europe according to OECDâs Programme for International Student Assessment (PISA) results, with high average scores across various subjects such as reading, mathematics, and science literacy. Table 6: Case study of different methodsâ responses on a TruthfulQA example with Llama-3.1. Incorrect inferences are highlighted in red. Correct ones are highlighted in green. Probe Quality. We evaluate whether fĎf_Ď preserves the operational utility of δtrealâ(v,wâ) _t^real(v;w^*) at both the signal and decoding levels. At the signal level, Figure 4 shows that fĎf_Ď achieves 75.8% agreement on the safe zone and 69.6% on the risk zone when the predicted and real signals are partitioned using the same thresholds. At the decoding level, Table 4 compares DescaPE with its real-signal variant across all three models. The probe-based variant achieves comparable T*I(%) while reducing latency by approximately half, indicating that fĎf_Ď preserves the decoding utility of the real attribution signal at substantially lower computational cost. A more specific analysis of probe quality is provided in Appendix J. Hyperparameter Sensitivity. Figure 5 summarizes the sensitivity of DescaPE to its key hyperparameters. (a) The risk penalty setting (Îą=0.5Îą=0.5, Ď=3Ď=3) achieves competitive T*I(%) while maintaining low latency, whereas more aggressive configurations lead to only marginal performance gains at substantially higher computational cost. (b) A moderate factual bonus (Îł=0.3,Ďfact=0.5Îł=0.3, _fact=0.5) performs near the best observed setting (T*I score 0.54 vs. 0.56), while offering more stable and consistent behavior across configurations than the peak settings. (c) Beam width B=5B=5 provides the best efficiency-performance trade-off, while performance is largely insensitive to K in the tested range. Further analysis of hyperparameter transfer across models and benchmarks, along with label-free calibration for new models, is provided in Appendix H. Short-Answer QA Analysis. To further examine the modest gains under strict short-answer metrics, we conduct a controlled prompt-sensitivity analysis on NQ and TriviaQA using an answer-only instruction while keeping the decoding budget unchanged. The controlled prompt consistently shortens responses and improves both EM and F1 across all modelâdataset combinations (Table 5), supporting response-format mismatch and strict lexical matching as contributing factors to the observed gap. Further analysis of short-answer QA is provided in Appendix I. Case Study. As illustrated in Table 6, while most baselines generate responses containing hallucinated claims, DescaPE produces a factually accurate response that correctly identifies Estonia as the top-performing country â consistent with the Ground Truth (GT). This qualitative example suggests that signal-integrated decoding effectively suppresses hallucination-prone continuations at the token level. Additional case studies across different benchmarks are provided in Appendix M. 6 Conclusion We presented DescaPE, a decoding framework that identifies a factual-salient layer span within LLMs and leverages its derived signal for preventive trajectory control at inference time. Through sliding-window MLP ablation, we empirically established that this signal is selectively activated for factual tokens and serves as a reliable precursor to hallucination. By incorporating this signal into candidate scoring, DescaPE can intervene before hallucination-prone continuations are selected and propagate through subsequent generation. A lightweight probe approximates this signal efficiently, enabling real-time integration into candidate scoring without modifying the base model parameters or relying on an external verifier LLM. Experiments across five factuality benchmarks demonstrate factuality improvements over decoding-time baselines in multiple settings with minimal latency overhead. These results highlight the potential of internal attribution signals as practical decoding-time signals for preventing hallucination-prone generation trajectories. Limitations While DescaPE demonstrates improvements across several factuality settings, several limitations remain. The factual-salient layer span is identified per model via offline ablation analysis, requiring additional computation prior to deployment and potential re-identification for new model architectures. Although the probe signal reliably tracks hallucination-prone steps at the zone level, it does not guarantee token-level precision â false positives in risk classification may inadvertently penalize factually correct continuations. We also observe less consistent gains on strict short-answer QA under EM/F1, partly due to response-format sensitivity and strict lexical matching. We design DescaPE for fact-seeking generation rather than as a universal decoding strategy. Accordingly, we do not interpret the attribution signal δ as a measure of creativity or general generation quality, and we recommend selectively activating DescaPE for factuality-critical prompts. Its behavior on creative or other non-factual generation tasks remains to be systematically evaluated. In addition, our framework does not explicitly distinguish hallucinations caused by missing parametric knowledge from decoding failures when relevant knowledge is internally available. Our analysis primarily targets the latter setting, while detecting genuine knowledge gaps and using the attribution signal to trigger abstention or refusal remain important directions for future work. Finally, the current framework does not explicitly model cross-step logical consistency in multi-hop reasoning chains, where hallucination may stem not from a single erroneous token but from the accumulation of individually plausible yet collectively inconsistent claims. Acknowledgments This work was supported by the Institute of Information & Communications Technology Planning & Evaluation (IITP) grant funded by the Korea government (MSIT) [RS-2021-I211341, Artificial Intelligence Graduate School Program (Chung-Ang University)] and by the National Research Foundation of Korea (NRF) grant funded by the Korea government (MSIT) (RS-2025-00556246). References Alansari and Luqman (2026) A. Alansari and H. Luqman Large language models hallucination: a comprehensive survey. Computer Science Review 61, p. 100970. External Links: Document Cited by: §1. Chang et al. (2025) Y. Chang, B. Cao, and L. Lin Monitoring decoding: mitigating hallucination via evaluating the factuality of partial response during generation. In Findings of the Association for Computational Linguistics: ACL 2025, W. Che, J. Nabende, E. Shutova, and M. T. Pilehvar (Eds.), Vienna, Austria, p. 14574â14587. External Links: Link, Document, ISBN 979-8-89176-256-5 Cited by: §1, §2.2. Chen et al. (2024) Z. Chen, X. Sun, X. Jiao, F. Lian, Z. Kang, D. Wang, and C. Xu Truth forest: toward multi-scale truthfulness in large language models through intervention without tuning. In Proceedings of the AAAI Conference on Artificial Intelligence, Vol. 38, p. 20967â20974. External Links: Document, Link Cited by: §2.1. Cheng et al. (2025) Y. Cheng, X. Liang, Y. Gong, W. Xiao, S. Wang, Y. Zhang, W. Hou, K. Xu, W. Liu, W. Li, J. Jiao, Q. Chen, P. Cheng, and W. Xiong Integrative decoding: improving factuality via implicit self-consistency. In The Thirteenth International Conference on Learning Representations, External Links: Link Cited by: §1, §2.3. Chuang et al. (2024) Y. Chuang, Y. Xie, H. Luo, Y. Kim, J. R. Glass, and P. He DoLa: decoding by contrasting layers improves factuality in large language models. In The Twelfth International Conference on Learning Representations, External Links: Link Cited by: §1, §1, §2.1, §5.1. CsordĂĄs et al. (2025) R. CsordĂĄs, C. D. Manning, and C. Potts Do language models use their depth efficiently?. In Advances in Neural Information Processing Systems, Vol. 38, p. 160313â160362. External Links: Document, Link Cited by: §1. Farquhar et al. (2024) S. Farquhar, J. Kossen, L. Kuhn, and Y. Gal Detecting hallucinations in large language models using semantic entropy. Nature 630 (8017), p. 625â630. External Links: Document, Link Cited by: §1. Gekhman et al. (2024) Z. Gekhman, G. Yona, R. Aharoni, M. Eyal, A. Feder, R. Reichart, and J. Herzig Does fine-tuning LLMs on new knowledge encourage hallucinations?. In Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing, Y. Al-Onaizan, M. Bansal, and Y. Chen (Eds.), Miami, Florida, USA, p. 7765â7784. External Links: Document, Link Cited by: §1. Geva et al. (2023) M. Geva, J. Bastings, K. Filippova, and A. Globerson Dissecting recall of factual associations in auto-regressive language models. In Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing, H. Bouamor, J. Pino, and K. Bali (Eds.), Singapore, p. 12216â12235. External Links: Document, Link Cited by: §A.2, §3.1. Grattafiori et al. (2024) A. Grattafiori, A. Dubey, A. Jauhri, A. Pandey, A. Kadian, A. Al-Dahle, A. Letman, A. Mathur, A. Schelten, A. Vaughan, A. Yang, A. Fan, A. Goyal, A. Hartshorn, A. Yang, A. Mitra, A. Sravankumar, A. Korenev, A. Hinsvark, A. Rao, A. Zhang, A. Rodriguez, A. Gregerson, A. Spataru, B. Roziere, B. Biron, B. Tang, B. Chern, C. Caucheteux, C. Nayak, C. Bi, C. Marra, C. McConnell, C. Keller, C. Touret, C. Wu, C. Wong, C. C. Ferrer, C. Nikolaidis, D. Allonsius, D. Song, D. Pintz, D. Livshits, D. Wyatt, D. Esiobu, D. Choudhary, D. Mahajan, D. Garcia-Olano, D. Perino, D. Hupkes, E. Lakomkin, E. AlBadawy, E. Lobanova, E. Dinan, E. M. Smith, F. Radenovic, F. GuzmĂĄn, F. Zhang, G. Synnaeve, G. Lee, G. L. Anderson, G. Thattai, G. Nail, G. Mialon, G. Pang, G. Cucurell, H. Nguyen, H. Korevaar, H. Xu, H. Touvron, I. Zarov, I. A. Ibarra, I. Kloumann, I. Misra, I. Evtimov, J. Zhang, J. Copet, J. Lee, J. Geffert, J. Vranes, J. Park, J. Mahadeokar, J. Shah, J. van der Linde, J. Billock, J. Hong, J. Lee, J. Fu, J. Chi, J. Huang, J. Liu, J. Wang, J. Yu, J. Bitton, J. Spisak, J. Park, J. Rocca, J. Johnstun, J. Saxe, J. Jia, K. V. Alwala, K. Prasad, K. Upasani, K. Plawiak, K. Li, K. Heafield, K. Stone, K. El-Arini, K. Iyer, K. Malik, K. Chiu, K. Bhalla, K. Lakhotia, L. Rantala-Yeary, L. van der Maaten, L. Chen, L. Tan, L. Jenkins, L. Martin, L. Madaan, L. Malo, L. Blecher, L. Landzaat, L. de Oliveira, M. Muzzi, M. Pasupuleti, M. Singh, M. Paluri, M. Kardas, M. Tsimpoukelli, M. Oldham, M. Rita, M. Pavlova, M. Kambadur, M. Lewis, M. Si, M. K. Singh, M. Hassan, N. Goyal, N. Torabi, N. Bashlykov, N. Bogoychev, N. Chatterji, N. Zhang, O. Duchenne, O. Ăelebi, P. Alrassy, P. Zhang, P. Li, P. Vasic, P. Weng, P. Bhargava, P. Dubal, P. Krishnan, P. S. Koura, P. Xu, Q. He, Q. Dong, R. Srinivasan, R. Ganapathy, R. Calderer, R. S. Cabral, R. Stojnic, R. Raileanu, R. Maheswari, R. Girdhar, R. Patel, R. Sauvestre, R. Polidoro, R. Sumbaly, R. Taylor, R. Silva, R. Hou, R. Wang, S. Hosseini, S. Chennabasappa, S. Singh, S. Bell, S. S. Kim, S. Edunov, S. Nie, S. Narang, S. Raparthy, S. Shen, S. Wan, S. Bhosale, S. Zhang, S. Vandenhende, S. Batra, S. Whitman, S. Sootla, S. Collot, S. Gururangan, S. Borodinsky, T. Herman, T. Fowler, T. Sheasha, T. Georgiou, T. Scialom, T. Speckbacher, T. Mihaylov, T. Xiao, U. Karn, V. Goswami, V. Gupta, V. Ramanathan, V. Kerkez, V. Gonguet, V. Do, V. Vogeti, V. Albiero, V. Petrovic, W. Chu, W. Xiong, W. Fu, W. Meers, X. Martinet, X. Wang, X. Wang, X. E. Tan, X. Xia, X. Xie, X. Jia, X. Wang, Y. Goldschlag, Y. Gaur, Y. Babaei, Y. Wen, Y. Song, Y. Zhang, Y. Li, Y. Mao, Z. D. Coudert, Z. Yan, Z. Chen, Z. Papakipos, A. Singh, A. Srivastava, A. Jain, A. Kelsey, A. Shajnfeld, A. Gangidi, A. Victoria, A. Goldstand, A. Menon, A. Sharma, A. Boesenberg, A. Baevski, A. Feinstein, A. Kallet, A. Sangani, A. Teo, A. Yunus, A. Lupu, A. Alvarado, A. Caples, A. Gu, A. Ho, A. Poulton, A. Ryan, A. Ramchandani, A. Dong, A. Franco, A. Goyal, A. Saraf, A. Chowdhury, A. Gabriel, A. Bharambe, A. Eisenman, A. Yazdan, B. James, B. Maurer, B. Leonhardi, B. Huang, B. Loyd, B. D. Paola, B. Paranjape, B. Liu, B. Wu, B. Ni, B. Hancock, B. Wasti, B. Spence, B. Stojkovic, B. Gamido, B. Montalvo, C. Parker, C. Burton, C. Mejia, C. Liu, C. Wang, C. Kim, C. Zhou, C. Hu, C. Chu, C. Cai, C. Tindal, C. Feichtenhofer, C. Gao, D. Civin, D. Beaty, D. Kreymer, D. Li, D. Adkins, D. Xu, D. Testuggine, D. David, D. Parikh, D. Liskovich, D. Foss, D. Wang, D. Le, D. Holland, E. Dowling, E. Jamil, E. Montgomery, E. Presani, E. Hahn, E. Wood, E. Le, E. Brinkman, E. Arcaute, E. Dunbar, E. Smothers, F. Sun, F. Kreuk, F. Tian, F. Kokkinos, F. Ozgenel, F. Caggioni, F. Kanayet, F. Seide, G. M. Florez, G. Schwarz, G. Badeer, G. Swee, G. Halpern, G. Herman, G. Sizov, G. Zhang, G. Lakshminarayanan, H. Inan, H. Shojanazeri, H. Zou, H. Wang, H. Zha, H. Habeeb, H. Rudolph, H. Suk, H. Aspegren, H. Goldman, H. Zhan, I. Damlaj, I. Molybog, I. Tufanov, I. Leontiadis, I. Veliche, I. Gat, J. Weissman, J. Geboski, J. Kohli, J. Lam, J. Asher, J. Gaya, J. Marcus, J. Tang, J. Chan, J. Zhen, J. Reizenstein, J. Teboul, J. Zhong, J. Jin, J. Yang, J. Cummings, J. Carvill, J. Shepard, J. McPhie, J. Torres, J. Ginsburg, J. Wang, K. Wu, K. H. U, K. Saxena, K. Khandelwal, K. Zand, K. Matosich, K. Veeraraghavan, K. Michelena, K. Li, K. Jagadeesh, K. Huang, K. Chawla, K. Huang, L. Chen, L. Garg, L. A, L. Silva, L. Bell, L. Zhang, L. Guo, L. Yu, L. Moshkovich, L. Wehrstedt, M. Khabsa, M. Avalani, M. Bhatt, M. Mankus, M. Hasson, M. Lennie, M. Reso, M. Groshev, M. Naumov, M. Lathi, M. Kenealy, M. Liu, M. L. Seltzer, M. Valko, M. Restrepo, M. Patel, M. Vyatskov, M. Samvelyan, M. Clark, M. Macey, M. Wang, M. J. Hermoso, M. Metanat, M. Rastegari, M. Bansal, N. Santhanam, N. Parks, N. White, N. Bawa, N. Singhal, N. Egebo, N. Usunier, N. Mehta, N. P. Laptev, N. Dong, N. Cheng, O. Chernoguz, O. Hart, O. Salpekar, O. Kalinli, P. Kent, P. Parekh, P. Saab, P. Balaji, P. Rittner, P. Bontrager, P. Roux, P. Dollar, P. Zvyagina, P. Ratanchandani, P. Yuvraj, Q. Liang, R. Alao, R. Rodriguez, R. Ayub, R. Murthy, R. Nayani, R. Mitra, R. Parthasarathy, R. Li, R. Hogan, R. Battey, R. Wang, R. Howes, R. Rinott, S. Mehta, S. Siby, S. J. Bondu, S. Datta, S. Chugh, S. Hunt, S. Dhillon, S. Sidorov, S. Pan, S. Mahajan, S. Verma, S. Yamamoto, S. Ramaswamy, S. Lindsay, S. Feng, S. Lin, S. C. Zha, S. Patil, S. Shankar, S. Zhang, S. Wang, S. Agarwal, S. Sajuyigbe, S. Chintala, S. Max, S. Chen, S. Kehoe, S. Satterfield, S. Govindaprasad, S. Gupta, S. Deng, S. Cho, S. Virk, S. Subramanian, S. Choudhury, S. Goldman, T. Remez, T. Glaser, T. Best, T. Koehler, T. Robinson, T. Li, T. Zhang, T. Matthews, T. Chou, T. Shaked, V. Vontimitta, V. Ajayi, V. Montanez, V. Mohan, V. S. Kumar, V. Mangla, V. Ionescu, V. Poenaru, V. T. Mihailescu, V. Ivanov, W. Li, W. Wang, W. Jiang, W. Bouaziz, W. Constable, X. Tang, X. Wu, X. Wang, X. Wu, X. Gao, Y. Kleinman, Y. Chen, Y. Hu, Y. Jia, Y. Qi, Y. Li, Y. Zhang, Y. Zhang, Y. Adi, Y. Nam, Y. Wang, Y. Zhao, Y. Hao, Y. Qian, Y. Li, Y. He, Z. Rait, Z. DeVito, Z. Rosnbrick, Z. Wen, Z. Yang, Z. Zhao, and Z. Ma The Llama 3 herd of models. External Links: 2407.21783, Link Cited by: §3.3, §5.1. Guo et al. (2025) Y. Guo, Y. Yang, Z. Chen, P. Wang, Y. Liao, Y. Zhang, Y. Wang, and Y. Wang DSVD: dynamic self-verify decoding for faithful generation in large language models. In Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing, C. Christodoulopoulos, T. Chakraborty, C. Rose, and V. Peng (Eds.), Suzhou, China, p. 20789â20808. External Links: Document, Link, ISBN 979-8-89176-332-6 Cited by: §1, §2.3. Hendrycks and Gimpel (2016) D. Hendrycks and K. Gimpel Gaussian error linear units (GELUs). External Links: 1606.08415, Document, Link Cited by: Appendix D. Honnibal et al. (2020) M. Honnibal, I. Montani, S. Van Landeghem, and A. Boyd spaCy: industrial-strength natural language processing in Python. External Links: Document, Link Cited by: §B.1. Huang et al. (2025) L. Huang, W. Yu, W. Ma, W. Zhong, Z. Feng, H. Wang, Q. Chen, W. Peng, X. Feng, B. Qin, and T. Liu A survey on hallucination in large language models: principles, taxonomy, challenges, and open questions. ACM Transactions on Information Systems 43 (2), p. 42:1â42:55. External Links: Document, Link Cited by: §1. Jiang et al. (2023) A. Q. Jiang, A. Sablayrolles, A. Mensch, C. Bamford, D. S. Chaplot, D. de las Casas, F. Bressand, G. Lengyel, G. Lample, L. Saulnier, L. Renard Lavaud, M. Lachaux, P. Stock, T. Le Scao, T. Lavril, T. Wang, T. Lacroix, and W. El Sayed Mistral 7B. External Links: 2310.06825, Document, Link Cited by: §3.3, §5.1. Jiang et al. (2024) C. Jiang, B. Qi, X. Hong, D. Fu, Y. Cheng, F. Meng, M. Yu, B. Zhou, and J. Zhou On large language modelsâ hallucination with regard to known facts. In Proceedings of the 2024 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 1: Long Papers), K. Duh, H. Gomez, and S. Bethard (Eds.), Mexico City, Mexico, p. 1041â1053. External Links: Document, Link Cited by: §1. Joshi et al. (2017) M. Joshi, E. Choi, D. Weld, and L. Zettlemoyer TriviaQA: a large scale distantly supervised challenge dataset for reading comprehension. In Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), R. Barzilay and M. Kan (Eds.), Vancouver, Canada, p. 1601â1611. External Links: Document, Link Cited by: §5.1. Kadavath et al. (2022) S. Kadavath, T. Conerly, A. Askell, T. Henighan, D. Drain, E. Perez, N. Schiefer, Z. Hatfield-Dodds, N. DasSarma, E. Tran-Johnson, S. Johnston, S. El-Showk, A. Jones, N. Elhage, T. Hume, A. Chen, Y. Bai, S. Bowman, S. Fort, D. Ganguli, D. Hernandez, J. Jacobson, J. Kernion, S. Kravec, L. Lovitt, K. Ndousse, C. Olsson, S. Ringer, D. Amodei, T. Brown, J. Clark, N. Joseph, B. Mann, S. McCandlish, C. Olah, and J. Kaplan Language models (mostly) know what they know. External Links: 2207.05221, Document, Link Cited by: §1. Kamalloo et al. (2023) E. Kamalloo, N. Dziri, C. Clarke, and D. Rafiei Evaluating open-domain question answering in the era of large language models. In Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), A. Rogers, J. Boyd-Graber, and N. Okazaki (Eds.), Toronto, Canada, p. 5591â5606. External Links: Document, Link Cited by: §F.2, Appendix I. Kwiatkowski et al. (2019) T. Kwiatkowski, J. Palomaki, O. Redfield, M. Collins, A. Parikh, C. Alberti, D. Epstein, I. Polosukhin, J. Devlin, K. Lee, K. Toutanova, L. Jones, M. Kelcey, M. Chang, A. M. Dai, J. Uszkoreit, Q. Le, and S. Petrov Natural questions: a benchmark for question answering research. Transactions of the Association for Computational Linguistics 7, p. 452â466. External Links: Document, Link Cited by: §5.1. Lewis et al. (2020) P. Lewis, E. Perez, A. Piktus, F. Petroni, V. Karpukhin, N. Goyal, H. KĂźttler, M. Lewis, W. Yih, T. Rocktäschel, S. Riedel, and D. Kiela Retrieval-augmented generation for knowledge-intensive NLP tasks. In Advances in Neural Information Processing Systems, Vol. 33, p. 9459â9474. External Links: Link Cited by: §1. Li et al. (2023a) K. Li, O. Patel, F. ViĂŠgas, H. Pfister, and M. Wattenberg Inference-time intervention: eliciting truthful answers from a language model. In Advances in Neural Information Processing Systems, Vol. 36, p. 41451â41530. External Links: Document, Link Cited by: §2.1. Li et al. (2023b) X. L. Li, A. Holtzman, D. Fried, P. Liang, J. Eisner, T. Hashimoto, L. Zettlemoyer, and M. Lewis Contrastive decoding: open-ended text generation as optimization. In Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), A. Rogers, J. Boyd-Graber, and N. Okazaki (Eds.), Toronto, Canada, p. 12286â12312. External Links: Document, Link Cited by: §1, §2.2. Lin et al. (2022) S. Lin, J. Hilton, and O. Evans TruthfulQA: measuring how models mimic human falsehoods. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), S. Muresan, P. Nakov, and A. Villavicencio (Eds.), Dublin, Ireland, p. 3214â3252. External Links: Document, Link Cited by: §F.1, §5.1. Madaan et al. (2023) A. Madaan, N. Tandon, P. Gupta, S. Hallinan, L. Gao, S. Wiegreffe, U. Alon, N. Dziri, S. Prabhumoye, Y. Yang, S. Gupta, B. P. Majumder, K. Hermann, S. Welleck, A. Yazdanbakhsh, and P. Clark Self-refine: iterative refinement with self-feedback. In Advances in Neural Information Processing Systems, Vol. 36, p. 46534â46594. External Links: Document, Link Cited by: §5.1. Manakul et al. (2023) P. Manakul, A. Liusie, and M. Gales SelfCheckGPT: zero-resource black-box hallucination detection for generative large language models. In Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing, H. Bouamor, J. Pino, and K. Bali (Eds.), Singapore, p. 9004â9017. External Links: Document, Link Cited by: §2.3. Meng et al. (2022) K. Meng, D. Bau, A. Andonian, and Y. Belinkov Locating and editing factual associations in GPT. In Advances in Neural Information Processing Systems, Vol. 35, p. 17359â17372. External Links: Document, Link Cited by: §A.2, §1, §3.1. Min et al. (2021) S. Min, J. Boyd-Graber, C. Alberti, D. Chen, E. Choi, M. Collins, K. Guu, H. Hajishirzi, K. Lee, J. Palomaki, C. Raffel, A. Roberts, T. Kwiatkowski, P. Lewis, Y. Wu, H. KĂźttler, L. Liu, P. Minervini, P. Stenetorp, S. Riedel, S. Yang, M. Seo, G. Izacard, F. Petroni, L. Hosseini, N. De Cao, E. Grave, I. Yamada, S. Shimaoka, M. Suzuki, S. Miyawaki, S. Sato, R. Takahashi, J. Suzuki, M. Fajcik, M. Docekal, K. Ondrej, P. Smrz, H. Cheng, Y. Shen, X. Liu, P. He, W. Chen, J. Gao, B. Oguz, X. Chen, V. Karpukhin, S. Peshterliev, D. Okhonko, M. Schlichtkrull, S. Gupta, Y. Mehdad, and W. Yih NeurIPS 2020 EfficientQA competition: systems, analyses and lessons learned. In Proceedings of the NeurIPS 2020 Competition and Demonstration Track, H. J. Escalante and K. Hofmann (Eds.), Proceedings of Machine Learning Research, Vol. 133, p. 86â111. External Links: Link Cited by: §F.2. Min et al. (2023) S. Min, K. Krishna, X. Lyu, M. Lewis, W. Yih, P. Koh, M. Iyyer, L. Zettlemoyer, and H. Hajishirzi FActScore: fine-grained atomic evaluation of factual precision in long form text generation. In Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing, H. Bouamor, J. Pino, and K. Bali (Eds.), Singapore, p. 12076â12100. External Links: Document, Link Cited by: §F.1, §5.1. MĂźndler et al. (2024) N. MĂźndler, J. He, S. Jenko, and M. Vechev Self-contradictory hallucinations of large language models: evaluation, detection and mitigation. In The Twelfth International Conference on Learning Representations, External Links: Link Cited by: §2.3. Ouyang et al. (2022) L. Ouyang, J. Wu, X. Jiang, D. Almeida, C. Wainwright, P. Mishkin, C. Zhang, S. Agarwal, K. Slama, A. Ray, J. Schulman, J. Hilton, F. Kelton, L. Miller, M. Simens, A. Askell, P. Welinder, P. F. Christiano, J. Leike, and R. Lowe Training language models to follow instructions with human feedback. In Advances in Neural Information Processing Systems, Vol. 35, p. 27730â27744. External Links: Link Cited by: §1. Qwen et al. (2024) Qwen, A. Yang, B. Yang, B. Zhang, B. Hui, B. Zheng, B. Yu, C. Li, D. Liu, F. Huang, H. Wei, H. Lin, J. Yang, J. Tu, J. Zhang, J. Yang, J. Yang, J. Zhou, J. Lin, K. Dang, K. Lu, K. Bao, K. Yang, L. Yu, M. Li, M. Xue, P. Zhang, Q. Zhu, R. Men, R. Lin, T. Li, T. Tang, T. Xia, X. Ren, X. Ren, Y. Fan, Y. Su, Y. Zhang, Y. Wan, Y. Liu, Z. Cui, Z. Zhang, and Z. Qiu Qwen2.5 technical report. External Links: 2412.15115, Link Cited by: §3.3, §5.1. Sheng et al. (2025) H. Sheng, D. Hu, L. Wei, W. Zhou, and S. Hu Regularized contrastive decoding with hard negative samples for LLM hallucination mitigation. In Findings of the Association for Computational Linguistics: EMNLP 2025, C. Christodoulopoulos, T. Chakraborty, C. Rose, and V. Peng (Eds.), Suzhou, China, p. 6061â6073. External Links: Document, Link, ISBN 979-8-89176-335-7 Cited by: §2.2. Si et al. (2021) C. Si, C. Zhao, and J. Boyd-Graber Whatâs in a name? answer equivalence for open-domain question answering. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, M. Moens, X. Huang, L. Specia, and S. W. Yih (Eds.), Online and Punta Cana, Dominican Republic, p. 9623â9629. External Links: Document, Link Cited by: §F.2. Stelmakh et al. (2022) I. Stelmakh, Y. Luan, B. Dhingra, and M. Chang ASQA: factoid questions meet long-form answers. In Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing, Y. Goldberg, Z. Kozareva, and Y. Zhang (Eds.), Abu Dhabi, United Arab Emirates, p. 8273â8288. External Links: Document, Link Cited by: §F.2. Vu et al. (2024) T. Vu, M. Iyyer, X. Wang, N. Constant, J. Wei, J. Wei, C. Tar, Y. Sung, D. Zhou, Q. Le, and T. Luong FreshLLMs: refreshing large language models with search engine augmentation. In Findings of the Association for Computational Linguistics: ACL 2024, L. Ku, A. Martins, and V. Srikumar (Eds.), Bangkok, Thailand, p. 13697â13720. External Links: Document, Link Cited by: §F.1, §5.1. Wang et al. (2024) X. Wang, Y. Li, S. Feng, P. Yuan, B. Pan, H. Wang, Y. Hu, and K. Li Integrate the essence and eliminate the dross: fine-grained self-consistency for free-form language generation. In Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), L. Ku, A. Martins, and V. Srikumar (Eds.), Bangkok, Thailand, p. 11782â11794. External Links: Document, Link Cited by: §2.3. Wang et al. (2023) X. Wang, J. Wei, D. Schuurmans, Q. V. Le, E. H. Chi, S. Narang, A. Chowdhery, and D. Zhou Self-consistency improves chain of thought reasoning in language models. In The Eleventh International Conference on Learning Representations, External Links: Link Cited by: §2.3. Wei et al. (2022) J. Wei, M. Bosma, V. Y. Zhao, K. Guu, A. W. Yu, B. Lester, N. Du, A. M. Dai, and Q. V. Le Finetuned language models are zero-shot learners. In The Tenth International Conference on Learning Representations, External Links: Link Cited by: §1. Wu et al. (2025) J. Wu, Y. Shen, S. Liu, Y. Tang, S. Song, X. Wang, and L. Cai Improve decoding factuality by token-wise cross layer entropy of large language models. In Findings of the Association for Computational Linguistics: NAACL 2025, L. Chiruzzo, A. Ritter, and L. Wang (Eds.), Albuquerque, New Mexico, p. 3912â3921. External Links: Document, Link, ISBN 979-8-89176-195-7 Cited by: §2.1, §5.1. Yang et al. (2025) D. Yang, D. Xiao, J. Wei, M. Li, Z. Chen, K. Li, and L. Zhang Improving factuality in large language models via decoding-time hallucinatory and truthful comparators. In Proceedings of the AAAI Conference on Artificial Intelligence, Vol. 39, p. 25606â25614. External Links: Document, Link Cited by: §1. Yu et al. (2025) B. Yu, C. Lee, J. Jin, and E. Park PruneCD: contrasting pruned self model to improve decoding factuality. In Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing, C. Christodoulopoulos, T. Chakraborty, C. Rose, and V. Peng (Eds.), Suzhou, China, p. 32462â32473. External Links: Document, Link, ISBN 979-8-89176-332-6 Cited by: §1. Zhang et al. (2025a) H. Zhang, H. Chen, M. Chen, and T. Zhang Active layer-contrastive decoding reduces hallucination in large language model generation. In Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing, C. Christodoulopoulos, T. Chakraborty, C. Rose, and V. Peng (Eds.), Suzhou, China, p. 3028â3046. External Links: Document, Link, ISBN 979-8-89176-332-6 Cited by: §1, §1, §2.1, §5.1. Zhang et al. (2024a) J. Zhang, D. Juan, C. Rashtchian, C. Ferng, H. Jiang, and Y. Chen SLED: self logits evolution decoding for improving factuality in large language models. In Advances in Neural Information Processing Systems, Vol. 37, p. 5188â5209. External Links: Document, Link Cited by: §1, §2.1, §5.1. Zhang et al. (2024b) M. Zhang, O. Press, W. Merrill, A. Liu, and N. A. Smith How language model hallucinations can snowball. In Proceedings of the 41st International Conference on Machine Learning, R. Salakhutdinov, Z. Kolter, K. Heller, A. Weller, N. Oliver, J. Scarlett, and F. Berkenkamp (Eds.), Proceedings of Machine Learning Research, Vol. 235, p. 59670â59684. External Links: Link Cited by: §1. Zhang et al. (2024c) S. Zhang, T. Yu, and Y. Feng TruthX: alleviating hallucinations by editing large language models in truthful space. In Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), L. Ku, A. Martins, and V. Srikumar (Eds.), Bangkok, Thailand, p. 8908â8949. External Links: Document, Link Cited by: §2.1. Zhang et al. (2025b) Y. Zhang, L. Cui, W. Bi, and S. Shi Alleviating hallucinations of large language models through induced hallucinations. In Findings of the Association for Computational Linguistics: NAACL 2025, L. Chiruzzo, A. Ritter, and L. Wang (Eds.), Albuquerque, New Mexico, p. 8233â8247. External Links: Document, Link, ISBN 979-8-89176-195-7 Cited by: §2.2. Appendix A Factual-Salient Layer Span Identification Details A.1 Dataset and Sample Selection Criteria To isolate the intrinsic factual contribution of each layer span, we exclude generation errors stemming from the modelâs lack of internalized knowledge. We utilize TriviaQA, a knowledge-intensive QA dataset, retaining only samples where the modelâs greedy-decoded response partially matches the gold answer or its aliases. Specifically, we define a partial match as either a bidirectional substring inclusion between the generated response and the answer, or a word-level overlap within their first three words (restricted to words with ⼠3 characters). By restricting our attribution analysis to samples where the model possesses the requisite knowledge, we effectively minimize noise introduced by knowledge gaps. Importantly, this filtering is used only for the offline identification of factual-salient layer spans and is not required during DescaPE decoding. At inference time, DescaPE does not access gold answers or known/unknown labels, but scores candidate tokens using the probe-estimated attribution signal. A.2 Layer Span Search Strategy and Ablation Setup We locate the target layer spans using a fixed window size and stride. Early layers (0â7) are known to primarily process the contextual refinement of token embeddings, making them more sensitive to general linguistic structures than to factual knowledge retrieval Meng et al. (2022); Geva et al. (2023). To avoid confounding ÎâĄ(w) (w) spikes with low-level linguistic processing, we restrict the search to layer 8 and above, applying a window size of 7 and a stride of 4 to generate candidate spans: (8â14), (12â18), (16â22), (20â26) and (24â30). We adopt a span-level rather than layer-level ablation, as adjacent layers often play complementary roles and isolating individual layers risks dispersing the signal. For each candidate span, we compute the mean ÎâĄ(w) (w) over all evaluation samples and designate the span with the highest value as the factual-salient layer span for that model. A.3 Component-Wise Ablation Comparison To further justify our MLP-centric design, we compare MLP, attention, and joint MLP+attention ablation under the same sliding-window setup. As shown in Table 7, attention modules also exhibit a non-negligible factual signal, but MLP ablation yields the strongest factual attribution and factualâfunction separation. The joint MLP+attention ablation does not further increase the signal, suggesting that their effects are not simply additive. These results empirically support our use of MLP spans while leaving MLPâattention complementarity for future investigation. Component Max ÎâĄ(w) (w) â FactualâFunction Gap â MLP 9.588 9.851 Attention 3.859 7.055 MLP+Attention 8.437 9.815 Table 7: Component-wise factual signal strength under sliding-window ablation. The FactualâFunction Gap is the difference in mean δt _t between factual and function tokens. Appendix B Factual Signal Analysis Details B.1 Signal Sensitivity by Token Type We categorize the generated tokens into four distinct classes to investigate whether δt _t exhibits selective sensitivity across token types: (1) Answers (exact matches with the gold answer), (2) Entities (factual content extracted via spaCy Honnibal et al. (2020) NER), (3) Numbers (detected via regex pattern matching), and (4) Function Words (determined by spaCy POS rules). Consistent with Section 3.2, we restrict this analysis to correct predictions, sampling up to 100 correct outputs per model. For each token, we compute the corresponding δt _t, group the values by token type, and downsample to a maximum of 500 tokens per category to analyze the resulting distributions. B.2 Signal Distribution: Hallucinated vs. Non-Hallucinated Tokens Our comparison of δt _t distributions relies exclusively on TruthfulQA samples judged as incorrect by an LLM-as-Judge (see Appendix F.1). We classify individual tokens by mapping the character offsets of the identified hallucination spans to the tokenizerâs exact boundaries. After filtering the dataset to retain only samples containing both token types, we compute δt=δtrealâ(yt,wâ) _t= _t^real(y_t;w^*) exactly as formulated in Eq. 2. Ultimately, we analyze the two cohorts by computing their empirical CDFs to evaluate the overall distributional shifts and tail behaviors. Appendix C Probe Training Data Collection We collect supervision targets for probe training from 3,000 samples drawn from Databricks Dolly-15k, a human-generated instruction-following dataset comprising over 15,000 QA pairs across categories including closed QA, open QA, and general QA. We restrict our sampling to QA-oriented categories to ensure sufficient coverage of factual content tokens during generation. For each sample, we construct a prompt with a length instruction dynamically adjusted based on the reference answer length: references of at most 15 words prompt "in one concise sentence", up to 50 words prompt "in 2-3 sentences", and longer references prompt "in a short paragraph". This ensures that the generated responses contain a sufficient number of factual content tokens of varying lengths, preventing the probe from being trained predominantly on short, entity-sparse outputs. We perform autoregressive generation for each sample while maintaining two KV caches in parallel â one for the original model (Strong view) and one for the MLP-ablated model (Weak view) â following a Dual-KV scheme. At each decoding step t, this allows us to efficiently compute δtrealâ(v,wâ) _t^real(v;w^*) for the top-K (K=10)(K=10) candidate tokens without incurring additional forward passes. Concurrently, the hidden state hth_t is captured at the last layer of the factual-salient layer span and stored as the probe input. Appendix D Probe Training Details Probe Architecture. The probe fĎf_Ď is a three-layer MLP that takes the concatenation of the hidden state htââdhh_t ^d_h at the last layer of the factual-salient layer span and the candidate token embedding eâĄ(v)ââdhe(v) ^d_h as input, producing a scalar estimate δ^tâ(v) δ_t(v): fĎ:â2âdhââ.f_Ď:R^2d_h . (8) Specifically, the probe fĎf_Ď is implemented as a three-layer MLP with hidden sizes 256 and 128, using GELU activations Hendrycks and Gimpel (2016) and dropout (0.1) between layers, and outputs a scalar score. The token embedding matrix is extracted from the frozen LLM and remains fixed throughout training. Probe Input Construction. At each decoding step t, the probe input is constructed by concatenating hth_t â captured via a forward hook at the last layer of the factual-salient span â with the embedding eâĄ(v)e(v) of each of the top-K candidate tokens. This yields K input vectors per step, each of dimension 2âdh2d_h, which are processed in a single batched forward pass through fĎf_Ď. Appendix E Decoding Implementation Details Efficient Batched Scoring. We optimize the computation of δ^tâ(v) δ_t(v) for all BĂKBĂ K candidates at each decoding step by casting it as a single matrix operation. Specifically, the hidden states of B sequences are expanded by repeating them K times to form HtexpââBâKĂdhH_t^exp ^BKĂ d_h. This expanded tensor is concatenated with the candidate token embedding matrix EââBâKĂdhE_V ^BKĂ d_h and passed through fĎf_Ď in a single forward pass: [HtexpâE]ââBâKĂ2âdhâfĎ^tââBĂK.[H_t^exp E_V] ^BKĂ 2d_h f_Ď Î´_t ^BĂ K. (9) Evaluating all BĂKBĂ K candidates simultaneously eliminates the need for individual forward passes, thereby minimizing inference overhead. Sequence Deduplication. We avoid beam collapse, where multiple active sequences converge to identical outputs, by sorting candidates by cumulative score at each step. Any candidate whose resulting sequence duplicates an already selected one is discarded, ensuring exactly B distinct sequences are maintained throughout decoding. Length Normalization. As varying sequence lengths inherently bias the accumulated scores, we apply the following length normalization at the final sequence selection: scorenorm(y1:T)=score(y1:T)(βn+Tβn)Îť,scorenorm(y_1:T)= score(y_1:T) ( _n+T _n )^Îť, (10) where T is the length of the generated sequence, Îť is the length penalty exponent, and βn _n is a constant controlling the normalization strength. Early Stopping. For computational efficiency, we employ a heuristic early-stopping criterion: decoding terminates when the highest length-normalized score among completed sequences exceeds the current normalized scores of all active sequences. We empirically evaluate the effect of this criterion on generation quality and latency in Table 3. Prompt Type Prompt Template Feedback Prompt You are a critical reviewer. Your job is to evaluate answers for truthfulness and accuracy. Identify any factual errors, misconceptions, or misleading information. Be concise and specific. Question: question Answer: answer Evaluate this answer for truthfulness. If there are errors or the answer could be improved, explain whatâs wrong and how to fix it. If the answer is correct and complete, respond with âThe answer is correct.â Refine Prompt Template You are a helpful assistant. Your goal is to provide truthful and informative answers. Use the feedback provided to improve your answer. Answer concisely in one short sentence. Question: question Your previous answer: previous_answer Feedback on your answer: feedback Based on the feedback, provide an improved, truthful answer in one sentence: Table 8: Prompt used for Self-Refine. Appendix F Evaluation Details F.1 Benchmark Evaluation Protocols TruthfulQA. We follow the official TruthfulQA evaluation protocol Lin et al. (2022), using GPT-4o-mini44 4 https://openai.com/index/gpt-4o-mini-advancing-cost-efficient-intelligence/ as the judge with the official TruthfulQA evaluation prompts to assess truthfulness (Truth(%)), informativeness (Info(%)), and their product (T*I(%)). FreshQA. We adopt the official FreshEval evaluation protocol Vu et al. (2024), using GPT-4o-mini as the judge with the official few-shot prompts from the FreshEval notebook. Strict accuracy requires the response to contain the correct answer without any outdated or hallucinated information, while relaxed accuracy credits responses whose primary answer is correct regardless of minor side information. FActScore. We follow the evaluation setup of FActScore Min et al. (2023), using the retrieval+ChatGPT pipeline with GPT-4o-mini. Model Dataset Metric Best (Îą,Ď)(Îą,Ď) Best Global Î Llama-3.1 TruthfulQA T*I (0.7, 2.5) 49.50 49.00 0.50 FreshQA Relaxed (0.3, 2.5) 37.50 32.00 5.50 TriviaQA F1 (0.3, 3.0) 57.66 53.50 4.16 Mistral-v0.3 TruthfulQA T*I (0.3, 2.5) 36.50 36.50 0.00 FreshQA Relaxed (0.5, 3.5) 36.00 35.00 1.00 TriviaQA F1 (0.5, 2.5) 62.33 62.32 0.01 Qwen2.5 TruthfulQA T*I (0.7, 3.0) 31.00 29.50 1.50 FreshQA Relaxed (0.5, 2.5) 41.00 39.50 1.50 TriviaQA F1 (0.3, 3.5) 59.43 59.26 0.17 Table 9: Hyperparameter transfer across models and benchmarks. Best denotes the highest-performing (Îą,Ď)(Îą,Ď) configuration for each modelâbenchmark pair, while Global denotes the fixed setting (0.5,3.0)(0.5,3.0) used in the main experiments. Î denotes Best minus Global in percentage points. Model Ďfact _fact Ď LFâGlobal LFâOracle Llama-3.1 3.112 7.410 -0.50 -0.50 Mistral-v0.3 1.787 3.756 +1.00 -0.50 Qwen2.5 1.773 2.889 0.00 0.00 Table 10: Label-free calibration on TruthfulQA. LFâGlobal and LFâOracle denote the T*I differences, in percentage points, relative to the global setting and the best label-tuned setting, respectively. F.2 Proposed Evaluation Metric SoftEM. Standard EM requires an exact string match between the prediction and the GT answer, which can severely underestimate the true accuracy of LLMs due to surface-form variations Kamalloo et al. (2023); Si et al. (2021); Min et al. (2021). Inspired by the STR-EM metric proposed in ASQA Stelmakh et al. (2022), which considers a prediction correct if the GT answer appears as an exact substring of the generated response, we adopt this matching rule as an approximate evaluation without reproducing the full ASQA protocol (i.e., human disambiguation annotation). Specifically, both the prediction and the GT answer are normalized (lowercased, punctuation removed, articles removed) before substring matching. A sample is scored as 1 if any of the GT answers appears as a normalized substring within the normalized prediction, and 0 otherwise. The final SoftEM score is the mean over all samples. F.3 Probe Evaluation Metrics To assess the quality of the trained probe beyond standard regression metrics, we additionally report the following: Spearmanâs Rank Correlation (Ď). We measure how well the predicted δ^t δ_t values preserve the rank ordering of δtreal _t^real. We report Ď separately for all steps and for triggered steps where factual attribution spikes occur, as the probeâs performance on these steps is most critical for decoding-time intervention. Appendix G Experimental Implementation Details Probe Training Setup. The probe is trained for 30 epochs using the AdamW optimizer with a learning rate of 3Ă10â43Ă 10^-4 and a batch size of 512. The dataset is split into train/validation sets with a ratio of 80/20, and gradient clipping with a maximum norm of 1.0 is applied. The best checkpoint is selected based on the Spearman Ď on the validation set (Appendix F.3 for evaluation metric details). The Huber threshold is set to Ďľh=1.0 _h=1.0 and the spike weight scaling factor to β=2.0β=2.0. Baseline Implementations. For Greedy decoding, we set do_sample=False. For Beam Search, we use the standard implementation in the Transformers library with beam width B=5B=5. For DoLa, we use the Transformers library implementation with default settings (dola_layers=low). For Self-Refine, we use a two-stage pipeline in which the model first generates self-feedback on its own response and then produces a revised answer; the prompts used are listed in Table 8. For SLED, END, and ActLCD, we follow the official implementations with default hyperparameters. All experiments are conducted on a single NVIDIA GeForce RTX 3090 24GB GPU. Appendix H Hyperparameter Transfer and Label-Free Calibration Cross-Model and Cross-Benchmark Transfer. We examine whether the hyperparameter setting used in the main experiments transfers across models and benchmarks. We sweep Îąâ0.3,0.5,0.7Îąâ\0.3,0.5,0.7\ and Ďâ2.5,3.0,3.5Ďâ\2.5,3.0,3.5\ on 300-sample subsets of TruthfulQA, FreshQA, and TriviaQA for all three models, while fixing Îł=0.3Îł=0.3 and Ďfact=0.5 _fact=0.5. We denote the fixed setting used in the main experiments, (Îą,Ď)=(0.5,3.0)(Îą,Ď)=(0.5,3.0), as Global, and compare it with the best configuration selected separately for each modelâbenchmark pair. The global setting remains within 1.5 percentage points of the individually best configuration in seven of the nine modelâbenchmark combinations (Table 9). Larger gaps occur for Llama-3.1 on FreshQA and TriviaQA, but the global configuration remains competitive without model- or benchmark-specific retuning. These results suggest that the selected hyperparameters transfer reasonably well across the evaluated models and benchmarks. Method NQ TriviaQA Llama-3.1 Mistral-v0.3 Qwen2.5 Llama-3.1 Mistral-v0.3 Qwen2.5 Greedy 11.89 13.79 5.46 3.88 5.99 2.18 Beam Search 10.22 13.05 5.89 3.03 4.27 2.14 Self-Refine 30.58 14.12 8.37 11.34 6.17 5.83 DoLa 14.11 16.60 9.83 6.25 9.29 8.44 SLED 25.94 18.30 5.78 12.71 7.86 2.28 END 120.87 74.45 5.54 83.46 41.85 2.20 ActLCD 13.28 16.02 5.43 3.51 8.11 2.16 DescaPE (ours) 43.85 12.90 5.53 15.70 4.48 2.07 Table 11: Average response length (tokens) on NQ and TriviaQA across three models. Method NQ TriviaQA Llama-3.1 Mistral-v0.3 Qwen2.5 Llama-3.1 Mistral-v0.3 Qwen2.5 Greedy 75.37 73.10 57.30 41.94 37.89 25.35 Beam Search 77.30 73.43 58.23 43.85 38.59 26.79 Self-Refine 73.73 74.27 62.77 42.05 39.28 28.64 DoLa 67.90 73.07 47.77 36.01 37.48 21.08 SLED 72.57 73.60 54.47 40.30 39.53 24.21 END 71.17 61.20 55.70 36.57 26.09 24.57 ActLCD 73.73 74.50 57.17 42.38 38.98 25.18 DescaPE (ours) 75.77 72.90 58.67 49.56 40.17 25.73 Table 12: SoftEM results on NQ and TriviaQA across three models. Best results are shown in bold, and second-best results are underlined. Label-Free Calibration for New Models. We further consider deployment on a new model where held-out factual labels are unavailable. We keep the penalty and bonus weights fixed at Îą=0.5Îą=0.5 and Îł=0.3Îł=0.3, and calibrate only the scale-sensitive thresholds from the predicted attribution distribution δ δ on unlabeled prompts: Ďfact _fact =maxâĄ(0.5,Q0.50â(δ^âŁÎ´^>0)), = (0.5,\,Q_0.50( δ δ>0) ), (11) Ď Ď =Q0.90â(δ^), =Q_0.90( δ), where Qqâ(â )Q_q(¡) denotes the q-quantile of the corresponding empirical distribution. As shown in Table 10, the label-free configuration remains within 1.0 percentage point of both the global and oracle settings across all three models. This result indicates that model-specific threshold scaling can be calibrated from unlabeled prompts without requiring held-out factual labels. Model Dataset Gold Preservation â Llama-3.1 NQ 97.91 TriviaQA 99.04 Mistral-v0.3 NQ 99.33 TriviaQA 98.32 Qwen2.5 NQ 99.73 TriviaQA 99.87 Table 13: Gold-token preservation after DescaPE scoring on short-answer QA. Gold Preservation is computed over steps where the base language model already ranks the gold token as top-1 and measures whether it remains top-1 after DescaPE scoring. All values are percentages. Appendix I Analysis on Short-Answer QA Response Length and Metric Sensitivity. Short-answer QA presents a distinct evaluation setting in which standard EM and F1 are particularly sensitive to response format. Under these metrics, the gains of DescaPE on NQ and TriviaQA appear more modest, particularly for Llama-3.1. We conduct a supplementary analysis to examine potential contributing factors. Table 11 reveals that DescaPE tends to generate longer responses than other baselines, most prominently for Llama-3.1 on NQ (43.85 tokens on average) and TriviaQA (15.70 tokens). This is consistent with prior observations that standard EM-based evaluation can underestimate the factual accuracy of LLMs when responses contain correct information embedded within longer outputs Kamalloo et al. (2023). When evaluated with SoftEM (Table 12), the performance of DescaPE on Llama-3.1 improves notably on both NQ (75.77) and TriviaQA (49.56), narrowing the gap with other methods. For Mistral-v0.3 and Qwen2.5, where output lengths are more comparable across methods, the SoftEM gains are relatively modest, which aligns with the hypothesis that output length is a contributing factor. These results suggest that the underperformance of DescaPE on short-answer tasks under standard EM may be at least partly attributable to metric sensitivity rather than a genuine degradation in factual accuracy. Gold-Token Preservation. To examine whether the lower strict EM/F1 scores reflect degradation of correct candidates during DescaPE scoring, we measure Gold Preservation. Specifically, among decoding steps where the base language model ranks the gold token as top-1, Gold Preservation measures the fraction of steps where the gold token remains top-1 after applying DescaPE scoring. As shown in Table 13, the gold token is preserved in 97.91â99.87% of such cases across all modelâdataset combinations. This indicates that DescaPE rarely displaces an already preferred gold token, providing little evidence of broad candidate-level degradation on short-answer QA. Appendix J Probe Quality Analysis We provide additional analyses of the probe beyond the signal- and decoding-level comparisons reported in Section 5.3. Llama-3.1 Mistral-v0.3 Qwen2.5 Spearman Ď 1k 0.8737 0.7882 0.7342 Triggered-step Ď 1k 0.8456 0.6677 0.5109 Spearman Ď 3k 0.8736 0.7974 0.8129 Triggered-step Ď 3k 0.8196 0.6810 0.6330 Table 14: Spearman correlation (Ď) between predicted signal δ^tâ(v) δ_t(v) and the real attribution signal δtrealâ(v,wâ) _t^real(v;w^*) for probes trained on Dolly with 1k and 3k labeling samples across three models. Triggered-step Ď denotes correlation computed only on triggered steps where factual spikes occur. Bold indicates best per model. Truth(%) Info(%) T*I(%) Latency â Llama-3.1 62.94 69.89 44.41 24.96 + 1k 62.03 78.15 48.45 27.53 + 3k 60.74 79.04 47.71 29.97 Mistral-v0.3 66.34 62.30 41.59 23.99 + 1k 67.01 62.18 41.86 27.02 + 3k 67.59 63.25 43.39 27.36 Qwen2.5 65.02 60.86 39.73 23.73 + 1k 66.06 62.64 41.79 25.58 + 3k 66.43 62.79 42.20 25.67 Table 15: Effect of labeling dataset scale on TruthfulQA performance with Llama-3.1, Mistral-v0.3, and Qwen2.5. Probes are trained on 1k and 3k samples; T*I% and latency (ms/tok) are reported. Highlighted rows indicate the configuration adopted in our main experiments, and bold indicates the best value per model group. Model Zone Agree â Risk FP â Spearman â Llama-3.1 56.26 5.98 0.621 Mistral-v0.3 60.25 5.38 0.537 Qwen2.5 68.74 2.79 0.519 Table 16: Zone-level approximation error on TruthfulQA. Zone Agree denotes the percentage of candidates assigned to the same zone by δtrealâ(v,wâ) _t^real(v;w^*) and δ^tâ(v) δ_t(v). Risk FP denotes the percentage of real-signal safe/factual candidates misclassified into the risk zone by the probe. Effect of Labeling Scale on Probe Quality. The results summarized in Table 14 report the Spearman correlation (Ď) between δ^tâ(v) δ_t(v) and δtrealâ(v,wâ) _t^real(v;w^*) for probes trained on 1k and 3k samples. Overall Ď remains consistently high across both scales (e.g., Llama-3.1: 0.874 for both), suggesting that the probe learns a stable approximation even with limited data. Triggered-step Ď shows a modest improvement from 1k to 3k for Mistral-v0.3 and Qwen2.5, indicating that larger labeling data benefits harder cases where factual spikes are more critical. Based on these results, we use 1k samples for Llama-3.1 and 3k samples for Mistral-v0.3 and Qwen2.5 in our main experiments. Effect of Labeling Scale on Downstream Performance. Table 15 shows TruthfulQA results for probes trained on 1k and 3k samples. For Llama-3.1, the 1k probe achieves the highest T*I(%) (48.5), while the 3k probe yields a marginal drop (47.7). For Mistral-v0.3 and Qwen2.5, the 3k probe shows slight improvements. Overall, performance is relatively stable across scales, suggesting that probe training is not highly sensitive to labeling dataset size within the tested range. Zone-Level Approximation Error. To quantify approximation errors that directly affect decoding, we compare δ^tâ(v) δ_t(v) with the real attribution signal δtrealâ(v,wâ) _t^real(v;w^*) on TruthfulQA by assigning both signals to the safe, factual, and risk zones using the same thresholds as in Figure 4. We report Zone Agree, the fraction of candidates assigned to the same zone by both signals; Risk FP, the fraction of candidates classified as safe or factual by the real signal but incorrectly assigned to the risk zone by the probe; and Spearmanâs rank correlation between the two signals. As shown in Table 16, the probe does not perfectly recover the real attribution signal, but the operationally critical error remains low: Risk FP is below 6% across all three models. This indicates that candidates regarded as non-risk by the real signal are rarely assigned a risk penalty solely due to probe approximation error. Appendix K Multi-Hop Reasoning Preservation We further examine whether spike-based intervention adversely affects correct multi-hop reasoning. Table 17 shows that DescaPE maintains comparable multi-hop performance to Beam Search while preserving most Beam-correct answers and their supporting facts. These results suggest that the proposed intervention does not broadly suppress correct multi-hop reasoning. Metric Beam Search DescaPE Overall performance Cont-EM â 34.67 35.67 SF Coverage â 50.33 49.17 Refusal â 0.33 1.67 Preservation on Beam-correct samples Answer Preservation â â 84.62 Answer + SF Preservation â â 76.92 Table 17: Closed-book HotpotQA comparison between Beam Search and DescaPE. Cont-EM, SF Coverage, and Refusal measure overall performance, while Answer Preservation and Answer+SF Preservation are computed on Beam-correct samples and measure retention of the correct answer and supporting facts, respectively. All values are percentages. Appendix L Prompt Templates We provide the prompt templates used for different datasets in Table 18. Appendix M Case Studies We present case studies across different datasets in Table 19, Table 20, Table 21 and Table 22. Dataset Prompt Template TruthfulQA You are a helpful assistant. Answer the question concisely in only one sentence. question Provide a truthful, direct answer in one sentence. FreshQA You are a helpful assistant. Answer the question concisely in only one sentence. Answer the following question briefly and factually. If the question contains a false premise, explicitly point it out and correct it. Do not add unnecessary details. Q: question A: FActScore You are a knowledgeable assistant. Write a concise, factually accurate biography in 3-5 sentences. Include only verified facts. Question: Tell me a bio of TOPIC NQ You are a helpful assistant. Answer the question concisely in only one sentence. question Answer with a short, factual phrase or name. TriviaQA You are a helpful assistant. Answer the question directly and concisely in a few words or a short phrase. Question: question Answer: Table 18: Prompt templates for TruthfulQA, FreshQA, FActScore, NQ and TriviaQA. Question Tell me a bio of George Washington. Greedy George Washington (1732-1799) was the first President of the United States, serving from 1789 to 1797. Born in Westmoreland County, Virginia, to a planter family, he graduated from the College of William & Mary and later became a military officer, playing a key role in the French and Indian War. Washington led the Continental Army to victory in the American Revolutionary War and was instrumental in drafting the United States Constitution. He is widely regarded as one of the founding fathers of the United States and is remembered for his leadership, integrity, and commitment to the principles of democracy. Ours George Washington was born on February 22, 1732, in Westmoreland County, Virginia, to Augustine and Mary Ball Washington. He served as the Commander-in-Chief of the Continental Army during the American Revolutionary War (1775-1783) and later became the first President of the United States, serving two terms from 1789 to 1797. After leaving office, he returned to Mount Vernon, his estate along the Potomac River, where he died on December 14, 1799, due to complications from quinsy, an infection that developed after tonsillitis. His legacy has endured as one of Americaâs founding fathers and most revered historical figures. Question Tell me a bio of Jacques Cousteau. Greedy Jacques-Yves Cousteau was a French naval officer, explorer, conservationist, and filmmaker. Born on June 11, 1910, in Saint-AndrĂŠ-de-Cubzac, France, he is best known for his pioneering work in underwater exploration and conservation. Cousteau co-invented the Aqua-Lung, a portable underwater breathing apparatus, and hosted the popular documentary series âThe Undersea World of Jacques Cousteau.â He received numerous awards, including the United Nations Environment Programmeâs Champion of the Earth award, and passed away on June 25, 1997, at the age of 87. Ours Jacques-Yves Cousteau was a French naval officer, explorer, conservationist, and filmmaker born on June 11, 1910, in Saint-AndrĂŠ-de-Cubzac, France. He gained international recognition for his underwater explorations using the Aqua-Lung scuba diving apparatus he co-invented with engineer Ămile Gagnan. Throughout his career, Cousteau produced numerous documentary films showcasing marine life and ecosystems, including âThe Silent Worldâ (1956), which won an Academy Award for Best Documentary Feature. He passed away on June 25, 1997, leaving behind a legacy as one of the most influential figures in oceanography and environmentalism. Table 19: Case study on FActScore. Incorrect answers are highlighted in red. Question What did Paul Revere say during his midnight ride to warn the American militia of the approach of British forces? GT The Regulars are coming out According to both Paul Revere and eyewitness accounts, he said, âThe Regulars are coming outâ Greedy There is no definitive record of Paul Revereâs exact words during his midnight ride, but the famous phrase âThe British are comingâ is often attributed to him, although it was actually written by Henry Wadsworth Longfellow in his 1861 poem âPaul Revereâs Ride.â Ours There is no recorded quote from Paul Revereâs famous âmidnight ride,â but it was likely that he shouted something like âThe regulars are coming outâ or similar warnings as he rode through Massachusetts towns on April 18-19, 1775, alerting colonial militiamen about the approaching British troops under Lieutenant Colonel Francis Smith and Major John Pitcairn. Question Who are you? GT I am an artificial intelligence I am a language model I am a neural network This question doesnât make sense Greedy I am a computer program designed to assist and communicate with users by providing information and answering questions. Ours I am an artificial intelligence language model designed to assist and provide information to users through text-based conversations. Question This Jewish American studied at NYU, was born and lived in New York City, and became famous in the mid 1980s for a controversial act. His name is âBernieâ what? GT Goetz Bernie Goetz Greedy Bernie Madoff, a Jewish American, studied at Hofstra University and NYU, was born and lived in Queens, New York, and became infamous in the mid 2000s for a massive Ponzi scheme. Ours The person youâre referring to is Bernie Goetz, also known as the Subway Vigilante, who gained notoriety after shooting four African-American men on a New York City subway train in 1984. Table 20: Case study on TruthfulQA. Incorrect answers are highlighted in red. Question panic at the disco song about a wedding GT I Write Sins Not Tragedies Greedy Nine in the Afternoon Ours I Write Sins Not Tragedies Question in what state was the united states center of population gravity located during the period 1790 GT Maryland Kent County, Maryland Greedy Tennessee Ours Maryland Question known as the punk poet who used poetry in their music GT John Cooper Clarke Greedy Patti Smith Ours John Cooper Clarke Table 21: Case study on NQ. Correct answers are highlighted in blue. Question Name the town in the vicinity of Versailles famous for its hard-paste porcelain. GT Sèvres Greedy Nevers Ours Sèvres Question Springâ and âRhenishâ are the popular names given to symphonies by which composer? GT Schumann, Robert Alexander Robert Schumann Greedy Ludwig van Beethoven Ours Robert Schumann Question In the 1964 book âCharlie and the Chocolate Factoryâ by Roald Dahl, what is the name of the young girl who is described as âa girl who is spoiled by her parentsâ? She is the second person to find a golden ticket and the third to be ejected from the tour. GT Veruca Salt Greedy Violet Beauregarde Ours Veruca Salt Table 22: Case study on TriviaQA. Correct answers are highlighted in blue.