Elamur Research

MQuAKE: Assessing Knowledge Editing in Language Models via Multi-Hop Questions

Paper · 2023 · Zexuan Zhong, Zhengxuan Wu, Christopher Manning et al.

Summary

When a prime minister changes, so does the answer to a question about the prime minister’s spouse. A system can learn the name of the new officeholder and still name the spouse of the previous one. MQuAKE examines this gap in large language models. Their factual answers can become outdated, and retraining from scratch can be prohibitively expensive. Knowledge editing aims to make targeted updates at lower cost. The paper asks whether an editor makes a revised fact available only when queried directly or also makes it available when a question depends on that fact indirectly.

MQuAKE builds each test around a chain of facts from Wikidata. A question starts at the first entity in the chain and asks for the entity reached at the end. Revising a fact can send the chain through a different entity and change the expected answer while leaving the question itself intact. MQuAKE-cf uses deliberately counterfactual replacements, while MQuAKE-t uses real changes identified by comparing snapshots of Wikidata. The counterfactual construction starts from 37 relations, and the chains span 2, 3, or 4 steps. The authors screen the component facts for recall by GPT-J and use ChatGPT to generate three questions for each chain.

The tested weight-editing methods often do well at providing the revised fact in isolation. In the independent-instance MQuAKE-cf tests, ROME and MEMIT each exceed 90% edit-wise success on both GPT-J and Vicuna-7B. Yet the paper reports that GPT-J’s multi-hop accuracy on MQuAKE-cf goes from 40.5% before editing to 7.4% after ROME. The real updates also expose a gap between direct retrieval of the revised facts and answering questions that depend on them. Applying more edits together makes the multi-hop task harder for the weight editors on both datasets.

The authors propose MeLLo, which keeps the original weights fixed and stores updates in a searchable memory. It breaks a question into simpler questions, proposes an answer at each step, and checks that answer against a retrieved edit before continuing. It requires no additional training or access to the underlying weights, and the authors use it with GPT-J, Vicuna-7B, and GPT-3.5. With GPT-J held fixed, MeLLo outperforms the strongest weight-editing comparator on each dataset across the reported batch settings. The authors also identify limits to the approach and evaluation. MeLLo depends on hand-written prompts, its behavior with smaller systems remains open, and the benchmark questions were generated automatically. The authors release the benchmark data and code in the princeton-nlp/MQuAKE repository.

Deep dive: MQuAKE: Assessing Knowledge Editing in Language Models via Multi-Hop Questions

MQuAKE tests whether a factual edit changes answers that depend on it and evaluates MeLLo, which checks each reasoning step against stored edits. · about 39 minutes to read

The problem and its context

An edit can change the route to an answer

A question about the spouse of an officeholder contains a reference that has to be resolved before a spouse can be named. Once the office identifies someone, that individual determines who or what the next fact is about. In the paper’s example, the relevant office is the head of government of the United Kingdom. On the earlier chain, the office leads to Boris Johnson, and the spouse relation leads from him to Carrie Johnson. Revising the first fact to name Rishi Sunak changes who the spouse question is about. The spouse relation itself can remain as it was. The question still refers to the same office, and the intermediate person now has to be found using the revised information.

This is the sense in which the paper uses a hop. A hop follows a particular relation from a starting entity to the entity associated with it. The result of one lookup becomes the starting point for the next. In multi-hop question answering, the final answer can therefore depend on facts that the question leaves implicit. Changing a fact along the path can alter which facts become relevant downstream. A change of officeholder can require a different spouse lookup even if nothing about either person’s marriage changed.

The benchmark concerns factual updates of this kind. A system may have to correct information that was already wrong or replace information that was accurate when it was learned. An editor is supposed to make such revisions feasible after training. The practical motivation is that the expense of full retraining makes it unsuitable for many individual changes. A targeted intervention can be evaluated soon after it is applied, but the evaluator still has to decide what behavior counts as successful updating.

A direct probe establishes whether the edited system can give the new officeholder when asked for that officeholder. A paraphrase checks whether the system can do this when the same relationship is expressed differently. A spouse question requires the system to use the updated officeholder to determine whom to ask about next. Each test is informative because it places a different demand on the same revised association. MQuAKE concentrates on the last demand and gives it a reference answer derived from the same facts that define the update.

What editing methods and evaluations already covered

As the paper describes the field, previous efforts approached editing through several mechanisms. Some tried to locate weights implicated in a particular factual association and then modify them. Others trained a small auxiliary network to compute an update quickly. The paper also discusses approaches that change how knowledge representations are used during decoding, when the output is being generated. There was already a memory-based approach, SERAC, that kept edits in a separate store and used additional learned components to incorporate them. Locating and Editing Factual Associations in GPT, Fast Model Editing at Scale, and Memory-Based Model Editing at Scale

The standard evaluations addressed identifiable risks. An edit should be recoverable when the system is queried about it, and unrelated answers should survive the intervention. The first property checks whether the edit took effect at all. The second checks whether it affected information outside the intended scope. Tests with equivalent prompts add another check. A procedure that supplies an updated answer for many wordings gives stronger evidence of direct recall than a procedure that supplies it only after seeing the exact phrasing used to make the edit.

For MQuAKE, a question with a dependent answer has a special place among the things an evaluation can measure. It is related to the edit, so requiring its old answer to be preserved would treat an intended consequence as damage. It also asks about a different relation or chain of relations, so counting it as a paraphrase would hide the composition the system is being asked to perform. The benchmark gives this behavior its own test. A single change can have a small specification, such as replacing an officeholder, and a broader set of observable consequences.

The paper situates itself alongside earlier evaluations that included related or logically implied facts. It describes work asking whether information supplied about a new entity carries over to properties that follow from it. For example, identifying a device as a smartphone can support an inference about what it can do. It also discusses work on measuring unintended side effects of edits. MQuAKE’s focus is a particular kind of consequence with a traceable before-and-after structure. The authors specify a path, change facts along it, and retain cases whose endpoint changes.

Why the question and the underlying facts are both needed

The authors adopt the practice of probing a language model with short prompts tied to factual relationships. A hand-written template can turn a relation and subject into a question or a sentence whose completion is the object of the relation. Earlier work had explored how to choose better prompts to elicit stored facts. Here the templates make the component checks repeatable. The main test is whether the system can use those components together after an edit. Language Models as Knowledge Bases?, AutoPrompt, and How Can We Know What Language Models Know?

Presenting an entire chain as a single question tests something different from asking separately about every edge. If the evaluator asks for a person’s spouse by name, it has already chosen the person. In the composed question, the system has to choose that person using the relevant officeholder fact. Conversely, having the chain in the benchmark record lets the evaluator ask separately about each edge. When the composed answer is wrong, these additional probes help determine whether some needed fact is also hard to get directly. A question alone cannot supply that comparison.

The paper also draws on research in which a system is prompted to break complex reasoning into manageable steps. Those steps give MeLLo natural points at which to consult an external store. Related prompt-based work combined intermediate generation with search and, in some cases, external checks on whether statements support or contradict one another. In MeLLo, the system generating the tentative answer also judges whether the retrieved edit calls for its revision. Least-to-Most Prompting and ReAct

