Manuscript Offprint
arXiv:2610.19827MAPLE: A Multi-Axis Parametric Knowledge Extraction Lens for LLM Evaluation
Abstract
LLMs absorb vast knowledge from training data, yet their inherently probabilistic nature offers no guarantee that this knowledge will surface in their outputs. To bridge this gap, Knowledge Extraction Enhancement (KEE) techniques such as activation steering, decoding adjustments, and prompting modify inference, potentially reinforcing existing predictions or surfacing less accessible answers. Yet their evaluations centered on aggregate accuracy, which obscures diverse effects by collapsing recovered failures and disrupted successes into a single score. We introduce MAPLE, a unified framework for characterizing how KEE techniques affect parametric knowledge extraction. Its diagnostic metrics disentangle these effects at the surface, probability, and beyond-sampling levels by measuring answer recovery and disruption, gold-token rank shifts on unrecovered failures, and recovery of answers missed by fixed-budget sampling. We evaluate six KEE techniques spanning decoding, activation steering, and prompting across three model families: OLMo2, Qwen2.5, and Llama3. Our analysis reveals distinct effects and trade-offs across techniques, highlighting the value of MAPLE for understanding and comparing KEE beyond aggregate accuracy.
1 Introduction
LLMs serve as vast repositories of factual knowledge, yet their outputs are not a direct readout of what they have learned (Petroni et al., 2019; Jiang et al., 2020). Unlike traditional knowledge bases that return explicitly stored entries, LLMs construct answers from parametric representations through probabilistic inference. A common implicit assumption is that a model knows a fact if it appeared in the pretraining data or if the model answers it correctly. However, prior work shows that both criteria are insufficient, as facts vary considerably in the

