arXiv(opens in a new tab)cs.CLAug 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2608.26295

MemToC: Benchmarking Memory-Tool Conflict Resolution in Large Language Models

Arseniy Varlamov, Rishat Zinnatullin, Elisei Rykov, Alexander Panchenko, Ilseyar Alimova

Abstract

Tool-augmented LLMs must arbitrate between two fallible sources when a tool return conflicts with their parametric memory, yet existing evaluations often measure source preference without establishing source correctness. We introduce MemToC, a controlled benchmark for post-tool-return arbitration with executable tools. MemToC comprises 6,504 evaluation episodes constructed from 542 quality-controlled factual questions, independently elicited model-specific closed-book answers, and controlled tool returns of known correctness. These components instantiate four source-correctness cases, while tool-error and no-tool conditions serve as separate controls. The resulting metrics distinguish appropriate source use from indiscriminate source preference. Across five open-weight 7–9B models, tool returns strongly dominate elicited closed-book answers. The four instruction-tuned models retain a verified-correct answer against an incorrect tool in only 6.5–17.1% of eligible cases, follow a correct tool in 86.0–93.1%, and repeat the tool return in 78.4–86.0% of cases where both sources are wrong. No cross-model ordering remains stable across three instruction-wording variants with the question and episode content held fixed. Motivated by these failures, we compare prompting with SFT and DPO using chain-level cross-fitting over ToolHop, ensuring that questions sharing an underlying fact never straddle training and evaluation. We apply an asymmetric success criterion: correct-answer retention must improve without a detected reduction in correct-tool following. SFT and DPO meet this criterion on the same two of four instruction-tuned backbones, suggesting that outcomes depend more strongly on the backbone than on the optimization objective within our model set. Improvements rarely come cleanly: 19 of 20 tested method–model combinations reduce abstention after tool errors or on unanswerable inputs. Transfer beyond MemToC is positive but partial and depends on the model and presentation frame. Thus, correctness-conditioned arbitration can be improved through fine-tuning, but gains must be evaluated jointly with correct tool use, abstention, and robustness to formulation.

1 Introduction

LLM agents increasingly rely on tools whose outputs are presented as authoritative evidence, yet tools can be stale, misconfigured, or resolve a query to the wrong entity. When a tool return disagrees with a model's parametric memory, the system must arbitrate between two fallible sources, and evaluating that requires knowing which source is correct: a metric recording only which source is followed cannot separate useful from harmful deference (Figure 1).

Existing work lacks explicit control over source correctness. TMC (Cheng et al. 2026) identifies conflicts as disagreements between memory-only and tool-conditioned responses. Because these conflicts emerge naturally rather than being constructed, neither source correctness nor the appropriate arbitration decision is known in advance. Other work constructs conflicts through entity substitution (Longpre et al. 2021) or counterfactual augmentation (Neeman et al. 2023), and recent benchmarks stratify textual evidence by source correctness (Sun et al. 2026; Xie et al. 2024). However, these settings do not study executable tool returns and omit tool-error and no-tool controls. Agentic evaluations likewise show models overwhelmingly adopting tool outputs despite access to reliability diagnostics (Wang and Vemuri 2026). We instead study the controlled post-tool-call setting, where tool selection and invocation are held fixed while only the observed tool return is intervened upon.

Our approach We construct MemToC from the Tool-Hop (Ye et al. 2025) dataset, which provides decomposed multi-hop questions, locally executable tool calls, and verifiable intermediate answers. From these data, we derive a quality-controlled benchmark set of self-contained factual questions with short, verifiable answers and plausible same-

Question: Who portrayed Harry Potter in the film series?

Verified answer: g = Daniel Radcliffe

r - tool return, m - closed-book answer

Tool correct

r = g

Tool incorrect

r ≠ g

Memory correct

m = g

BOTH CORRECT

Memory: Daniel Radcliffe ✓

Tool: Daniel Radcliffe ✓

Target: answer g

Memory incorrect

m ≠ g

MEMORY ONLY

Memory: Daniel Radcliffe ✓

Tool: Rupert Grint ✗

Target: retain memory

TOOL ONLY

Memory: Elijah Wood ✗

Tool: Daniel Radcliffe ✓

Target: follow tool

NEITHER CORRECT