The benchmark and the proposed editor address different questions. MQuAKE defines which answers ought to change under specified revisions and how to score the resulting behavior. MeLLo is a way of attaining that behavior using an explicit store. The benchmark can therefore compare a system whose weights were changed with one whose answers change through access to new information at inference time. The comparison is about what each procedure produces when asked a question under the revised facts.

The method, step by step

From an individual fact to a chain

The authors represent factual information as a knowledge graph. In this form, a fact is an edge linking entities through a named relation. The representation makes it possible to write down which facts a composed answer depends on and to find the new answer after changing one of them. In the graph, the British officeholder example starts at the United Kingdom and uses the head-of-government relation to reach a person. The spouse relation then extends the path to a second person.

(s, r, o)

Here s is the subject entity, r is the relation, and o is the object entity. The parentheses enclose a triple, and the commas separate its fields. The subject is the starting point of the directed relation. The object is the entity reached by following it.

The paper treats the base system as autoregressive. It responds to a text prefix by generating a continuation. A template for the developer relation, for instance, can turn the name of an item into a prompt asking for its developer. A cloze template expresses the same relation as an incomplete sentence. The output can then be compared with the object that Wikidata records for the given subject and relation.

f : 𝒳 → 𝒴

Here f is the base system, 𝒳 is the space of input texts, and 𝒴 is the space of possible continuations. The colon introduces the function’s type, and → maps its input space to its output space. An input x in 𝒳 is the text supplied in a query, and an output y in 𝒴 is the predicted continuation.

f(tᵣ(s))

Here tᵣ is the hand-written prompt template associated with relation r, s is the subject inserted into it, and f generates the continuation for the resulting text. Parentheses indicate function application. The resulting prediction is compared with o, the reference object of the triple. The template supplies the relation and names the subject. The system has to supply the object.

e = ((s, r, o), (s, r, o*))

Here e is an edit, = introduces its definition, and the outer parentheses enclose an ordered pair of triples. The commas separate the triples and their component fields. Both triples share subject s and relation r. The first contains the old object o, and the second contains the replacement object o*. The asterisk marks the updated value.

e = (s, r, o → o*)

This is the paper’s shorthand for the same edit e. The sign = defines the shorthand. The parentheses group the subject s, relation r, and replacement instruction, and the commas separate them. The arrow → denotes changing the original object o to o*, the new object marked by the asterisk.

K(f, ℰ) = f*

Here K is the editing operation, f is the base system, and ℰ is the collection of requested edits. The comma separates the arguments inside the parentheses. The equality identifies the result as f*, the edited system, and the asterisk marks its updated state. The paper describes the domain of this operation in terms of ℱ, the class of systems being edited, together with the edit collection. An edited f* still takes texts from 𝒳 and produces continuations in 𝒴. With a parameter editor, the new behavior is sought through changes to f’s weights. With MeLLo, the original f participates in a procedure that also has access to ℰ.

A chain requires an ordering. An unordered collection of individually true facts can contain all the information needed for an answer, but a chain specifies exactly which relation to follow at each stage. This is what makes the initial entity and final answer identifiable during dataset construction.

𝒞 = ⟨(s₁, r₁, o₁), …, (sₙ, rₙ, oₙ)⟩

Here 𝒞 is the original chain of facts, = defines it, and the angle brackets denote an ordered sequence. Parentheses enclose a triple and commas separate the fields or triples. The subscripts number the hops, with 1 marking the first and n the last. Each triple has a subject s, relation r, and object o at its own position. The ellipsis … stands for the intervening triples. The construction uses N for the chain length when selecting among the supported lengths.

oᵢ = sᵢ₊₁

Here i indexes any hop with a successor. The object oᵢ at that index equals sᵢ₊₁, the subject at the next index, as indicated by =. The subscript i+1 uses + to move forward by one hop. This shared entity is what connects the triples. In the example, the person reached by the first relation is the subject of the spouse relation.

ℛ = [r₁, …, rₙ]

Here ℛ denotes the sequence of relations used by the chain. The equality defines it, the square brackets enclose the list, and the commas separate entries. The relation r₁ starts the chain and rₙ completes it. The subscripts are hop indices and … covers the relations between the first and last.

𝒮 = [s₁, …, sₙ]

Here 𝒮 denotes the corresponding sequence of subject entities. The equality defines it, the square brackets enclose the list, and the commas separate entries. The subject s₁ is the head of the whole chain and sₙ is the subject in the last triple. The subscripts mark positions and … covers intervening subjects.

tℛ(𝒮)

Here tℛ denotes question formation for the ordered relations ℛ, applied to the subjects 𝒮 inside the parentheses. It is the paper’s notation for expressing the chain as a question about the first subject s₁ whose reference answer is the final object oₙ. The question-generation procedure realizes this operation using examples of how to turn chains into natural-language questions. The intermediate subjects are available to the authors building the item. The generated question can leave them implicit and require the answering system to recover them.

Selecting counterfactual paths and questions

For MQuAKE-cf, the authors restrict Wikidata to 37 common relations and the top 20% of entities by how often Wikipedia articles link to them. That policy favors facts about entities whose names are more likely to be familiar to the systems under study. Within the resulting graph they sample chains of 2, 3, or 4 triples. Each candidate path has to support a question whose component relationships fit together.

The sampling rules give substance to that requirement. A path cannot loop back or use a relation type twice. A hop whose object is a country must be among the final two hops. The chain may have up to three kinds of objects, and the hops with people or places as objects must occur consecutively. There are also constraints for individual relations. A headquarters location needs a company or organization on the subject side, and a capital must be attached to a country. The authors manually assign object types to the relation types they use. An officeholder relation, for example, can be identified as one whose object is a person.

These choices make the graph traversal a search for usable questions as well as connected triples. Following any edge that happens to share an entity could produce a valid path through the graph, but a string of unrelated relationship types can be hard to express as a natural query. The sampling restrictions narrow the range of combinations the question generator has to handle. The benchmark’s chain lengths describe the number of relations traversed. They allow different kinds of facts to occur at each position within the structure imposed by the heuristics.

The authors then check whether GPT-J can recall the constituent facts. They write a question template for each relation and present 8 demonstrations when probing an individual fact. These are examples supplied in the query, a use of few-shot learning meant to show the expected form of the answer. If GPT-J fails to recall a fact in the original chain, the authors discard the chain. This shifts the experiment toward the problem of combining available facts, with availability defined operationally by those direct probes.

Once a chain passes screening, the authors ask ChatGPT to produce three different questions about its head entity, each answerable by the chain’s final object. The appendix describes 12 hand-written demonstrations for this generation step. The separate generation prompt matters because the benchmark involves many combinations of relations. The authors use the examples to show how to express a sequence as a question, while allowing the wording to vary from one chain to another. Their qualitative inspection illustrates that the generator can produce grammatical questions that follow the order of the underlying facts.

The authors then sample which facts to revise. A chain in MQuAKE-cf can receive as few as one edit or as many as it has hops. For each chosen triple, the candidate replacement comes from objects associated with that relation. The intended intervention is a change to a value of the appropriate kind. Making a replacement can change the subject needed for the following hop, so the remaining chain is updated to follow the revised path.

A candidate survives if the updated chain can be completed and reaches a different answer. The first requirement guarantees a usable reference answer after editing. The second guarantees that the question can distinguish old behavior from the intended new behavior. Paths that diverge at an intermediate step can sometimes end at the same entity. Those cases would let a system keep returning the old answer and receive credit under the updated facts, so the authors filter them out. They also apply the GPT-J recall check to the unedited facts needed in the chains.

Replacing artificial edits with observed changes

MQuAKE-t starts from differences between the 2021-04 and 2023-04 snapshots of Wikidata. An object that changes between snapshots can signal a change in the world or a change in how the database records something. The authors report that most differences they encountered reflected how Wikidata classifies information. A document moving from a more specific classification to a broader one gives a reason for a database entry to change even when the document itself is the same.

To focus on factual changes, the authors select 6 relations whose changes are likely to reflect developments in the world. The officeholder update from Boris Johnson to Rishi Sunak exemplifies the kind of change they want. They sample chains and use GPT-J to filter facts as in the counterfactual construction. The replacement must come from the differences between the snapshots. This gives the temporal dataset a more restricted source of revisions and a different basis for deciding what the new fact should be.

Each temporal instance has one revision. The authors explain this choice by noting that their edits involve changes in positions, such as the head of state, and that it is hard to combine two such changes coherently in one question. This still permits the question to require several facts. A later step can use an ordinary relationship about the person who now holds the position. The time-sensitive update establishes that person’s identity, and the subsequent facts determine the answer.

The two datasets ultimately share a record structure. Each record keeps the questions together with the edits and both versions of the information needed to score them. This layout allows the same item to be queried under the original and revised factual conditions.

d = ⟨ℰ, 𝒬, a, a*, 𝒞, 𝒞*⟩

Here d is a dataset instance and = defines its contents. The angle brackets mark a tuple, whose fields are separated by commas. ℰ contains the edits for the instance, 𝒬 contains its questions, a is the original answer, and a* is the updated answer. 𝒞 is the original chain and 𝒞* is the updated chain. The asterisks distinguish the post-edit fields.

The record keeps two ways of assessing the change available at once. The evaluator can address every component fact using its own prompt and can ask about the endpoint using one of the generated questions. The edited and original chains provide the respective targets for the component probes. The stored endpoint supplies the target for the composed question. The procedure that answers a composed question has to resolve the relationship expressed in the question itself.

How MeLLo uses an edit during answering

MeLLo begins by expressing each revised triple as a sentence. Hand-written relation templates make sentences out of the subject, relation, and new object. A pretrained retriever called Contriever turns those sentences into embeddings, numerical representations used to compare texts. The edit sentences and their embeddings populate a searchable store. For a new subquestion, the store returns the edit whose embedding is closest to the query in the retriever’s representation. This is an information retrieval operation over the revised statements. Contriever

How MeLLo answers with an external edit memory

The steps in order.

How MeLLo answers with an external edit memoryStep 1: Turn revised facts into statements1. Turn revised facts into statementsStep 2: Index those statements with Contriever2. Index those statements with ContrieverStep 3: Generate the next subquestion3. Generate the next subquestionStep 4: Propose a tentative answer4. Propose a tentative answerStep 5: Retrieve the closest edit for that subquestion5. Retrieve the closest edit for that subquestionStep 6: Check for conflict and revise if needed6. Check for conflict and revise if neededStep 7: Continue with another subquestion or answer7. Continue with another subquestion or answer

At answering time, the system starts with the complete question and generates a simpler question for the first step. It generates a tentative answer using the original weights. The procedure then searches the edit store with the subquestion as its query. It appends the retrieved statement to the prompt and asks the base system whether the statement contradicts the proposed answer. If it does, the system is instructed to give the intermediate answer that agrees with the edit.

The retrieval and conflict steps have separate roles. The nearest stored edit can be useful even when it is worded differently from the subquestion. It can also be about another subject or another relation, particularly if the fact being queried was never edited. The comparison in the prompt lets the system decide whether that candidate warrants changing its answer. When the candidate is irrelevant to the subquestion, the intended behavior is to retain the tentative answer. When it gives a new object for the relevant subject and relation, the revised object should guide the next step.

The timing of the check is what makes the procedure suited to a path whose direction can change. If the first answer resolves an officeholder incorrectly, the next question can be about the wrong person. Retrieving an edit after a complete answer would leave a separate task of discovering where the path went wrong and recomputing what follows. MeLLo checks the intermediate answer while it can still influence how the next question is formulated. When there is another step, the system continues with the accepted intermediate answer in context. When the chain has reached what the original question asks for, it gives its final response.

The authors illustrate the process with a prompt that includes a question about Ivanka Trump’s spouse. The base system proposes Jared Kushner. The subquestion is what goes to the retriever, and the tentative answer is what the retrieved statement is checked against. These are distinct pieces of information. The query identifies the fact slot the procedure is looking up. The proposed answer supplies a value whose compatibility with the retrieved edit can be judged.

The original weights remain fixed throughout. The procedure adds textual records to a retrieval index and uses prompts to incorporate the retrieved material into generation. It uses a pretrained retriever and needs no new training for the answering procedure. This is why it can work with a service whose weights are unavailable. Storing edits as explicit records also makes adding or removing an edit a change to the store. The output depends on how successfully the system retrieves and uses the relevant statements whenever that store is available.

What the scores ask of each system

The paper uses three metrics because an edit can succeed under one kind of query while failing under another. Edit-wise success rate treats each changed fact as a separate opportunity for success. For every edit, the evaluator asks for the object using the relevant direct prompt. The score averages the resulting success indicators over edits.

𝟙[f*(tᵣ(s)) = o*]

Here 𝟙 denotes an indicator, yielding one for a true condition and zero otherwise. The square brackets enclose the condition and = tests equality. The parentheses apply tᵣ, the template for relation r, to subject s, and then apply f*, the edited system, to that prompt. The expected result is o*, the replacement object. The asterisks identify post-edit quantities.

Instance-wise accuracy checks whether all the component facts are recoverable for a given chain. Before editing, each direct probe uses the original system and original facts. An instance receives credit only when all its component probes succeed. The paper averages the indicator over instances.

𝟙[⋀₍ₛ,ᵣ,ₒ₎ ∈ 𝒞 [f(tᵣ(s)) = o]]

Here 𝟙 gives a success indicator for the condition in the outer square brackets. ⋀ means that the enclosed test must hold for every triple (s, r, o) in 𝒞, the original chain, with ∈ indicating membership. The parentheses group the subject s, relation r, and object o as a triple and indicate function application in the prediction. The commas separate the three fields. In the inner square brackets, = tests whether the base system f gives object o when queried with subject s in relation template tᵣ.

𝟙[⋀₍ₛ,ᵣ,ₒ₎ ∈ 𝒞* [f*(tᵣ(s)) = o]]

Here 𝟙 again returns a success indicator for the condition in brackets. ⋀ requires each fact probe to pass, and ∈ iterates over the triples (s, r, o) of the updated chain 𝒞*. Parentheses and commas group the three fields. Each o in this formula is the object in the updated chain, so it can be an unchanged value or a replacement. The equality sign compares that object with the prediction made by the edited system f* on template tᵣ filled with subject s. The asterisks mark the updated chain and the edited system. This expresses the appendix’s post-edit test with the expected object taken from the chain being scored.

Multi-hop accuracy asks whether the system gives the chain’s endpoint in response to a whole question. Each instance supplies three questions with the same target. Any one correct prediction gives the instance credit. This is the main outcome in the paper, and its average is over instances.

𝟙[⋁q ∈ 𝒬 [f(q) = a]]

Here 𝟙 denotes the success indicator and the outer square brackets enclose its condition. ⋁ expresses an inclusive or over questions q that belong to 𝒬, the questions for the instance, with ∈ indicating membership. The inner brackets enclose the test for a given q. The parentheses apply the original system f to that question, and = compares the prediction with the original answer a.

𝟙[⋁q ∈ 𝒬 [f*(q) = a*]]

Here 𝟙 again gives an indicator and the outer brackets delimit what is being tested. ⋁ requires at least one success across the questions q belonging to 𝒬, indicated by ∈. The inner brackets enclose each answer test, with parentheses indicating that f* is applied to q. The sign = tests whether the prediction is the updated answer a*. The asterisks mark the edited system and post-edit answer.

The aggregation rules explain why these scores can diverge. A change can count as an edit-wise success even if another fact needed in the chain is inaccessible. Instance-wise accuracy will capture the missing component when it causes one of the independent probes to fail. A system can also pass all the individual probes when given their subjects explicitly and struggle to supply those subjects itself as it works through the full question. The multi-hop metric is designed to detect that gap. Conversely, a correct endpoint earns credit without requiring that the intermediate facts be written out, so the multi-hop score measures answer behavior.

Experiments and results

What entered the comparisons

The authors describe the full MQuAKE-cf collection as containing more than 9K multi-hop questions. Their experiments use a subset that the appendix specifies as 3000 instances. The subset makes evaluation less expensive and removes conflicts that could arise when the edits from different instances are combined. In the chosen subset, after all edits have been applied, a subject and relation can have at most one corresponding object. The paper records that the subset was fixed in 2024/9 to address conflicting knowledge.

MQuAKE-t contains 1.8K instances as described in the dataset overview, and the largest experimental batch contains 1868 instances. Each instance contributes a single temporal revision. The authors also extend the references for the pre-edit temporal questions. They use GPT-3.5, specifically text-davinci-003, to obtain possible older answers. These expanded labels are meant to credit an original system that can answer the question using a historical state older than the particular one captured by the original reference. The post-edit question asks for the result under the specified revision.

The independent-instance experiments apply the edits associated with a single benchmark record. This may already involve up to four revisions on MQuAKE-cf. In the batch experiments, instances are split into groups, and the edits associated with a group are applied together. The group sizes for MQuAKE-cf are 1, 100, 1000, and 3000 instances. For MQuAKE-t they are 1, 100, 500, and 1868 instances. These counts specify groups of instances. Since a counterfactual instance can contain more than one revised fact, its group size should be read as the number of records whose edits enter the procedure, instead of a count of distinct fact substitutions.

The parameter-editing experiments use GPT-J, described as 6B, and Vicuna-7B, which the paper identifies as a fine-tuned version of LLaMA-7B. For MQuAKE-t, the weight-editor evaluation uses GPT-J. The authors leave Vicuna-7B out of that comparison because its more recent training makes it more likely to have encountered the updated temporal knowledge already. The distinction matters because a correct answer after an edit provides weaker evidence for the edit when the system could already give that answer. LLaMA

How the four weight editors were configured

The common objective for the weight editors is to supply the replacement object when given a cloze prompt for the subject and relation. The methods differ in how they obtain the change to the weights. The authors then evaluate the resulting behavior with both direct probes and composed questions. The benchmark can thus distinguish succeeding on the intervention’s immediate objective from using it in the setting where a revised fact changes a later lookup.

  • The fine-tuning baseline makes gradient-based updates on the edited examples. It changes layer 21 of GPT-J or layer 31 of Vicuna-7B and constrains the size of the change with a norm coefficient of 5 × 10⁻⁵.
  • MEND uses an auxiliary network to transform the gradient for the edited example into a parameter update. The authors reuse an existing GPT-J editor, train a Vicuna-7B editor on the Wikitext generation editing dataset, and use a learning-rate scale of 1.0 at inference.
  • ROME identifies a location for the factual intervention in a Transformer and alters the feedforward component at the selected layer. For GPT-J the authors reuse the method’s default settings and previously calculated covariance statistics. On Vicuna-7B they edit layer 9 and estimate the statistics from Wikitext with a sample size of 100,000.
  • MEMIT builds on ROME to insert batches of facts by updating feedforward components across layers. The GPT-J implementation again uses the method’s defaults and previously calculated statistics. For Vicuna-7B, the selected layers are 5, 6, 7, 8, and 9, with covariance statistics estimated from a Wikitext sample of 100,000.

For instance-wise and multi-hop accuracy, the evaluation uses demonstrations in the prompts to help elicit answers in a consistent form. For the composed questions, the authors also test chain-of-thought prompting, abbreviated CoT. Its demonstrations show intermediate reasoning as part of the response. The CoT setting changes how the edited system is queried. The editorial operation that produced its weights is the same. This comparison examines whether a more explicit way of asking for a composed answer gives the system better access to the facts already targeted by the edit. Chain-of-Thought Prompting

The counterfactual results

On MQuAKE-cf, the independent-instance tests establish that the weight-editing objective can be achieved often. ROME and MEMIT exceed 90% edit-wise success with GPT-J and with Vicuna-7B. The authors report that the specialized methods perform better than the constrained fine-tuning baseline. This shows that a system can often give the intended new object when the evaluator supplies the edited subject and relation directly.

The gap appears when the evaluator asks for the end of the chain. GPT-J’s reported pre-edit multi-hop accuracy on MQuAKE-cf is 40.5%, with the original answer as the target. The paper gives 7.4% after ROME, with the updated answer as the target. In the discussion of MEMIT, the paper reports 7.0% for the edited GPT-J system. For Vicuna-7B the reported multi-hop figures are 30.2% before editing and 4.9% after MEMIT. The same benchmark construction underlies the comparison before and after the intervention, while the correct entity changes.

GPT-J before and after weight editing on MQuAKE-cf, multi-hop accuracy

GPT-J reaches the correct endpoint much less often after either weight edit than it does under the original facts.

GPT-J before and after weight editing on MQuAKE-cf, multi-hop accuracyGPT-J before editing (this paper): 40.5GPT-J before editing (this paper)40.5GPT-J after ROME: 7.4GPT-J after ROME7.4GPT-J after MEMIT: 7.0GPT-J after MEMIT7.0
The numbers
System or settingaccuracy %
GPT-J before editing (this paper)40.5
GPT-J after ROME7.4
GPT-J after MEMIT7.0

The chart uses the unedited GPT-J condition as the highest-scoring setting among the results shown. The pre-edit score is the accuracy of reaching the original endpoint. If the system repeats that answer after a revision, it will fail the post-edit test by design. Performing well requires using the new facts to reach a different entity. The fact that the initial system could already answer some composed questions gives a reference for the difficulty of the original task. The low post-edit values show how frequently performance breaks down when the same kind of question has to be answered under an intervention.

The authors suggest that local parameter updates may teach an answer in a form that is easy to elicit with a direct prompt and harder to invoke in a new context. The measurements support the behavioral distinction between these uses. A high edit-wise score and a low multi-hop score can coexist in the same evaluation. The measurements leave room for several explanations of the low composed score, including inaccessible component facts in context, a bad intermediate choice, and difficulty turning the question into the required steps.

What changes with temporal facts and larger batches

On MQuAKE-t, GPT-J with the specialized weight editors has near-perfect performance on the direct edit-wise and instance-wise measures in the independent-instance setting, according to the authors. Fine-tuning is the exception they identify. This gives the temporal result a particularly informative comparison. The overall shortfall on composed questions persists on a dataset where the system frequently supplies every component fact when asked for those facts separately. The benchmark therefore exposes a use problem even when direct probes make the relevant information appear broadly available.

The authors report weaker multi-hop performance after editing than for the original GPT-J system. They also find a larger benefit from the CoT prompts on these temporal questions than on the counterfactual dataset, with MEND working particularly well under that prompting condition. They suggest that the kinds of relations in the temporal set, including head-of-state changes, may help explain the result for MEND. Their account is a hypothesis about the dataset and editor. The experiment establishes that an explicit intermediate-answer prompt can improve the observed result on temporal edits.

When the weight editors receive batches of edits from more instances, their multi-hop performance drops further on both datasets. This comparison holds the type of question fixed and gives the editing procedure more facts to handle simultaneously. It tests whether a method that is designed to accommodate a large update can still make the facts usable in the particular composed queries that depend on them. The largest groups put much more of each dataset in scope than the independent-instance evaluation and give a clearer view of behavior when many revisions must coexist.

How MeLLo compared

The authors evaluate MeLLo using GPT-J, Vicuna-7B, and GPT-3.5. They specify gpt-3.5-turbo-instruct for the counterfactual comparison and text-davinci-003 for the temporal comparison using GPT-3.5. They compare the method across the same instance batch sizes, using MEMIT as the GPT-J weight-editing reference for MQuAKE-cf and MEND for MQuAKE-t. Running both an editor and MeLLo on GPT-J provides a comparison with the base system held fixed. The other runs explore what the prompt-and-memory procedure can do with other base systems.

MeLLo with GPT-J outperforms the corresponding GPT-J weight-editing reference across the evaluated settings. MeLLo with GPT-3.5 widens the reported performance gap. The authors attribute some of that advantage to a stronger system’s ability to follow the instructions involved in decomposition and checking. The same-base comparison supports an advantage for the memory-based procedure on the benchmark. The GPT-3.5 comparisons add evidence that the procedure can take advantage of a stronger base system, with both the editor and the base system relevant when interpreting a comparison to a GPT-J weight editor.

One numerical result isolates a condition inside MeLLo’s operation. In the retrieval analysis on MQuAKE-cf with GPT-3.5, multi-hop accuracy is 73.1% among instances for which all the associated edits were retrieved. This is an accuracy for a selected set of instances. That selection is important because retrieval can become less reliable as more edited facts enter the store. The score shows that the procedure can often use the necessary edits once they are available and that complete retrieval still leaves work for the rest of the answering procedure.

What the ablations show

Asking for reasoning explicitly

The paper reports controlled comparisons and breakdowns of behavior in place of a component-removal study of MeLLo. One comparison asks whether the weight editors struggle because the ordinary prompt does too little to encourage intermediate reasoning. The authors therefore query them again with CoT demonstrations, which model the form of a response that spells out steps. The edited weights are already in place in both settings, so the comparison addresses what a change in the query can elicit from the same edited system.

On MQuAKE-cf, this change yields modest improvements while leaving composed performance low. Requiring an explanation can help a system bring individual facts into the response, but the counterfactual results indicate that this degree of prompt support does not resolve the broader problem. In particular, the prompt can ask for decomposition while providing no external reason to choose the new object if the system favors the old one when answering a subquestion.

On MQuAKE-t, the benefit is more substantial, particularly for MEND. That difference shows that the value of explicit steps depends on the test setting. The temporal dataset has one position-related update per instance and emphasizes a smaller set of relations. The paper points to possible variation across relations as an explanation for MEND’s outcome. The comparison does not isolate which property of those instances accounts for the greater benefit. It does show that a stronger prompt is a meaningful intervention on the temporal dataset, and that a result from an ordinary prompt alone gives an incomplete account of edited behavior there.

Length of the chain and number of edited facts

In the GPT-J breakdown of MQuAKE-cf with CoT, 2-hop questions have higher multi-hop accuracy than 3-hop and 4-hop questions across the editing methods. A longer chain asks for more intermediate entities and gives an earlier mistake more opportunities to carry forward. An incorrect entity can make the next lookup irrelevant even when the system answers that lookup accurately for the entity it chose. The breakdown is consistent with that explanation. Because it groups naturally constructed questions by length, the relation combinations and wording can also vary with length.

A separate breakdown groups the counterfactual instances by how many edits they contain. The reported performance worsens when the instance has more edits. This comparison addresses a different load from the length breakdown. A question may have several hops and only one revised fact, or it may require several replacements during the same answer. The first situation involves finding and using one change while following other familiar relationships. The second requires applying distinct changes in the right places. The breakdown identifies harder classes of instances without specifying which revised hop causes a given failure.

The batch-size comparisons introduce another kind of difficulty. An instance with a fixed number of relevant edits can be answered under a configuration that also contains edits from many other instances. Those other edits form part of the same global update for a weight editor. For MeLLo, they occupy the same search index. An increase in the number of edited facts in a particular question and an increase in the number of edited facts the whole system has to carry are separate conditions. The paper examines both, which helps distinguish local complexity from the consequences of a larger update.

Retrieving the full set of relevant edits

The MeLLo retrieval analysis defines success at the instance level. All associated edited facts must be found at some point while the system answers the question for the retrieval to count as successful. A single retrieved edit may be sufficient for an instance that has one new fact. For an instance with several relevant changes, returning some of them falls short of the diagnostic’s criterion. This strict definition fits a task where each of the edits can affect which answer is ultimately correct.

With GPT-3.5 on MQuAKE-cf, the authors vary how many instances’ edits are in memory together. They observe that retrieval accuracy decreases with more instances and that multi-hop accuracy decreases along with it. A larger memory offers more candidates that may resemble a query without expressing its exact fact. If the relevant record fails to reach the prompt, the self-check may have no basis for replacing a stale tentative answer. The authors point to retrieval as a part of the system where improvements could benefit answering performance.

The 73.1% conditional result helps locate the remaining difficulty. Even on instances where the required edits reach the answering system, it still has to identify a usable sequence of subquestions, deal with unchanged facts, interpret the retrieved sentences, and produce the final entity. The analysis does not allocate the remaining errors among these steps. It also groups instances by observed retrieval success, so it does not measure what would happen if a perfect retriever were substituted on the same instances. Cases where retrieval succeeds can differ from cases where it fails in other ways, including how easily the subquestions can be phrased.

Taken together, the analyses give separate evidence about elicitation, task difficulty, and access to the updates. CoT tests a change in how the system is asked to answer. The length and edit-count breakdowns show where the benchmark becomes harder. The retrieval analysis observes whether necessary update sentences reach MeLLo while it is working on the question. They help explain the headline result without assigning correctness to a particular internal reasoning mechanism.

Limitations

Limits the authors state

The authors primarily test parameter editing on GPT-J and Vicuna, and the temporal weight-editing evaluation narrows the comparison to GPT-J. Applying the weight editors requires access to the systems’ parameters, and the authors identify computational expense as a reason for leaving evaluations on other systems for later work. The conclusion about the weight editors is therefore tied to the tested implementations and base systems. A method’s performance can depend on both what it changes and the system in which it makes the change.

For MeLLo, the authors leave open how well the procedure works on smaller systems, mentioning GPT-2 as a possible setting to study. The prompts place multiple demands on the base system. It has to formulate sensible subquestions, produce plausible answers from its existing knowledge, and perform the conflict check on a retrieved statement. Each of these abilities can affect the outcome. A usable retriever alone leaves much of the work to the system being prompted.

The prompts themselves are hand-designed. The authors frame MeLLo as an approach that could be instantiated on other tasks and identify evaluation of those tasks as future work. The current results establish its behavior with the question structure and prompts used for MQuAKE. A task with a different form of dependence between facts might require a different way of specifying the intermediate checks and deciding when the answer is complete.

Question authorship is the fourth stated limit. ChatGPT generates the multi-hop formulations. The authors give examples that they judge grammatical and consistent with their chains, and MQuAKE-t grounds the revisions in real changes. They suggest that human-authored questions could bring the benchmark closer to real uses. Authenticity of the update and authenticity of the question are distinct. A real change in an office can be paired with an automatically worded question whose form is easier or harder than the kinds of requests people actually make.

Further limits of the design

The original paths are selected because GPT-J can retrieve every constituent fact with the chosen templates and demonstrations. This makes missing original knowledge less of a confound when reasoning about editing failures on that system. It also defines the population of paths tested. The result does not directly characterize performance on rare facts or cases where the original system fails the component probes. The common-entity filter, the hand-picked relations, and the restrictions on permissible chains all shape that population before the GPT-J check is applied.

The recall filter is a statement about behavior under particular prompts. A fact that GPT-J can retrieve when given its subject and relation explicitly may still be hard to access when the subject has to be identified from a longer question. For an endpoint prediction, the system may need to infer the same subject under different wording, and the template demonstrations are unavailable as separate probes within that full question. The gap in performance is meaningful in part because these circumstances differ. It cannot by itself identify where information is represented or how a weight editor changes that representation.

MQuAKE-cf deliberately keeps cases whose answers must change and chooses a compatible subset for simultaneous evaluation. This design makes the metric sensitive to ignoring an edit and gives the large-batch tests a consistent factual target. It narrows what can be concluded about an editing system presented with conflicting or repeatedly superseded updates. The benchmark’s post-edit success can be checked against a determinate object for each selected subject and relation. Resolving incompatible entries or assigning them different periods of validity would require an additional specification.

The temporal dataset adds evidence about authentic factual changes, with an important restriction on what counts as such a change. The authors focus on selected relations associated with positions and put one revision in each instance. The results therefore concern cases in which a newer person fills a slot and the consequences can be evaluated through a chain. Extending the pre-edit references to older answers makes the comparison more tolerant of differences in the historical knowledge GPT-J can recall. It also means the pre-edit score follows that broader reference rule. The pre-edit result should be interpreted with the rule in mind when it is compared with a target defined by a specific new fact.

For multi-hop accuracy, the same instance receives credit whether it succeeds on all its question variants or on just one. This is a reasonable way to ask whether the revised endpoint is recoverable across a small collection of phrasings. It yields no separate measure of how dependable the answers are across all those formulations. Similarly, an endpoint matching the gold answer does not demonstrate that the system followed the chain stored in the instance. The chain is what justifies the expected answer and allows the component checks. Proof of the actual computation would require other evidence.

MeLLo’s fixed weights support a specific claim about how it implements an update. Its editing procedure avoids direct changes to the original parameters. Its overall behavior still depends on retrieval and generation in the presence of retrieved material. The benchmark measures the intended dependent answers. Comprehensive preservation of unrelated answers under MeLLo would require further testing, since an irrelevant retrieved sentence can enter the prompt and the system must judge whether to use it.

Finally, MeLLo and the weight editors provide their answers under different operational arrangements. At inference time MeLLo has an explicit store containing the requested updates and can consult it while producing the answer. A weight editor aims to make the updated answer possible through parameters that have already been changed. The experiment compares these arrangements on their resulting answers. It establishes the promise of memory-guided generation for the benchmark and leaves open how an internal parameter update could produce the same degree of coherent use.

What came after

Later work citing MQuAKE addresses several parts of the problem it makes visible. Some papers focus on testing whether updates have the intended consequences. Others study how a system retrieves or reconciles the information it uses to answer. A citation establishes a connection to the paper. Claims about the use of its dataset, prompts, or measurements would require particular evidence for each work. The relationships below concern the research questions the citing papers take up.

Extending the scope of an editing test

MLaKE brings multilingual evaluation into knowledge editing. MQuAKE asks whether an update made to a fact is available when a question reaches that fact indirectly. A multilingual benchmark adds a separate context in which an evaluator can ask whether revised knowledge is accessible. Formulating a request in a different language and embedding it in a chain are distinct ways of changing how the system encounters the fact.

Cross-Lingual Knowledge Editing likewise takes the language of access as part of the editing problem. A system can supply an updated answer in the context where an edit is easiest to elicit while its behavior elsewhere remains a question for evaluation. The connection to MQuAKE is this broader notion of scope. MQuAKE changes the question’s dependence on the edited association. Cross-lingual editing raises the corresponding issue across languages. Multilingual Knowledge Editing with Language-Agnostic Factual Neurons approaches the multilingual problem through factual units intended to be independent of a particular language, placing the emphasis on what is shared at the level being edited.

Deductive Closure Training names a training agenda that connects coherence, accuracy, and the ability to update. The link with MQuAKE is especially direct at the level of what an update is supposed to entail. MQuAKE constructs a reference answer from the consequences of altered facts. Deductive closure places consequences within the scope of training. That difference in emphasis connects a test for revision-dependent answers to the question of how systems might acquire the behavior in the first place.

Learning to Edit considers how systems can be aligned with knowledge editing through learning. This takes up a question left open by the fixed base systems in MQuAKE’s main comparisons. A system’s response to an intervention can depend on what its prior training prepared it to do with a revised fact. Reason-KE++ explicitly places the reasoning process within the goal of faithful editing. That emphasis relates to a limit of endpoint scoring in MQuAKE, where the answer can receive credit without showing which steps the system took.

Making stored evidence usable

HippoRAG approaches long-term memory through a neurobiologically inspired design. From RAG to Memory frames continual learning in terms of non-parametric memory, meaning information maintained separately from the parameters of the base system. Both address how a system can use a store of information beyond its weights. MeLLo demonstrates a version of that idea specialized to revisions. An update enters an external store and becomes consequential only if it is retrieved and applied where it matters in an answer.

Making Retrieval-Augmented Language Models Robust to Irrelevant Context takes up the problem of retrieved material that does not belong in an answer. This problem arises concretely in MeLLo whenever the retriever returns the closest stored edit for a subquestion whose fact has not changed. The answering system needs a way to judge whether the resulting context is applicable. Knowledge Conflicts for LLMs surveys the broader problem of knowledge conflicts. MeLLo gives one specific setting in which a conflict is expected and useful to detect. The base system can propose an old object for a fact whose new object has been stored externally.

DKME brings the relationship between knowledge and memory into lifelong editing, where updating is an ongoing concern. MQuAKE’s batching experiments ask whether many revisions can be available together, and its retrieval diagnostic asks how a growing set of edits affects access to the relevant ones. Lifelong editing places these questions in an extended setting where the practical value of memory depends on later retrieval and use as well as the act of storing an update.

Looking beyond the edited answer

Model Editing Harms General Abilities examines the consequences of editing for general abilities and studies regularization as a response. CaPEdit puts capability preservation within lifelong knowledge editing. These papers emphasize another consequence of applying an intervention. MQuAKE focuses on answers that are supposed to change. Work on preserving capabilities looks at behavior that remains valuable while those changes are being made. A result on either dimension leaves the other dimension open.

Patchscopes presents a framework for inspecting hidden representations. Its connection is to the level of evidence available when evaluating knowledge. MQuAKE observes whether the edited fact appears in direct answers and contributes to the right endpoint in a composed question. Inspection of hidden representations addresses a different level of the explanation. It concerns what is available inside the system and how evidence about that availability can be obtained.

Grokked Transformers are Implicit Reasoners takes a mechanistic perspective on implicit reasoning and generalization. BELLE develops a bi-level multi-agent framework for multi-hop question answering. The former addresses how reasoning can arise within a system, while the latter makes the organization of a multi-step answer part of the method. MQuAKE connects those concerns in a specific behavioral test. It gives an intervention a known consequence, establishes what the answer should be under that intervention, and checks whether the system reaches it.

Cite

Cite as Zexuan Zhong, Zhengxuan Wu, Christopher Manning, Christopher Potts and Danqi Chen. 2023. MQuAKE: Assessing Knowledge Editing in Language Models via Multi-Hop Questions. Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing.

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.18653/v1/2023.emnlp-main.971 · arXiv 2305.14795

@inproceedings{zhong2023mquake,
  title = {{MQuAKE: Assessing Knowledge Editing in Language Models via Multi-Hop Questions}},
  author = {Zexuan Zhong, Zhengxuan Wu, Christopher Manning, Christopher Potts and Danqi Chen},
  booktitle = {Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing},
  year = {2023},
  doi = {10.18653/v1/2023.emnlp-main.971},
  eprint = {2305.14795},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.18653/v1/2023.emnlp-main.971}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/zhong-2023-mquake-assessing-knowledge-editing-language/

References