Figure 1: The overview of MAPLE.
strength of their encoding and the reliability of their recall (Kandpal et al., 2023; Mallen et al., 2023). The inference pathway from input prompts through hidden representations and token distributions to generated answers ( ) therefore offers multiple points of intervention for improving knowledge extraction. Various inference-time techniques, which we group under Knowledge Extraction Enhancement (KEE), intervene at different stages of this pathway. Prompting methods modify the input context to elicit relevant knowledge (Sun et al., 2023; Yu et al., 2023), activation steering methods shift internal representations (Li et al., 2023a; Rimsky et al., 2024), and decoding methods recalibrate output distributions (Chuang et al., 2024; Li et al., 2023b). Despite their methodological differences, these techniques share the goal of improving parametric knowledge extraction without updating the underlying model's parameters.
Their evaluation, however, remains fragmented, as KEE methods typically reuse benchmarks designed for different objectives, with heterogeneous task formats and metrics (Mallen et al., 2023; Lin et al., 2022; Yang et al., 2018; Thorne et al., 2018). Following these benchmarks' original emphasis on
Corresponding author task performance, KEE evaluations often focus on aggregate accuracy rather than on how interventions change individual predictions (Kwiatkowski et al., 2019; Joshi et al., 2017; Mallen et al., 2023). For instance, two methods can achieve the same accuracy while one largely preserves baseline answers and the other recovers many failures but disrupts many successes. These limitations call for a benchmark that supports consistent comparisons across KEE techniques and diagnoses their effects beyond aggregate accuracy.
We introduce MAPLE, a unified framework for diagnosing how KEE techniques change factual knowledge extraction relative to a model's own baseline (Figure 1). MAPLE combines a standardized benchmark with multi-axis diagnostic metrics, providing a common basis for comparing KEE techniques. At the output level, we track correctness changes for each question, separately quantifying the recovery of baseline failures and the disruption of baseline successes. This separation reveals how much a technique recovers and what it sacrifices, exposing trade-offs that a single accuracy score can conceal. Beyond these correctness transitions, we also examine questions that remain incorrectly answered by tracking how the rank of the first gold token shifts between baseline and KEE technique. This probability level reveals whether the gold token is ranked higher, equal or lower under the KEE technique, which is invisible at the surface level. Moreover, prior evaluations rarely ask whether a technique recovers answers beyond what the model already reaches through its own sampling. Since sampling requires no intervention, a KEE technique offers a real benefit when it recovers answers that sampling alone cannot reach. We further improve the reliability of our benchmark by verifying the presence of the queried facts in pretraining data, reducing the risk of conflating a lack of prior exposure with the failure of a KEE technique. To this end, we construct the dataset from a pre-cutoff Wikipedia dump and retain only facts whose sentences appear verbatim in the pretraining corpus of OLMo2 (OLMo et al., 2024), for which training data is publicly available. Although corpus presence does not guarantee successful encoding or extractability, this verification establishes that OLMo2 had an opportunity to learn each fact, and it serves as a proxy for the other models that share the same Wikipedia source.
We evaluate six KEE techniques across three model families (OLMo2, Qwen2.5, and Llama3) using MAPLE. This unified comparison reveals distinct patterns that aggregate accuracy alone cannot explain. Among the evaluated techniques, prompting methods provide the strongest recovery, including answers missed by fixed-budget sampling, but also disrupt previously correct responses. ITI remains close to the baseline across the diagnostic axes, whereas the evaluated decoding methods and CAA alter gold-token ranks on unrecovered failures without consistently improving them. The contrast between ITI and CAA further shows that methods acting at the same stage of inference need not produce similar effects. Together, these findings demonstrate the value of comparing KEE techniques under a shared diagnostic framework, rather than treating aggregate accuracy as a complete account of their effects on knowledge extraction.
Our contributions are threefold:
• A standardized factual-recall benchmark that provides a common evaluation task across KEE families, with verified pretraining-corpus presence for OLMo2.
• A multi-axis diagnostic protocol that separates answer recovery and disruption, gold-token rank shifts on unrecovered failures, and recovery relative to fixed-budget sampling.
• A unified empirical analysis across six techniques and three model families, revealing differences within and across KEE families that are obscured by aggregate accuracy.
Knowledge and Factuality Benchmarks. Existing benchmarks used to evaluate KEE techniques were originally designed for other purposes: TriviaQA (Joshi et al., 2017) is constructed from open-web and Wikipedia sources; Natural Questions (Kwiatkowski et al., 2019) is built from Google search queries; HotpotQA (Yang et al., 2018) measures multi-hop reasoning; TruthfulQA (Lin et al., 2022) evaluates susceptibility to human misconceptions; FACTOR (Muhlgay et al., 2024) and FEVER (Thorne et al., 2018) assess the capability to choose the factually correct option from explicitly given candidates, rather than generating the answer from the model's own knowledge; and PopQA (Mallen et al., 2023) focuses narrowly on long-tail entities rather than balanced knowledge distributions.
3 MAPLE
MAPLE comprises two components: an exposure-controlled benchmark ( ) and a set of diagnostic metrics ( ) that characterize how a KEE technique changes model predictions.
3.1 Benchmark Construction
We construct our benchmark through a three-stage pipeline. We first extract knowledge triplets, the atomic units of factual knowledge, from a precutoff Wikipedia dump. We then apply multi-stage filtering to retain triplets that are valid and unambiguous while preserving broad knowledge coverage. Finally, we verify the presence of each remaining triplet in OLMo2's open pretraining corpus to further strengthen its reliability by reducing the risk of conflating a lack of prior exposure with ineffective knowledge extraction.
Stage 1: Knowledge Triplet Extraction. Following Shi et al. (2024); Zhang et al. (2025); Fu et al. (2025), we assume that Wikipedia data predating a model's training cutoff has been seen during the model's pretraining. As KEE techniques aim to recover knowledge acquired during pretraining, we leverage this assumption by constructing our benchmark from a March 2022 Wikipedia dump, ensuring temporal precedence over the training cutoffs of all evaluated models. Temporal precedence alone does not guarantee that a specific fact appeared in a model's pretraining data, so we directly verify corpus presence in Stage 3. Since a single text can encompass multiple facts of heterogeneous extraction difficulty, document- or passage-level evaluation is too coarse. We therefore decompose the unstructured corpora into atomic (subject, relation, object) triplets using REBEL (Cabot and Navigli, 2021), a seq2seq relation-extraction model. Finally, to ensure broad topical coverage, we map document entities to Wikidata's instance of properties, organizing them into a custom taxonomy of ten domains (e.g., science, history, law). Table 4 shows the full domain categories with representative instance of examples. Before extraction, we remove list-style articles, HTML artifacts, and documents under 100 words from the source corpus.
Stage 2: Multi-stage Filtering. Raw triplets from Stage 1 often contain noise and exhibit skewed distributions. To ensure validity, we map entities and relations to Wikidata identifiers using Wikimapper and verify their existence via the Wikidata API. We discard instances with domain mismatches via LLM-based filtering ; specifically, we remove overly generic triplets that do not reflect their document's assigned domain. For quality control, we eliminate triplets containing uninformative relations (e.g., opposite of, different from) or direct lexical overlap between the subject and the object. Crucially, we restrict our benchmark strictly to single-answer triplets using the Wikidata SPARQL API and LLM-based classification; multi-answer cases introduce evaluation ambiguity by conflating a model's lack of knowledge with its preference for an alternative valid entity. In order to label entity frequency, we utilize monthly Wikipedia pageviews as a proxy for pretraining exposure. Using percentile thresholds, we assign each entity to a head, torso, or tail bin, incorporating 20% buffer zones between adjacent bins (10% head, 40% torso, 10% tail, separated by 20% buffer margins) to ensure that frequency bins are separated by distinct margins rather than arbitrary cutoffs. Finally, to prevent specific relation dominance, we cap each relation at 300 instances, yielding a candidate pool that spans a broad frequency distribution. This pool consists of 3,254 triplets in a short-answer question format, which we further verify against pretraining data in Stage 3. See Appendix A for benchmark construction details.
We used gpt-4o-mini for all LLM-as-a-judge.
Aggregated over March 2021–February 2022.
Stage 3: Corpus Presence Filtering. Temporal precedence in Stage 1 does not establish whether individual facts appeared in pretraining data. We therefore filter the remaining triplets against OLMo-mix-1124 (OLMo et al., 2024), OLMo2's publicly available pretraining corpus, through the following three steps.
Candidate sentences. We map each triplet from Section 3.1 to the Wikipedia document from which REBEL extracted it and split the document into sentences. A sentence becomes a candidate when it mentions both the subject and the object, where we also match their Wikidata aliases. We match the subject and object rather than the relation because REBEL outputs relations from a fixed set of about 200 labels, which rarely appear verbatim in the text.
Relation verification. A sentence that mentions both entities does not necessarily express the target relation, since the same pair can be linked by different relations. We therefore feed each candidate sentence back into REBEL and keep it as a supporting sentence only if REBEL re-extracts the same triplet with aliases taken into account. This step ensures that each supporting sentence expresses the target triplet rather than merely mentioning both entities.
Corpus presence. We query each supporting sentence against OLMo-mix-1124 with exact matching through the infini-gram API (Liu et al., 2024) and record its count. A triplet is retained if at least one of its supporting sentences appears in the corpus. Of the 3,254 candidate triplets, 1,303 pass all three steps and form our final benchmark. The filter is conservative, as a removed triplet may still appear in the corpus in a paraphrased form or in a sentence our pipeline does not recover.
3.2 Evaluation Metrics
We introduce three complementary evaluation metrics that systematically capture changes at the surface, probability, and beyond-sampling levels. Surface level computes Gain and Loss based on generated outputs of models. The probability level captures internal dynamics via Probability Rank Shift (PRS), which measures how a KEE technique moves the rank of the gold token on failures that remain unrecovered. The beyond-sampling level compares each technique with temperature sampling through the Shallow Gain Rate (SGR) and Deep Gain Rate (DGR). Together, these three dimensions constitute a diagnostic evaluation protocol of MAPLE.
Surface Level. At the surface level, we evaluate the model using its actual generated outputs. Traditional accuracy merges the gain and loss resulting from interventions of KEE techniques into a single value. However, since they directly alter the model behavior, a metric that decouples improvement and degradation is required to isolate each effect. Thus, we define Gain and Loss as follows: Gain is the proportion of baseline failures that the KEE technique answers correctly (Eq 1); Loss is the proportion of baseline successes that the KEE technique answers incorrectly (Eq 2).
Here, and denote the sets of instances answered correctly and incorrectly under the KEE technique, respectively, while and represent those under the baseline model. By setting the denominators of Gain and Loss to and rather than the total dataset size, we measure recovery and degradation of correct answers.
Probability Level. Surface level evaluation only captures instances whose correctness flips between the baseline and a KEE technique. We therefore trace the internal dynamics at the probability level for the unflipped instances that remain incorrect under both settings. We refer to these instances as unrecovered failures. Prior work evaluates factual knowledge by how highly a model ranks the gold token (Petroni et al., 2019). We extend this view from static presence to paired change and introduce Probability Rank Shift (PRS), which measures how a KEE technique moves the rank of the gold token on the same fact even when a failure does not turn into a success.
We first compute the probability of the full gold answer with teacher forcing and observe that once the first token is given, the remaining tokens become nearly deterministic and add little information beyond it. We therefore use only the first token, which is predicted under the same condition as free generation. Let and denote the rank of the first gold token over the full vocabulary under the baseline and the KEE technique. We exclude instances where the gold token is ranked first under either setting, since their failure lies beyond the first token. Then, we assign each remaining instance to one of three categories:
Improved, Tied and Worsened indicate that the gold token is ranked higher, equal or lower under the KEE technique than under the baseline. We then report PRS as the proportion of each category:
where is the number of instances in category .
Beyond-Sampling Level. Beyond-sampling level analysis asks whether a KEE technique recovers instances that the model fails to reach through its own sampling. As a point of comparison, we use temperature sampling at () and (), since changing the temperature alone can also yield gains, which allows us to test whether KEE gains reflect an actual effect beyond sampling noise. We first partition baseline failures by whether sampling reaches the correct answer, using an initial seed (Seed A = 42) for each temperature. Shallow failures are incorrect under greedy decoding but reached at least once within samples, whereas deep failures are never reached within samples. Shallow and deep thus refer to sampling recoverability for each model rather than to the objective difficulty of a fact. We set by sweeping from 1 to 30. At , every model already identifies about of the shallow failures found with 30 samples at both temperatures. To check that this choice does not drive our conclusions, we compare the ranking of methods at each with the ranking at using the Kendall rank correlation, which equals 1 when two rankings agree on the order of every pair of methods. The correlation stays at 0.89 or higher for both SGR and DGR at every in Table 1, so the ranking of methods remains stable regardless of . We then evaluate each method on these subsets. For and , we draw new samples with an independent seed (Seed B = 0) so that the samples used for partitioning are not
| K | ||||
|---|---|---|---|---|
| SGR | DGR | SGR | DGR | |
| 10 | 0.915 | 0.941 | 0.988 | 0.898 |
| 15 | 0.927 | 0.969 | 0.958 | 0.956 |
| 20 | 1.000 | 1.000 | 1.000 | 1.000 |
| 25 | 0.983 | 0.991 | 0.972 | 0.950 |
| 30 | 0.956 | 0.987 | 0.931 | 0.950 |
Table 1: Mean Kendall rank correlation with the ranking at .
reused for evaluation. Using the sizes of and as denominators, we define the Shallow Gain Rate (SGR) and Deep Gain Rate (DGR) as Eq. 5 and Eq. 6:
where is the set of instances recovered by method m. SGR measures how much a method recovers among failures that sampling can also recover, and DGR measures how much it recovers among failures that sampling cannot recover within K samples. A KEE technique that reaches a DGR above that of temperature sampling therefore recovers failures beyond what sampling alone provides.
4 Experiments
4.1 Settings
Models. To examine the effectiveness of KEE techniques across different model scales and families, we conduct experiments on OLMo2-7B/32B-Instruct, Qwen2.5-7B/32B-Instruct, and Llama3-8B/70B-Instruct.
KEE Techniques. As discussed in Section 2, KEE techniques span a wide range of approaches, making it impractical to cover all existing methods. We therefore select two representative techniques from each of the three KEE families that are commonly used as baselines in prior work. From the decoding techniques, we include DeCoRe and Activation Decoding (AD); from the steering techniques, ITI and CAA; from the prompting techniques, RECITE and GenRead. In addition, we compare KEE techniques against temperature sampling, sampled at and . Detailed configurations for each technique are provided in Appendix B.
Generation Setting. For the no-intervention baseline and all KEE techniques, we use greedy decoding to eliminate sampling noise and ensure reproducibility. Using greedy decoding, any change in the top-1 prediction strictly reflects the intervention impact of the KEE technique, allowing us to precisely measure Gain and Loss. For temperature sampling, the final answer is determined via majority voting across 10 samples. See Appendix C for detailed prompts.
Evaluation & Correctness Metrics. We evaluate the techniques using the metrics introduced in Section 3.2 and accuracy (Acc). For correctness evaluation, we treat both the gold answer and the aliases as valid answers. After normalization—removing special characters and whitespace—a prediction is judged correct if it exactly matches a valid answer or if a valid answer appears as a substring of the prediction.
4.2 Main Results
Table 2 reports accuracy together with Gain and Loss for each KEE technique where the temperature sampling serves as the reference. Figure 2 shows PRS on unrecovered failures for each KEE technique. Each bar and its value give the averaged PRS over the six models. Range bars mark the minimum and maximum of that PRS across the six models. Table 3 reports SGR and DGR at , which separate the gains of KEE technique on shallow failures that sampling reaches within K samples from those on deep failures that sampling never reaches. Full results and raw count breakdown are in Appendix D.
A Diagnostic Lens with Three Complementary Metrics. Each metric in Section 3.2 covers a blind spot that the others leave open. Gain and Loss decompose accuracy into the failures a technique recovers and the successes it breaks, recovering bidirectional shifts that a single accuracy score conflates. Since they register a change only when the answer flips, PRS complements them by tracing how the gold token's rank moves on unrecovered failures. Raising the sampling temperature alone can also improve correctness without any intervention, so SGR and DGR compare each technique with temperature sampling to test whether its recovery merely reflects what sampling can recover or goes beyond it. Together the metrics capture correctness flips in both directions, the dynamics beneath unflipped failures, and the margin over a temperature sampling. Because all of them rely only on answer flips or ranks, they apply to every KEE technique and remain comparable across decoding, steering and prompting techniques that reshape the output distribution in different ways.
What the Unified Lens Reveals about KEE Techniques. While the three metrics capture distinct dimensions, they are fundamentally interconnected. Probability level dynamics are reflected at the surface level, and a robust signal at the surface level accompanies the recovery of deep failures beyond sampling. Prompting techniques such as RECITE and GenRead exemplify this end-to-end connection. By injecting relevant context directly into the input, they reshape the model's probability distribution most decisively and leave only a small share of , which coincides with both the largest Gain and the strongest recovery of deep failures. Steering via ITI lies at the opposite end. It shows the largest share of across models, and this minimal reshaping is mirrored by small Gain alongside low Loss and DGR close to zero, keeping ITI close to the baseline at every level. Decoding-based techniques such as DeCoRe and AD and steering via CAA fall in between. They reshape the distribution more than ITI, yet this reshaping is not directed toward the gold token as exceeds on average. Correspondingly, their Gain remains comparable to that of temperature sampling in most models, and their knowledge recovery remains largely confined to shallow failures and rarely extends into deep ones.
5 Analysis
5.1 Surface Level
Recalling knowledge makes substantial interventions. In Table 2, RECITE and GenRead achieve the highest Gain across all models, while GenRead also incurs the highest Loss in every model. RECITE keeps a comparably high Gain whereas its Loss stays lower than GenRead's in every model.
Decoding-based modifications produce comparatively weak interventions. In Table 2, decoding techniques provide weak interventions whose efficacy varies across model families. On Gain, they achieve higher values than temperature sampling on the Llama3 family, but fall to on the OLMo2 family and Qwen2.5-32B. On Loss, they remain comparable to temperature sampling and markedly lower than prompting tech-
| Category | Model | Acc↑ | Gain↑ | Loss↓ | Model | Acc↑ | Gain↑ | Loss↓ | Model | Acc↑ | Gain↑ | Loss↓ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| OLMo2-7B | 46.89 | - | - | Qwen2.5-7B | 43.13 | - | - | Llama3-8B | 50.58 | - | - | |
| Sampling | + τ0.7 | 47.35 | 3.32 | 2.78 | + τ0.7 | 43.21 | 1.35 | 1.60 | + τ0.7 | 50.88 | 2.95 | 2.28 |
| + τ1.2 | 45.43 | 3.61 | 7.20 | + τ1.2 | 42.98 | 3.51 | 4.98 | + τ1.2 | 50.27 | 6.21 | 6.68 | |
| Decoding | + DeCoRe | 46.89 | 3.32 | 3.76 | + DeCoRe | 41.29 | 4.32 | 9.96 | + DeCoRe | 53.34 | 11.18 | 5.46 |
| + AD | 46.12 | 1.88 | 3.76 | + AD | 40.45 | 3.78 | 11.21 | + AD | 52.11 | 10.09 | 6.83 | |
| Steering | + ITI | 47.89 | 4.91 | 3.44 | + ITI | 42.06 | 1.21 | 4.09 | + ITI | 50.96 | 4.66 | 3.79 |
| + CAA | 46.12 | 3.03 | 5.07 | + CAA | 42.67 | 1.48 | 3.02 | + CAA | 51.50 | 11.02 | 8.95 | |
| Prompting | + RECITE | 56.25 | 23.27 | 6.38 | + RECITE | 50.96 | 20.65 | 9.07 | + RECITE | 56.49 | 19.57 | 7.44 |
| + GenRead | 52.65 | 19.94 | 10.31 | + GenRead | 52.03 | 24.97 | 12.28 | + GenRead | 58.63 | 28.88 | 12.29 | |
| OLMo2-32B | 63.24 | - | - | Qwen2.5-32B | 56.10 | - | - | Llama3-70B | 67.84 | - | - | |
| Sampling | + τ0.7 | 62.24 | 3.13 | 3.40 | + τ0.7 | 56.10 | 1.40 | 1.09 | + τ0.7 | 67.77 | 1.67 | 0.90 |
| + τ1.2 | 63.01 | 6.89 | 4.37 | + τ1.2 | 56.49 | 3.32 | 1.92 | + τ1.2 | 67.92 | 3.10 | 1.36 | |
| Decoding | + DeCoRe | 63.55 | 4.80 | 2.31 | + DeCoRe | 55.72 | 1.40 | 1.78 | + DeCoRe | 68.53 | 5.49 | 1.58 |
| + AD | 62.32 | 3.13 | 3.28 | + AD | 56.25 | 1.05 | 0.55 | + AD | 68.30 | 8.11 | 3.17 | |
| Steering | + ITI | 63.39 | 2.92 | 1.46 | + ITI | 55.56 | 1.57 | 2.19 | + ITI | 67.92 | 2.86 | 1.24 |
| + CAA | 62.70 | 5.85 | 4.25 | + CAA | 56.41 | 2.10 | 1.09 | + CAA | 67.77 | 8.59 | 4.19 | |
| Prompting | + RECITE | 69.38 | 26.93 | 5.95 | + RECITE | 61.55 | 22.03 | 7.52 | + RECITE | 70.76 | 22.43 | 6.33 |
| + GenRead | 66.69 | 23.38 | 8.13 | + GenRead | 59.71 | 22.90 | 11.49 | + GenRead | 73.83 | 32.70 | 6.67 |
Table 2: Gain/Loss (%) decomposition across model families and KEE techniques. Bold and underline indicate the best and second-best values, respectively. Alternating gray shading indicates technique category boundaries.
niques, except for a spike on Qwen2.5-7B where DeCoRe and AD reach 9.96% and 11.21%.
Activation steering behaviors diverge by specific methodology. CAA aligns more closely with decoding than with its fellow steering technique ITI on both Gain and Loss, exhibiting a similar model-dependent pattern. In Table 2, while CAA's Gain and Loss stay comparable to temperature sampling on OLMo2 and Qwen2.5, they reach 1.8–5.1× and 1.3–4.7× higher levels on the Llama3 family, respectively. Notably, on Qwen2.5 family, CAA shows both the lowest Gain at 1.48% and 2.10% and the lowest Loss at 3.02% and 1.09% among all six models, suggesting its intervention signal is comparatively muted for this model family. ITI produces a weak intervention signal and stays close to the baseline in every model, with Gain between 1.21% and 4.91% and consistently low Loss among KEE techniques across six models. Since prior decoding and steering literature has been validated predominantly on Llama (Gema et al., 2025; Rimsky et al., 2024), our findings put a spotlight on the evaluation of cross-family generalization as a critical direction for future KEE research.
5.2 Probability Level
Unrecovered failures are reshaped without moving toward the gold answer. For decoding techniques and CAA, although they seem ineffective at the surface level with low Gain, most of their unrecovered failures still change the gold rank. Only 29.7%, 34.7% and 33.3% of these failures remain Tied for DeCoRe, AD and CAA in Figure 2. This reshaping, however, is not directed toward the gold token. On average, PRS exceeds PRS for all three techniques, and the gap is pronounced in some models. For instance, on Llama3-70B, AD shows a similar gap at 46.7% against 13.1% in Table 15. These results indicate that most unchanged cases are still affected, but the change rarely brings the gold answer closer to the top.

