MemoReason benchmark: parametric memory degrades LLM reasoning performance by up to 15.7%MemoReason: Evaluating the Effect of Parametric Memory on Contextual Reasoning in LLMs
MemoReason uses paired factual/fictional documents to test nine LLMs: reasoning accuracy drops significantly under fictional settings, but failures rarely involve directly copying back the factual answer.
- Large models' high scores on reasoning benchmarks may come from contextual reasoning or from facts memorized in the parameters. The authors aim to distinguish general familiarity bias from the Strong Parametric Shortcut of directly recalling factual answers.
- MemoReason uses 100 Wikipedia excerpt templates with 12 questions each, systematically replacing people, organizations, dates, and other entities with fictional entities of the same kind while preserving the reasoning structure. Answers are categorized as changing with entities, invariant, or refusal; each template generates K=10 fictional variants.
- All nine models show statistically significant drops on Variant reasoning questions, with the largest being 15.7 percentage points (OLMo-3-7B-Instruct's Inference). In failure samples, the Shortcut Rate of directly answering with the factual answer is only 1.0%–3.2%. Accuracy drops as the replacement ratio goes from 0% to 50%, then partially recovers beyond 50%.
- The authors state the mechanism remains unidentified and leave identifying the mechanism behind these differences as an open question. The evaluation covers nine reasoning models, four question types, and three answer types; Judge Match agrees with humans on 200 samples.
- Evaluated models
- GPT-OSS-20BGPT-OSS-120BOLMo-3-7B-ThinkOLMo-3-7B-InstructGemma-4-26B-A4B-itQwen3.5-27BQwen3.5-35B-A3BLlama-3.1-8B-InstructClaude Sonnet 4.6
- Benchmarks
- MemoReason
- Metrics
- AccuracyΔ (fictitious − factual)Exact MatchJudge MatchShortcut RateError ratio
The researchers propose the MemoReason benchmark, which constructs paired reasoning tasks with identical structure but different familiarity by replacing real people, companies, and dates with fictional entities of the same type, to distinguish true contextual reasoning from parametric memory in large language models. Evaluations on recent LLMs show consistent and statistically significant performance drops under fictional settings, up to 15.7%, indicating a clear memory bias. However, targeted analysis of failed questions in fictional settings shows that models rarely give the corresponding real answers directly, suggesting that directly invoking parametric shortcuts is not the main failure mode, and the mechanism by which parametric memory affects reasoning is more complex than simple fact recall. The benchmark provides a controlled framework for studying these mechanisms and extending paired real–fictional evaluation to broader reasoning scenarios.
Paper analysis
What problem does this paper attempt to solve?
Distinguish memory bias from familiarity and the parametric shortcut of directly recalling factual answers.
Do large language models' high scores on reasoning benchmarks come from in-context reasoning or from facts memorized in parameters.
- Scenario: The authors note that models score highly on math, code, common sense, multi-hop QA, and exams in law, medicine, etc., but how much of these scores come from abstract reasoning, pattern matching, or factual memorization remains unclear.
- Two hypotheses: One is a broad memorization bias, where familiar content improves reasoning performance; the other is the Strong Parametric Shortcut Hypothesis, where models skip intermediate reasoning steps and directly recall stored answers.
- Gap in existing work: The authors state that GSM-Symbolic and MATH() use fixed templates with entity replacement to separate math reasoning from memorization; CofCa (Wu et al., 2024a) reports a gap between factual and fictional, but the authors argue this gap can be fully explained by systematic error introduced by two different sets of evidence-question pairs, so strong conclusions cannot be drawn from it.
- This paper's approach: The authors propose MemoReason, a human-verified benchmark that pairs factual reasoning tasks with structurally identical fictional versions: real entities such as names, companies, and dates are replaced by type with fictional entities, task structure and specified reasoning operations remain unchanged, and only context familiarity changes.
- Authors' claim: The authors state that to their knowledge, this is a benchmark comparing model performance on complex, human-verified multi-domain QA data under controlled conditions. Main contributions include the benchmark, a framework for measuring in-context reasoning and parametric shortcuts, an open-source annotation interface, and two results: statistically significant degradation on reasoning questions in fictional settings, and direct recall of factual answers is not the primary failure mode.
What related research exists?
Related work discusses math template replacement, counterfactual reasoning, and knowledge conflicts separately; MemoReason targets document-level pairing.
The introduction organizes related work into memory isolation in mathematical reasoning, shortcuts on semantically rich documents, and earlier knowledge conflicts. The latter part of the main text and the appendix continue to cite counterfactual tasks and document-level evaluation.
- Mathematical reasoning and benchmark leakage: Hendrycks et al. (2021), Lightman et al. (2023), Alshammari et al. (2026) do mathematical evaluation; Chen et al. (2021), Jimenez et al. (2024), Jain et al. (2024) and others do code; Zellers et al. (2019), Talmor et al. (2019) do common sense; Yang et al. (2018) do multi-hop QA; Katz et al. (2024), Nori et al. (2023) do legal and medical exams. The authors use these works to show that high scores alone cannot distinguish reasoning from memory. GSM-Symbolic (Mirzadeh et al., 2025) and MATH() (Srivastava et al., 2024) replace entities in fixed templates to isolate true reasoning from training data leakage. The authors extend this approach to semantically rich documents.
- Document-level shortcuts and counterfactuals: Glockner et al. (2025)'s NeoQA uses generated news events for evidence-based QA. Wu et al. (2024a)'s CofCa is stepwise counterfactual multi-hop QA, reporting a performance gap between facts and fictional; the authors criticize that this gap could be fully explained by two different sets of evidence-question pairs. Wu et al. (2024b) use counterfactual tasks to examine whether models reason or memorize. Longpre et al. (2021) study entity-based knowledge conflicts. Razeghi et al. (2022) examine the impact of pretraining word frequency on few-shot reasoning.
- Robustness and knowledge sources: Stolfo et al. (2023) use a causal framework to quantify robustness of mathematical reasoning; Shrestha et al. (2025) evaluate logical and arithmetic errors over a wide numerical range; Hong et al. (2025) use ontology-guided interventions to evaluate math and programming abilities; Modarressi et al. (2024) use counterfactuals for consistent document-level relation extraction; Monteiro et al. (2024)'s RepliQA evaluates QA on unseen reference content. Tighidet et al. (2024; 2025) probe knowledge sources and the role of entropy neurons in conflicts between parametric and contextual knowledge, respectively.
- Baselines and data sources: The evaluation baseline is the factual version of the same template relative to the fictional version, not an external attack method. Factual documents come from Wikipedia lead sections, with topics covering nine categories; question types are Extractive, Arithmetic, Temporal, Inference; answer types are Variant, Invariant, Refusal. The reliability of Judge Match references the phenomenon reported by Jain et al. (2025) and He et al. (2026) that large model judges are biased toward affirmative judgments; the authors calibrate on 200 samples.
The authors position this paper as: applying Mirzadeh et al. (2025)'s controlled replacement to semantically rich documents, and using factual-fictional pairs from the same template to avoid the systematic error of two different question sets as in CofCa.
How does the paper address this problem?
Under the same template, replace entities with fictional values by rules, then compare paired differences between factual and fictional.
MemoReason first does factual QA, then replaces entities with fictional ones by rules on the same template, using paired differences to measure the impact of parametric memory on in-context reasoning.
Factual data and templates
- Scale: Each item in the factual set D is a Wikipedia lead di plus QA (qi, ai). 100 semantically rich template documents, each with 12 QAs, totaling N=1,200 factual tasks, paired with fictional versions. Table 1 gives the number of task templates, average character length, average number of entities, and average number of rules across nine topics.
- Selection rationale: The authors choose Wikipedia leads on well-known topics and state it is reasonable to assume most large models have seen them in training; documents have high entity density, used to probe parametric memory.
- Four question types: Extractive answers are explicitly stated in the text; Arithmetic requires operations on numbers in the text; Temporal reasons about years, dates, ages, or durations; Inference reasoning is not primarily arithmetic or temporal.
Entities, rules, and annotation
- Templates: Each template contains an annotated document, questions, answers, a set of factual entities Eifactual, and a set of rules Ri that must be satisfied during replacement. Appendix B defines 14 entity types and their attributes so replacement preserves type, e.g., person remains person.
- Rules: Include lower bounds for plural mentions, partial quantities summing to totals, order preservation for numeric and temporal entities, and sampling intervals near factual values to avoid implausible replacements. Figure 1 shows the Apollo Program template with factual and fictional documents, four QA types, replacement tables, and some rules.
- Annotation process: Entity annotation, rules, and QAs are first drafted by an AI Agent supported by Claude Opus 4.6, then independently checked and modified by 15 colleagues familiar with large models, and finally a consensus meeting is held. The authors state nearly 50% of QAs required human intervention, with about 200 hours of annotation, roughly 2 hours per document. Fictional proper names also undergo non-existence checks on Wikipedia and the web, manual review, and deterministic rule validation; the authors state candidate acceptance is unrelated to the evaluated Claude Sonnet 4.6. Appendix K.5 gives the full prompts for generating the candidate pool.
Fictional variants and answer classes
- Generation: Each template generates K=10 fictional variants, totaling 12,000 fictional QAs. Named entities are pooled by document using Claude Opus 4.6, requiring non-existence, pronounceability, type compatibility, and consistency of associated attributes for the same entity (e.g., place names and demonyms). Numeric and temporal entities are solved using SciPy's mixed-integer linear programming, ensuring K variants do not take the same values; days and months are also replaced and manually checked against rules.
- Three answer classes: Variant answers change with replaced entities; Invariant answers are literally unchanged but are still evaluated on the full text with named entities and numeric and temporal values replaced; Refusal asks about information not provided in the document, to see whether models stay within the given context.
Metrics and statistics
- Paired difference: For factual performance Yifactual, the corresponding average performance over K fictional samples is Ŷifictitious, with difference ∆i = Ŷifictitious − Yifactual. Confidence intervals are bootstrapped at the document level to handle dependencies among questions and variants within the same document.
- Scoring: First Exact Match (EM); incorrect ones are then scored with Judge Match (JM), where a large model judges whether the prediction is semantically equivalent to the standard answer. The authors calibrate JM on a random sample of 200 items, with 100% human-machine agreement, and state JM does not bias toward marking answers correct. Appendix C gives calibration details.
Evaluation contract and follow-up experimental design
- Models: Nine recent reasoning models: GPT-OSS-20B, GPT-OSS-120B, OLMo-3-7B-Think, OLMo-3-7B-Instruct, Gemma-4-26B-A4B-it, Qwen3.5-27B, Qwen3.5-35B-A3B, Llama-3.1-8B-Instruct, Claude Sonnet 4.6.
- Shortcut Rate: Among samples that fail only on fictional variants, the proportion of incorrect predictions judged as matching the corresponding factual answer, with the denominator being the number of failures.
- Partial replacement: Randomly replace a certain proportion of entities, keeping the rest factual, with replacements still satisfying template rules, to examine performance when parametric knowledge and contextual assertions coexist. GPT-OSS can also set reasoning effort to low, medium, high.
What experiments did the paper conduct?
Nine models significantly degrade on fictional reasoning questions, but rarely directly answer with factual answers.
Experimental Setup
- Models: GPT-OSS-20B, GPT-OSS-120B, OLMo-3-7B-Think, OLMo-3-7B-Instruct, Gemma-4-26B-A4B-it, Qwen3.5-27B, Qwen3.5-35B-A3B, Llama-3.1-8B-Instruct, Claude Sonnet 4.6.
- Data: 100 templates, 12 questions per template, 1,200 factual tasks; K=10 per template, total 12,000 fictional QA pairs. Table 1's nine topic tasks account for 10.0%–12.0%, totaling 1,200; the full library averages 2,298 characters, 38.0 entities, and 31.2 rules.
- Conditions: full replacement (Section 4.1); replacement ratios 0%, 10%, 20%, 30%, 50%, 80%, 90%, 100% (Figure 2); OLMo CoT comparison; GPT-OSS-20B low/medium/high reasoning effort (Table 3); Shortcut Rate on failure samples (Table 4); leaderboard in Table 5.
- Metrics: average performance change (percentage points) of fictional minus factual, with 95% confidence intervals; accuracy; Error ratio, defined as (1−Accfict)/(1−Accfact); Shortcut Rate. Statistically significant results are boxed and bolded in Table 2. Confidence intervals are bootstrapped across whole documents.
- Evaluation: First Exact Match, then Judge Match for incorrect ones. JM has 100% agreement with humans on 200 random samples. The paper does not state the model name for JM in the main text.
- Replication: each factual template corresponds to K=10 fictional variants; the paper does not report the number of independent repeated runs.
Main Results
Table 2 shows the mean change (percentage points) of fictional minus factual. The table below lists only the reasoning aggregate (Reason.) under Variant and Inference, plus the full fictional accuracy from Table 5. Reason. aggregates Arithmetic, Temporal, Inference. All nine models' Variant Reason. decreases have 95% confidence intervals not containing 0.
Swipe horizontally to read the table
Model Variant Reason. Variant Infer. Fictional accuracy OLMo-3-7B-Think -8.1 -7.4 75.61% OLMo-3-7B-Instruct -7.8 -15.7 66.42% GPT-OSS-20B -7.0 -11.3 87.65% Gemma-4-26B-A4B-it -6.5 -8.1 85.91% GPT-OSS-120B -8.0 -11.8 90.28% Qwen3.5-27B -6.6 -10.0 88.80% Qwen3.5-35B-A3B -6.5 -10.4 86.34% Llama-3.1-8B-Instruct -6.6 -12.6 76.88% Claude Sonnet 4.6 -7.8 -9.6 92.30% According to Table 2 and Table 5. Llama's Variant Reason. confidence interval is [-10.4, -2.8]; Claude's is [-10.8, -5.0].
- Authors' interpretation: All nine models decrease on Variant reasoning questions, all statistically significant. The authors state this is mainly driven by Inference, with significant decreases on the order of 10%; Temporal has 5 models with significant decreases, ranging from 4.4% to 15.6%; Arithmetic has 6 models with significant decreases, ranging from 4.7% to 7.2%. In Table 2, OLMo-3-7B-Think's Inference is -7.4, interval [-14.6, +0.0], and the paper does not mark it as significant.
- Invariant answers and refusals: The reasoning aggregate for Invariant ranges from a decrease of 6.0 points to an increase of 1.5 points; only 3 of the nine models show significant decreases at the 95% level. On Refusal, there are only a few barely significant deviations with inconsistent directions. The authors state there is a non-significant reverse signal in the data: models are more likely to answer despite insufficient evidence in factual contexts.
- Extractive questions: On Variant Extractive, all nine models decrease, with 6 significant. Appendix G.1.2 compares two directions: relative to "fictional wrong, factual wrong", models more often have "factual right, fictional wrong". The authors state this is consistent with familiar entities helping, but it does not mean direct copying of factual answers.
Replacement Ratio and Reasoning Effort
- Partial replacement: Figure 2 plots Qwen3.5-27B, GPT-OSS-20B, Claude Sonnet 4.6 accuracy for replacement ratios from 0% to 100%, with the red dashed line as the factual baseline and the orange band as 95% confidence intervals. Readable endpoints from the graph include Qwen approximately 93.0 to 88.5, GPT-OSS-20B approximately 91.5 to 87.0, and Claude approximately 96.5 to 92.0. The authors state that accuracy decreases from 0% to 50%, then partially recovers toward the fully fictional setting beyond 50%, and interpret the middle range as knowledge conflict on familiar entities. The other four models are in Appendix H.1; the main text gives no numbers.
- CoT: OLMo-3-7B-Think relative to OLMo-3-7B-Instruct shows 15.00 percentage points higher absolute performance on factual reasoning questionscars and 12.62 points higher on corresponding fictional questions; the factual-fictional gap is also 2.38 points larger. The authors state that accuracy improves while robustness does not improve alongside it.
- Reasoning effort: In Table 3, GPT-OSS-20B factual/fictional accuracy for low is 90.75 / 87.65 (gap 3.10), medium is 94.25 / 89.90 (gap 4.35), high is 92.67 / 88.31 (gap 4.36). From low to medium, factual/fictional rise by 3.50 / 2.25 points, then drop by 1.58 / 1.59 points respectively to high, and the paired 95% intervals do not contain 0. The gap at each level is still significant, but the pairwise changes in the gap itself are not significant. The authors state that more reasoning effort is not always better, and extra effort does not eliminate the gap.
Shortcut Rate
- Definition and scope: Table 4 only counts samples that fail on fictional variants. The Reason. aggregate Shortcut Rate ranges from 1.0% (OLMo-3-7B-Think, 994) to 3.2% (Llama-3.1-8B-Instruct, 887); Extractive from 0.0% (Llama, 39) to 1.0%. The numbers in parentheses are the number of failures.
- Authors' interpretation: The authors state that even when models fail under fictional replacement, they rarely directly reproduce the factual answer, so the memory effect in the main analysis should not be understood as simple answer recall. They also state that these results do not identify the mechanism behind the errors.
- Leaderboard: Table 5 sorts by full fictional accuracy. Claude Sonnet 4.6 is 92.30% (factual 95.67%, gap 3.37, error ratio 1.78×, Shortcut Rate 2.01); the lowest is OLMo-3-7B-Instruct at 66.42% (factual 69.25%, gap 2.83, 1.09×, 2.53). Llama's gap is only 1.37 points, but its fictional accuracy ranks seventh. The authors state that high factual accuracy does not equate to benchmark saturation, and achieving similar accuracy on fictional tasks while narrowing the gap remains an open problem.
Other Ablations and Analyses
- Appendix G.1 reports additional robustness and mechanism checks; G.1.1 examines whether the Invariant decrease comes from mapping contexts to memory structures using familiar entities, and the main text does not give numbers for that appendix.
- In Table 2, the significant decreases for Variant Arithmetic are summarized by the authors as 6 models, ranging from 4.7% to 7.2%; OLMo-3-7B-Think's Arithmetic is -1.4, interval [-9.2, +6.5].
- In Table 2, Refusal's Reason. ranges from -5.5 for OLMo-3-7B-Think to +4.2 for OLMo-3-7B-Instruct, with inconsistent directions.
- Figure 2's x-axis replacement ratios are 0, 10, 20, 30, 50, 80, 90, 100; the main text does not list the three models' accuracies point by point.
- Appendix I.1 provides a contrastive example where OLMo-Think answers correctly and OLMo-Instruct answers incorrectly; the main text does not quote the answer.
- Appendix E lists reproducible intervention settings; Appendix F documents model identifiers, inference settings, hardware, and licenses; the main text does not transcribe these numbers.
What are some points that can be further explored?
The authors leave the mechanisms behind performance differences as an open question and use reproducible templates to support subsequent interventions.
Limitations and future directions noted by the authors
- Mechanism not identified: Section 4.4 states that the results do not identify the mechanisms behind these errors; the interaction between prior knowledge and reasoning ability warrants further study, and MemoReason provides a controlled setting (Section 4.4).
- Open question: The conclusion states that identifying the mechanisms behind these performance differences remains an open question (Section 5).
- Use of templates: The conclusion states that reproducible templates support paired comparisons across factual, partially replaced, and fully fictional documents, and also support intervening only on named entities or numeric and temporal values, to test specific explanations while preserving task structure and specified reasoning operations (Section 5).
- Leakage: The conclusion states that regenerating new fictional instances helps mitigate evaluation data leakage (Section 5).
- Benchmark not saturated: Section 4.5 states that on the strongest tested models, achieving accuracy on fictional tasks close to the factual setting and narrowing the gap remains an open challenge.
- Single scores can mislead: Section 4.5 states that fictional accuracy reflects overall reasoning ability, while a smaller fact–fiction gap may indicate robustness or simply poor performance on both sides, so multiple diagnostics should be considered together.
Experimental coverage
- Models and data: The tested models are the nine listed in the main text; the data consists of 100 templates, 1,200 factual tasks, and with K=10, 12,000 fictional QA pairs, across nine topics (Section 2, Table 1, Section 3).
- Question design: Questions are Extractive, Arithmetic, Temporal, Inference; answers are Variant, Invariant, Refusal (Sections 2.1, 2.3). Table 2 reports changes in fictional minus factual across these three dimensions.
- Statistics and evaluation: 95% intervals for differences are computed via bootstrap over entire documents (Section 3). First Exact Match, then Judge Match; the JM calibration sample is 200 items, with 100% human–machine agreement (Section 3). The paper does not report the model used for JM in the main text.
- Additional conditions: Partial entity replacement covers the three models in Figure 2 and the remaining four models in Appendix H.1; CoT compares OLMo-3-7B's Think and Instruct; reasoning effort is reported only for GPT-OSS-20B at low, medium, and high (Table 3).
- Failure analysis: Shortcut Rate is computed only on fictional failure samples; Table 4 gives rates and failure counts per question type. The paper does not report the number of independent repeated runs.
Summarize the main content of the paper
Paired fictional substitutions show familiarity affects reasoning, but models rarely directly copy back factual answers.
MemoReason uses structurally identical fact–fiction document pairs to measure how parametric memory affects large language models' contextual reasoning.
- Problem: High scores may come from contextual reasoning or from facts in the parameters. The authors distinguish memory bias from familiarity, and the Strong Parametric Shortcut: directly answering with the original factual answer when failing.
- Approach: 100 Wikipedia lead templates, 12 questions each. Entities are annotated across 14 categories, and replacements are constrained by human rules to preserve logic and temporal order. Each template generates 10 fictional variants. Answers are divided into those that vary with entities, those that are literally invariant, and those that should be refused. First exact matching, then semantic matching by a judge model.
- Main results: Nine models all show statistically significant drops on Variant reasoning questions, with Reason. aggregated around 6.5 to 8.1 percentage points; the largest drop on Inference is OLMo-3-7B-Instruct's 15.7 percentage points (Table 2). Only 3 models drop significantly on Invariant.
- Shortcut: Among fictional failure samples, the Shortcut Rate for reasoning questions is 1.0%–3.2% (Table 4). The authors argue that directly copying factual answers is not the main failure mode; familiarity affects reasoning through more complex ways.
- Other: Accuracy drops when the replacement ratio rises to about 50%, then partially recovers (Figure 2). CoT improves OLMo's absolute accuracy, but the fact–fiction gap is larger. GPT-OSS-20B improves from low to medium, then falls back at high, with the gap remaining (Table 3). Claude Sonnet 4.6 has fictional accuracy 92.30% and factual 95.67% (Table 5).
- Authors' conclusion: Parametric memory introduces measurable familiarity bias, but usually not direct copying of factual answers. Identifying the specific mechanism remains an open question; reproducible templates are used for further interventions while preserving reasoning structure.