arXiv:2610.41169cs.AIOct 2026

Manuscript Offprint

arXiv:2610.41169

ImplicitHop: Evaluating knowledge integration across context and memory

Alexander Detkov, Dashiel Karish, Matthew Oleynikov, Matt Thomson

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

Abstract

The ability to integrate new information and deduce its consequences is central to learning, understanding, and reasoning in large language models (LLMs). Whether information arrives during training or in-context, models must not only store local facts, but propagate their long-range implications globally. To explore information integration in LLMs, we introduce two complementary natural language benchmarks for large-scale evaluation of deductive reasoning as a function of inference depth. The first is a formal graph benchmark enabling controlled evaluation over a wide range of graph topologies and integration tasks; the second is a knowledge composition benchmark grounded in real-world knowledge graphs. We use these benchmarks to compare knowledge integration from information encoded in context versus information encoded in model weights during pretraining, evaluating a set of open models implicitly, without chain of thought. We find that accuracy decays sharply with increased composition length for both pretrained and in-context knowledge. Information presented in-context, however, substantially outperforms deduction over information encoded in weights. These results quantify a fundamental limitation of current models with direct implications for prompt-based control of agent behavior and for continual learning strategies, and they provide a foundation for developing training, prompting, and integration methods that support deeper reasoning.

1 Introduction

AI systems receive information from pretraining, prompts, tool outputs, and weight updates. To reason and act effectively, knowledge must not only be stored, but combined to infer new information. Models often fail at integrating information, even when they know the necessary facts. A model that learns that X has been elected president may recall the new fact, yet fail to answer “Who is the president's spouse?" even though it knows that X is married to Y [Zhong et al., 2023, Deng et al., 2026]. Models that answer two questions correctly also often fail the question that composes them [Press et al., 2023].

To measure knowledge integration we create two benchmarks over varied tasks that quantify integration by inference depth, measured in hops: the number of facts that must be integrated to reach an answer. In the first, a random graph is given in the prompt as a list of edges, and the model answers questions about the nodes exactly k hops from a start node. In the second, the model answers questions that compose k real Wikidata facts, such as "In what year was the director of Jaws born?" at k = 2. The facts are given in the prompt, stored only in the model's weights, or both, so we can compare how well models integrate knowledge from context and from memory.

Across 15 open models with reasoning off, accuracy falls sharply with hops. On graphs, models name a neighbor of the start node 99–100% of the time, but a node two hops away only 9–40% of the time. On Wikidata, models compose facts given in the prompt at ≥94%\geq 94\% up to k=3k=3, but facts in memory at only 37–64% at k=2k=2 and ≤12%\leq 12\% from k=4k=4, although every fact is known. Models integrate information in context far better than information in their weights, and both only to shallow depth.