Figure 2: Probability Rank Shift of the gold token on unrecovered failures for KEE techniques, averaged over six models. Range bars show the minimum and maximum across models. Per-model results are in Figure 12.
ITI leaves most unrecovered failures untouched. ITI shows the largest PRS at 62.5% in Figure 2, ranging from 53.0% to 72.2% across models in Ta-
| Category | Model | SGR↑ | DGR↑ | Model | SGR↑ | DGR↑ | Model | SGR↑ | DGR↑ |
|---|---|---|---|---|---|---|---|---|---|
| OLMo2-7B | - | - | Qwen2.5-7B | - | - | Llama3-8B | - | - | |
| Sampling | + τ1.2 | 16.06 | 0.42 | + τ1.2 | 18.67 | 0.17 | + τ1.2 | 15.72 | 0.24 |
| Decoding | + DeCoRe | 9.63 | 0.42 | + DeCoRe | 16.00 | 1.35 | + DeCoRe | 24.02 | 4.10 |
| + AD | 5.96 | 0.00 | + AD | 15.33 | 0.85 | + AD | 20.96 | 4.10 | |
| Steering | + ITI | 14.68 | 0.42 | + ITI | 6.00 | 0.00 | + ITI | 10.04 | 1.69 |
| + CAA | 9.63 | 0.00 | + CAA | 6.67 | 0.17 | + CAA | 23.58 | 4.10 | |
| Prompting | + RECITE | 51.83 | 10.13 | + RECITE | 53.33 | 12.35 | + RECITE | 41.48 | 7.47 |
| + GenRead | 44.50 | 8.65 | + GenRead | 60.00 | 16.07 | + GenRead | 52.84 | 15.66 | |
| OLMo2-32B | - | - | Qwen2.5-32B | - | - | Llama3-70B | - | - | |
| Sampling | + τ1.2 | 13.07 | 0.00 | + τ1.2 | 14.55 | 0.22 | + τ1.2 | 16.33 | 0.00 |
| Decoding | + DeCoRe | 10.55 | 0.71 | + DeCoRe | 7.27 | 0.00 | + DeCoRe | 18.37 | 1.56 |
| + AD | 7.04 | 0.36 | + AD | 5.45 | 0.00 | + AD | 26.53 | 2.49 | |
| Steering | + ITI | 7.04 | 0.00 | + ITI | 8.18 | 0.00 | + ITI | 11.22 | 0.31 |
| + CAA | 14.07 | 0.00 | + CAA | 10.91 | 0.00 | + CAA | 29.59 | 2.18 | |
| Prompting | + RECITE | 48.74 | 11.43 | + RECITE | 51.82 | 14.94 | + RECITE | 46.94 | 14.95 |
| + GenRead | 43.22 | 9.29 | + GenRead | 41.82 | 18.40 | + GenRead | 59.18 | 24.61 |
Table 3: SGR/DGR (%) across model families and KEE techniques at . Bold and underline indicate the best and second-best values, respectively. Alternating gray shading indicates technique category boundaries.
ble 15. Its PRS and PRS are nearly balanced at 18.2% and 19.3%, so the few changes it makes carry no consistent direction. This minimal reshaping is consistent with its small Gain and low Loss at the surface level in Table 2.
Context injection strongly reshapes the output distributions. Both prompting techniques show the smallest PRS at about 7.8% for RECITE and 5.0% for GenRead in Figure 2. However, their consistency differs. GenRead consistently pushes the gold token downward, with PRS ranging from 75.1% to 89.1% across models. In contrast, RECITE exhibits less consistency across model families, with its PRS ranging from 14.8% on OLMo2-32B to 44.3% on Llama3-70B in Table 15.
5.3 Beyond-Sampling Level
Weak interventions mostly recover shallow failures. In Tables 3 and 12, decoding techniques and CAA demonstrate gains that are largely concentrated in shallow failures rather than deep ones. On OLMo2 and Qwen2.5 families, these interventions generally perform comparably to or lag behind and . For instance, OLMo2-7B's AD achieves an SGR of and a DGR of , whereas reaches and in Table 3. In contrast, the Llama3 family retains a clear advantage at both temperatures. Llama3-8B's CAA achieves a DGR of , far outperforming at . These interventions primarily recover shallow failures within the reach of temperature sampling rather than addressing deep failures that lie beyond sampling, with an exception on Llama3 where a substantial gap remains. ITI also stays at or below DGR in every model at both temperatures.
Prompting unlocks deep failures robustly across temperatures. RECITE and GenRead decisively outperform and on both SGR and DGR. For instance, on OLMo2-32B, prompting techniques achieve a DGR of up to 15.76% at and 11.43% at , compared to 0.00% from both and in Tables 3 and 12.
6 Conclusion
We introduce MAPLE, a unified framework for evaluating KEE techniques that comprises a benchmark of facts verified to be present in OLMo2's pretraining corpus and a diagnostic protocol spanning surface, probability, and beyond-sampling level metrics. Across three model families and six KEE techniques, MAPLE reveals behaviors that aggregated accuracy cannot surface. Decoding techniques and CAA reshape the output distribution without moving it toward the gold answer and largely remain within the reach of temperature sampling, ITI stays close to the baseline at every level, and prompting techniques recover the most failures beyond sampling but also incur the largest Loss. By capturing these distinct behaviors across complementary axes, our framework offers a fine-grained lens to dissect the trade-offs of KEE techniques and a multi-axis standard to guide the development of more effective and stable methods for future LLMs.
Acknowledgements
This research was supported by grants from the National Research Foundation of Korea (NRF), funded by the Korean government (MSIT and MOE: RS-2025-16063688; MSIT: RS-2025-02215813, RS-2026-25491306, RS-2025-25442252).
Limitations
While our framework provides a systematic diagnostic lens for KEE techniques, several limitations remain.
Corpus Verification. We verify that every benchmark fact has a supporting sentence that appears verbatim in OLMo2's pretraining corpus and from which the same triplet is re-extracted as described in Stage 3 of Section 3.1. This verification establishes presence in pretraining data rather than encoding in model parameters. Encoding strength varies continuously with exposure (Kandpal et al., 2023; Mallen et al., 2023), so a fact present in the corpus may still be encoded only weakly or not at all. The verification is also limited to OLMo2, whose pretraining corpus is public. For Qwen2.5 and Llama3, we rely on the facts being drawn from a Wikipedia dump that predates their training cutoffs, which makes their presence likely but not verified.
Model & KEE Technique Coverage. Our benchmark, built from a March 2022 Wikipedia dump, applies only to models whose pretraining post-dates this cutoff. Due to computational constraints, we evaluate six models from three families, restricting the transferability of our findings to other families. Similarly, we evaluate two representative techniques from each of the three KEE technique categories (decoding, steering, prompting) rather than the full space of methods. Our framework, however, is model- and technique-agnostic and can be readily extended along both axes. We leave further investigation of other models and KEE techniques as future work.
Scope of Knowledge. Although our benchmark covers a wide range of domains, frequency levels, and relations, it only consists of factual triplets with a single answer, drawn from Wikipedia. There are different types of knowledge relevant to our work, such as ambiguous multi-answer facts or non-English knowledge. We do not cover these in this paper as they are out of our scope. Extending the benchmark to these settings will be an interesting direction for future work.
References
Pere-Lluís Huguet Cabot and Roberto Navigli. 2021. Rebel: Relation extraction by end-to-end language generation. In Findings of the association for computational linguistics: EMNLP 2021, pages 2370–2381.
Shiqi Chen, Miao Xiong, Junteng Liu, Zhengxuan Wu, Teng Xiao, Siyang Gao, and Junxian He. 2024. In-context sharpness as alerts: An inner representation perspective for hallucination mitigation. In Proceedings of the 41st International Conference on Machine Learning, volume 235 of Proceedings of Machine Learning Research, pages 7553–7567. PMLR.
Yung-Sung Chuang, Yujia Xie, Hongyin Luo, Yoon Kim, James R Glass, and Pengcheng He. 2024. Dola: Decoding by contrasting layers improves factuality in large language models. In International Conference on Learning Representations, volume 2024, pages 54158–54183.
Wenjie Fu, Huandong Wang, Chen Gao, Guanghua Liu, Yong Li, and Tao Jiang. 2025. Mia-tuner: Adapting large language models as pre-training text detector. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 39, pages 27295–27303.
Aryo Pradipta Gema, Chen Jin, Ahmed Abdulaal, Tom Diethe, Philip Alexander Teare, Beatrice Alex, Pasquale Minervini, and Amrutha Saseendran. 2025. DeCoRe: Decoding by contrasting retrieval heads to mitigate hallucinations. In Findings of the Association for Computational Linguistics: EMNLP 2025, pages 10003–10039, Suzhou, China. Association for Computational Linguistics.
Zhengbao Jiang, Frank F Xu, Jun Araki, and Graham Neubig. 2020. How can we know what language models know? Transactions of the Association for Computational Linguistics, 8:423–438.
Mandar Joshi, Eunsol Choi, Daniel S Weld, and Luke Zettlemoyer. 2017. 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), pages 1601–1611.
Nikhil Kandpal, Haikang Deng, Adam Roberts, Eric Wallace, and Colin Raffel. 2023. Large language models struggle to learn long-tail knowledge. In International conference on machine learning, pages 15696–15707. PMLR.
Tom Kwiatkowski, Jennimaria Palomaki, Olivia Redfield, Michael Collins, Ankur Parikh, Chris Alberti, Danielle Epstein, Illia Polosukhin, Jacob Devlin, Kenton Lee, and 1 others. 2019. Natural questions: a benchmark for question answering research. Transactions of the Association for Computational Linguistics, 7:453–466.
Kenneth Li, Oam Patel, Fernanda Viégas, Hanspeter Pfister, and Martin Wattenberg. 2023a. Inference-time intervention: Eliciting truthful answers from a language model. Advances in Neural Information Processing Systems, 36:41451–41530.
Xiang Lisa Li, Ari Holtzman, Daniel Fried, Percy Liang, Jason Eisner, Tatsunori B Hashimoto, Luke Zettlemoyer, and Mike Lewis. 2023b. 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), pages 12286–12312.
Stephanie Lin, Jacob Hilton, and Owain Evans. 2022. Truthfulqa: Measuring how models mimic human falsehoods. In Proceedings of the 60th annual meeting of the association for computational linguistics (volume 1: long papers), pages 3214–3252.
Jiacheng Liu, Sewon Min, Luke Zettlemoyer, Yejin Choi, and Hannaneh Hajishirzi. 2024. Infini-gram: Scaling unbounded n-gram language models to a trillion tokens. In First Conference on Language Modeling.
Alex Mallen, Akari Asai, Victor Zhong, Rajarshi Das, Daniel Khashabi, and Hannaneh Hajishirzi. 2023. When not to trust language models: Investigating effectiveness of parametric and non-parametric memories. In Proceedings of the 61st annual meeting of the association for computational linguistics (volume 1: Long papers), pages 9802–9822.
Dor Muhlgay, Ori Ram, Inbal Magar, Yoav Levine, Nir Ratner, Yonatan Belinkov, Omri Abend, Kevin Leyton-Brown, Amnon Shashua, and Yoav Shoham. 2024. Generating benchmarks for factuality evaluation of language models. In Proceedings of the 18th Conference of the European Chapter of the Association for Computational Linguistics (Volume 1: Long Papers), pages 49–66.
Team OLMo, Pete Walsh, Luca Soldaini, Dirk Groeneveld, Kyle Lo, Shane Arora, Akshita Bhagia, Yuling Gu, Shengyi Huang, Matt Jordan, and 1 others. 2024. 2 olmo 2 furious. arXiv preprint arXiv:2501.00656.
Fabio Petroni, Tim Rocktäschel, Sebastian Riedel, Patrick Lewis, Anton Bakhtin, Yuxiang Wu, and Alexander Miller. 2019. Language models as knowledge bases? In Proceedings of the 2019 conference on empirical methods in natural language processing and the 9th international joint conference on natural language processing (EMNLP-IJCNLP), pages 2463–2473.
Nina Rimsky, Nick Gabrieli, Julian Schulz, Meg Tong, Evan Hubinger, and Alexander Turner. 2024. Steering llama 2 via contrastive activation addition. In Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1:
Long Papers), pages 15504–15522, Bangkok, Thailand. Association for Computational Linguistics.
Weijia Shi, Anirudh Ajith, Mengzhou Xia, Yangsibo Huang, Daogao Liu, Terra Blevins, Danqi Chen, and Luke Zettlemoyer. 2024. Detecting pretraining data from large language models. In International Conference on Learning Representations, volume 2024, pages 51826–51843.
Zhiqing Sun, Xuezhi Wang, Yi Tay, Yiming Yang, and Denny Zhou. 2023. Recitation-augmented language models. In The Eleventh International Conference on Learning Representations.
James Thorne, Andreas Vlachos, Christos Christodoulopoulos, and Arpit Mittal. 2018. Fever: a large-scale dataset for fact extraction and verification. In Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long Papers), pages 809–819.
Weixuan Wang, JINGYUAN YANG, and Wei Peng. 2025. Semantics-adaptive activation intervention for llms via dynamic steering vectors. In International Conference on Learning Representations, volume 2025, pages 79334–79351.
Zhilin Yang, Peng Qi, Saizheng Zhang, Yoshua Bengio, William Cohen, Ruslan Salakhutdinov, and Christopher D Manning. 2018. Hotpotqa: A dataset for diverse, explainable multi-hop question answering. In Proceedings of the 2018 conference on empirical methods in natural language processing, pages 2369–2380.
Wenhao Yu, Dan Iter, Shuohang Wang, Yichong Xu, Mingxuan Ju, Soumya Sanyal, Chenguang Zhu, Michael Zeng, and Meng Jiang. 2023. Generate rather than retrieve: Large language models are strong context generators. In The Eleventh International Conference on Learning Representations.
Jingyang Zhang, Jingwei Sun, Eric Yeats, Yang Ouyang, Martin Kuo, Jianyi Zhang, Hao Yang, and Hai Li. 2025. Min-k%++: Improved baseline for pre-training data detection from large language models. In International Conference on Learning Representations, volume 2025, pages 64845–64862.
Domain Classification Prompt Template
You are a domain relevance classifier for knowledge graph triplets. Given a triplet (subject, relation, object), determine if it belongs to the <DOMAIN> domain. <DOMAIN> includes: <SCOPE>. Rule: Classify as "<DOMAIN>" if any of the following is true:
- The subject or object is a <DOMAIN>-related entity.
- The triplet describes a <DOMAIN>-related fact. Classify as "non-<DOMAIN>" only if none of the above conditions are met. Respond with ONLY "<DOMAIN>" or "non-<DOMAIN>".
Figure 3: System prompt for the domain classifier.
A Benchmark Construction Details
We organize source entities into ten categories; the category set and representative instance of (P31) types are listed in Table 4.
A.1 Domain Classification Prompt
We classify each triplet into one of ten domains using an LLM-based relevance classifier. All ten domains share an identical system prompt template; only the domain name (i.e., <DOMAIN>) and its entity set of in-domain scope (i.e., <SCOPE>) differ. The shared template is shown in Figure 3, where <DOMAIN> and <SCOPE> are instantiated per domain using the values listed in Table 5.
A.2 Answer Cardinality Filtering Prompt
To restrict the benchmark to triplets with a single valid answer, we filter each candidate triplet with an LLM-based cardinality classifier. The classifier labels a triplet as SINGLE, MULTIPLE, or UNSURE, and only SINGLE triplets are retained. The system prompt is shown in Figure 4, and the few-shot demonstrations supplied to the classifier are listed in Table 6.
A.3 Benchmark Statistics
Statistics of our benchmark are shown in Figure 5.
B Experiments Details
We present the configurations we applied to implement KEE techniques. Unless otherwise noted, hyperparameters follow the recommendations of each method's original paper.
Answer Cardinality Classification Prompt Template
You are given a factoid question.
Determine whether this question has exactly one valid answer, or multiple valid answers.
-
SINGLE: The question has exactly one correct answer.
-
MULTIPLE: The question has more than one valid answer. This includes:
(a) Factually multiple answers: the entity genuinely has multiple valid values (e.g., a drug treats multiple diseases, a person held multiple positions, a country borders multiple neighbors).
(b) Temporally variable answers: the answer changes over time, so multiple answers have been correct at different points (e.g., headquarters that relocated, capitals that changed, leaders who were replaced).
(c) Perspectival ambiguity: the answer depends on which context (e.g., classification system, hierarchical system) is used.
- UNSURE: You are not confident enough to judge, or you do not know enough about the subject.
Rule:
- Even if one answer is most famous or commonly cited, if other valid answers exist, classify as MULTIPLE.
Output JSON:
{"cardinality2": "SINGLE" or "MULTIPLE" or "UNSURE", "reason": str}
Figure 4: System prompt for the answer cardinality classifier.
B.1 Decoding Methods
DeCoRe. We set num_retrieval_head = 10 for all models, following the original paper, which reports that performance on factuality benchmarks degrades as more retrieval heads are masked (Gema et al., 2025). As a post-hoc check in our setting, Table 7 shows that performance is nearly identical between 10 and 20 heads and degrades as more heads are masked.
Activation Decoding. The original paper (Chen et al., 2024) adopts the layer 26 for a 32-layer model—i.e., 81.25% of the total depth—for its main experiments. We therefore set info_layer to the layer at 81.25% of each model's total depth, as listed in Table 8. Also, we set , which controls the degree of entropy.
B.2 Steering Methods
ITI. For ITI, we follow the default setting of the original paper (Li et al., 2023a), using K=48 heads and an intervention strength of . As in the original work, we split TruthfulQA into training
| Category | Instance of (P31) |
|---|---|
| Culture | literary work, museum, art movement, heritage site, cultural center |
| Education | school, university, college, campus, faculty |
| Health | hospital, anatomical structure, medical treatment, disease, symptom or sign |
| History | battle, war, dynasty, historical period, invasion |
| Law | legal case, prison, court, criminal case, decision of the Supreme Court of the United States |
| Politics | political organization, electoral unit, public election, constituency of the European Parliament, executive branch |
| Religion | mythological Greek character, religious community, Catholic religious institute, Jewish organization, Islamic term |
| Science | protein, mutant, spiral galaxy, chemical element, scientific theory |
| Society | voluntary association, ethnic group, clan, human population, women’s organization |
| Sports | roller derby league, amateur football club, esports team, championship, rugby league venue |
Table 4: Categories with representative instance of (P31) types.
and validation sets to identify the top- heads, and then apply interventions on these heads at inference time on our benchmark.
CAA. For CAA, we follow the original paper's procedure for selecting the intervention layer per model, using , the change in the probability of the ground-truth answer's first token before and after intervention, as the selection criterion. Since aggregating over a larger number of contrast pairs reduces noise in the steering vector (Rimsky et al., 2024), we perform layer selection on all 3,254 facts prior to Corpus presence filtering. To prevent data leakage, we split this pool into two folds. Within each fold, is used to construct the steering vector and the remaining to select the optimal layer, which is then applied at inference on the other fold. As a result, every benchmark fact is evaluated with a steering vector and layer derived without it. We set the steering multiplier to 1.0. The selected layers for each model are listed in Table 9.
B.3 Prompting Methods
RECITE. Figure 6 and Figure 7 show the prompts for stage 1 (recitation) and stage 2 (answer generation), respectively. Following the original paper's setting (Sun et al., 2023), we run stage 1 and stage 2 for 20 times and choose the final answer with majority voting.
GenRead. Figure 8 and Figure 9 show the prompts for stage 1 (background generation) and stage 2 (answer generation), respectively.
C Benchmark Prompt Details
Figure 10 shows the generation prompt used for the baseline, and Table 10 shows the five few-shot demonstrations used for each short-answer question.
| Domain | In-domain scope (<SCOPE>) |
|---|---|
| Culture | literature, books, authorship, visual arts, paintings, sculpture, architecture, performing arts, dance, museums, libraries, collections of cultural works, monuments, cultural heritage, cultural institutions, festivals, and directly related cultural concepts |
| Education | schools, universities, colleges, faculties, academic departments, school districts, educational institutions, academic programs, degrees, curricula, teachers, students, education systems, and directly related educational concepts |
| Health | diseases, symptoms, anatomy, organs, mental health, bacteria, viruses, drugs, vaccines, medicines, treatments, antibiotics, medical procedures, diagnosis, healthcare institutions, hospitals, healthcare organizations, doctors, nurses, medical specialties, and any entity or fact closely associated with these topics |
| History | historical events, wars, battles, conflicts, military, empires, dynasties, reigns, historical periods, historical rulers, archaeological periods, and directly related historical concepts |
| Law | legal cases, court decisions, laws, legal concepts, crimes, courts, judicial institutions, judges, legal offices, constitutions, and directly related legal concepts |
| Politics | political parties, elections, governments, parliaments, ministries, presidents, prime ministers, politicians, legislation, political institutions, protests, revolution, political ideologies, diplomacy, international relations, and directly related political concepts |
| Religion | religions, religious organizations, churches, temples, mosques, monasteries, religious buildings, deities, mythological figures, mythology, rituals, doctrines, saints, sacred places, and directly related religious concepts |
| Science | biology, species, taxonomy, genes, astronomy, planets, stars, galaxies, chemistry, chemical elements, compounds, reactions, earth science, scientific theories, scientific laws, scientific methods, scientists, research institutions, and directly related scientific concepts |
| Society | social groups, ethnic groups, demographic groups, communities, tribes, non-profit organizations, social movements, social issues, and directly related societal concepts |
| Sports | sports teams, athletes in sports roles, leagues, tournaments, seasons, matches, races, competitions, sporting events, stadiums, arenas, sports venues, coaches, and directly related sports concepts |
Table 5: Per-domain instantiation of the prompt template in Figure 3. Each row provides the <DOMAIN> name and the <SCOPE> string substituted into the shared template.
D Additional Results
Full results for raw count of Table 2 are in Table 11. Full results for per-model and raw count breakdown of Figure 2 are in Figure 12 and Table 15. Full results for raw count of Tables 3 and 12 are in Tables 13 and 14, respectively.
E Use of AI assistants
AI assistants like ChatGPT and Claude Code were intermittently used to generate template code and rephrase sentences in the paper, etc. However, no complete paper sections or code scripts have been generated by an AI assistant. All generated content has been inspected and verified by the authors.
| Subject | Relation | Object | Label | Reason |
|---|---|---|---|---|
| Italy | capital | Rome | SINGLE | Italy has exactly one capital, Rome, which has not changed. |
| aspirin | medical condition treated | pain | MULTIPLE | Aspirin treats multiple conditions including pain, fever, inflammation, and cardiovascular disease. |
| Microsoft | headquarters location | Redmond | MULTIPLE | The headquarters of Microsoft has changed over time (Albuquerque, then Redmond), so the answer depends on the time period. |
| Winston Churchill | conflict | World War II | MULTIPLE | Churchill participated in multiple conflicts including the Second Boer War, World War I, and World War II. |
| amygdala | part of | limbic system | SINGLE | The amygdala is part of exactly one brain system: the limbic system. |
| Kaba-class destroyer | country | Japan | UNSURE | Not confident enough about this specific naval vessel class to determine whether it was operated by one or multiple countries. |
Table 6: Few-shot demonstrations provided to the answer cardinality classifier. Each demonstration pairs an input triplet with its gold label and rationale.

Figure 5: Distribution of the 1,303 triplets across domain, frequency bin, and relation, showing broad knowledge coverage along all three axes. Bins are defined by frequency percentiles rather than the targeted proportions; the tail bin is smaller (7.4%) because low-frequency entities yield fewer triplets under our relation and domain constraints. The relation chart shows the top-20 of 97 unique types.
| Model | num_retrieval_head | ||||
|---|---|---|---|---|---|
| 10 | 20 | 30 | 40 | 50 | |
| Llama3-8B-Instruct | 0.5236 | 0.5265 | 0.5178 | 0.5170 | 0.5167 |
| Qwen2.5-7B-Instruct | 0.4017 | 0.4028 | 0.3981 | 0.3899 | 0.3748 |
Table 7: DeCoRe accuracy on our benchmark as num_retrieval_head varies from 10 to 50. Unlike the main results, which use greedy decoding, accuracy here is the mean per-fact correctness over N = 10 sampled trials at temperature T = 0.7.
| Model | info_layer |
|---|---|
| OLMo2-7B-Instruct | 26 / 32 |
| OLMo2-32B-Instruct | 52 / 64 |
| Qwen2.5-7B-Instruct | 23 / 28 |
| Qwen2.5-32B-Instruct | 52 / 64 |
| Llama3-8B-Instruct | 26 / 32 |
| Llama3-70B-Instruct | 65 / 80 |
Table 8: Per-model info_layer for Activation Decoding.
| Model | intervention_layer | |
|---|---|---|
| Fold 1 | Fold 2 | |
| OLMo2-7B-Instruct | 19 | 11 |
| OLMo2-32B-Instruct | 48 | 43 |
| Qwen2.5-7B-Instruct | 17 | 19 |
| Qwen2.5-32B-Instruct | 47 | 40 |
| Llama3-8B-Instruct | 9 | 18 |
| Llama3-70B-Instruct | 39 | 39 |
Table 9: Per-fold intervention_layer selected for CAA and applied to the other.
RECITE Stage 1: Recitation Prompt
Question: {question}
The answer to the above question can be found in the following Wikipedia page, section, and paragraph:
Answer: {entity} – {section} – Paragraph #1 {recited passage}
Figure 6: RECITE Stage 1 prompt. Five demonstrations of this form are provided in the system message.
RECITE Stage 2: Answer Generation Prompt
{recited passage}
Based on the above paragraph, could you answer the following (probably) relevant questions?
{five few-shot demonstrations}
Figure 7: RECITE Stage 2 prompt.
GenRead Stage 1: Background Generation Prompt
Generate a background document from Wikipedia to answer the given question.
{question}
Figure 8: GenRead Stage 1 prompt (zero-shot).
GenRead Stage 2: Answer Generation Prompt
Refer to the passage below and answer the following question with just one entity.
Passage: {generated passage}
{five few-shot demonstrations}
Figure 9: GenRead Stage 2 prompt.
Generation Prompt Template
Answer the following question with a short entity name. Do not explain.
{five few-shot demonstrations}
Question: {question}
Answer:
Figure 10: Prompt template for generating the output.
| Question | Answer |
|---|---|
| What religious order was Koenigsbruck Abbey associated with? | Cistercian |
| Which Olympic Games did John Garrels participate in? | 1908 Summer Olympics |
| Which dynasty was Thutmose III part of? | eighteenth dynasty |
| Who founded World Book and Copyright Day? | UNESCO |
| Which organization is Llanelli Scarlets affiliated with? | Welsh Rugby Union |
Table 10: Five few-shot demonstrations used for the output generation.
| Model | Metric | Decoding | Steering | Prompting | Temperature Sampling | Denominator | ||||
|---|---|---|---|---|---|---|---|---|---|---|
| DeCoRe | AD | ITI | CAA | RECITE | GenRead | |||||
| OLMo2-7B | Gain↑ | 23 | 13 | 34 | 21 | 161 | 138 | 23 | 25 | 692 |
| Loss↓ | 23 | 23 | 21 | 31 | 39 | 63 | 17 | 44 | 611 | |
| OLMo2-32B | Gain↑ | 23 | 15 | 14 | 28 | 129 | 112 | 15 | 33 | 479 |
| Loss↓ | 19 | 27 | 12 | 35 | 49 | 67 | 28 | 36 | 824 | |
| Qwen2.5-7B | Gain↑ | 32 | 28 | 9 | 11 | 153 | 185 | 10 | 26 | 741 |
| Loss↓ | 56 | 63 | 23 | 17 | 51 | 69 | 9 | 28 | 562 | |
| Qwen2.5-32B | Gain↑ | 8 | 6 | 9 | 12 | 126 | 131 | 8 | 19 | 572 |
| Loss↓ | 13 | 4 | 16 | 8 | 55 | 84 | 8 | 14 | 731 | |
| Llama3-8B | Gain↑ | 72 | 65 | 30 | 71 | 126 | 186 | 19 | 40 | 644 |
| Loss↓ | 36 | 45 | 25 | 59 | 49 | 81 | 15 | 44 | 659 | |
| Llama3-70B | Gain↑ | 23 | 34 | 12 | 36 | 94 | 137 | 7 | 13 | 419 |
| Loss↓ | 14 | 28 | 11 | 37 | 56 | 59 | 8 | 12 | 884 | |
Table 11: Raw counts for Table 2.
| Category | Model | SGR↑ | DGR↑ | Model | SGR↑ | DGR↑ | Model | SGR↑ | DGR↑ |
|---|---|---|---|---|---|---|---|---|---|
| OLMo2-7B | - | - | Qwen2.5-7B | - | - | Llama3-8B | - | - | |
| Sampling | 16.15 | 0.18 | 11.11 | 0.00 | 14.47 | 0.00 | |||
| Decoding | + DeCoRe | 16.15 | 0.36 | + DeCoRe | 24.44 | 1.54 | + DeCoRe | 32.70 | 4.12 |
| + AD | 10.00 | 0.00 | + AD | 23.33 | 1.08 | + AD | 27.67 | 4.33 | |
| Steering | + ITI | 17.69 | 1.96 | + ITI | 6.67 | 0.46 | + ITI | 12.58 | 2.06 |
| + CAA | 15.38 | 0.18 | + CAA | 11.11 | 0.15 | + CAA | 29.56 | 4.95 | |
| Prompting | + RECITE | 55.38 | 15.84 | + RECITE | 60.00 | 15.21 | + RECITE | 47.80 | 10.31 |
| + GenRead | 47.69 | 13.52 | + GenRead | 62.22 | 19.82 | + GenRead | 60.38 | 18.56 | |
| OLMo2-32B | - | - | Qwen2.5-32B | - | - | Llama3-70B | - | - | |
| Sampling | 11.54 | 0.00 | 15.87 | 0.00 | 6.78 | 0.00 | |||
| Decoding | + DeCoRe | 16.15 | 0.57 | + DeCoRe | 12.70 | 0.00 | + DeCoRe | 25.42 | 2.22 |
| + AD | 11.54 | 0.00 | + AD | 9.52 | 0.00 | + AD | 30.51 | 4.44 | |
| Steering | + ITI | 10.77 | 0.00 | + ITI | 11.11 | 0.39 | + ITI | 16.95 | 0.56 |
| + CAA | 20.77 | 0.29 | + CAA | 17.46 | 0.20 | + CAA | 35.59 | 4.17 | |
| Prompting | + RECITE | 56.92 | 15.76 | + RECITE | 55.56 | 17.88 | + RECITE | 54.24 | 17.22 |
| + GenRead | 53.08 | 12.32 | + GenRead | 50.79 | 19.45 | + GenRead | 62.71 | 27.78 |
Table 12: SGR/DGR (%) across model families and KEE techniques at . Bold and underline indicate the best and second-best values, respectively. Alternating gray shading indicates technique category boundaries.
| Model | Metric | Temp. 0.7 | Decoding | Steering | Prompting | Denominator | |||
|---|---|---|---|---|---|---|---|---|---|
| DeCoRe | AD | ITI | CAA | RECITE | GenRead | ||||
| OLMo2-7B | SGR↑ | 21 | 21 | 13 | 23 | 20 | 72 | 62 | 130 |
| DGR↑ | 1 | 2 | 0 | 11 | 1 | 89 | 76 | 562 | |
| OLMo2-32B | SGR↑ | 15 | 21 | 15 | 14 | 27 | 74 | 69 | 130 |
| DGR↑ | 0 | 2 | 0 | 0 | 1 | 55 | 43 | 349 | |
| Qwen2.5-7B | SGR↑ | 10 | 22 | 21 | 6 | 10 | 54 | 56 | 90 |
| DGR↑ | 0 | 10 | 7 | 3 | 1 | 99 | 129 | 651 | |
| Qwen2.5-32B | SGR↑ | 10 | 8 | 6 | 7 | 11 | 35 | 32 | 63 |
| DGR↑ | 0 | 0 | 0 | 2 | 1 | 91 | 99 | 509 | |
| Llama3-8B | SGR↑ | 23 | 52 | 44 | 20 | 47 | 76 | 96 | 159 |
| DGR↑ | 0 | 20 | 21 | 10 | 24 | 50 | 90 | 485 | |
| Llama3-70B | SGR↑ | 4 | 15 | 18 | 10 | 21 | 32 | 37 | 59 |
| DGR↑ | 0 | 8 | 16 | 2 | 15 | 62 | 100 | 360 | |
Table 13: Raw counts for Table 12.

(a)

(b)
Figure 11: Proportion of shallow failures identified with samples relative to those identified with 30 samples, , for from 1 to 30. (a) The left panel shows temperature sampling at and (b) the right panel shows . The dotted line marks . Coverage rises steeply for small and saturates afterward, and at every model reaches about or more at both temperatures. We therefore use as a balance between coverage and sampling cost.
| Model | Metric | Temp. 1.2 | Decoding | Steering | Prompting | Denominator | |||
|---|---|---|---|---|---|---|---|---|---|
| DeCoRe | AD | ITI | CAA | RECITE | GenRead | ||||
| OLMo2-7B | SGR↑ | 35 | 21 | 13 | 32 | 21 | 113 | 97 | 218 |
| DGR↑ | 2 | 2 | 0 | 2 | 0 | 48 | 41 | 474 | |
| OLMo2-32B | SGR↑ | 26 | 21 | 14 | 14 | 28 | 97 | 86 | 199 |
| DGR↑ | 0 | 2 | 1 | 0 | 0 | 32 | 26 | 280 | |
| Qwen2.5-7B | SGR↑ | 28 | 24 | 23 | 9 | 10 | 80 | 90 | 150 |
| DGR↑ | 1 | 8 | 5 | 0 | 1 | 73 | 95 | 591 | |
| Qwen2.5-32B | SGR↑ | 16 | 8 | 6 | 9 | 12 | 57 | 46 | 110 |
| DGR↑ | 1 | 0 | 0 | 0 | 0 | 69 | 85 | 462 | |
| Llama3-8B | SGR↑ | 36 | 55 | 48 | 23 | 54 | 95 | 121 | 229 |
| DGR↑ | 1 | 17 | 17 | 7 | 17 | 31 | 65 | 415 | |
| Llama3-70B | SGR↑ | 16 | 18 | 26 | 11 | 29 | 46 | 58 | 98 |
| DGR↑ | 0 | 5 | 8 | 1 | 7 | 48 | 79 | 321 | |
Table 14: Raw counts for Table 3.
| Model | Category | Decoding | Steering | Prompting | |||
|---|---|---|---|---|---|---|---|
| DeCoRe | AD | ITI | CAA | RECITE | GenRead | ||
| OLMo2-7B | 669 | 679 | 658 | 671 | 531 | 554 | |
| 102 | 91 | 74 | 88 | 61 | 88 | ||
| 567 | 588 | 584 | 583 | 470 | 466 | ||
| Improved | 28.7 (163) | 25.7 (151) | 20.0 (117) | 36.4 (212) | 18.1 (85) | 17.8 (83) | |
| Tied | 23.8 (135) | 39.5 (232) | 60.8 (355) | 25.4 (148) | 6.4 (30) | 3.9 (18) | |
| Worsened | 47.4 (269) | 34.9 (205) | 19.2 (112) | 38.3 (223) | 75.5 (355) | 78.3 (365) | |
| OLMo2-32B | 456 | 464 | 465 | 451 | 350 | 367 | |
| 100 | 96 | 79 | 82 | 60 | 83 | ||
| 356 | 368 | 386 | 369 | 290 | 284 | ||
| Improved | 28.4 (101) | 22.3 (82) | 15.5 (60) | 35.5 (131) | 14.8 (43) | 16.5 (47) | |
| Tied | 32.3 (115) | 40.2 (148) | 69.4 (268) | 33.9 (125) | 6.6 (19) | 6.3 (18) | |
| Worsened | 39.3 (140) | 37.5 (138) | 15.0 (58) | 30.6 (113) | 78.6 (228) | 77.1 (219) | |
| Qwen2.5-7B | 709 | 713 | 732 | 730 | 588 | 556 | |
| 113 | 108 | 102 | 107 | 209 | 95 | ||
| 596 | 605 | 630 | 623 | 379 | 461 | ||
| Improved | 28.5 (170) | 29.1 (176) | 20.5 (129) | 23.6 (147) | 40.9 (155) | 22.1 (102) | |
| Tied | 15.9 (95) | 17.0 (103) | 53.0 (334) | 31.0 (193) | 3.2 (12) | 2.8 (13) | |
| Worsened | 55.5 (331) | 53.9 (326) | 26.5 (167) | 45.4 (283) | 55.9 (212) | 75.1 (346) | |
| Qwen2.5-32B | 564 | 566 | 563 | 560 | 446 | 441 | |
| 89 | 84 | 80 | 83 | 182 | 74 | ||
| 475 | 482 | 483 | 477 | 264 | 367 | ||
| Improved | 21.1 (100) | 25.5 (123) | 23.4 (113) | 31.9 (152) | 33.3 (88) | 9.3 (34) | |
| Tied | 36.6 (174) | 45.2 (218) | 53.8 (260) | 43.4 (207) | 3.4 (9) | 1.6 (6) | |
| Worsened | 42.3 (201) | 29.3 (141) | 22.8 (110) | 24.7 (118) | 63.3 (167) | 89.1 (327) | |
| Llama3-8B | 572 | 579 | 614 | 573 | 518 | 458 | |
| 131 | 127 | 103 | 133 | 169 | 101 | ||
| 441 | 452 | 511 | 440 | 349 | 357 | ||
| Improved | 39.0 (172) | 33.2 (150) | 17.4 (89) | 38.4 (169) | 41.0 (143) | 18.8 (67) | |
| Tied | 25.6 (113) | 25.9 (117) | 65.6 (335) | 22.7 (100) | 11.2 (39) | 5.9 (21) | |
| Worsened | 35.4 (156) | 40.9 (185) | 17.0 (87) | 38.9 (171) | 47.9 (167) | 75.4 (269) | |
| Llama3-70B | 396 | 385 | 407 | 383 | 325 | 282 | |
| 128 | 126 | 119 | 125 | 203 | 97 | ||
| 268 | 259 | 288 | 258 | 122 | 185 | ||
| Improved | 22.8 (61) | 13.1 (34) | 12.5 (36) | 27.9 (72) | 44.3 (54) | 14.6 (27) | |
| Tied | 43.7 (117) | 40.2 (104) | 72.2 (208) | 43.4 (112) | 16.4 (20) | 9.2 (17) | |
| Worsened | 33.6 (90) | 46.7 (121) | 15.3 (44) | 28.7 (74) | 39.3 (48) | 76.2 (141) | |
Table 15: Per-model PRS on unrecovered failures. Among the unrecovered failures, are excluded because the gold token is ranked first by either the baseline or the KEE technique, and for RECITE this includes ranking first in any of its 20 recitation paths. The remaining failures are categorized by Eq. 3, and each category reports in percent followed by in parentheses. For RECITE, each failure is assigned the most frequent category across its 20 recitation paths.
DeCoRe

AD
ITI

CAA

RECITE

GenRead

PRS Improved
PRSTied
PRSWorsened
PRS (%)
Figure 12: Per-model PRS on unrecovered failures in a bar graph.