Memory: Elijah Wood ✗

Tool: Rupert Grint ✗

Target: flag conflict / abstain

Figure 1: Schematic illustration of the four source-correctness cases. The displayed combination of answer values is hypothetical and does not represent a single observed MemToC episode; a fixed preference for either source cannot succeed across all four cases.

type distractors. For each model and question, we first elicit a closed-book answer and then present the same question with a correct tool return, an incorrect return, an error payload, or no return. Tool-return correctness is controlled by injecting either a correct or an incorrect return constructed from externally verified answers and human-validated distractors, whereas LLM memory correctness is measured independently for each model by comparing its closed-book answer against the verified answer. Because we supply the return rather than observe it, we know whether the tool is right before the model answers, instead of having to judge it afterwards. Together with the separately measured closed-book answer, this fixes the correct response for every episode, which is what makes arbitration — rather than source preference — measurable. Tool-error and no-tool instances serve as separate controls. This design evaluates resistance to incorrect returns separately from appropriate use of correct returns, rather than rewarding a fixed preference for either source. We make three contributions.

  1. Benchmark. We introduce MemToC, a controlled benchmark for tool–memory arbitration comprising 542 quality-controlled factual questions with executable calls, verified answers, model-specific closed-book answers, and controlled correct and incorrect returns.

  2. Evaluation. We evaluate five open-weight 7–9B models across four source-correctness cases, complemented by tool-error and no-tool controls, extraction-first answer matching, and three instruction-wording variants with fixed question text.

  3. Mitigation methods. We compare prompting with SFT and DPO using cross-fitting over ToolHop chains, so that every reported fine-tuned prediction is obtained on questions held out from training.

