Manuscript Offprint

arXiv:2609.35312

MemoReason: Evaluating the Effect of Parametric Memory on Contextual Reasoning in LLMs

Zineddine Tighidet, Andrea Mogini, Jiali Mei, Patrick Gallinari, Benjamin Piwowarski

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

Large Language Models (LLMs) perform well on reasoning benchmarks, but it remains unclear whether this reflects genuine contextual reasoning or reliance on facts memorized in their parameters. We investigate this by distinguishing two possibilities: a broad memorization bias, where familiar content improves reasoning performance, and the Strong Parametric Shortcut Hypothesis, where models skip reasoning entirely and recall stored answers. To test these effects, we introduce MemoReason, a human-curated benchmark that pairs factual reasoning tasks with structurally identical fictitious versions where real entities like people, companies, or dates are systematically replaced by fictitious ones of the same type. This preserves task structure and specified reasoning operations while varying the familiarity of the context, allowing controlled measurement of how the parametric memory affects reasoning. Our evaluation of recent LLMs reveals consistent and statistically significant performance drops of up to 15.7% in the fictitious setting, demonstrating a clear memorization bias. However, a targeted analysis of questions failed in the fictitious setting shows that models rarely respond with the corresponding factual answer, indicating that direct parametric shortcuts are not the dominant failure mode. These findings suggest that parametric memory influences reasoning through mechanisms more complex than simple factual recall. MemoReason provides a controlled framework for studying these mechanisms and for extending paired factual–fictitious evaluation to broader reasoning settings.

1 INTRODUCTION

Large Language Models (LLMs) have demonstrated remarkable performance in complex reasoning tasks by scoring highly on benchmarks involving math (Hendrycks et al., 2021; Lightman et al., 2023; Alshammari et al., 2026), code generation (Chen et al., 2021; Jimenez et al., 2024; Jain et al., 2024; Zhuo et al., 2025; Ye et al., 2025), commonsense inference (Zellers et al., 2019; Talmor et al., 2019), multi-hop question answering (Yang et al., 2018) and professional domain exams such as law and medicine (Katz et al., 2024; Nori et al., 2023). However, the extent to which this performance is due to abstract reasoning, pattern matching or factual memorization remains an open question. In this work, we propose an approach to better elucidate this question by studying LLM performance on reasoning tasks under controlled contextual information environments.

memorization bias in Reasoning & the Strong Parametric Shortcut Hypothesis. Some studies show that, when performing reasoning tasks, LLMs can over-rely on their parametric memory – i.e. the knowledge stored in the model parameters during training – rather than on contextual knowledge (Longpre et al., 2021; Wu et al., 2024b). In this work, we begin by testing whether familiarity with the contextual information being processed biases the ability of a model to perform reasoning tasks. This relates to the question: what is the impact of parametric memory on the reasoning performance

*Corresponding author: zineddine.tighidet@sorbonne-universite.com of LLMs? If memory plays an important role, reasoning performance should degrade when the model is exposed to new information that has similar textual patterns to the training data but fundamentally different meaning. Henceforth we will refer to such information as fictitious (as opposed to factual information).

Additionally, we explore the Strong Parametric Shortcut Hypothesis: the idea that LLMs leverage embedded memory as an easy way out of reasoning tasks. In short, the hypothesis states that, rather than performing all the intermediary reasoning steps logically necessary to arrive at the final answer (e.g., arithmetic, relational inference, temporal reasoning), models proceed by wrongly recalling a memorized response.

For mathematical reasoning, works such as GSM-Symbolic (Mirzadeh et al., 2025) and MATH () (Srivastava et al., 2024) have successfully isolated true reasoning from memorization (due to benchmark leakage into training data) by replacing entities within fixed problem templates, thereby maintaining the same task structure and complexity.

For reasoning tasks over semantically-rich documents, recent literature has sought to investigate shortcuts (Glockner et al., 2025) and memorization biases (Wu et al., 2024a). In the case of the CofCa benchmark by Wu et al. (2024a), a difference in reasoning performance between factual and fictitious examples was reported. However, the gap they reported could be fully explained by the unaccounted systematic error introduced by the fact they used two distinct sets of evidence-question pairs for the factual and the fictitious data. Hence, a strong conclusion on the role of parametric memory in reasoning cannot be drawn from their work.

In this paper, we set out to close this gap by applying the robust approach by Mirzadeh et al. (2025) to semantically-rich documents. We do so by introducing MemoReason (Memorization in Reasoning), a novel, high quality human-curated benchmark designed specifically to test memorization biases in reasoning and the Strong Parametric Shortcut Hypothesis under strictly controlled conditions.

We evaluate LLMs on reasoning tasks using known factual entities and subsequently test them on the exact same tasks where those familiar entities are replaced with fictitious ones under rule constraints. To the best of our knowledge, we are the first to propose a benchmark that compares LLM performance on a complex, human-curated, multi-domain question-answering dataset under these controlled conditions. We make the following main contributions:

• We introduce MemoReason, a novel reasoning question-answering benchmark that pairs factual tasks with structurally identical fictitious counterparts.

• We formulate a rigorous framework to evaluate how much LLMs rely on contextual reasoning and parametric shortcuts using this novel benchmark.

• We open-source the customized annotation interface used to build MemoReason as a commitment to help future work aiming to extend our approach.

• We show that LLMs exhibit significant performance drops on reasoning questions when moving from factual to fictitious settings.

• We verify that direct factual information recall (the Strong Parametric Shortcut Hypothesis) is not the dominant memorization bias in recent LLMs

References (32)