Learning a Fact Is Not Learning How to Retrieve It
Abstract
A model trained on "The capital of X is Y" may produce "Y" after "The capital of X is" but fail after "The capital of X:." We call these different ways of eliciting the same fact request forms. To separate learning a fact from retrieving it, we train two models in two stages. In the first stage (request-form training), one model sees each fact in five forms and the other sees the same facts only as statements. In the second stage (target-fact training), both receive identical training on new facts, all as statements. Both then retrieve the new facts almost equally well from statements, but differ sharply on other request forms. Thus, a model can learn how to retrieve through a request form before it learns the facts. To understand this difference, we examine the hidden state immediately before the answer, which we call the context state. When given two different request forms for the same fact, the model trained on five forms in stage one produces more similar context states than the model trained on statements alone in that stage. Changing this state at retrieval time can enable or prevent retrieval of an already learned fact, and the same effect transfers across facts and factual relations, such as capitals and currencies. To test its role during learning, we change the context state only during target-fact training. This intervention changes later retrieval without intervention at test time. Together, these results show that later retrieval depends on earlier request-form experience and the context state during fact learning.
Create a lesson
Related papers
BRAG: Bayesian Retrieval Augmented Generation
Shared title terminologycs.AIJavier Movellan, Manjot Bilkhu, Young-mok Jung et al.
Automatic Occupational Coding through Retrieval-Augmented Generation
Shared title terminologycs.AIMathijs A. Langezaal, Egon L. van den Broek, Lukas P. A. Arts et al.
RAGStress: A controlled benchmark for evaluating retrieval-augmented generation under knowledge-base degradation
Shared title terminologycs.AIShiqi Yang, Jiekai Ma, Gaoyuan Du
RAGrasp: Geometry-Semantic Template Retrieval and Grasp Transfer
Shared title terminologycs.AIShenzhe Zhu, Chengxiao He, Jan Harder
Retrieval-Augmented Large Language Model Decision-Making for Autonomous Driving Guided by Chinese Philosophical Wisdom
Shared title terminologycs.AIXiaojun Bi, Xiaoyuan Ma, Yiwen Sun et al.
Lost in the Request: How Communication Variation Disrupts Retrieval and Action in Email Agents
Shared title terminologycs.AIFeng Chen, Ritam Dutt, Atnaz Taheri et al.