Can LMs Learn New Entities from Descriptions? Challenges in Propagating Injected Knowledge
Paper · 2023 · Yasumasa Onoe, Michael Zhang, Shankar Padmanabhan et al.
Summary
A language model trained before a television series appeared may already know what people do with television series. What it lacks is the connection between the new title and that familiar category. The authors ask whether a short definition can establish that connection in the model’s weights and help it answer a different question later. They call the task entity knowledge propagation. An edit can teach the model to repeat a statement about a new entity. The stronger test is whether that statement changes predictions about the entity in other contexts, including ones that ask for information the definition leaves implicit.
The paper tests this with two benchmarks. Entity Cloze By Date supplies Wikipedia definitions and sentences about entities dated between 2020/01 and 2021/09. The task is to assign probability to a missing passage in each sentence. A subset called ECBD-easy keeps cases in which the missing passage appears word for word in the definition. The authors also create Entity Inferences, a multiple-choice benchmark with questions designed to be answerable once the definition is known. Some ask for a stated attribute, such as a show’s genre. Others ask for an implication that draws on familiar knowledge, such as whether the show is something people can watch.
The authors compare ordinary fine-tuning with the editing methods MEND and ROME. They measure whether an edit improves predictions about its target and how it affects predictions about other entities. Full fine-tuning raises Entity Inferences accuracy by more than 20 points on each of the tested systems, with notable losses on unrelated probes for some of them. On the full ECBD evaluation, weight edits produce no substantial improvement in the score for the missing text. GPT-Neo benefits from fine-tuning and MEND on ECBD-easy, where the answer already occurs in the definition. Across full ECBD, broader word overlap between the definition and the probe shows almost no discernible relationship with the change in that score.
Putting the relevant definition before the probe at evaluation time consistently helps. The same information can therefore be useful when the system can read it, even in settings where an edit to its weights yields little benefit. Repeatedly supplying definitions makes inputs longer, so the authors use this comparison to show what an editor could gain from the information. The study concerns isolated updates for emerging entities in English. The authors release the code and benchmarking data under the name Entity Knowledge Propagation.
Deep dive: Can LMs Learn New Entities from Descriptions? Challenges in Propagating Injected Knowledge
Can a language model learn about a new entity from a short description and use what it learned to answer questions beyond the description? · about 36 minutes to read
The problem and its context
New information has to travel beyond the sentence that introduced it
Pretraining gives a system a body of knowledge it can draw on when completing text or answering a question. That body of knowledge has a date. New people, works and events come into existence, and some of the facts about familiar people or organizations change. In a downstream task, a question about the present can reach a system whose training describes an earlier world. The paper takes up one part of that mismatch. It examines new entities for which a short description can be supplied and asks how much of the description the system can use once an update has been made.
Learning a new name is only part of what a reader does with a definition. A category in the definition connects the name to existing knowledge. A reader who learns that an unfamiliar title names a series can use what they already know about series in a sentence about the new title. The definition need not list the ordinary activities associated with that category. The authors use this kind of inference to make a practical demand on a weight edit. The parameters should carry enough information about the entity for the system to respond appropriately when a later sentence asks for something beyond the wording used during the update.
There are degrees of transfer even within this simple example. A later sentence might ask for the genre named in the description, but express the question differently. Another might ask what a person would do with the work, making the genre beside the point and the broader category useful. A Wikipedia sentence could concern a production detail that the description barely hints at. All three sentences mention the same entity. The evidence needed to complete them differs. The paper deals with that variation by using both deliberately written probes and naturally occurring ones, and by identifying cases where the answer is already present in the information used to update the weights.
The question matters because a targeted edit is meant to be cheaper than rebuilding a system whenever the world changes. If an editor must be given every statement a user might later ask about, a definition buys little beyond its own content. If an editor can connect new names to knowledge the system already uses, a single update might serve several future requests about the same entity. Whether that happens is an empirical question. A system can lower its error on the sentence used for training and still place much the same probabilities on a different sentence about the same subject.
What earlier evaluations asked of an edit
In the editing research described by the authors, an update commonly specifies a factual association to alter. A birthplace is a simple example. The editor is given the new place, and the evaluation checks whether the edited system gives that place when the question is reworded. This tests whether the intended association survives changes in phrasing. A parallel test examines predictions on unrelated material to see how far the effects of the edit reach. The paper retains this concern with side effects and changes what counts as success on the edited subject. Earlier examples of the editing approach include Editing Factual Knowledge in Language Models and Fast Model Editing at Scale.
Counterfactual editing also gives the paper a point of comparison. The example it discusses assigns the Eiffel Tower a different location. Once the new location has been specified, an evaluation can ask whether the changed association is available in another context. There is already a familiar subject to which the editor can attach the new information. An emerging entity presents a different starting point. The editor receives introductory information about a subject with no established entry in the training history assumed by the task. A general definition can also contain several useful details, which makes choosing a single relation and object a consequential part of representing the edit. The counterfactual approach is discussed in Locating and Editing Factual Associations in GPT.
The authors place targeted editing alongside several other approaches to keeping knowledge current. Work on continued pretraining and domain adaptation treats new material as a body of text from which a system can keep learning. Temporal benchmarks check what a system knows as facts change, using formats that include open retrieval and questions with missing text. The earlier ECBD study organizes entities by when they appeared and uses those dates to investigate how systems handle entities likely to be unfamiliar. The new paper turns that evaluation into an intervention. A particular description is supplied, the system is changed or given the description in context, and the resulting predictions are compared with its starting behavior. Related work on time-dependent facts includes Time-Aware Language Models as Temporal Knowledge Bases.
Another line of research asks where a factual association is represented. A targeted editor might use that information to change a small part of the system. The paper discusses prior work that interprets feed-forward components as storing associations and work that uses the location of an association to guide a weight change. This gives a concrete reason to investigate how well localization helps with an unfamiliar subject. Finding a place where an existing association can be revised and attaching a useful representation to a newly introduced name put different demands on the same mechanism. The storage interpretation is explored in Transformer Feed-Forward Layers Are Key-Value Memories.
The paper also describes related experiments on using an entity description to generate consistent statements. Those experiments concern what a system can produce with a description supplied to it. Other work cited by the authors compares placing information in a prompt with learning it through weight changes. Together these lines of work motivate the paper’s two ways of delivering the same description. Direct access gives an estimate of its usefulness for the task at hand. An edit asks whether enough of that usefulness can be recovered later, when the probe arrives by itself.
The method, step by step
From a definition to a prediction
Each trial begins with an entity, a short definition and a separate sentence containing the entity’s name. The separate sentence is the probe. Some text is missing from it, and the evaluation records the intended completion. A task presented this way is called a cloze task. For a newcomer, the important distinction is between the material used to teach the system and the material used to check what it learned. The definition supplies the information for the edit. The probe supplies the new context in which that information might matter.
Consider the television example. At the update stage, the definition identifies the named work as a series. At the evaluation stage, a sentence naming that work leaves an activity unspecified. A sensible completion connects the category in the definition with an ordinary activity involving that category. If the probe instead asks for a genre that the definition names, it tests a more direct use of the source. Both cases can use the same experimental procedure. What differs is the relationship between the words the system encountered during the update and the words whose probability the probe measures.
The untouched checkpoint gives the initial prediction. A checkpoint is the saved set of weights from which the authors begin. One condition changes those weights using the definition, then scores the probe. Another condition supplies the definition immediately before the probe and uses the untouched weights. A third prepends an unrelated definition as a comparison. For the weight-edit conditions, the authors also score probes about other entities after the update. This shows how much the same intervention changes performance away from the intended subject.
How entity knowledge propagation is tested
The steps in order.
What the task formalizes
The paper treats the predictor as assigning probabilities to pieces of text. Its central notation expresses a conditional prediction.
fθ(yₑ ∣ xₑ)
Here f is the predictor and θ is its set of parameters. The subscript ₑ ties the input and completion to entity e. The probe is xₑ, a sentence or text fragment that explicitly names that entity. The sequence yₑ is the completion being scored. The vertical bar means “conditioned on,” so the expression concerns the probability assigned to the completion when the system receives the probe.
A left-to-right system can score a continuation after the probe text it receives. A span-filling system can get a sentence with a mask and predict material that fits there. The notation covers both cases. The architectures make different portions of a sentence available for predicting the missing words, which matters when comparing their results. The common element is the test of an expected completion associated with the named subject.
⟨e, dₑ, xₑ, yₑ⟩ ∈ 𝒟
The angle brackets collect the parts of an example, and ∈ means that the example belongs to dataset 𝒟. The entity is e, its definition is dₑ, its probe is xₑ, and the recorded correct completion is yₑ. The paper calls that completion the gold span. A span can be a word or a longer piece of text. Keeping the definition and gold completion as separate fields lets the authors examine how often the latter is already present in the former.
θ′ ← update(θ, e, dₑ)
The arrow assigns the output of the update to θ′, the parameters after editing. The operation update starts from the original parameters θ and uses the entity e and its definition dₑ. The probe and its completion serve as evaluation material. In examples with exact answer overlap, the definition exposes the answer words during the update. The experiment is especially demanding when the model has to reach a completion whose wording the definition never supplied.
The paper also expresses the earlier fact-editing task in update notation.
θ′ ← update(θ, xₑ, y)
Here θ and θ′ again denote the parameters before and after editing, and the arrow assigns the result of update. The input xₑ is a statement or query about the entity indexed by e. The desired answer is y, which in this setup is supplied to the editor. Evaluation can then change the wording of the input while keeping the expected answer fixed.
fθ′(y ∣ x̃ₑ)
In this expression f uses the edited parameters θ′. The tilde marks x̃ₑ as a reworded version of the original input about entity e. The answer y is the same one specified in the edit, and the bar indicates that its probability is conditioned on the reworded input. This tests whether the edited association can be elicited in another formulation.
For counterfactual editing, the paper also describes an update that is tied to a pair of related tests.
θ′ ← update(θ, e, (xₑ,₁, yₑ,₁))
The arrow gives θ′ by applying update to θ, the entity e and the inner pair. Within that pair, xₑ,₁ is the supplied input about the entity, and yₑ,₁ is the new completion specified for it. The final index identifies the pair that is available at editing time.
(xₑ,₂, yₑ,₂)
The final index here identifies another input and completion pair about e. The probe is xₑ,₂, and yₑ,₂ is the completion whose prediction would indicate that the changed association is usable in this other setting. This comparison helps explain why the authors try ROME on their own benchmarks. ROME already addresses use of a changed fact across contexts, and entity descriptions let the authors examine that approach when the subject itself is unfamiliar.
How the benchmarks separate kinds of evidence
For ECBD, the entity is the title of a Wikipedia article and the definition is its opening sentence. The probe comes from the same article, using the procedure from the earlier ECBD study. The paper selects entities with origination dates between 2020/01 and 2021/09 to obtain subjects the evaluated checkpoints are intended to encounter as new. The definition introduces such a subject with whatever information an article writer chose to put first. The probe can concern another part of the article and can ask for material far more particular than that introduction.
ECBD-easy changes the selection rule. A case is included when the gold span occurs verbatim inside the definition. This ensures that relevant answer wording is available to the update procedure. The probe still places the words in a different context, so performance can depend on whether the system can use them there. The subset makes it possible to examine transfer when the missing text itself has been supplied, within the same broad Wikipedia-based setup as the harder evaluation.
Entity Inferences gives the authors more control over what can be inferred. For television shows and natural disasters drawn from ECBD’s 2020 and 2021 subsets, they use the definitions given in English Wikipedia. They also create fictional people with invented names and descriptions. For each entity, they write probes aimed at different kinds of knowledge. An explicit probe can ask for a person’s occupation or a series’ genre. An implicit probe uses a category or property from the definition to invite a commonsense completion. The categories and descriptions let the authors make the answer clear to a reader who has the defining information.
For each type of probe the authors write between 6 and 12 answer candidates. They report an average of 10 candidates per example. The options bound the search and give the evaluation a definite comparison. A system can succeed by ranking the right choice first among the supplied alternatives. With ECBD, by comparison, the expected span is scored as text without a hand-written menu of competing answers. The difference matters when interpreting a strong score on the controlled task and a weak score on the natural one.
How the description reaches the system
The base systems include GPT-Neo 1.3B and T5-large, selected to cover left-to-right prediction and sequence-to-sequence span filling. The authors also use GPT2-XL to follow the ROME protocol. T5 was trained in 2019 on C4. GPT-Neo used The Pile, which the paper says was collected in 2020. The experiments use the Hugging Face implementation described in Transformers: State-of-the-Art Natural Language Processing.
Ordinary fine-tuning treats the definition as a training example. For a left-to-right system, the objective is to predict each next token across the definition. Tokens are the units into which the system divides the text. Later words in the definition are thus training targets in contexts that include the preceding words. That can directly reward the wording of a stated attribute. The question for evaluation is how much the resulting changes carry over when the named entity occurs in a different sentence. The span-filling procedure makes a different choice about which text is a target, so the role of tokenization and masking is worth keeping in view.
For T5, the authors mask a randomly selected stretch of the definition and train the system to reconstruct it. The span length is drawn uniformly between 1 and 5, and the mask is selected away from the reference to the entity. The fact that the name stays visible lets the system condition on it. The remaining visible text can give clues to the missing words. In this setup, the words directly rewarded as output are the ones falling in the chosen mask. A detail that matters for a future probe can appear elsewhere in the definition.
The authors try updating every parameter and updating only those in the final Transformer layer. The narrower setting restricts where the editor can act. Every fine-tuning example starts from the original checkpoint, so an update for one trial does not build on the edits tested in earlier trials. The main runs use a training batch size of 1 and a validation batch size of 1. The paper reports 5 training epochs at a learning rate of 3e-6 for ECBD and 10 epochs at 5e-4 for Entity Inferences. The learning rate controls the scale of the change the optimizer makes in response to the training signal. The later tradeoff analysis uses its own learning rates and edit lengths.
MEND learns how to transform the gradient that ordinary fine-tuning would use. A gradient indicates how changing the parameters locally would change the loss on the training example. MEND’s separate editing network takes that signal and turns it into a weight update that can be applied in a single step. Learning the transformation requires examples of proposed edits and examples for checking whether unrelated predictions change. The study trains separate MEND editors for GPT-Neo and T5 using WikiText-103 and following the original setup in using generated text for the altered output. Training the editor is an upfront cost, after which it can make individual changes more cheaply for the system it was trained to edit.
ROME changes a weight matrix in a feed-forward component, using the interpretation of that component as a store of associations. A representation of the subject serves as the key, and information associated with the subject serves as the value. The editor makes a rank-one modification to the matrix to change that association. For GPT2-XL, the authors prepare an edit in subject, relation and object form. They use a single-word entity name as the subject, the portion of the definition before the mask as the relation prompt, and the correct fill as the object. They filter cases where the subject fails to precede the mask, which account for less than 0.5% of their data. Some ECBD cases also present formatting problems, including punctuation immediately around a subject. Those problems matter to the interpretation of the ROME experiments because formatting determines what information the editor receives and can act on.
The contextual comparison delivers the source information through the input. The authors put the definition in front of the probe and score the requested completion. They also try the same setup with a randomly chosen definition of another entity. The random condition helps distinguish the benefit of adding pertinent information from changes caused by placing another sentence before the probe. Supplying any description this way makes the input longer at inference time. Weight editing moves the work to the update stage. The paper uses that distinction to explain why it evaluates a contextual method even though its central engineering question concerns knowledge carried in the parameters.
What counts as an improvement
In ECBD, the base metric is per-token perplexity on the gold span. Perplexity increases as the system assigns less probability to the expected text. Measuring it per token puts spans of different lengths on a common footing within a system. Differences in how the tested systems segment and predict those spans make their raw ECBD perplexities unsuitable for direct comparison with one another.
ppl(fθ′(yₑ ∣ xₑ)) < ppl(fθ(yₑ ∣ xₑ))
The function ppl computes perplexity from the prediction for the expected text. The predictor is f, with original parameters θ and edited parameters θ′. The probe xₑ and expected completion yₑ concern the target entity e, and the bar indicates conditioning on the probe. The less-than sign gives the direction of success. Perplexity on the target span should fall after the edit.
ppl(fθ′(yₑ̂ ∣ xₑ̂)) − ppl(fθ(yₑ̂ ∣ xₑ̂)), with ê ≠ e
Here ê identifies a different entity from the target e, as indicated by ≠. The subscript on x marks its probe, and the subscript on y marks its gold completion. The f, ppl, θ′, θ and conditioning bar have the same roles as in the target comparison. The minus sign subtracts pre-edit perplexity from post-edit perplexity. A positive difference means the edit has made the expected completion for the unrelated entity less probable by this measure. A result near zero indicates greater specificity. A negative value is possible if the unrelated prediction improves. For this check the authors randomly sample 40 entities from ECBD’s popular subset.
Entity Inferences uses accuracy as the base metric. The authors denote the set of possible answers as follows.
{Cᵧ}
The braces collect the answer candidates C associated with the example whose expected answer is y. An answer is correct for the accuracy calculation when the gold choice gets the highest probability in that set. Target accuracy should rise with a successful edit. For specificity, the authors look at accuracy on probes concerning other, similar entities. An accuracy drop there has the same practical meaning as a rise in perplexity on unrelated ECBD examples. It shows that changing the target has had an adverse effect elsewhere.
Experiments and results
The comparisons answer different questions
The untouched predictor supplies a reference for each architecture. Each parameter edit can then be judged by the change from that reference. In Entity Inferences, the experiment asks whether the correct option moves to the top often enough to raise accuracy and whether unrelated probes remain about as accurate. In ECBD, it asks whether the expected words become more probable on average and what happens to the score on the separate specificity sample. A method can improve the target score and still be a poor choice for a use case that depends on stable predictions about other entities.
The true-definition and random-definition conditions add a second reference point. With the relevant text in front of the probe, all the evaluated settings show consistent improvement. A random definition hurts GPT-Neo and has little effect on T5, according to the paper’s results discussion. A useful reading of this contrast is that the content of the additional sentence matters. Adding text by itself gives no reason to expect better answers. The actual entity definition contains something the tested systems can exploit when it is directly available.
The contextual reference is particularly informative on Wikipedia probes. ECBD was drawn from naturally occurring articles, and some gaps require information beyond the opening sentence. A positive aggregate effect still establishes that the definition is relevant to the task. It leaves open how many individual probes become straightforward and whether the supplied information helps through a repeated phrase, a category cue or a more involved inference. Those distinctions motivate the paper’s later breakdowns.
Entity Inferences responds to weight changes
Full fine-tuning raises post-edit accuracy on Entity Inferences by more than 20 points for each of GPT-Neo 1.3B, T5-large and GPT2-XL. Thus an isolated edit using the definition can change which candidate the system prefers on a separate sentence. The aggregate result covers probes about directly stated attributes and probes written to elicit commonsense implications. The later analyses help determine how much of the improvement is concentrated in cases with close ties to the description’s wording.
There is a cost to that increase on the target. With full fine-tuning, accuracy on the specificity probes falls by 15.9 points for GPT-Neo and 8.8 points for GPT2-XL. The definition belongs to the target entity, yet the learned change is carried by weights that also participate in predictions about similar subjects. The specificity check makes those consequences visible. An accuracy gain on the questions for which the edit was intended says little by itself about how narrowly the change acts.
GPT2-XL provides a comparison between full fine-tuning and ROME. The paper reports a target accuracy gain of +30 points for fine-tuning and +23.5 points for ROME. On specificity, the corresponding accuracy changes are -8.8 and -2.0 points. Full fine-tuning gives the larger increase on the edited entity’s probes. ROME’s accuracy on other subjects stays closer to the unedited reference. The relative appeal of the edits therefore depends on both scores.
GPT2-XL accuracy gains on Entity Inferences target probes
Full fine-tuning raises target accuracy more than ROME on the same base system.
The numbers
| System or setting | accuracy points |
|---|---|
| ROME | +23.5 |
| Full fine-tuning (this paper) | +30 |
MEND changes performance much less on this benchmark. The paper reports a specificity change of +0.3 points in discussing its limited overall effect. Stability on the unrelated probes is desirable when paired with a useful improvement on the target. The MEND result illustrates how a method can have little side effect because its intervention also has little measurable benefit for the intended entity on this task.
Because the measure is accuracy over supplied options, the authors can compare performance across the architectures in Entity Inferences. T5 performs better overall despite being the smallest system tested. The authors suggest that access to context both before and after a missing span may contribute. The result is an architectural comparison under the benchmark’s scoring setup. Each system brings its own pretraining and prediction objective, and the experiment does not vary access to the right-hand context alone.
Full ECBD is the harder test
On the complete ECBD evaluation, the weight-editing methods yield no substantial reduction in target perplexity. Fine-tuning fails to show the improvement that was visible in multiple-choice accuracy. MEND raises perplexity for GPT-Neo. The paper also finds no substantial improvement in specificity in this setting. The lack of a useful change matters because every target probe names the subject whose description the editor received. A reference to the same subject is an insufficient link between the training signal and many of the words the evaluation asks the edited system to predict.
The authors try ROME on ECBD and ECBD-easy, with perplexities over 100 on both evaluations. They leave these runs out of the main comparison because the definitions fit the editor’s input format poorly. A description typically does more than identify a single subject and its object in a specified relation. Converting it to the required structure can discard material that would have been available to full-definition fine-tuning or to the contextual condition. The reported perplexities describe that attempted adaptation. They carry limited weight as a direct comparison between editors given equivalent evidence.
Putting the proper definition in the input improves the ECBD score. Because a naturally occurring probe can ask for a detail outside the definition, even this result has a limited interpretation. A category, related phrase or other nearby clue can raise the expected span’s probability while leaving substantial uncertainty about the exact words. Perplexity can register that partial help. The outcome shows that the underlying system can frequently put the supplied description to some use, making the small gains from definition-based weight changes harder to attribute solely to irrelevant source text.
The authors suggest that the more demanding Wikipedia cases may require chains of inference, implicit connections or broader commonsense knowledge. The dataset also contains spans whose exact content an informed reader could scarcely recover from the opening sentence. These difficulties can coexist in the aggregate result. The comparison demonstrates weak transfer under the tested edits and sampling procedure. It leaves the cause of individual failures to the analyses that can say more about the definition and probe in each case.
Exact answer overlap makes a measurable difference
ECBD-easy reduces one source of uncertainty by ensuring that the gold span is visible in the definition. For GPT-Neo, fine-tuning reduces target perplexity by 9.0 and MEND reduces it by 8.5. These are changes on ECBD-easy within the same base architecture. A lower score means the updated system gives more probability to the expected text in another sentence about the entity. This is a useful kind of transfer, since the answer can occur in a new surrounding sentence even when its words are familiar from training.
T5-large shows no change in post-edit perplexity on this subset. The authors point to a difference between learning from a complete left-to-right definition and learning to reconstruct a sampled mask. An exact match between the gold span and a part of the T5 input makes those words available somewhere in the training example. The chosen mask determines whether they are also words the system has been directly trained to produce. The paper presents this as a possible reason for the different outcomes. A test that varied the mask while keeping the target and architecture fixed would be needed to isolate the effect.
The subset result narrows the interpretation of the full ECBD finding. Some of the same editing methods can use a definition to improve predictions about an unfamiliar entity when the right wording is already present. Performance on the full set asks more of them because many expected completions lie outside those words. Entity Inferences occupies a useful position alongside these two settings. Some of its probes share the wording of their answers with their definitions, and its implicit examples are deliberately easier to resolve from the description than an arbitrary gap in a Wikipedia article. The three settings together show which kinds of use the aggregate scores actually reward.
What the ablations show
Longer training and direct access to the test answer
The authors vary how long they fine-tune and plot performance against specificity. A longer run gives the optimizer additional opportunities to fit the update example. If the main obstacle were a weak initial edit, a series of longer runs might reveal a region where target performance improves before damage elsewhere becomes substantial. The plots show how this relationship changes when the training source is an actual definition and when it contains the exact example on which the system will be evaluated.
The latter condition is called Train-on-Test. The authors make the definition and probe identical for this analysis. That gives the training procedure direct access to the material it is evaluated on and serves as an informal upper reference for how much fitting can achieve in this experimental setup. High performance there shows that the procedure can make the expected text more likely when directly trained on it. A gap from the definition-based condition shows what is lost when the training example and evaluation example differ, with memorization available as a point of comparison.
The tradeoff analysis uses GPT-Neo. To limit computation, the paper describes working with half the Entity Inferences data and draws from ECBD of 100 noun-phrase spans and 100 random spans. The authors fine-tune over a range of 1 to 8 epochs for the tradeoff curves, with the unedited point supplying the starting reference. The learning rate they use for Entity Inferences is 5e-5, while both ECBD and ECBD-easy use a rate of 3e-5. These are the settings for the curves. The main runs use the separate settings described in the method.
On full ECBD, training longer on the actual definition worsens perplexity on the target spans while also degrading specificity. The progression matters. It shows that, in the range investigated, increasing the opportunity to fit the source sentence only intensifies the problem. The definition still helps when supplied in the context at evaluation time. Together the comparisons point to a gap between fitting the definition and making its useful information available when the probe is presented on its own.
The ECBD-easy curves are more favorable. Some fine-tuning configurations improve target perplexity with only mild losses on the specificity check. Fine-tuning and MEND come reasonably close to the direct-training reference. Since the expected words already occur in every definition in this subset, ordinary training has a more direct route to rewarding the answer text. The comparison indicates why an editor that scores well on tasks built around a supplied answer can behave very differently when evaluated on an open-ended sentence about the same subject.
On Entity Inferences, Train-on-Test approaches its accuracy ceiling quickly. Some definition-based fine-tuning settings reach the accuracy of the definition-in-context condition in this analysis, while still lagging the direct-training reference. This qualifies the broader finding that contextual access is consistently helpful. Under a controlled task and a particular fine-tuning setting, the weight update can reach the same aggregate accuracy as contextual access. The rapid gains with direct training show there is room to score higher if the specific response is made available in training. Specificity is less orderly across the Entity Inferences curve than on full ECBD, so the number of epochs alone gives an incomplete account of the cost of an edit.
Seeing the answer words helps
The authors next compare examples whose completion appears in the definition with those whose completion does not. They identify 92 examples with answer inclusion in Entity Inferences and use 152 included examples from ECBD-easy. This comparison asks about a well-defined feature of the training material. It is possible for the same word sequence to serve as evidence during the update and as the expected answer during evaluation. Cases without that feature can still have useful descriptions, but the evaluation answer has to be reached by some other connection.
The measure for the Entity Inferences breakdown is the change in rank of the gold candidate. Rank can reveal progress short of an increase in accuracy. An answer that moves up the list but still loses to another candidate improves by rank while leaving the accuracy outcome unchanged. For ECBD, the analysis uses percentage change in perplexity, which tracks whether the recorded span became more or less probable. Decreases are favorable in both displays, since the best-ranked candidate appears at the top and lower perplexity indicates a better prediction of the gold text.
With GPT-Neo fine-tuning, the average change favors examples where the answer words appear in the definition, for both benchmarks. The ECBD pattern is stronger when the definition is presented in context. This is consistent with the idea that direct access to the answer wording can make selection or prediction easier. It also shows why a benchmark that often repeats its expected words across training and evaluation may offer an optimistic view of how readily an editor extends new information to different contexts.
Most ECBD probes fall outside the included-answer group. Their changes after editing mostly cluster around zero, and substantial improvements are uncommon. Entity Inferences offers a somewhat more encouraging result among examples without an exact answer match. The controlled probes give the system clearer paths from a definition to a plausible candidate. These comparisons describe the distribution of observed changes. Answer inclusion arises from how the examples are constructed, so the result does not by itself determine the causal effect of inserting a particular phrase into an otherwise identical definition.
General similarity tells a different story
A definition can resemble a probe in many ways while omitting the answer. Both sentences can mention the same name, reuse a category term or describe related events in a different vocabulary. The authors therefore examine similarity between the definition and the probe as whole pieces of text. Jaccard similarity measures shared vocabulary relative to the combined vocabulary of the texts. ROUGE-L measures overlap through an ordered sequence of shared material. The authors also consider a meaning-oriented comparison with BERTScore. Their appendix displays these measures together, while the main discussion emphasizes the Jaccard breakdown. The broader question concerns semantic similarity as well as repeated wording.
The procedure groups examples into bands based on their similarity scores and examines how editing performance changes within each band. In Entity Inferences, bands with greater Jaccard similarity show progressively larger improvements in the rank of the correct option. The result is consistent with the controlled probes’ construction. Where some of the description’s wording follows the entity into the probe, the training signal can line up more closely with what the evaluation rewards.
ECBD shows almost no discernible relationship between Jaccard similarity and percentage change in perplexity. It also contains fewer cases of high similarity. A shared vocabulary may identify what a Wikipedia sentence is about while giving little guidance about the passage that was removed. The exact-answer and whole-sentence comparisons therefore ask distinct questions. One measures whether the words scored at test time occur in the source. The other measures how much wording the source and probe share overall. On ECBD the first distinction accompanies more favorable changes for included answers, while the second offers little guidance about how a fine-tuning edit will perform.
The contrast between benchmarks reflects both the distribution of wording and the kind of completion being scored. The hand-written task controls how the probe relates to a definition and supplies alternatives. A natural probe can be closely related in theme while asking for an arbitrary detail. The almost flat relationship on ECBD gives the authors a reason to question whether an editor that benefits from broad similarity on simpler probes can carry that advantage into realistic text.
What ROME’s examples reveal about the edit interface
The appendix compares examples from the counterfactual dataset used for ROME, Entity Inferences and ECBD. Subjects and answer objects are frequently familiar in the counterfactual setting. Entity Inferences frequently gives the editor an unfamiliar name paired with a familiar answer, such as a category. ECBD can pair an unfamiliar name with a label that is itself unfamiliar or offers little descriptive information when considered separately. That difference matters to an editor that relies on finding a subject representation and attaching a specified value to it.
The authors also inspect generated text after selected ROME edits. Their examples include a familiar subject paired with an unfamiliar label and an unfamiliar subject paired with a familiar label. In both cases they show reasonably coherent text following the update. In the example where both are unfamiliar, the generated text fails to incorporate the intended information effectively. The examples illustrate the authors’ hypothesis that it is harder to locate a workable association when the subject offers a weak key and the new value is also difficult to represent in the format used.
This is a qualitative comparison. It helps explain the practical problem with forcing a full definition into ROME’s template. Context outside the subject and answer can carry much of what makes a new entity intelligible, and the required prompt may lose that context. Several factors vary across the examples, including the wording and content that survive formatting. The generation examples document how those individual edits behaved and motivate a possible explanation for their failures. They do not measure the independent effect of subject familiarity or label familiarity across the benchmark.
Limitations
Limits the authors state
The paper deliberately studies emerging entities. Its experimental setup gives the system a definition for a subject treated as absent from pretraining. A fact change about an established entity raises a different problem. The existing subject already occurs in many contexts and can have many relationships that depend on the changed information. The authors use organizational renaming to illustrate the scope of such an update. A new name might need to be reflected in predictions about several related subjects as well as in direct references to the organization. The paper limits its claims to the simpler starting condition and finds unresolved transfer problems even there.
The experiments and data are in English. The authors suggest that the issue may extend to multilingual systems, with the effect of an edit potentially depending on how those systems represent their knowledge. They identify larger systems and newer ways of tuning weights as settings that require additional evaluation. The comparison is also tied to language-model objectives that handle the probes differently. A result from left-to-right prediction or masked reconstruction under these settings offers a starting point for those questions.
The authors treat adding a definition to the input as a diagnostic and comparison because their larger goal is to make repeated use of updates practical. Longer inputs cost more at inference time. Ordinary fine-tuning has an upfront gradient cost, and MEND has the further cost of training an editor for each base system, with a cheaper procedure for applying subsequent edits. The paper motivates these tradeoffs through computation and scaling. Its strongest evidence about in-context access concerns prediction quality under the supplied definition. A deployment would have to obtain the relevant description and include it in the input whenever needed.
Limits of what the tests can establish
The full ECBD evaluation combines propagation difficulty with uncertainty about whether the definition supplies enough information. The first sentence of a Wikipedia article may be enough to identify what kind of entity is involved and still leave important details unknown. A word or phrase that is perfectly natural in the original article can be one of many plausible completions from the opening sentence and probe alone. Hence failure on an individual gap can reflect the information in the supplied definition as well as the editor’s ability to use it. The contextual gains address the informativeness question in aggregate. The paper’s controls give more definite answers for subsets selected to contain the answer or designed to make it readily inferable.
The controlled benchmark makes the inference clearer by supplying candidates. That also makes success depend on the set of alternatives. A category cue can be enough to eliminate the hand-written distractors before the system has a rich representation of the entity. On a different set of options, or in unrestricted generation, the same weight change might manifest differently. Likewise, ECBD perplexity measures preference for a recorded passage at the token level. It can improve when an expected phrase gets more probability while that phrase would still be unlikely to emerge as the system’s chosen answer. These are useful measures of the specified prediction tasks, with different implications for what a reader might call knowing the entity.
The paper measures behavior after edits that start from the saved base checkpoint. This makes it possible to associate a change in score with a particular update. A system that acquires many entities over time would have to retain earlier edits and manage interactions among them. One editor’s small effect on unrelated probes after a single update gives no direct estimate of what happens through a long sequence of edits. The specificity samples are informative within their respective benchmarks. They cover neither the full range of unrelated text a deployed system could receive nor all of the other newly introduced subjects it might eventually need to preserve.
Origination dates give the authors a way to select entities likely to be new to the systems, and fabricated people offer a distinct way of creating unfamiliar references. An origination date serves as a proxy for absence from training. The paper notes that the GPT-Neo training collection dates to 2020, and the sampled ECBD interval starts in 2020/01. The dates alone provide neither an item-by-item audit of the training corpora nor an account of how much related material the system has seen. For the intended test, the larger point is that the definition may connect the unfamiliar subject to details the system already understands. Some prior knowledge of those details is precisely what the experiment aims to put to work.
Each result comes from a single run, as the paper states in its modeling details. The comparisons report the observed changes under those settings, including random choices such as T5’s mask and some evaluation sampling. They give limited information about variation across repetitions. The experiments also provide behavioral evidence. The authors can observe a change in the likelihood or ranking of a completion, but the scores do not identify which internal association changed or which chain of computation produced an answer. Their suggestions about commonsense inference, masking and ROME’s difficulty locating new associations remain explanations to investigate within those bounds.
What came after
Testing editing through questions with more than one step
MQuAKE assesses knowledge editing through multi-hop questions. The connection with entity knowledge propagation is the choice to evaluate an update through a downstream consequence. A multi-hop question can depend on several linked facts, so replacing one of them creates a reason for the answer to change even when the question does not directly request the edited statement. The work on emerging entities asks whether a description helps with a separate probe about its subject. Multi-hop editing assessment frames the corresponding issue through the dependencies within a question. The common concern is how to tell whether a successful edit remains usable when the route from the added information to the answer becomes longer.
Do Large Language Models Latently Perform Multi-Hop Reasoning? takes up whether the intermediate steps in multi-hop inference occur internally. This is relevant to interpreting a success on the implicit Entity Inferences probes. A choice compatible with the definition establishes a behavioral result. It leaves open whether the system first recovered a fact about the entity and then used it, or whether features of the complete input influenced the final choice along a less clearly identifiable route. The later work’s question concerns the mechanism behind multi-step answers, where the entity study uses an intervention and a change in prediction as its test.
Hopping Too Late examines difficulties on multi-hop queries. It shares the entity paper’s interest in the gap between knowledge that could be relevant and an answer that actually draws on it. In the entity study, a definition can supply a useful category or association while an edited system still struggles with a new sentence about the subject. A multi-hop query supplies another setting for examining that gap, with the relationships among intermediate answers playing a central role. These lines of inquiry connect the problem of updating a factual association with the separate problem of using an association in a larger inference.
Putting correction, conflict and reliability in context
Knowledge Conflicts for LLMs surveys conflicts involving knowledge available to a system. The entity paper provides a closely related case at the boundary of that topic. It compares knowledge supplied in the input with knowledge an editing procedure is meant to put in the parameters, giving the same description two roles. Its restriction to emerging subjects usually removes a competing prior fact about the same entity from the intended setup. A survey organized around knowledge conflicts considers the broader question of how those sources interact when they can point towards different answers.
Automatically Correcting Large Language Models surveys automated correction strategies. The entity paper supplies a distinction that matters in that landscape. Correction can be judged on the answer targeted by an intervention, on its wider consequences, or on its effects on unrelated behavior. The updating and contextual conditions also locate the intervention in different places. An edit changes the system before the later request arrives. Input augmentation makes evidence available as the request is handled. The correction survey places such intervention choices within a broader range of ways to improve responses.
Siren’s Song in the AI Ocean surveys hallucination. The connection is especially clear when a system is asked about a subject introduced after its training data was collected. A definition offers some grounding for the answer, while the form in which it is supplied affects how well the evidence can be used. In the entity paper the relevant evidence is a known description and success is scored on recorded completions. The survey treats unreliable output as a wider problem. The editing experiments contribute a concrete example of why making information available and obtaining a response supported by it are separate achievements.
Foundational Challenges in Assuring Alignment and Safety places reliability within the broader problem of assurance. Specificity is the point of contact with entity knowledge propagation. A change can look successful when measured on the examples it was intended to fix and reveal side effects when checked on other inputs. The entity paper makes this visible through paired measurements within each benchmark. A broader treatment of assurance asks how far evaluations can support conclusions about behavior outside the cases used to demonstrate an improvement.
Returning to real-world knowledge injection
Bidirectional LMs are Better Knowledge Memorizers? presents a benchmark for real-world knowledge injection and frames its inquiry around bidirectionality. That scope connects to the entity paper’s comparison of a span-filling architecture with left-to-right systems. The earlier experiments find advantages for T5 on controlled multiple-choice probes and raise the possibility that access to surrounding context contributes. They also show how the masked training target can restrict which words an update directly rewards. A benchmark organized around real-world injection and architectural differences takes up that combination of questions about the material being learned, where the training signal falls and how acquisition should be evaluated. The entity study’s distinction remains relevant to reading such results. Reproducing supplied information and applying it to an unfamiliar question require evidence from different tests.
Cite
Cite as Yasumasa Onoe, Michael Zhang, Shankar Padmanabhan, Greg Durrett and Eunsol Choi. 2023. Can LMs Learn New Entities from Descriptions? Challenges in Propagating Injected Knowledge. Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers).
@inproceedings{onoe2023can,
title = {{Can LMs Learn New Entities from Descriptions? Challenges in Propagating Injected Knowledge}},
author = {Yasumasa Onoe, Michael Zhang, Shankar Padmanabhan, Greg Durrett and Eunsol Choi},
booktitle = {Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)},
year = {2023},
doi = {10.18653/v1/2023.acl-long.300},
eprint = {2305.01651},
archivePrefix = {arXiv},
url = {https://doi.org/10.18653/v1/2023.acl-long.300}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/onoe-2023-can-lms-learn-new-entities/
References
- Sid Black, Leo Gao, Phil Wang, Connor Leahy, and Stella Biderman. 2021. GPT-Neo: Large Scale Autoregressive Language Modeling with Mesh-Tensorflow (https://doi.org/10.5281/zenodo.5297715). OpenAlex ↗ · Scholar ↗
- Eunbi Choi, Yongrae Jo, Joel Jang, and Minjoon Seo. 2022. Prompt Injection: Parameterization of Fixed Inputs (https://arxiv.org/abs/2206.11349). arXiv, abs/2206.11349. OpenAlex ↗ · Scholar ↗
- Damai Dai, Li Dong, Yaru Hao, Zhifang Sui, and Furu Wei. 2021. Knowledge neurons in pretrained transformers (https://arxiv.org/abs/2104.08696). arXiv, abs/2104.08696. OpenAlex ↗ · Scholar ↗
- Nicola De Cao, Wilker Aziz, and Ivan Titov. 2021. Editing factual knowledge in language models (https://doi.org/10.18653/v1/2021.emnlp-main.522). In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, pages 6491–6506, Online and Punta Cana, Dominican Republic. Association for Computational Linguistics. our card
- Bhuwan Dhingra, Jeremy R. Cole, Julian Martin Eisenschlos, Daniel Gillick, Jacob Eisenstein, and William W. Cohen. 2022a. Time-aware language models as temporal knowledge bases (https://doi.org/10.1162/tacl_a_00459). volume 10, pages 257–273, Cambridge, MA. MIT Press. our card
- Bhuwan Dhingra, Jeremy R. Cole, Julian Martin Eisenschlos, Daniel Gillick, Jacob Eisenstein, and William W. Cohen. 2022b. Time-aware language models as temporal knowledge bases (https://doi.org/10.1162/tacl_a_00459). Transactions of the Association for Computational Linguistics, 10:257–273. our card
- Leo Gao, Stella Biderman, Sid Black, Laurence Golding, Travis Hoppe, Charles Foster, Jason Phang, Horace He, Anish Thite, Noa Nabeshima, Shawn Presser, and Connor Leahy. 2020. The Pile: An 800gb dataset of diverse text for language modeling. arXiv preprint arXiv:2101.00027. our card
- Mor Geva, Roei Schuster, Jonathan Berant, and Omer Levy. 2021. Transformer feed-forward layers are key-value memories (https://doi.org/10.18653/v1/2021.emnlp-main.446). In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, pages 5484–5495, Online and Punta Cana, Dominican Republic. Association for Computational Linguistics. our card
- Suchin Gururangan, Ana Marasović, Swabha Swayamdipta, Kyle Lo, Iz Beltagy, Doug Downey, and Noah A. Smith. 2020. Don't stop pretraining: Adapt language models to domains and tasks (https://doi.org/10.18653/v1/2020.acl-main.740). In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 8342–8360, Online. Association for Computational Linguistics. our card
- Joel Jang, Seonghyeon Ye, Changho Lee, Sohee Yang, Joongbo Shin, Janghoon Han, Gyeonghun Kim, and Minjoon Seo. 2022a. TemporalWiki: A Lifelong Benchmark for Training and Evaluating Ever-Evolving Language Models (https://arxiv.org/abs/2204.14211). In Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing. OpenAlex ↗ · Scholar ↗
- Joel Jang, Seonghyeon Ye, Sohee Yang, Joongbo Shin, Janghoon Han, Gyeonghun Kim, Stanley Jungkyu Choi, and Minjoon Seo. 2022b. Towards Continual Knowledge Learning of Language Models (https://arxiv.org/abs/2110.03215). In Proceedings of the International Conference on Learning Representations (ICLR). OpenAlex ↗ · Scholar ↗
- Yunah Jang, Dongryeol Lee, Hyung Joo Park, Taegwan Kang, Hwanhee Lee, Hyunkyung Bae, and Kyomin Jung. 2022c. Improving multiple documents grounded goal-oriented dialog systems via diverse knowledge enhanced pretrained language model (https://doi.org/10.18653/v1/2022.dialdoc-1.15). In Proceedings of the Second DialDoc Workshop on Document-grounded Dialogue and Conversational Question Answering, pages 136–141, Dublin, Ireland. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- Xisen Jin, Dejiao Zhang, Henghui Zhu, Wei Xiao, Shang-Wen Li, Xiaokai Wei, Andrew Arnold, and Xiang Ren. 2022. Lifelong pretraining: Continually adapting language models to emerging corpora (https://doi.org/10.18653/v1/2022.naacl-main.351). In Proceedings of the 2022 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 4764–4780, Seattle, United States. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- Angeliki Lazaridou, Adhiguna Kuncoro, Elena Gribovskaya, Devang Agrawal, Adam Liska, Tayfun Terzi, Mai Gimenez, Cyprien de Masson d'Autume, Tomas Kocisky, Sebastian Ruder, Dani Yogatama, Kris Cao, Susannah Young, and Phil Blunsom. 2021. Mind the Gap: Assessing Temporal Generalization in Neural Language Models. In Advances in Neural Information Processing Systems (NeurIPS). OpenAlex ↗ · Scholar ↗
- Kevin Meng, David Bau, Alex Andonian, and Yonatan Belinkov. 2022. Locating and Editing Factual Associations in GPT. In Advances in Neural Information Processing Systems (NeurIPS). our card
- Eric Mitchell, Charles Lin, Antoine Bosselut, Chelsea Finn, and Christopher D Manning. 2022. Fast Model Editing at Scale. In International Conference on Learning Representations (ICLR). our card
- Yasumasa Onoe, Michael Zhang, Eunsol Choi, and Greg Durrett. 2022. Entity cloze by date: What LMs know about unseen entities (https://doi.org/10.18653/v1/2022.findings-naacl.52). In Findings of the Association for Computational Linguistics: NAACL 2022, pages 693–702, Seattle, United States. Association for Computational Linguistics. our card
- Alec Radford, Jeff Wu, Rewon Child, David Luan, Dario Amodei, and Ilya Sutskever. 2019. Language Models are Unsupervised Multitask Learners. OpenAlex ↗ · Scholar ↗
- Colin Raffel, Noam Shazeer, Adam Roberts, Katherine Lee, Sharan Narang, Michael Matena, Yanqi Zhou, Wei Li, and Peter J. Liu. 2020. Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformer (http://jmlr.org/papers/v21/20-074.html). Journal of Machine Learning Research, 21(140):1–67. our card
- Anton Sinitsin, Vsevolod Plokhotnyuk, Dmitriy Pyrkin, Sergei Popov, and Artem Babenko. 2020. Editable Neural Networks. In International Conference on Learning Representations (ICLR). OpenAlex ↗ · Scholar ↗
- Peter West, Chris Quirk, Michel Galley, and Yejin Choi. 2022. Probing factually grounded content transfer with factual ablation (https://doi.org/10.18653/v1/2022.findings-acl.294). In Findings of the Association for Computational Linguistics: ACL 2022, pages 3732–3746, Dublin, Ireland. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- Thomas Wolf, Lysandre Debut, Victor Sanh, Julien Chaumond, Clement Delangue, Anthony Moi, Pierric Cistac, Tim Rault, Remi Louf, Morgan Funtowicz, Joe Davison, Sam Shleifer, Patrick von Platen, Clara Ma, Yacine Jernite, Julien Plu, Canwen Xu, Teven Le Scao, Sylvain Gugger, Mariama Drame, Quentin Lhoest, and Alexander Rush. 2020. Transformers: State-of-the-art natural language processing (https://doi.org/10.18653/v1/2020.emnlp-demos.6). In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing: System Demonstrations, pages 38–45, Online. Association for Computational Linguistics. our card
- Michael Zhang and Eunsol Choi. 2021. SituatedQA: Incorporating extra-linguistic contexts into QA (https://doi.org/10.18653/v1/2021.emnlp-main.586). In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, pages 7371–7387, Online and Punta Cana, Dominican Republic. Association for Computational Linguistics. our card
- Tianyi Zhang, Varsha Kishore, Felix Wu, Kilian Q. Weinberger, and Yoav Artzi. 2020. BERTScore: Evaluating Text Generation with BERT. In International Conference on Learning Representations (ICLR). OpenAlex ↗ · Scholar ↗
- Chen Zhu, Ankit Singh Rawat, Manzil Zaheer, Srinadh Bhojanapalli, Daliang Li, Felix Yu, and Sanjiv Kumar. 2020. Modifying memories in transformer models (https://arxiv.org/abs/2012.00363). arXiv, abs/2012.00363. OpenAlex ↗ · Scholar ↗