36 references, from the paper's own bibliography.

  1. Tom Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah, Jared D Kaplan, Prafulla Dhariwal, Arvind Neelakantan, Pranav Shyam, Girish Sastry, Amanda Askell, et al. 2020. Language models are few-shot learners (https://arxiv.org/abs/2005.14165). In Advances in Neural Information Processing Systems (NeurIPS). our card
  2. Wei-Lin Chiang, Zhuohan Li, Zi Lin, Ying Sheng, Zhanghao Wu, Hao Zhang, Lianmin Zheng, Siyuan Zhuang, Yonghao Zhuang, Joseph E. Gonzalez, Ion Stoica, and Eric P. Xing. 2023. Vicuna: An open-source chatbot impressing GPT-4 with 90%* ChatGPT quality (https://lmsys.org/blog/2023-03-30-vicuna/). OpenAlex ↗ · Scholar ↗
  3. Damai Dai, Li Dong, Yaru Hao, Zhifang Sui, Baobao Chang, and Furu Wei. 2022a. Knowledge neurons in pretrained transformers (https://aclanthology.org/2022.acl-long.581.pdf). In Association for Computational Linguistics (ACL). OpenAlex ↗ · Scholar ↗
  4. Damai Dai, Li Dong, Yaru Hao, Zhifang Sui, Baobao Chang, and Furu Wei. 2022b. Knowledge neurons in pretrained transformers (https://arxiv.org/abs/2104.08696). In Association for Computational Linguistics (ACL). OpenAlex ↗ · Scholar ↗
  5. Nicola De Cao, Wilker Aziz, and Ivan Titov. 2021. Editing factual knowledge in language models (https://aclanthology.org/2021.emnlp-main.522.pdf). In Empirical Methods in Natural Language Processing (EMNLP). our card
  6. Qingxiu Dong, Damai Dai, Yifan Song, Jingjing Xu, Zhifang Sui, and Lei Li. 2022. Calibrating factual knowledge in pretrained language models (https://arxiv.org/abs/2210.03329). In Findings of Empirical Methods in Natural Language Processing (EMNLP). our card
  7. Peter Hase, Mona Diab, Asli Celikyilmaz, Xian Li, Zornitsa Kozareva, Veselin Stoyanov, Mohit Bansal, and Srinivasan Iyer. 2023. Do language models have beliefs? Methods for detecting, updating, and visualizing model beliefs (https://arxiv.org/abs/2111.13654). In European Chapter of the Association for Computational Linguistics (EACL). our card
  8. Evan Hernandez, Belinda Z Li, and Jacob Andreas. 2023. Measuring and manipulating knowledge representations in language models (https://arxiv.org/abs/2304.00740). arXiv preprint arXiv:2304.00740. OpenAlex ↗ · Scholar ↗
  9. Jason Hoelscher-Obermaier, Julia Persson, Esben Kran, Ioannis Konstas, and Fazl Barez. 2023. Detecting edit failures in large language models: An improved specificity benchmark (https://arxiv.org/pdf/2305.17553.pdf). arXiv preprint arXiv:2305.17553. OpenAlex ↗ · Scholar ↗
  10. Zeyu Huang, Yikang Shen, Xiaofeng Zhang, Jie Zhou, Wenge Rong, and Zhang Xiong. 2023. Transformer-patcher: One mistake worth one neuron (https://arxiv.org/abs/2301.09785). In International Conference on Learning Representations (ICLR). our card
  11. Gautier Izacard, Mathilde Caron, Lucas Hosseini, Sebastian Riedel, Piotr Bojanowski, Armand Joulin, and Edouard Grave. 2021. Towards unsupervised dense information retrieval with contrastive learning (https://arxiv.org/abs/2112.09118). Transactions on Machine Learning Research (TMLR). our card
  12. Zhengbao Jiang, Frank F Xu, Jun Araki, and Graham Neubig. 2020. How can we know what language models know? (https://arxiv.org/abs/1911.12543) In Transactions of the Association of Computational Linguistics (TACL). our card
  13. Omar Khattab, Keshav Santhanam, Xiang Lisa Li, David Hall, Percy Liang, Christopher Potts, and Matei Zaharia. 2022. Demonstrate-search-predict: Composing retrieval and language models for knowledge-intensive NLP (https://arxiv.org/abs/2212.14024). arXiv preprint arXiv:2212.14024. our card
  14. Alex Mallen, Akari Asai, Victor Zhong, Rajarshi Das, Hannaneh Hajishirzi, and Daniel Khashabi. 2023. When not to trust language models: Investigating effectiveness and limitations of parametric and non-parametric memories (https://arxiv.org/abs/2212.10511). In Association for Computational Linguistics (ACL). OpenAlex ↗ · Scholar ↗
  15. Kevin Meng, David Bau, Alex Andonian, and Yonatan Belinkov. 2022a. Locating and editing factual associations in GPT (https://arxiv.org/abs/2202.05262). In Advances in Neural Information Processing Systems (NeurIPS). our card
  16. Kevin Meng, Arnab Sen Sharma, Alex Andonian, Yonatan Belinkov, and David Bau. 2022b. Mass-editing memory in a transformer (https://arxiv.org/abs/2210.07229). In International Conference on Learning Representations (ICLR). OpenAlex ↗ · Scholar ↗
  17. Eric Mitchell, Charles Lin, Antoine Bosselut, Chelsea Finn, and Christopher D Manning. 2022a. Fast model editing at scale (https://arxiv.org/abs/2110.11309). In International Conference on Learning Representations (ICLR). our card
  18. Eric Mitchell, Charles Lin, Antoine Bosselut, Christopher D Manning, and Chelsea Finn. 2022b. Memory-based model editing at scale (https://arxiv.org/abs/2206.06520). In International Conference on Machine Learning (ICML). our card
  19. Eric Mitchell, Joseph J. Noh, Siyan Li, William S. Armstrong, Ananth Agarwal, Patrick Liu, Chelsea Finn, and Christopher D. Manning. 2022c. Enhancing self-consistency and performance of pretrained language models with NLI (https://ericmitchell.ai/concord.pdf). In Empirical Methods in Natural Language Processing (EMNLP). OpenAlex ↗ · Scholar ↗
  20. Yasumasa Onoe, Michael JQ Zhang, Shankar Padmanabhan, Greg Durrett, and Eunsol Choi. 2023. Can lms learn new entities from descriptions? Challenges in propagating injected knowledge (https://arxiv.org/abs/2305.01651). In Association for Computational Linguistics (ACL). our card
  21. Long Ouyang, Jeff Wu, Xu Jiang, Diogo Almeida, Carroll L. Wainwright, Pamela Mishkin, Chong Zhang, Sandhini Agarwal, Katarina Slama, Alex Ray, John Schulman, Jacob Hilton, Fraser Kelton, Luke E. Miller, Maddie Simens, Amanda Askell, Peter Welinder, Paul Francis Christiano, Jan Leike, and Ryan J. Lowe. 2022. Training language models to follow instructions with human feedback (https://arxiv.org/abs/2203.02155). In Advances in Neural Information Processing Systems (NeurIPS). our card
  22. Fabio Petroni, Tim Rocktäschel, Patrick Lewis, Anton Bakhtin, Yuxiang Wu, Alexander H Miller, and Sebastian Riedel. 2019. Language models as knowledge bases? (https://arxiv.org/abs/1909.01066) In Empirical Methods in Natural Language Processing (EMNLP). our card
  23. Ofir Press, Muru Zhang, Sewon Min, Ludwig Schmidt, Noah A Smith, and Mike Lewis. 2022. Measuring and narrowing the compositionality gap in language models (https://arxiv.org/abs/2210.03350). arXiv preprint arXiv:2210.03350. OpenAlex ↗ · Scholar ↗
  24. Alec Radford, Jeffrey Wu, Rewon Child, David Luan, Dario Amodei, Ilya Sutskever, et al. 2019. Language models are unsupervised multitask learners (https://cdn.openai.com/better-language-models/language_models_are_unsupervised_multitask_learners.pdf). OpenAI blog. OpenAlex ↗ · Scholar ↗
  25. Taylor Shin, Yasaman Razeghi, Robert L Logan IV, Eric Wallace, and Sameer Singh. 2020. Autoprompt: Eliciting knowledge from language models with automatically generated prompts (https://arxiv.org/abs/2010.15980). In Empirical Methods in Natural Language Processing (EMNLP), pages 4222–4235. our card
  26. Anton Sinitsin, Vsevolod Plokhotnyuk, Dmitry Pyrkin, Sergei Popov, and Artem Babenko. 2020. Editable neural networks (https://arxiv.org/abs/2004.00345). In International Conference on Machine Learning (ICML). OpenAlex ↗ · Scholar ↗
  27. Matthew Sotoudeh and Aditya V Thakur. 2019. Correcting deep neural networks with small, generalizing patches (https://thakur.cs.ucdavis.edu/assets/pubs/SRDM2019.pdf). In Workshop on Safety and Robustness in Decision Making. OpenAlex ↗ · Scholar ↗
  28. Hugo Touvron, Thibaut Lavril, Gautier Izacard, Xavier Martinet, Marie-Anne Lachaux, Timothée Lacroix, Baptiste Rozière, Naman Goyal, Eric Hambro, Faisal Azhar, et al. 2023. LLaMA: Open and efficient foundation language models (https://arxiv.org/abs/2302.13971). arXiv preprint arXiv:2302.13971. our card
  29. Denny Vrandečić and Markus Krötzsch. 2014. Wikidata: a free collaborative knowledgebase (https://static.googleusercontent.com/media/research.google.com/en//pubs/archive/42240.pdf). Communications of the ACM, 57(10):78–85. our card
  30. Ben Wang and Aran Komatsuzaki. 2021. GPT-J-6B: A 6 Billion Parameter Autoregressive Language Model. https://github.com/kingoflolz/mesh-transformer-jax. OpenAlex ↗ · Scholar ↗
  31. Jason Wei, Xuezhi Wang, Dale Schuurmans, Maarten Bosma, Ed Chi, Quoc Le, and Denny Zhou. 2022. Chain of thought prompting elicits reasoning in large language models (https://arxiv.org/abs/2201.11903). In Advances in Neural Information Processing Systems (NeurIPS). our card
  32. Shunyu Yao, Jeffrey Zhao, Dian Yu, Nan Du, Izhak Shafran, Karthik Narasimhan, and Yuan Cao. 2023. ReAct: Synergizing reasoning and acting in language models (https://arxiv.org/abs/2210.03629). In International Conference on Learning Representations (ICLR). our card
  33. Zexuan Zhong, Dan Friedman, and Danqi Chen. 2021. Factual probing is [MASK]: Learning vs. learning to recall (https://arxiv.org/abs/2104.05240). In North American Chapter of the Association for Computational Linguistics (NAACL). our card
  34. Denny Zhou, Nathanael Schärli, Le Hou, Jason Wei, Nathan Scales, Xuezhi Wang, Dale Schuurmans, Olivier Bousquet, Quoc Le, and Ed Chi. 2023a. Least-to-most prompting enables complex reasoning in large language models (https://arxiv.org/abs/2205.10625). In International Conference on Learning Representations (ICLR). our card
  35. Wenxuan Zhou, Sheng Zhang, Hoifung Poon, and Muhao Chen. 2023b. Context-faithful prompting for large language models (https://arxiv.org/abs/2303.11315). arXiv preprint arXiv:2303.11315. our card
  36. Chen Zhu, Ankit Singh Rawat, Manzil Zaheer, Srinadh Bhojanapalli, Daliang Li, Felix Yu, and Sanjiv Kumar. 2021. Modifying memories in transformer models (https://arxiv.org/abs/2012.00363). In International Conference on Machine Learning (ICML). OpenAlex ↗ · Scholar ↗