arXiv:2609.00753cs.LGSep 2026

Manuscript Offprint

arXiv:2609.00753

How Do Language Models Choose Between Context and Memory?

Benjamin Shih, John Winnicki, Arianna Cao

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

Abstract

When contextual information conflicts with the knowledge stored in model parameters, activation directions can be used to decode and steer which source the model follows. However, steering along a direction does not establish causality: whether the unedited model would naturally use that direction or whether the direction is reusable across tasks. We test these distinctions through counterfactual experiments in unambiguous settings. First, we estimate authority directions from agreement prompts, in which the context and parametric knowledge support the same answer. We then interchange naturally occurring coordinates along these directions between matched prompts that direct the model to prioritize either the supplied context or its parametric knowledge. Across Qwen, Llama, and OLMo models, this intervention reproduces 30–68% of the authority-induced shift in source choice, whereas matched controls reproduce almost none. To test cross-task reuse, we learn authority directions on two tasks separately and see that cross-task transferability closes only 9% of the authority gap while the local direction learned on the given task closes 57%. These results distinguish authority representation, causal use, and cross-task causal reuse, and suggest that authority computations may be task-dependent, rather than reusable across tasks.

1 Introduction

As language models scale, the computations that govern their behavior become increasingly difficult to interpret. The knowledge stored in the model weights, which we refer to as parametric memory, can often differ from the information supplied in context, creating a context-memory conflict [Zhao et al., 2025]. We seek to identify which internal computation controls the choice between following context and parametric memory, and whether that computation is reused across tasks.

Prior work on context-memory arbitration has shown that language models contain low-dimensional representations that can control whether predictions follow contextual information or parametric knowledge. Minder et al. [2025] identify a one-dimensional context-sensitivity “knob,” Zhao et al. [2025] use sparse features to steer, and Ortu et al. [2024] trace how competing contextual and parametric mechanisms evolve through the network. More recent methods use activation steering or learned gates to control between the two [Anand et al., 2026, Li et al., 2026]. Complementary work on source authority, Joswin et al. [2026], Mammen et al. [2026] show that the models respond systematically to late-layer authority-related source signals. Put together, these results demonstrate that source choice can be decoded and externally steered.

The central gap is that steerability and decodability do not establish endogenous causal use. A representation may be easy to read or powerful to steer along without being part of the computation the unedited model actually uses to choose between context and memory. Basu et al. [2026], Srivastav [2026] examine this gap between representational accessibility and causal use, and Joshi et al. [2026],

Preprint.

Figure

Figure 1: The context asserts purple, which conflicts with the model memory supporting green for the color task. The model response varies across high and low-authority framings.

Opielka et al. [2026] illustrate the broader problem that these representations may not transfer across tasks or prompt formats.

Our core contributions are as follows: 1) we test whether natural authority-related directions influence whether the model follows context or its memory, 2) we investigate whether these directions can transfer on different tasks, and 3) we separate authority information that transfers across tasks with whether the information is causally usable by the model.

References (36)