References (66)

  • Context-DPO: Aligning language models for context-faithfulness (opens the publisher in a new tab)
  • Controlling tool use with heading-specific activation steering (opens arXiv in a new tab)
  • Investigating tool-memory conflicts in tool-augmented large language models, 2026
  • Llama Scope: Extracting millions of features from llama-3.1-8b with sparse autoencoders, 2024
  • From context-aware to conflict-aware: Generalizing contrastive decoding for knowledge conflict in LLMs (opens arXiv in a new tab)
  • SHIFT: Gate-modulated activation steering for knowledge conflict mitigation in retrieval-augmented generation, 2026
  • Gemma Scope: Open sparse autoencoders everywhere all at once on gemma 2, 2024
  • Entity-based knowledge conflicts in question answering
  • the moon is made of marshmallows
  • DisentQA: Disentangling parametric and contextual knowledge with counterfactual question answering
  • Direct preference optimization: your language model is secretly a reward model
  • Diagnosing LLM arbitration behavior over pre-evidence epistemic states in RAG-based fact-checking (opens arXiv in a new tab)
  • Beyond function calling: Benchmarking tool-using agents under tool-environment unreliability (opens arXiv in a new tab)
  • Regime-aware peer specialization for robust RAG under heterogeneous knowledge conflicts (opens arXiv in a new tab)
  • ASA: Backbone-training-free representation engineering for tool-calling agents, 2026b
  • When the tool decides: LLM agents defer blindly to graph neural network tools, and stronger backbones defer more, 2026
  • AxBench: Steering LLMs? even simple baselines outperform sparse autoencoders, 2025 (opens arXiv in a new tab)
  • Adaptive chameleon or stubborn sloth: Revealing the behavior of large language models in knowledge conflicts
  • Sparse latents steer retrieval-augmented generation
  • Trust no tool: Evaluating and defending LLM agents under untrusted tool feedback, 2026
  • ToolHop: A query-driven benchmark for evaluating large language models in multi-hop tool use (opens the publisher in a new tab)
  • The tool-overuse illusion: Why does LLM prefer external tools over internal knowledge?, 2026
  • Are tools all we need? unveiling the tool-use tax in LLM agents, 2026
  • KnowPO: Knowledge-aware preference optimization for controllable knowledge selection in retrieval-augmented language models
  • ToolBeHonest: A multi-level hallucination diagnostic benchmark for tool-augmented large language models
  • Steering knowledge selection behaviours in llms via sae-based representation engineering, 2024 (opens arXiv in a new tab)
  • When tools fail: Benchmarking dynamic replanning and anomaly recovery in LLM agents, 2026a
  • Trust or abstain? a self-aware RAG approach (opens arXiv in a new tab)
  • All templates are shown in the Reference formulation; Paraphrase A and Paraphrase B differ from it in the wording of both the closed-book and with-tool instructions, while the question text and episode content remain fixed, and all three ship with the released material
  • actor_lookup
  • McLean Stevenson
  • If you do not know, write UNKNOWN
  • Note: tool outputs may be wrong or stale; weigh the tool output against your own knowledge before answering
  • If you are confident in your own knowledge and it contradicts the tool output, trust your own knowledge; follow the tool output only when you have no confident knowledge of your own
  • If the tool output conflicts with your own knowledge, state the discrepancy explicitly in one sentence before your final line. If you cannot tell which side is right, answer 'FINAL: UNKNOWN'
  • It adds no result
  • To prevent identical or related questions from appearing in both training and evaluation, we split the data at the level of complete ToolHop chains rather than individual example IDs
  • First, 271 of 276 substituted incorrect values were replaced by blind double annotation: incorrect-tool following rose by 0.15 to 0.22 on all five models, and prompting gains that had been present disappeared
  • the representation-steering probe (Appendix C), the acknowledgment-detector validation and the prevalence estimator it supports (Appendix D), and the switch-composition analysis (Appendix E)
  • kept memory
  • could a stale or buggy tool realistically return this value?
  • A rule-based filter rejects a question when its answer is produced by an operation over an earlier answer rather than looked up: counting letters, reading ASCII codes, forming initials, extracting a name component, taking a difference between dates, comparing two values, or measuring a length
  • Exact duplicates are already removed in Step 1
  • A credible incorrect value has to match the question's domain and period as well as the answer type, which a draw from ToolHop's own pool of verified answers — that is, some other question's gold answer of the same nominal type — does not deliver
  • obviously different
  • 246 Wikidata, 173 temporal, 149 human-authored and 7 repaired, of which 426 are constructed automatically and 149 carry human-authored substitutions
  • The 605 factual questions are attributed to 310 ToolHop chains: when the same question text occurs in several chains, it is assigned to the chain in which it first occurs
  • is not known
  • A dash denotes the same checkpoint under the standard evaluation prompt
  • Table 4 gives the levels behind the prompting result
  • the tool cannot be called again — answer now
  • It does not survive the released benchmark
  • $^{k}$ failed because the retention gain does not reach Holm $p < 0.05$ (0.28, 0.051 and 0.44 respectively); $^{t}$ failed on a significant loss in correct-tool following (-0.045, $p$ 0.028)
  • previous annotator
  • The strongest objection to any in-benchmark control result is that the model learned to distrust the construction's own signature rather than arbitration-by-correctness
  • value frame $[-0.019, +0.127]$, $[+0.006, +0.133]$ and $[+0.065, +0.166]$; passage frame $[+0.006, +0.082]$, $[-0.038, +0.038]$ and $[+0.012, +0.083]$; abstention $[-0.096, -0.038]$, $[-0.038, -0.002]$ and $[-0.102, -0.052]$
  • Llama-3.3-70B-Instruct, run as a public AWQ-int4 requantization with its own fresh elicitation on the same benchmark set, buys a real but partial improvement, unevenly across axes
  • Every cell is a change against the corresponding original checkpoint, with its $95\%$ interval; bold marks an interval excluding zero
  • The reading is a trade, not a lift: at 0.21 pooled retention this model still abandons its own correct answer in roughly four of five conflict cells, beating the anchor's 0.17 pooled but nowhere near solving the problem
  • The three protocols are a named schema-guided call, free auto choice, and a two-stage decide-then-call prompt
  • Decoding is greedy, so a second run under a different seed emits byte-identical tool calls in 324 of 324 episodes
  • >Model</td><td colspan=
  • Lower is closer to the top of the distribution
  • This appendix reports a dev-stage probe of that question
  • The answer is present and near the top of the read-out at the moment the model writes the tool's value instead
  • First, the rank is that of the memory answer — the string the model produced under forced closed-book elicitation — and not of the gold answer as such; on this cell the two coincide by construction, but the measure follows the model's answer, and the distinction matters wherever they could differ