← Latest papers
💬 NLP

Multi-Hop Knowledge Composition is Bound by Pretraining Exposure

This paper demonstrates that Large Language Models' failure in implicit multi-hop reasoning stems not from a lack of memorized facts but from a pretraining deficiency, as compositional reasoning capabilities only transfer to individuals explicitly exposed to multi-hop contexts during pretraining.

Original authors: Yannis Karmim, Luis Marti, Djamé Seddah, Valentin Barrière

Published 2026-06-09
📖 4 min read☕ Coffee break read

Original authors: Yannis Karmim, Luis Marti, Djamé Seddah, Valentin Barrière

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you have a super-smart librarian (the AI) who has memorized a massive library of biographies.

If you ask, "When was Thierry born?", the librarian answers instantly.
If you ask, "Who is Zinedine's closest friend?", the librarian also answers instantly.

But if you ask, "When was Zinedine's closest friend born?", the librarian freezes. Even though they know both facts perfectly, they can't connect the dots to give you the answer in one go. They know the pieces, but they can't assemble the puzzle.

This paper investigates why this happens and whether we can teach the librarian to do it just by changing the books they read during their training.

The Core Problem: The "Missing Link"

The researchers call this the Compositionality Gap. It's like having a toolbox full of perfect hammers and nails, but not knowing how to build a chair when asked. The AI can find the facts, but it can't "chain" them together implicitly.

The Experiment: Two Groups of People

To study this, the researchers created a fake world with 100,000 people. They split these people into two groups:

  1. The "Exposed" Group: These people appear in the training books in complex stories. For example, the books might say: "Marcus's friend is Delia, and Delia was born in Paris." This teaches the AI to link "Marcus" to "Delia" to "Paris."
  2. The "Held-Out" Group: These people appear in the books, but only in simple, single-fact stories. The books say: "Marcus was born in London." They never appear in a story that links them to someone else. They are the "strangers" who never get introduced to the complex web of relationships.

The researchers then trained the AI on these books and tested it on questions about both groups.

The Big Discovery: You Can't Teach What You Haven't Seen

The researchers tried nine different ways to "augment" the training data (changing how the stories were written, using natural language, or using structured data like RDF).

Here is what they found:

  • For the "Exposed" Group: When the AI saw the complex stories during training, it got much better at answering multi-step questions. If it learned that "A is friends with B" and "B was born in X," it could answer "When was A's friend born?" correctly.
  • For the "Held-Out" Group: No matter how much they tweaked the training data, the AI failed completely on this group. Even if the AI knew the facts perfectly, it couldn't connect them if the specific person had never appeared in a "complex" story during training.

The Analogy:
Imagine teaching a child to solve math problems.

  • Exposed Group: You show the child a problem: "If John has 2 apples and gives 1 to Mary, how many does Mary have?" You do this many times. The child learns the logic of sharing.
  • Held-Out Group: You show the child a different child, "Bob," but only ever ask, "How many apples does Bob have?" You never ask about Bob sharing apples.
  • The Test: When you ask, "If Bob gives an apple to Alice, how many does Alice have?" the child (the AI) fails. They know Bob has apples, but because they never saw Bob in the context of sharing, they can't apply the logic to him.

Key Takeaways

  1. It's a Training Issue, Not a Memory Issue: The AI isn't failing because it's "dumb" or doesn't have enough memory. It fails because it was never exposed to the specific type of reasoning for those specific people during its "schooling" (pretraining).
  2. Exposure is Mandatory: To learn how to connect the dots, the AI must see the dots connected before it is tested. You cannot teach the AI to reason about a person it has never seen in a complex context.
  3. Explicit vs. Implicit: The researchers tried writing the stories in two ways:
    • Explicit: "Marcus's friend Delia was born in Paris." (Naming the friend).
    • Implicit: "Marcus's friend was born in Paris." (Hiding the friend's name).
      They found that Implicit (hiding the name) was actually better for teaching the AI to reason, because it forced the AI to figure out the link itself, rather than just reading the answer. However, even the best training methods failed for the "Held-Out" group.

The Conclusion

The paper concludes that implicit multi-hop reasoning is bound by pretraining exposure.

If the AI hasn't seen a specific person (or entity) in a "multi-step" context while it was learning, it will likely fail to reason about that person later, no matter how smart the model is or how much data you feed it. The ability to connect the dots isn't a general superpower the AI develops on its own; it's a specific skill it only learns for the specific characters it has practiced with.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →