ArXiv: 2012.00363
🎯 Pitch
You can surgically edit facts inside a Transformer without retraining from scratch—but counterintuitively, limiting weight updates to the first or last layers works better than fine-tuning the entire model. This constrained, layer-specific approach lets language models forget outdated knowledge and learn new facts while leaving the rest of their memory intact.
1. Executive Summary
This paper proposes a new task of explicitly modifying specific factual knowledge implicitly stored in Transformer language model parameters while preserving performance on unmodified facts. The authors create a benchmark from T-REx and zsRE datasets and evaluate constrained fine-tuning approaches on BERT-Base, BERT-Large, ALBERT-XXLarge, and the memory-augmented FaE model. The core mechanism is constrained fine-tuning — applying an ℓ∞ norm constraint on weight changes during optimization on modified facts (projecting weights back into a δ-ball around the original parameters after each gradient step) — combined with layer-specific modification, where updating only the first or last Transformer block proves more effective than full-model fine-tuning. The best configuration achieves an average accuracy of 60.62% for BERT-Base and 66.19% for FaE when modifying 32 facts on T-REx, establishing that explicit symbolic memory does not necessarily make knowledge modification easier than updating implicit parameters alone.
2. Context and Motivation
The Core Problem: We Can't Edit What Language Models Know
The fundamental question this paper tackles is both simple and deeply practical: if a Transformer language model has memorized a fact, how do you change that fact without breaking everything else the model knows? This question arises from a convergence of two well-established findings in the NLP literature that had not previously been connected as a single engineering challenge.
The first finding, established by Petroni et al. (2019) and Roberts et al. (2020), is that large pretrained Transformer language models (BERT, T5, GPT series) do not merely learn linguistic patterns — they implicitly store substantial factual knowledge in their parameters. When you ask BERT "[MASK] is the capital of France," it answers "Paris" not because it has seen that exact cloze sentence during pretraining, but because it has encoded the factual relationship (France, capital, Paris) somewhere in its 110M+ parameters. Petroni et al. (2019) demonstrated this systematically through the LAMA benchmark, which converts facts from knowledge bases like Wikidata into natural-language cloze statements and measures whether pretrained models can fill in the blanks. The results were striking: BERT-Base achieved non-trivial accuracy on factual queries without any fine-tuning on the target facts, suggesting that the model's pretraining on Wikipedia and BookCorpus had effectively compressed a knowledge base into its weight matrix.
The second finding, more diffuse but equally important, is that the world's facts change, and models that rely on implicit memorization have no mechanism for keeping up. An athlete switches teams. An election changes a country's leadership. A scientific consensus shifts. A user tells their AI assistant to remember that their favorite restaurant has moved. In traditional knowledge bases — SQL databases, key-value stores, graph databases — updating a fact is straightforward: you locate the relevant record and modify it. The infrastructure for querying and updating is the primary design consideration. But in a Transformer model, the "record" for any given fact is distributed across millions of parameters, with no clear mapping between a specific weight and a specific fact.
This paper identifies the gap directly in its opening paragraphs (Section 1):
"Different from conventional KBs that explicitly memorize factual knowledge, Transformers implicitly memorize knowledge in their model parameters. As a result, Transformers lack one key advantage of the conventional databases: efficiently modifying the factual knowledge stored in the model."
This is not merely an academic observation — it represents a fundamental architectural limitation that prevents language models from serving as dynamic, maintainable knowledge repositories.
Why This Matters: The Three-Use-Case Argument
The paper grounds the importance of knowledge modification in three concrete scenarios that span privacy, correctness, and fairness (Section 1). Each scenario represents a different failure mode of static implicit memorization:
Staleness and temporal updates. Facts in the world change continuously. A language model trained on a static corpus snapshot — say, Wikipedia from 2019 — will retain incorrect information indefinitely unless updated. The example the paper gives is a sports player who changes teams over time. More broadly, any deployment of a language model in a production setting faces an expiration date on the accuracy of its memorized knowledge. Without a mechanism for targeted updates, organizations face a choice between serving stale information or retraining the entire model — a process that, for models the size of BERT-Large (340M parameters) or larger, is computationally prohibitive, especially if only a handful of facts need updating.
Privacy and the right to be forgotten. Carlini et al. (2019) demonstrated that large language models can unintentionally memorize sensitive information from their training data — phone numbers, addresses, personal identifiers. Under regulations such as GDPR's "right to erasure," organizations may be legally obligated to remove such information from deployed models. Retraining from scratch on a cleansed corpus is one approach, but it is expensive and requires identifying all instances of the sensitive information in an unstructured pretraining corpus — a task that is itself technically challenging. The ability to surgically remove or overwrite specific memorized facts would provide a more practical compliance mechanism.
Bias elimination. Language models are well-documented to absorb and amplify biases present in their training data — gender stereotypes (Bolukbasi et al., 2016), racial biases (Blodgett et al., 2020), and other forms of representational harm (Bordia and Bowman, 2019). Mitigating these biases typically requires either careful corpus curation before pretraining (which cannot anticipate all biases) or post-hoc debiasing of model outputs (which treats symptoms rather than causes). The knowledge modification framework offers a third path: directly modify the specific biased associations stored in the model's parameters. For instance, if a model has learned a spurious correlation between a profession and a gender from distributional statistics in its training data, targeted modification could overwrite that association without requiring a full retraining pipeline.
These three motivations are not merely rhetorical framing — they represent genuine failure modes that arise from the mismatch between how Transformers store knowledge (distributed, implicit, static after training) and how knowledge actually behaves in the world (localized, explicit, dynamic).
Prior Approaches and Where They Fall Short
The paper identifies four categories of existing work that either partially address the problem or provide natural baselines, each with specific limitations that motivate the constrained fine-tuning approach.
Retraining from scratch or on modified corpora. The most reliable approach is to update all training data to be consistent with new facts and retrain the model. The paper acknowledges this (Section 3.2) but dismisses it on two practical grounds. First, identifying and updating modified facts in unstructured pretraining corpora is "highly non-trivial" — if the model needs to update "the capital of country X is now Y," you would need to find every sentence in Wikipedia and BookCorpus that references the old capital and modify it, which is essentially an information extraction and text generation problem at massive scale. Second, even if corpus modification were feasible, retraining the model from scratch is computationally prohibitive for modifying a small number of facts. This creates a fundamental asymmetry: the cost of updating one fact in a traditional database is O(1) (modify one record), while the cost of updating one fact in a Transformer via retraining is O(total training cost).
Unconstrained fine-tuning on modified facts. The most intuitive lightweight approach is to simply fine-tune the model on supporting evidence for the modified facts (Equation 1 in Section 3.2). For example, if the model needs to change "Eliud Kipchoge holds the marathon world record," you would train it on sentences stating the new record holder. The paper demonstrates (Table 3) that this approach achieves high accuracy on the modified facts — up to 82.50% for BERT-Base when fine-tuning the 11th Transformer block — but catastrophically forgets the unmodified facts, with accuracy on unmodified facts dropping to near zero (e.g., 0.37% when fine-tuning all of BERT-Base from a fine-tuned starting point). This is the classic catastrophic forgetting problem (Kirkpatrick et al., 2017) in a particularly acute form: because the fine-tuning data consists of only the modified facts (e.g., 32 examples), the model rapidly overfits to those specific input-output mappings, overwriting the distributed representations that encoded the original knowledge.
The key insight behind this failure is that each weight in a Transformer affects the model's prediction for many different facts simultaneously. When you aggressively update weights to maximize the probability of the new answer for one fact, you are necessarily changing the model's behavior for all other facts that depended on the same weights. There is no natural isolation between facts stored in the same parameter vector.
Fine-tuning on a mixture of modified and unmodified facts. A natural refinement is to include examples of unmodified facts in each training batch alongside the modified ones, hoping to maintain performance on the original knowledge while learning the new facts. The paper explores this (denoted as FTA in Section 4.4, with results in Table 4) and finds that it does not significantly improve over constrained fine-tuning on only modified facts. The reason is subtle: even when each minibatch contains a 50/50 mix of modified and unmodified examples, the optimizer loops over the modified facts multiple times per epoch (since the modified set is small), effectively giving them disproportionate weight. As the paper notes (Appendix B):
"the optimizer repeatedly loops over DM, which effectively makes the model 10 times as much more biased towards minimizing the expected loss on DM (as we train 10 epochs) than on DF\S"
This creates an inherent tension: you need enough exposure to modified facts to learn them well, but that same exposure inevitably biases optimization away from preserving unmodified facts. Simply mixing data does not resolve this tension — it only shifts the balance point without eliminating the underlying tradeoff.
Memory-augmented models with symbolic components. Several models introduce explicit memory structures alongside the Transformer to make knowledge more accessible and modifiable — Févry et al. (2020)'s Entities as Experts (EaE) adds entity memory, Verga et al. (2020)'s Facts as Expert (FaE) builds on this with additional fact memory, and Khandelwal et al. (2020)'s kNN-LM adds a nearest-neighbor retrieval mechanism over training examples. One of the explicit motivations for FaE is that modifying knowledge should be easy: you simply update the symbolic links in the explicit memory, and the model's predictions should change accordingly.
The paper tests this claim directly (Section 4.6, Table 5) and arrives at a surprising finding: it does not work as intended. When only the symbolic memory links are modified without touching the Transformer parameters, FaE achieves only 46.88% accuracy on the modified facts — higher than the 30% reported by Verga et al. (2020) but still far below what constrained fine-tuning achieves. The paper explains this as a consistency problem between implicit and explicit memory:
"since these models rely on both the contextual representation and the symbolic links, inconsistency between its implicit memory (realized via contextual representation) and the explicit symbolic memory can result in wrong predictions"
In other words, FaE stores knowledge redundantly: the BERT-based Transformer backbone has implicitly memorized facts during training, and the explicit symbolic memory also encodes them. When you update only the explicit memory, the implicit memory in the Transformer parameters continues to influence predictions through the contextual representations, creating contradictory signals. The model sometimes follows the updated explicit link and sometimes follows the original implicit knowledge encoded in the Transformer weights. To achieve high accuracy on modified facts, you need to modify the Transformer parameters as well — which means FaE does not actually simplify the knowledge modification problem relative to standard BERT.
This finding is significant because it undermines a key claimed advantage of memory-augmented architectures. It suggests that implicit memorization in Transformer weights is not simply a redundant backup of explicit memory but rather an integral part of how these models compute predictions, and it must be dealt with directly regardless of whether explicit memory modules are present.
The kNN-LM approach (Appendix F, Table 6) fares even worse: modifying only the value tokens in the nearest-neighbor datastore yields at most 12.50% accuracy on modified facts, and the paper identifies a fundamental limitation — all facts sharing the same object (e.g., all facts where the answer is "Paris") will be affected by modifying any one of them, because the nearest-neighbor mechanism does not distinguish between different relations. This is a form of collateral damage that arises from the non-compositional nature of the kNN retrieval: the model retrieves based on contextual embedding proximity without understanding whether the fact relation matches.
How This Paper Positions Itself
The paper frames its contribution around a novel task formulation rather than a novel architecture or training objective. This is an important distinction: the paper is not proposing a new type of Transformer or a fundamentally new optimization algorithm. Instead, it defines a benchmark and evaluation protocol for what it calls "explicitly modifying specific factual knowledge in Transformer models while ensuring that model performance does not degrade on the unaltered facts" (Section 1), and then evaluates a family of simple, natural approaches against that benchmark.
The task formulation itself constitutes a contribution because prior work had not defined the problem with this level of precision. Prior literature had studied knowledge probing (what do models know?), knowledge injection (how do we add new knowledge?), and catastrophic forgetting (how do we prevent performance degradation when learning new tasks?) — but these three threads had not been combined into the specific challenge of modifying existing knowledge while preserving everything else intact. The paper explicitly distinguishes its task from continual learning (Section 2), noting:
"Similar to continual learning, memory modification also expects the predictions to be updated efficiently (potentially without access to the unmodified facts) while preserving the accuracy for the unmodified facts. In this case, both settings suffer from catastrophic forgetting, but memory modification further requires the model to memorize new facts that conflict with previously learned facts, posing new challenges to existing continual learning approaches."
This is a critical distinction. Continual learning typically involves learning a new task where the model has not previously stored conflicting information. Knowledge modification requires the model to overwrite existing knowledge with contradictory information — the model must learn that what was previously true is now false. This creates a direct conflict: the same weights that correctly predicted the old fact must now predict the new fact, while simultaneously continuing to correctly predict all other facts that depended on those same weights. This is a harder constraint than typical continual learning settings because the modification itself targets facts that are already well-learned.
The paper's positioning is also notable for what it does not claim. It does not claim to have solved the knowledge modification problem — the best average accuracy is 66.19% (FaE on T-REx with 32 modified facts, Table 2), and performance degrades as the number of modified facts increases (Figure 3). It does not claim that the constrained fine-tuning approach is optimal — the Fisher information approximation (Appendix C) is mentioned as a potentially better constraint that was attempted but did not outperform the simple ℓ∞ norm. It does not claim that the approach works for all types of knowledge — all experiments are on factual triples (subject, relation, object) from structured knowledge bases, leaving open questions about modifying procedural knowledge, commonsense knowledge, or linguistic knowledge.
What the paper does claim is more foundational: that knowledge modification in Transformers is possible to a meaningful degree, that layer-specific modification is more effective than full-model modification, and that explicit symbolic memory does not simplify the problem as much as one might expect. These claims collectively establish the contours of a new subproblem — much as Petroni et al. (2019) established the contours of knowledge probing — and provide baselines that future work can improve upon.
The paper also positions itself within a broader narrative about the relationship between memorization and generalization. It cites Feldman (2020) and Feldman and Zhang (2020), who showed theoretically that optimal generalization on long-tailed distributions requires memorization of specific training examples from rare subpopulations. In this light, knowledge modification is not just about fixing stale facts — it is about making memorization-based learning systems maintainable. If memorization is necessary for generalization, then the ability to update what is memorized is necessary for the system to remain correct over time. This connection to generalization theory elevates the task from a practical engineering challenge to a fundamental requirement for any learning system that relies on memorization.
3. Technical Approach
3.1 Reader Orientation
This section explains the constrained fine-tuning framework — a simple optimization procedure that modifies a specific subset of a Transformer model's weights (often just one layer) to update memorized factual knowledge, while preventing the model from forgetting everything else it knows by keeping all weight changes within a tight mathematical bound around the original parameters. The core idea is that factual knowledge in Transformers, though distributed across many parameters, can be selectively overwritten by identifying which layers are most amenable to modification and then solving a constrained optimization problem that maximizes accuracy on the new facts subject to a hard limit on how far the weights can move from their original values.
3.2 Big-Picture Architecture (Diagram in Words)
The system has five major components:
-
Base Transformer model (BERT-Base, BERT-Large, ALBERT-XXLarge, or FaE) — the pretrained language model that has implicitly memorized a collection of facts $\mathcal{F}$ in its parameters $\theta_0$. It accepts cloze-style inputs (sentences with a [MASK] token) and outputs a probability distribution over vocabulary tokens for the masked position.
-
Modification dataset $\mathcal{D}_M$ — a small set of training examples (supporting evidence sentences, synonymously called "evidences" in the paper) for the facts we want to change. Each example is a masked sentence where the correct answer has been replaced with the new, modified object. For instance, if the original fact was "(Natalie Lowe, place of birth, Sydney)" and we want to change the birthplace to London, all training examples that previously required predicting "Sydney" now require predicting "London."
-
Constraint mechanism — an $\ell_\infty$ norm ball of radius $\delta$ centered at the original parameters $\theta_0$. After every gradient step during fine-tuning, the updated parameters are projected back into this ball — meaning no individual weight can change by more than $\delta$ from its starting value. This is the core mechanism that prevents catastrophic forgetting.
-
Layer selector — a design choice (not a learned component) that determines which subset of the Transformer's layers are updated during constrained fine-tuning. The paper experiments with updating only the 0th (first) Transformer block, only the 5th (middle) block, only the 11th or 23rd (last) block, or all blocks simultaneously.
-
Evaluation protocol — after modification, the model is tested on two disjoint sets: (a) $\mathcal{M}$, the set of modified facts (using held-out test questions that are phrased differently from the training evidences), and (b) $\mathcal{F} \setminus \mathcal{S}$, all other facts that were not modified. The metric $\bar{A} = (A_\mathcal{M} + A_{\mathcal{F}\setminus\mathcal{S}}) / 2$ averages these two accuracies.
The information flow is: (1) select a subset of facts $\mathcal{S} \subset \mathcal{F}$ to modify; (2) construct $\mathcal{D}_M$ by replacing the answer labels for all training evidences of facts in $\mathcal{S}$ with the new desired objects; (3) choose a layer or set of layers to fine-tune; (4) perform projected gradient descent (Adam with $\ell_\infty$ projection after each step) on $\mathcal{D}_M$ only, with a sweep over constraint strengths $\delta$; (5) evaluate on both modified and unmodified test facts; (6) select the $\delta$ that maximizes $\bar{A}$.
3.3 Roadmap for the Deep Dive
- First, the formal constrained optimization objective (Equations 2 and 3), which defines what "constrained fine-tuning" means and why the
$\ell_\infty$ norm is chosen over $\ell_2$ or Fisher information constraints.
- Second, the projected gradient descent algorithm (Algorithm 1 in Appendix D), which operationalizes the constraint during training — the exact projection operations for both
$\ell_2$ and $\ell_\infty$ norms.
- Third, the benchmark construction process (datasets, fact selection, evidence modification, train/test splits), since the benchmark itself is a contribution and its design choices affect what the results mean.
- Fourth, the layer-specific modification strategy — why different layers produce dramatically different tradeoffs, and why the optimal layer changes with the number of modified facts and the model's initial state.
- Fifth, the extension to memory-augmented models (FaE) and why modifying explicit symbolic memory alone fails without also updating Transformer parameters.
- Sixth, the kNN-LM modification approach (Appendix F) and the fundamental reason nearest-neighbor editing causes collateral damage to unmodified facts sharing the same object.
3.4 Detailed, Sentence-Based Technical Breakdown
This is primarily an empirical analysis and benchmark paper whose core idea is that knowledge modification in Transformers can be achieved through constrained optimization on modified training examples, and that the choice of which layer to modify is the key design variable that determines the tradeoff between learning new facts and retaining old ones.
The Constrained Optimization Framework
Why a constraint is necessary. The naive approach of unconstrained fine-tuning on the modified facts $\mathcal{D}_M$ solves the following problem:
minimizeθ∈Θm1∑x∈DML(x;θ)
where $m = |\mathcal{D}_M|$ is the number of training evidences for the modified facts. This achieves high accuracy on $\mathcal{M}$ but catastrophically destroys performance on $\mathcal{F} \setminus \mathcal{S}$ because the optimizer is free to move weights arbitrarily far from $\theta_0$, overwriting the distributed representations that encoded the unmodified facts.
The ideal constrained objective. The paper formulates the ideal version of the problem (Equation 2) as:
minimizeθ∈Θm1∑x∈DML(x;θ)
subject ton1∑x′∈DF∖S(L(x′;θ)−L(x′;θ0))≤δ
where $n = |\mathcal{D}_{\mathcal{F}\setminus\mathcal{S}}|$ is the number of training evidences for the unmodified facts, $\mathcal{L}(x'; \theta)$ is the loss on unmodified evidence $x'$ under the new parameters $\theta$, $\mathcal{L}(x'; \theta_0)$ is the loss under the original parameters, and $\delta > 0$ is a small constant specifying the maximum acceptable increase in average loss on unmodified facts.
What it computes: The objective minimizes the average loss on the modified facts (same as unconstrained fine-tuning), but with a hard constraint that the average loss on all unmodified training evidences must not increase by more than $\delta$ from the original model's loss. The constraint is evaluated over the full training set of unmodified facts $\mathcal{D}_{\mathcal{F}\setminus\mathcal{S}}$, which contains $n$ examples.
Why this form: This formulation directly encodes the goal: learn the new facts while explicitly enforcing that the model's behavior on everything else stays approximately the same. The constraint is on the change in loss rather than absolute loss because the original model may have high loss on some facts (it's not perfect), and we only care about preventing degradation, not improving what was already suboptimal. The $\delta$ parameter controls the allowable tradeoff — larger $\delta$ permits more forgetting in exchange for potentially higher accuracy on modified facts.
The practical approximation. The ideal constraint is computationally prohibitive because evaluating it requires computing the loss over potentially millions of unmodified training examples at each optimization step. The paper approximates it using a local smoothness assumption (Equation 3):
minimizeθ∈Θm1∑x∈DML(x;θ)
subject to∥θ−θ0∥≤δ
where $\|\cdot\|$ denotes a norm in the parameter space, $\theta$ is the current parameter vector, and $\theta_0$ is the original (pretrained or fine-tuned) parameter vector before any modification.
What it computes: Instead of constraining the loss change on unmodified data directly, this constrains the maximum distance that any parameter can move from its original value according to some norm. The intuition is that if the weights don't change much, the model's predictions on unmodified inputs won't change much either — this is the local continuity assumption: small perturbations in parameter space produce small perturbations in function space.
Why this form works: The constraint becomes computationally trivial to enforce — it requires only the current parameters $\theta$ and the stored original parameters $\theta_0$, with no need to evaluate the model on training data during the constraint check. The projection step (described below) is closed-form for both $\ell_2$ and $\ell_\infty$ norms and adds negligible overhead per gradient step. The price is that the relationship between $\delta$ (a bound on weight change) and the actual loss change on unmodified facts is indirect and must be tuned — there is no guarantee that a particular $\delta$ corresponds to a particular loss increase.
Choice of norm: $\ell_\infty$ vs. $\ell_2$. The paper experiments with both $\ell_2$ (Euclidean distance, constraining the sum of squared weight changes) and $\ell_\infty$ (maximum absolute change per weight, constraining each weight independently) and finds:
"$\ell_\infty$ consistently leads to more stable results for knowledge modification."
This choice is significant. The $\ell_2$ norm allows some weights to change a lot as long as others change very little, keeping the total squared distance within $\delta$. This can permit large changes to a small number of "important" weights that strongly affect predictions for specific facts — which is exactly the kind of change that causes catastrophic forgetting for facts that depend on those same weights. The $\ell_\infty$ norm, by contrast, treats every weight equally: no single weight can change by more than $\delta$, regardless of what other weights do. This prevents the optimizer from concentrating all the adaptation into a few weights that might be critical for many different facts, forcing it to spread the modification across many parameters in a more distributed way that is less likely to catastrophically interfere with any single unmodified fact.
The Fisher information alternative (Appendix C). The paper also derives a theoretically more principled approximation using a second-order Taylor expansion of the loss constraint. When the number of modified facts is small (so we are still near a minimum of the loss on unmodified facts), the linear term vanishes and the constraint becomes:
∑ijΔθiΔθj(2n1∂θi∂∂θj∂∑x′∈DF∖SL(x′;θ0))+O(Δθ3)≤δ
where the quantity in parentheses is the Fisher information matrix — the expected outer product of gradients on the unmodified data, which measures how sensitive the loss on each unmodified example is to changes in each pair of parameters. This would provide a more precise constraint: weights that are important for unmodified facts (high Fisher information) would be permitted only very small changes, while weights that are unimportant (low Fisher information) could change more freely.
However, the paper reports:
"We experimented with an approximation of the Fisher information computed with batch size 128, and found that it did not outperform the $\ell_\infty$ norm with (3). We leave the detailed exploration of the Fisher metric for the memory modification task to future work."
The likely reason is that computing the Fisher information accurately requires averaging over the full training set of unmodified facts, which is expensive and difficult to parallelize — the batch-128 approximation may have been too noisy to provide better guidance than the simple $\ell_\infty$ norm, which has the advantage of being exact and trivial to compute.
Projected Gradient Descent (Algorithm 1)
The constrained optimization problem in Equation 3 is solved using projected gradient descent with Adam as the base optimizer. The procedure is formalized as Algorithm 1 in Appendix D.
Standard Adam update (unconstrained). At each iteration $t$, the algorithm:
- Draws a minibatch
$\mathcal{S}_t$ from the modification dataset $\mathcal{D}_M$.
- Computes the average gradient
$g_t = \frac{1}{|\mathcal{S}_t|} \sum_{x_k \in \mathcal{S}_t} \nabla \mathcal{L}(x_k; \theta_{t-1})$.
- Updates biased first and second moment estimates:
$m_t = \beta_1 m_{t-1} + (1 - \beta_1) g_t$, $v_t = \beta_2 v_{t-1} + (1 - \beta_2) g_t^2$, with hyperparameters $0 < \beta_1 < 1$, $0 < \beta_2 < 1$.
- Computes bias-corrected estimates and forms the candidate update:
$\tilde{\theta}_t = \theta_{t-1} - \eta_t \frac{\sqrt{1-\beta_2^t}}{1-\beta_1^t} \frac{m_t}{\sqrt{v_t} + \epsilon}$, where $\eta_t$ is the learning rate at step $t$ and $\epsilon > 0$ is a small constant for numerical stability.
Projection step. After computing $\tilde{\theta}_t$ (which may lie outside the constraint set), the algorithm projects it back:
θt=Π∥θ−θ0∥≤δ(θ~t)
This is the critical step that enforces the constraint. The projection operator $\Pi$ finds the closest point to $\tilde{\theta}_t$ that satisfies the norm constraint, effectively clipping the parameter update to stay within the allowed region.
$\ell_2$ projection (Equation 8):
Π∥θ−θ0∥2≤δ(θ)=θ0+(θ−θ0)min{∥θ−θ0∥2δ,1}
What it computes: If the Euclidean distance from the updated parameters to the original parameters is less than or equal to $\delta$, do nothing (the factor is 1). If the distance exceeds $\delta$, scale the displacement vector $\theta - \theta_0$ down by the factor $\delta / \|\theta - \theta_0\|_2$ so that the resulting parameters lie exactly on the surface of the $\ell_2$-ball of radius $\delta$ centered at $\theta_0$. This preserves the direction of the update while limiting its magnitude.
$\ell_\infty$ projection (Equation 9):
Π∥θ−θ0∥∞≤δ(θ)=θ0+min{max{θ−θ0,−δ},δ}
where the $\min$ and $\max$ operations are applied element-wise (per parameter).
What it computes: For each individual parameter $\theta_i$, if its displacement $\theta_i - \theta_{0,i}$ is already within $[-\delta, \delta]$, leave it unchanged. If it exceeds $+\delta$, clip it to $+\delta$ (the parameter can increase by at most $\delta$). If it falls below $-\delta$, clip it to $-\delta$ (the parameter can decrease by at most $\delta$). The $\max$ operation first floors the displacement at $-\delta$ (preventing it from being more negative than $-\delta$), then the $\min$ operation caps it at $+\delta$ (preventing it from being more positive than $+\delta$). The result is that every parameter's change is independently clamped to the interval $[-\delta, +\delta]$.
Why element-wise clamping matters: The $\ell_\infty$ projection treats parameters as independent — each weight has its own $\pm\delta$ budget that is not shared with other weights. This prevents the optimizer from compensating for large changes in some weights by keeping others very close to their original values (which the $\ell_2$ projection permits, since it constrains total squared change). Under $\ell_\infty$, the model cannot, for example, double the value of one attention head's output projection while keeping all other weights frozen — every weight is individually bounded. This is particularly important for Transformers because attention heads often specialize, and allowing even one head to change dramatically could alter the model's behavior on many different facts.
The $\delta$ sweep. The constraint strength $\delta$ is not learned or derived analytically — it is treated as a hyperparameter that must be chosen per model, per layer, per number of modified facts. The paper sweeps over a range of $\delta$ values (the specific range is not stated in the main text but can be inferred from Appendix F to span at least $10^{-3}$ to $4 \times 10^{-3}$ for the $\ell_\infty$ norm on BERT-Base) and selects the one that maximizes $\bar{A} = (A_\mathcal{M} + A_{\mathcal{F}\setminus\mathcal{S}}) / 2$, the average accuracy on modified and unmodified facts. As $\delta$ approaches zero, no modification occurs and $A_\mathcal{M}$ remains low while $A_{\mathcal{F}\setminus\mathcal{S}}$ stays high. As $\delta$ approaches infinity, the constraint becomes inactive (equivalent to unconstrained fine-tuning), $A_\mathcal{M}$ becomes high, and $A_{\mathcal{F}\setminus\mathcal{S}}$ collapses. The optimal $\delta$ lies somewhere in between, at the point where the tradeoff between the two accuracies is most favorable.
Benchmark Construction
The paper constructs two knowledge modification benchmarks from existing factual knowledge datasets: T-REx (Elsahar et al., 2018) and Zero-shot Relation Extraction (zsRE, Levy et al., 2017). The construction process involves several design decisions that affect how results should be interpreted.
Source datasets and their properties.
-
T-REx: Contains 34,039 facts across 41 Wikipedia relations, with a total of 1,282,567 training evidences and 34,039 test evidences (Table 1). Each fact is a (subject, relation, object) triple, e.g., "(Natalie Lowe, place of birth, Sydney)." The version used comes from the LAMA benchmark (Petroni et al., 2019). All object labels are single-token — they can be predicted by the masked language model in one forward pass. This property simplifies evaluation (exact string match is sufficient) but also restricts the benchmark to facts expressible as single tokens, potentially excluding multi-word entities and complex facts.
-
zsRE: Contains 147,905 training facts and 47,156 test facts, with 197,829 training evidences and 59,527 test evidences (Table 1). The version comes from the KILT benchmark (Petroni et al., 2020). Unlike T-REx, zsRE has multiple template questions per fact with varied phrasing, and the answers can be multi-token (up to 20 tokens when using the uncased BERT tokenizer). The model's prediction is considered correct only when all predicted tokens match the label exactly. The training and test splits for zsRE are constructed from the original training set of KILT since the relations in different KILT splits do not overlap — for each fact, two of its questions are assigned to the test set if it has more than three questions; one question is preserved in training if it has only one; and one question goes to each set otherwise.
Fact modification procedure. To create $\mathcal{M}$ modifications for a subset $\mathcal{S} \subset \mathcal{F}$ of size $|\mathcal{M}|$:
- Select
$m = |\mathcal{M}|$ facts uniformly at random from the full set $\mathcal{F}$.
- For each selected fact, replace its object with a new object sampled from the pool of all objects that share the same relation in the training set, with sampling probability proportional to frequency. For example, if modifying "(Natalie Lowe, place of birth, Sydney)," the new object would be another birthplace (e.g., London, Paris, New York) sampled according to how often it appears as someone's birthplace in the training data.
- Consistently update all supporting evidences for each modified fact — both the training evidences (the Wikipedia sentences or template questions used during fine-tuning) and the test evidences (the held-out evaluation questions). This is critical: if the training evidence is "Natalie Lowe was born in [MASK]" with the new label being "London," but the test evidence is a different phrasing like "Natalie Lowe's birthplace is [MASK]," the model must learn to predict "London" for any question about Natalie Lowe's birthplace, not just the specific phrasing it was trained on. The different phrasings between training and test evidences test whether the model has genuinely updated its factual knowledge rather than merely memorizing a surface pattern.
Why frequency-based sampling? The new object is sampled according to its frequency in the training set for that relation. This ensures that the modified facts are ecologically plausible — the model is being asked to learn that someone was born in London (a common birthplace) rather than some rare location that might be easier to memorize but less realistic. It also means the task difficulty varies: modifying a fact to a high-frequency object means the model has already seen many examples of that object in other contexts (which could help or hurt, depending on interference), while modifying to a low-frequency object tests the model's ability to learn a novel association.
The train/test gap by construction. For T-REx, the training evidences come from Wikipedia sentences (natural text with the object replaced by [MASK]), while the test evidences come from template-generated cloze questions ("Natalie Lowe was born in [MASK]."). The templates are structurally simpler and syntactically different from the Wikipedia sentences. This means the model cannot succeed on the test set by memorizing surface-level lexical patterns from the training evidences — it must generalize across phrasings, which requires updating the underlying factual association rather than learning a shallow mapping from a specific sentence to a specific answer.
For zsRE, both training and test evidences are template-generated questions, but with different templates for the same fact — e.g., training might ask "What is the continent that Della Pia Glacier is located?" while test asks "What continent is Della Pia Glacier found on?" Again, the model must generalize across phrasings.
Scale of modification. The paper experiments with $|\mathcal{M}| \in \{32, 128, 512, 2048\}$ modified facts. These represent a range from a handful of targeted updates (e.g., correcting a few stale facts in a deployed system) to a more substantial knowledge overhaul (e.g., updating all facts about a particular domain). The number of modified facts dramatically affects which layer is optimal and what accuracy tradeoff is achievable (Figure 3).
Layer-Specific Modification Strategy
The paper's most striking empirical finding is that which layer you modify matters enormously, and the optimal layer depends on the model's initial state and the number of modified facts.
What "modifying a layer" means mechanically. When the paper says "fine-tune block 11," it means: freeze all parameters in the Transformer model (embeddings, all other Transformer blocks, the task-specific prediction head if present) and only update the weights of the specified Transformer block during constrained fine-tuning. A Transformer block (or layer) in BERT consists of a multi-head self-attention sublayer followed by a feed-forward sublayer, each with residual connections and layer normalization — modifying "block 11" means updating all parameters in both sublayers of that block, plus its two layer normalization components, while keeping everything else frozen.
Why different layers behave differently. Table 3 presents unconstrained fine-tuning results for BERT-Base on T-REx with 32 modified facts, comparing three training regimes (RI+FTM, FTM, FT+FTM) and three layers (0, 5, 11). The key patterns:
-
Random initialization (RI+FTM): All layers perform poorly — $A_\mathcal{M}$ around 19–21% and $A_{\mathcal{F}\setminus\mathcal{S}}$ near zero. Without pretraining, the model has no linguistic knowledge to build on, and 32 examples are insufficient to learn both language and facts from scratch, even for a single layer.
-
Pretrained only (FTM): The model achieves high $A_\mathcal{M}$ (67–75%) but $A_{\mathcal{F}\setminus\mathcal{S}}$ collapses to near zero regardless of which layer is modified. The pretrained model has factual knowledge distributed across all layers, so even modifying a single layer disrupts the distributed representation sufficiently to destroy most unmodified facts.
-
Fine-tuned then modified (FT+FTM): This is where layer choice matters dramatically. Modifying block 0 gives $A_\mathcal{M} = 77.50\%$ and $A_{\mathcal{F}\setminus\mathcal{S}} = 0.37\%$ — essentially complete forgetting. Modifying block 5 gives $A_\mathcal{M} = 77.50\%$ and $A_{\mathcal{F}\setminus\mathcal{S}} = 15.09\%$ — some retention. Modifying block 11 gives $A_\mathcal{M} = 82.50\%$ and $A_{\mathcal{F}\setminus\mathcal{S}} = 1.12\%$ — near-total forgetting again.
The non-monotonic pattern (layer 5 is uniquely good at preserving unmodified facts under unconstrained fine-tuning) is surprising and hints at a functional specialization across layers. The middle layers (block 5) appear to store factual knowledge in a form that is less brittle — modifying them overwrites fewer unmodified facts — while the early layers (block 0, which processes input embeddings and low-level features) and late layers (block 11, which feeds into the prediction head) store knowledge in ways that are more entangled with other facts.
The effect of constraints: why constrained fine-tuning changes the optimal layer. When constraints are applied (Figures 1, 2, 3, and Table 2), the picture shifts:
-
With constraints and $|\mathcal{M}| = 32$ on BERT-Base (Table 2): Block 11 is optimal for FT+FTM ($\bar{A} = 60.62\%$), while block 0 is optimal for FTM ($\bar{A} = 47.47\%$). The constraint $\delta$ prevents the catastrophic forgetting that made block 11 terrible in the unconstrained setting, while still allowing it to achieve high $A_\mathcal{M}$.
-
As $|\mathcal{M}|$ grows (Figure 3, zsRE benchmark, FT+FTM setting): For 32 modified facts, block 11 achieves the highest $\bar{A}$. For 128 modified facts, blocks 0 and 11 are roughly comparable. For 512 and 2048 modified facts, block 0 becomes clearly optimal. The paper summarizes (Section 4.5.2):
"the block with highest $\bar{A}$ changed from the last one (block 11 or 23) to the first one (block 0) for both BERT-Base and BERT-Large"
Why this shift occurs. The paper does not provide a mechanistic explanation, but the pattern is consistent with the hypothesis that early layers encode more general, composable knowledge that can be updated with less interference, while late layers encode more task-specific, entangled representations that give high accuracy for small modifications but conflict more as the number of modifications grows. When only a few facts need changing, a late layer can be repurposed to memorize the new associations without disturbing the earlier layers' general knowledge — the model essentially adds a "patch" at the top. When many facts need changing, repurposing a late layer runs into capacity limits and interference, and it becomes more effective to update the early layers that process input tokens into initial representations, effectively "re-encoding" the facts from the ground up.
ALBERT's limitation. ALBERT-XXLarge shares weights across all Transformer blocks (a design choice to reduce parameter count from 340M+ to 235M while maintaining depth). As the paper notes: "the only option here is to finetune all its blocks on the modified facts." This means ALBERT cannot benefit from layer-specific modification, which may partially explain why it achieves only $\bar{A} = 50.49\%$ (Table 2) despite being a large model — it must modify representations at all layers simultaneously, increasing the risk of interference with unmodified facts.
Full-model vs. layer-specific modification (Figure 1). When all Transformer blocks are modified simultaneously under constraints, performance is consistently worse than modifying only a single well-chosen block. In Figure 1 (T-REx, $|\mathcal{M}| = 32$), full-model fine-tuning of BERT-Base achieves $A_\mathcal{M} \approx 45\%$ and $A_{\mathcal{F}\setminus\mathcal{S}} \approx 50\%$ ($\bar{A} \approx 47.5\%$), while modifying only block 0 achieves $A_\mathcal{M} \approx 71\%$ and $A_{\mathcal{F}\setminus\mathcal{S}} \approx 18\%$ ($\bar{A} \approx 44.5\%$) — comparable average but qualitatively different tradeoffs. For BERT-Large and ALBERT, full-model fine-tuning is strictly worse than single-layer modification in terms of $\bar{A}$ (Figure 1).
This is a counterintuitive result: one might expect that updating all layers with a small $\delta$ per layer would be equivalent or better than updating one layer with a larger $\delta$, since the total capacity available for modification is larger. The fact that it is worse suggests that the $\ell_\infty$ constraint interacts with layer-wise gradient structure in a non-trivial way: when all layers are modified, gradients flow through the entire network and the optimizer may make coordinated changes across layers that, while individually small, collectively move the function more than the $\ell_\infty$ per-weight bound would suggest. Modifying a single layer limits the "path length" through which parameter changes can compose.
The Role of Initial Model State: FT vs. FTM vs. FT+FTM
The paper distinguishes three starting points for modification, denoted by different prefixes (Section 4.4):
-
FTM: Start from an off-the-shelf pretrained model (e.g., BERT-Base as released) and fine-tune directly on the modified facts $\mathcal{D}_M$ with constraints. The model has general language understanding and some factual knowledge from pretraining, but has not been specifically trained on the T-REx or zsRE formats.
-
FT+FTM: First fine-tune the pretrained model on the original unmodified T-REx or zsRE training set to teach it the task format and the original facts, achieving 50.50% (BERT-Base), 51.39% (BERT-Large), 47.96% (ALBERT-XXLarge), or 60.38% (FaE) accuracy on all facts. Then modify the specific facts $\mathcal{S}$ using $\mathcal{D}_M$ with constraints.
-
FTA: During the modification step (FTM), include both modified and unmodified training examples in each minibatch (50/50 split), with the constraint still applied to weight changes.
Why the FT prefix matters (Table 2 and Figure 2). The accuracy on unmodified facts after modification ($A_{\mathcal{F}\setminus\mathcal{S}}$) is dramatically higher for FT+FTM than for FTM. For BERT-Base modifying 32 facts on T-REx with constraints, FTM on block 0 achieves $A_{\mathcal{F}\setminus\mathcal{S}} = 17.69\%$ while FT+FTM on block 11 achieves $A_{\mathcal{F}\setminus\mathcal{S}} = 43.40\%$ — a 25.7 percentage point improvement. The fine-tuning step (FT) has compartmentalized the factual knowledge: by training the model specifically on the T-REx format with the original facts, the knowledge becomes more localized to task-relevant parameters, making it less susceptible to disruption when other specific facts are modified. The pretrained model's factual knowledge is more diffusely distributed (it learned facts incidentally from diverse pretraining contexts), so modifying even a single layer affects a broader swath of facts.
The FTA variant (Table 4). Including unmodified examples in each minibatch during constrained modification provides a small improvement for some layers (block 11: $\bar{A}$ increases from 42.29% to 42.97%) but decreases performance for others (block 0: $\bar{A}$ drops from 46.96% to 45.91%). The effect is small and inconsistent, suggesting that the constraint $\|\theta - \theta_0\| \leq \delta$ already does most of the work of preserving unmodified facts, and adding explicit unmodified training examples provides limited additional benefit. The paper attributes this to the imbalanced exposure: the optimizer loops over the small set of modified facts multiple times per epoch, giving them disproportionate weight even when each batch is 50/50.
Modifying Memory-Augmented Models: The FaE Case Study
Facts as Expert (FaE) (Verga et al., 2020) is a memory-augmented Transformer designed to combine implicit knowledge in BERT parameters with explicit symbolic knowledge stored in structured memory modules. The architecture has three components (Section 4.6 and Table 5):
- BERT-base Transformer — a standard BERT model that produces contextual representations.
- Symbolic memory modules — entity memory (inherited from EaE, Févry et al., 2020) and fact memory, which store structured (subject, relation, object) triples and can be queried during inference. The entity memory contains learned embeddings for entities; the fact memory explicitly encodes relational triples.
- Additional weights (AWT) — parameters that connect the Transformer's contextual representations to the symbolic memory modules, mapping between the continuous representation space and the discrete symbolic space. These are the "additional weights outside the Transformer part."
The naive approach: symbolic-only modification. The intuitive appeal of FaE is that modifying knowledge should be simple — change the symbolic links in the fact memory and the model should output the new facts. Table 5 shows that modifying only the symbolic links (row "NONE") yields $A_\mathcal{M} = 46.88\%$, which is significantly better than the 30% reported by Verga et al. (2020) but far below the 75%+ achievable by modifying Transformer parameters. More importantly, $A_{\mathcal{F}\setminus\mathcal{S}}$ stays at 60.38% — perfect preservation — because the Transformer weights are untouched.
Why symbolic-only modification fails for high $A_\mathcal{M}$. The paper explains that FaE computes predictions by combining signals from both the Transformer's contextual representation (implicit memory) and the explicit symbolic memory. Even after updating the symbolic link, the Transformer's contextual representation — which was trained on data where the original fact was true — still encodes the old fact. The model therefore receives contradictory signals: the explicit memory says "London," the implicit memory says "Sydney." The prediction is a weighted combination, and the implicit signal often dominates (or the conflict reduces confidence in both answers). This is the "inconsistency between its implicit memory (realized via contextual representation) and the explicit symbolic memory" that the paper identifies.
Achieving high $A_\mathcal{M}$ requires modifying Transformer parameters. Table 5 shows results for modifying different components under constraints (FT+FTM setting), with $\delta$ chosen so that $A_\mathcal{M}$ matches the 75% achieved by BERT-Base:
-
AWT only: $A_\mathcal{M} = 75.00\%$, $\Delta A_{\mathcal{F}\setminus\mathcal{S}} = -3.00\%$ — the best tradeoff. Modifying only the weights that connect the Transformer to the symbolic memory is sufficient to resolve the inconsistency while minimizing disruption to the Transformer's encoding of unmodified facts.
-
Block 3 + AWT: $A_\mathcal{M} = 78.12\%$, $\Delta A_{\mathcal{F}\setminus\mathcal{S}} = -15.16\%$ — higher modified-fact accuracy but much larger forgetting.
-
Block 7 + AWT: $A_\mathcal{M} = 81.25\%$, $\Delta A_{\mathcal{F}\setminus\mathcal{S}} = -19.32\%$ — even more forgetting.
-
All weights: $A_\mathcal{M} = 75.00\%$, $\Delta A_{\mathcal{F}\setminus\mathcal{S}} = -7.01\%$ — worse tradeoff than AWT only (larger forgetting for the same $A_\mathcal{M}$), reinforcing the pattern that modifying too many weights is counterproductive.
The key comparative finding (Table 2). FaE with AWT-only modification achieves $\bar{A} = 66.19\%$ (with $A_{\mathcal{F}\setminus\mathcal{S}} = 57.38\%$ at $A_\mathcal{M} = 75.00\%$), compared to BERT-Large at $\bar{A} = 58.75\%$ ($A_{\mathcal{F}\setminus\mathcal{S}} = 44.70\%$ at $A_\mathcal{M} = 72.80\%$). FaE's higher $\bar{A}$ is primarily due to starting from a much higher baseline accuracy (60.38% vs. 51.39%) — it has more room to lose accuracy on unmodified facts while maintaining a high average. The paper's crucial claim (Section 4.6) is that FaE "does not have a significant advantage in terms of tradeoff between $A_\mathcal{M}$ and $A_{\mathcal{F}\setminus\mathcal{S}}$ when we require $A_\mathcal{M}$ to be high":
"BERT-Large can achieve an $A_\mathcal{M}$ of 77.50% with a drop of less than 4.00% in $A_{\mathcal{F}\setminus\mathcal{S}}$. In contrast, FaE reaches an $A_\mathcal{M}$ of 75.00% with a drop of 3.00% in $A_{\mathcal{F}\setminus\mathcal{S}}$."
The tradeoff — how much unmodified-fact accuracy you lose per unit of modified-fact accuracy gained — is comparable between BERT-Large and FaE. Explicit symbolic memory does not fundamentally decouple knowledge modification from implicit parameter updates; it only changes which parameters (AWT vs. Transformer blocks) are most efficient to modify.
The kNN-LM Modification Approach (Appendix F)
The paper also tests kNN-LM (Khandelwal et al., 2020), a retrieval-augmented approach where the model's prediction for a [MASK] token is interpolated with a nearest-neighbor lookup over a datastore of (contextual embedding, answer token) pairs constructed from training data.
Adapting kNN-LM to masked language models. The paper constructs a datastore from the modified facts $\mathcal{D}_M$ only: for each training evidence of a modified fact, the key is the contextual embedding $c(x; \theta_0)$ of the [MASK] token (produced by the frozen original model), and the value is the new, modified answer token $y'$. At test time, for an input $x$, the model computes:
\begin{cases}
\arg\min_{\{y' | (z, y') \in \mathcal{D}_M\}} \|c(x; \theta_0) - c(z; \theta_0)\|_2 & \text{if } d(x; \theta_0, \mathcal{M}) < \epsilon, \\
f(x; \theta_0) & \text{otherwise}
\end{cases}$$
where `$d(x; \theta_0, \mathcal{M}) = \min_{(z, y') \in \mathcal{D}_M} \|c(x; \theta_0) - c(z; \theta_0)\|_2$` is the distance to the nearest neighbor in the datastore, `$\epsilon$` is a threshold, and `$f(x; \theta_0)$` is the original model's prediction.
**What it computes:** For each test input, find the training example in `$\mathcal{D}_M$` whose `[MASK]` contextual embedding is closest (in Euclidean distance) to the test input's `[MASK]` embedding. If the distance is below a threshold `$\epsilon$`, predict the answer token associated with that nearest training example (the new modified object). If no training example is close enough, fall back to the original model's prediction.
**Why it fails: two fundamental limitations from Table 6.**
1. **Poor retrieval quality.** Even with `$\epsilon \to \infty$` (always using the nearest neighbor regardless of distance), `$A_\mathcal{M}$` maxes out at 12.50%, far below the 71%+ achievable by constrained fine-tuning. The nearest neighbor in contextual embedding space does not reliably correspond to the correct fact because the training and test questions for the same fact are **phrased differently** (see the T-REx example in Appendix A: training evidence is a Wikipedia sentence, test evidence is a template question). The contextual embeddings of differently-phrased questions about the same fact are not sufficiently close in Euclidean space for nearest-neighbor lookup to work.
2. **Collateral damage to shared-object facts.** The paper identifies a deeper problem: "All the contextual embeddings of `[MASK]` corresponding to the same object should be close if the model makes correct predictions on these samples." Because the masked language model is trained with cross-entropy loss, it maximizes the similarity between the `[MASK]` contextual embedding and the embedding of the correct answer token while minimizing similarity with other tokens. Consequently, **all facts that share the same object** — e.g., all birthplace facts where the answer is "Sydney" — will have similar `[MASK]` embeddings. If the datastore only contains modified facts and a test question about an unmodified fact that happens to share the same object (e.g., the birthplace of someone else whose birthplace is also Sydney), the nearest neighbor may point to a modified entry with a different answer (e.g., London), causing the unmodified fact to be incorrectly answered. This is a structural limitation: nearest-neighbor editing cannot distinguish between facts that share objects but have different relations or subjects because it relies purely on embedding proximity rather than compositional fact structure.
The failure of kNN-LM underscores a key insight: knowledge modification requires **compositional understanding** of facts — distinguishing between (subject1, relation, object) and (subject2, same relation, same object) — which nearest-neighbor retrieval over flat embedding spaces cannot provide because the contextual embeddings for different subjects with the same relation and object are trained to be similar (since they predict the same object token).
## 4. Key Insights and Innovations
### Innovation 1: Knowledge Modification as a Distinct Task Category, Not a Variant of Continual Learning
The paper's most foundational contribution is **defining knowledge modification as a task that is qualitatively different from both knowledge probing and continual learning**, and in doing so, revealing why existing approaches from related fields fail. This is not merely terminological — it is a conceptual move that changes what problem we think we're solving and therefore what solutions are appropriate.
Prior to this work, the field had two adjacent research threads that touched on modifying model knowledge but did not cleanly address it. The first thread, **knowledge probing** (Petroni et al., 2019; Roberts et al., 2020), established that Transformers store factual knowledge but treated the model as a static artifact to be queried — the question was "what does the model know?," not "how do we change what it knows?" The second thread, **continual learning** (Kirkpatrick et al., 2017; Lopez-Paz and Ranzato, 2017; Sun et al., 2020), addressed how to learn new tasks without forgetting old ones, but operated under a different assumption: the new task involves knowledge that is **additive** (new classes, new domains) rather than **contradictory** (overwriting existing knowledge with directly conflicting information).
The paper draws the distinction explicitly (Section 2):
> "memory modification further requires the model to memorize new facts that conflict with previously learned facts, posing new challenges to existing continual learning approaches"
This distinction matters because the optimization dynamics are fundamentally different. In continual learning, the challenge is to find parameter updates that minimize loss on the new task while staying within a region of low loss on the old task — essentially, finding a parameter subspace where both tasks can coexist. The old knowledge is still valid; it just needs to be preserved alongside the new. In knowledge modification, the challenge is to **deliberately increase loss** on specific old examples (the original facts being overwritten) while keeping loss low on everything else — essentially, surgical destruction of selected memories. The optimizer must navigate a loss landscape where the correct solution requires higher loss on some training examples it previously fit well.
This framing explains why naive constrained fine-tuning works surprisingly well while naive data mixing fails (Table 4): the constraint `$\|\theta - \theta_0\| \leq \delta$` is agnostic to whether parameter changes help or hurt specific unmodified facts — it simply limits total change, relying on the local smoothness of the loss landscape to preserve most facts. Data mixing, by contrast, explicitly asks the optimizer to balance conflicting objectives (minimize loss on modified facts while maintaining loss on unmodified ones), which creates a tension that ultimately biases toward the modified facts due to their disproportionate exposure in the training loop (Appendix B).
By framing knowledge modification as distinct from both probing and continual learning, the paper establishes a **new subproblem** with its own evaluation protocol (`$\bar{A} = (A_\mathcal{M} + A_{\mathcal{F}\setminus\mathcal{S}}) / 2$`), its own benchmark construction methodology (consistent modification of all evidences for selected facts with frequency-sampled replacement objects), and its own diagnostic tools (layer-specific analysis of the accuracy tradeoff as a function of modification count). This is more taxonomic innovation than algorithmic innovation — the paper is defining the playing field, not claiming to have won the game — but such task definition is often what enables subsequent progress. The LAMA benchmark (Petroni et al., 2019) did the same for knowledge probing, and this paper's benchmark fills the analogous role for knowledge modification.
The significance extends beyond this paper's particular methods. Any future work on editing factual knowledge in neural networks — whether through specialized architectures, meta-learning, or interpretability-based approaches — now has a standardized evaluation framework and a set of baseline results to compare against. The paper's finding that constrained fine-tuning works "surprisingly well" (their characterization) sets a bar that more sophisticated methods must clear, and the difficulty-dependent patterns (performance degrades as modification count grows, Figure 3) establish boundary conditions that any claimed solution must address.
---
### Innovation 2: Layer-Specific Modification as a Diagnostic for How Knowledge Is Distributed
The paper's most empirically striking finding — that modifying different Transformer layers produces dramatically different tradeoffs between learning new facts and retaining old ones — is more than a practical tuning insight. It constitutes a **diagnostic tool for probing how factual knowledge is functionally organized across the depth of a Transformer model**, and it yields the counterintuitive result that modifying a single layer often **outperforms** modifying the full model.
Prior work on the role of different Transformer layers (van Aken et al., 2019; Cao et al., 2020) had established that different layers contribute differently to downstream task performance, with some studies suggesting that fine-tuning top layers is most effective for certain tasks (Houlsby et al., 2019). But these findings were about **task adaptation** — teaching the model a new behavior — rather than about **knowledge overwriting** — selectively changing specific stored facts while preserving others. The layer-wise analysis for knowledge modification reveals patterns that task-adaptation studies would not predict.
The key evidence comes from two interacting observations that together form a coherent picture:
**First, the optimal layer shifts with the number of modified facts (Figure 3, zsRE benchmark).** For 32 modifications, modifying the last layer (block 11) gives the highest average accuracy. For 2048 modifications, modifying the first layer (block 0) is clearly best. The paper describes this shift (Section 4.5.2) but does not elaborate a mechanistic explanation, leaving it as an empirical regularity. The implication, however, is significant: it suggests that **knowledge in Transformers is not stored uniformly across layers** — rather, there is a functional gradient where later layers encode more task-specific, brittle representations that are efficient for small targeted edits, while earlier layers encode more general, composable representations that can accommodate larger-scale modification with less interference. This is consistent with a view where early layers perform feature extraction and entity typing (processing "Natalie Lowe" into a representation of a person with certain attributes), while later layers perform association retrieval (mapping that representation plus the relation "place of birth" to the answer "Sydney"). Modifying a later layer lets you change the association for one entity without touching how other entities are represented; modifying an earlier layer changes the representation itself, which affects more facts but in a more structured, generalizable way.
**Second, full-model modification is consistently worse than the best single-layer modification under constraints (Figure 1).** When all layers are modified simultaneously with an `$\ell_\infty$` constraint, performance on both modified and unmodified facts is lower than when only the best single layer is modified. This is not obvious: one might expect that allowing all layers to change slightly would provide strictly more capacity than restricting changes to one layer, and therefore strictly better or equal performance. The fact that it is worse implies that the `$\ell_\infty$` constraint interacts with the compositional structure of the network in a non-trivial way: small, coordinated changes across many layers can propagate through the network and produce larger functional changes than the per-parameter bound would suggest, because the effect of perturbing weight matrices in sequence is multiplicative, not additive. Modifying a single layer bounds not only the per-weight change but also the **path length** through which information can be rerouted — all other layers remain frozen, so the modified layer must work within the existing representational geometry established by the rest of the network.
This finding has implications for the broader interpretability literature. If layer-specific modification reveals a functional gradient from general to specific, then the same experimental paradigm could be used to **localize other types of knowledge** — commonsense reasoning, linguistic rules, procedural knowledge — to specific depth ranges in Transformer models. The paper does not make this argument explicitly, but the methodology it develops (constrained fine-tuning of individual layers with systematic variation of modification count) is a reusable template for such investigations.
The comparison with ALBERT-XXLarge (Table 2) reinforces the significance. ALBERT shares weights across all layers — "the only option here is to finetune all its blocks" — and achieves only `$\bar{A} = 50.49\%$`, substantially below BERT-Base (60.62%) and BERT-Large (58.75%) which can exploit layer-specific modification. This suggests that **weight sharing, while parameter-efficient for pretraining, imposes a structural disadvantage for knowledge modification** because it prevents the kind of layer-wise functional specialization that makes targeted editing possible. This is a practical insight for architecture design: if deployability and maintainability (including the ability to update facts) are important, weight sharing across layers may be contraindicated even if it reduces parameter count.
---
### Innovation 3: The Failure of Explicit Symbolic Memory to Simplify Knowledge Modification
One of the paper's most consequential findings is a **negative result**: models with explicit symbolic memory modules (FaE; Verga et al., 2020) do not fundamentally simplify the knowledge modification problem compared to standard Transformer models that rely solely on implicit memorization. This finding challenges a key claimed advantage of memory-augmented architectures and reframes the relationship between implicit and explicit knowledge in neural models.
The intuitive appeal of symbolic memory augmentation is straightforward: if a model stores facts in an explicit, structured knowledge base (e.g., as entity and relation embeddings that can be directly queried and updated), then modifying a fact should be as simple as changing the corresponding entry in that knowledge base — analogous to updating a row in a relational database. This was one of the explicit motivations for the FaE architecture (Verga et al., 2020), and it represents a natural design philosophy: separate the "knowledge storage" from the "reasoning machinery" so that each can be maintained independently.
The paper tests this claim directly by experimenting with modifying only the symbolic memory links in FaE while leaving the Transformer parameters untouched (Table 5, row "NONE"). The result is partially successful: `$A_\mathcal{M} = 46.88\%$`, which is substantially higher than the 30% reported by Verga et al. (2020) and far better than chance, with **perfect preservation** of unmodified facts (`$A_{\mathcal{F}\setminus\mathcal{S}} = 60.38\%$`, unchanged from baseline). This demonstrates that symbolic modification does capture some of the model's factual knowledge — but only about half of it.
The critical finding is what happens when high accuracy on modified facts is required. To reach `$A_\mathcal{M} = 75.00\%$` (matching what BERT-Base achieves with constrained fine-tuning), FaE must modify additional weights beyond the symbolic memory — specifically, the AWT (additional weights) that connect the Transformer representations to the symbolic memory. And when it does so, the tradeoff between gain in modified-fact accuracy and loss in unmodified-fact accuracy is **comparable to BERT-Large**, not substantially better. The paper reports (Section 4.6):
> "BERT-Large can achieve an `$A_\mathcal{M}$` of 77.50% with a drop of less than 4.00% in `$A_{\mathcal{F}\setminus\mathcal{S}}$`. In contrast, FaE reaches an `$A_\mathcal{M}$` of 75.00% with a drop of 3.00% in `$A_{\mathcal{F}\setminus\mathcal{S}}$`."
The comparable slopes of the tradeoff curves imply that **the same underlying phenomenon — interference between modified and unmodified facts in shared parameter space — governs both architectures**, just in different parameter subsets (Transformer blocks for BERT, AWT for FaE). Explicit symbolic memory does not provide a "free lunch" for knowledge modification; it relocates the interference problem but does not eliminate it.
The paper's explanation is conceptual rather than mechanical: the inconsistency between implicit memory (the Transformer's contextual representations, which were trained on the original facts) and explicit memory (the updated symbolic links) means that the model receives contradictory signals. Even after symbolic modification, the Transformer backbone continues to encode the old facts through its pretrained weights, and this implicit signal competes with the explicit symbolic signal in determining the final prediction. To resolve the conflict and achieve high modified-fact accuracy, the Transformer parameters that generate the implicit signal must also be updated — which reintroduces the same interference with unmodified facts that constrained fine-tuning on BERT must manage.
This finding has implications beyond FaE. It suggests a broader principle: **in any architecture where knowledge is redundantly encoded across both implicit (neural) and explicit (symbolic) pathways, modifying only the explicit pathway creates a consistency problem that limits achievable accuracy**. The neural pathway does not simply "know less" than the symbolic pathway — it encodes the same facts in a different, distributed form, and it will continue to influence predictions until it too is updated. This principle likely applies to retrieval-augmented models (REALM, RAG; Guu et al., 2020; Lewis et al., 2020), kNN-augmented models (kNN-LM; Khandelwal et al., 2020), and any architecture that combines learned representations with explicit knowledge storage. The paper's negative result with kNN-LM (Appendix F, Table 6) provides corroborating evidence in a different architectural paradigm.
The reframing that emerges is: **explicit symbolic memory should be understood not as a replacement for implicit memorization, but as an additional pathway that must be kept consistent with it**. This changes the design goal for memory-augmented architectures. Rather than aiming to make implicit memory unnecessary for factual knowledge (so that facts can be updated purely symbolically), the goal should be to design architectures where the implicit and explicit pathways can be updated **jointly and consistently** with minimal interference — or where the implicit pathway is designed from the start to rely on the explicit memory rather than independently encoding facts.
---
### Innovation 4: The `$\ell_\infty$` Norm as a Surprisingly Effective and Theoretically Grounded Proxy for Loss Preservation
The paper's choice of the `$\ell_\infty$` norm constraint on weight changes — rather than the more obvious `$\ell_2$` norm or the more principled Fisher information metric — might appear to be a minor implementation detail. In fact, it represents an **empirical discovery about what kind of parameter-space constraint best approximates functional preservation for distributed factual knowledge**, and the paper provides both experimental evidence and theoretical motivation for why the `$\ell_\infty$` norm works better than alternatives.
The theoretical motivation comes from the small-modification limit analysis in Appendix C. When the number of modified facts is small, the model is near a minimum of the loss on unmodified data, so the gradient of the unmodified loss with respect to parameters is approximately zero. The change in unmodified loss is therefore dominated by the **second-order term**, which involves the Hessian (or Fisher information) of the unmodified loss: `$\sum_{ij} \Delta\theta_i \Delta\theta_j \frac{1}{2n} \frac{\partial^2}{\partial\theta_i \partial\theta_j} \sum_{x'} \mathcal{L}(x'; \theta_0)$`. This term penalizes large changes to parameters that have high curvature in the loss landscape — i.e., parameters that are important for unmodified facts.
The `$\ell_\infty$` constraint `$\|\theta - \theta_0\|_\infty \leq \delta$` can be viewed as a crude approximation to this second-order constraint: instead of weighting parameter changes by their Fisher information (which requires expensive computation), it treats all parameters equally but imposes a **hard per-parameter cap** on the magnitude of change. The paper reports that `$\ell_\infty$` "consistently leads to more stable results for knowledge modification" compared to `$\ell_2$`, and that a batch-approximated Fisher constraint "did not outperform the `$\ell_\infty$` norm."
Why does the cruder constraint work better than the more principled one? The paper does not speculate, but a plausible interpretation emerges from the structure of the Fisher information in large Transformer models. The Fisher information matrix for a model with hundreds of millions of parameters is highly ill-conditioned — some parameters have extremely high curvature (they strongly affect loss on many facts) while others have near-zero curvature. A constraint based on a noisy, batch-approximated Fisher matrix might permit large changes to parameters whose importance is underestimated due to sampling error, causing catastrophic interference with specific unmodified facts. The `$\ell_\infty$` norm, by contrast, makes **no attempt to estimate importance** — it simply prevents any single parameter from changing too much, which provides a uniform safety guarantee. Parameters that are individually critical may still change by up to `$\delta$`, which could be damaging, but the constraint prevents the optimizer from concentrating all adaptation into a small number of highly influential parameters (which the `$\ell_2$` norm permits, since it constrains total squared change rather than per-parameter change).
This is consistent with the paper's observation that `$\ell_\infty$` is more "stable." The `$\ell_2$` norm allows the optimizer to find solutions where, say, 99% of parameters are unchanged and 1% change dramatically — exactly the pattern that would cause catastrophic forgetting for facts that depend on those 1% of parameters. The `$\ell_\infty$` norm forces the optimizer to **spread the modification across many parameters**, each changing by at most `$\delta$`. This distributed modification is less likely to catastrophically disrupt any single unmodified fact because each fact's prediction depends on many parameters, and changing each one by a small amount produces a milder cumulative effect than changing a few parameters by a large amount.
The practical significance is that the `$\ell_\infty$` constraint provides a **hyperparameter- efficient, computationally trivial** mechanism for knowledge modification that requires no access to unmodified training data during the modification step (unlike the ideal loss constraint in Equation 2, which requires evaluating loss on all unmodified evidences). This makes the approach deployable in settings where the full training set is unavailable — for instance, when a third party wants to update specific facts in a pretrained model they received, without having access to the original pretraining corpus. The `$\delta$` parameter is the only tuning knob, and the paper demonstrates that sweeping `$\delta$` and selecting based on `$\bar{A}$` on a validation set produces consistent results across models and modification scales.
This finding also connects to a broader theme in deep learning: **simple regularization often outperforms theoretically motivated but complex alternatives** when the underlying statistical quantities (like the Fisher information) are difficult to estimate reliably at scale. The success of the `$\ell_\infty$` constraint is not an argument against principled approaches — the paper explicitly leaves "detailed exploration of the Fisher metric" to future work — but it establishes a strong baseline and suggests that any more sophisticated constraint must clear a non-trivial bar to justify its additional complexity and computational cost.
## 5. Experimental Analysis
### Evaluation Methodology
- **Dataset.** The paper constructs two benchmarks from existing factual knowledge datasets: T-REx (Elsahar et al., 2018) and Zero-shot Relation Extraction (zsRE; Levy et al., 2017), using the versions released in LAMA (Petroni et al., 2019) and KILT (Petroni et al., 2020), respectively. T-REx contains 34,039 facts across 41 Wikipedia relations (1,282,567 training evidences, 34,039 test evidences), with all object labels being single tokens, while zsRE contains 147,905 training facts and 47,156 test facts (197,829 training evidences, 59,527 test evidences) with multi-token answers. For each modified fact, **all training and test evidences** have their object labels consistently replaced with a new object sampled from the same relation's training distribution according to frequency, and the train/test split is constructed so that models must generalize across differently-phrased questions for the same fact.
- **Base model(s).** The paper evaluates four Transformer-based language models: BERT-Base (110M parameters, 12 Transformer blocks), BERT-Large (340M parameters, 24 blocks), ALBERT-XXLarge (235M parameters, weight-shared layers), and FaE (Verga et al., 2020, >367M parameters, BERT-Base backbone with entity and fact memory modules). Models start from either their off-the-shelf pretrained state (achieving ~28.85% accuracy on T-REx) or after fine-tuning on the original unmodified T-REx/zsRE datasets (achieving 50.50% for BERT-Base, 51.39% for BERT-Large, 47.96% for ALBERT-XXLarge, and 60.38% for FaE).
- **Metrics.** The primary metric is average accuracy `$\bar{A} = (A_\mathcal{M} + A_{\mathcal{F}\setminus\mathcal{S}}) / 2$`, where `$A_\mathcal{M}$` is accuracy on the modified facts (test questions for facts in `$\mathcal{S}$` with the new objects) and `$A_{\mathcal{F}\setminus\mathcal{S}}$` is accuracy on all unmodified facts in the test set. For T-REx with single-token answers, a prediction is correct if the predicted token exactly matches the label; for zsRE with multi-token answers, all predicted tokens must match the label. The `$\delta$` hyperparameter is selected to maximize `$\bar{A}$` for each experimental configuration.
- **Baselines.** The paper compares against several natural approaches: (1) **Unconstrained fine-tuning on modified facts** (FTM), which trains on only `$\mathcal{D}_M$` without any weight constraint (equivalent to `$\delta = \infty$`); (2) **Fine-tuning on a mixture of modified and unmodified facts** (FTA), which includes equal numbers of modified and unmodified training examples in each minibatch during constrained fine-tuning; (3) **Symbolic-only modification** for FaE (updating only explicit memory links without touching model parameters); and (4) **kNN-LM modification** (Khandelwal et al., 2020), which constructs a nearest-neighbor datastore from modified training evidences and uses embedding proximity to override predictions (Appendix F). The paper also reports results for **randomly initialized models** (RI+FTM) to establish the lower bound of what can be learned from the modification data alone.
- **Generation budget / compute accounting.** The paper does not use a "generation budget" in the sense of sampling multiple completions — the task is masked token prediction with a single forward pass. The relevant computational cost is measured by **which parameters are updated** (one layer vs. all layers) and **how many modified training examples** are used (the number of modified facts `$|\mathcal{M}| \in \{32, 128, 512, 2048\}$` determines the size of `$\mathcal{D}_M$`). For FTA, the additional cost of including unmodified examples in each minibatch increases the per-iteration computation but the total number of training epochs on `$\mathcal{D}_M$` is fixed at 10, with a minibatch size of 128 (resulting in 112 iterations per epoch for `$|\mathcal{M}| = 512$`, per Appendix B). The constraint mechanism (projected gradient descent) adds negligible overhead.
- **Cross-validation / statistical protocol.** All modification experiments are repeated over 5 independent runs with standard errors reported (Tables 3, 4, and Figures 2, 3, 4). Each run uses a different random selection of which facts to modify and a different random sampling of replacement objects from the appropriate frequency distribution. The `$\delta$` hyperparameter is swept for each configuration, and the value maximizing `$\bar{A}$` is selected. Results are reported separately for each combination of model (BERT-Base, BERT-Large, ALBERT-XXLarge, FaE), training regime (FTM vs. FT+FTM vs. FTA), modified layer(s) (block 0, block 5, block 11, all blocks), and number of modified facts (`$|\mathcal{M}|$`).
### Main Quantitative Results
#### Unconstrained Fine-Tuning: The Catastrophic Forgetting Baseline
Table 3 presents the starting point: fine-tuning BERT-Base on only modified facts without any constraint on T-REx with `$|\mathcal{M}| = 32$`. The headline finding is that **unconstrained fine-tuning achieves high modified-fact accuracy but near-zero accuracy on unmodified facts**, with the exact tradeoff depending on the model's initial state and which layer is modified.
For the **fine-tuned pretrained model** (FT+FTM) — the most realistic starting point since the model has already been adapted to the T-REx format — modifying only block 5 achieves `$A_\mathcal{M} = 77.50\%$` (standard error 1.37) but `$A_{\mathcal{F}\setminus\mathcal{S}} = 15.09\%$` (standard error 1.94). Modifying block 0 gives `$A_\mathcal{M} = 77.50\%$` (2.40) but `$A_{\mathcal{F}\setminus\mathcal{S}} = 0.37\%$` (0.02) — essentially complete forgetting. Modifying block 11 gives `$A_\mathcal{M} = 82.50\%$` (2.27) but `$A_{\mathcal{F}\setminus\mathcal{S}} = 1.12\%$` (0.25). The non-monotonic pattern — block 5 is uniquely good at preserving unmodified facts even without constraints — suggests functional specialization across layers that the paper later exploits with constrained fine-tuning.
For the **pretrained-only model** (FTM, no prior T-REx fine-tuning), `$A_{\mathcal{F}\setminus\mathcal{S}}$` collapses to near zero (0.30–0.83%) regardless of which layer is modified, while `$A_\mathcal{M}$` reaches 67.50–75.00%. The factual knowledge in the pretrained model is diffusely distributed, so even modifying a single layer disrupts most unmodified facts.
For **randomly initialized models** (RI+FTM), both accuracies are abysmal: `$A_\mathcal{M} = 19.38–21.25\%$` and `$A_{\mathcal{F}\setminus\mathcal{S}} = 0.33–0.63\%$`. Thirty-two examples are insufficient to learn both language and facts from scratch, confirming that pretraining is essential.
These results establish why constraints are necessary: without them, there is no configuration that simultaneously achieves useful accuracy on both modified and unmodified facts.
#### Constrained Fine-Tuning on Modified Facts: The Main Results
**Single-layer constrained modification (Table 2).** The paper's core quantitative claim is summarized in Table 2: applying `$\ell_\infty$` constraints during FTM (fine-tuning on modified facts only) can achieve high `$A_\mathcal{M}$` while retaining meaningful `$A_{\mathcal{F}\setminus\mathcal{S}}$`, with the best layer and training regime depending on the model.
For **BERT-Base with FT+FTM setting** (fine-tuned on T-REx before modification), constrained modification of block 11 (the last layer) achieves `$A_\mathcal{M} = 74.31\%$` and `$A_{\mathcal{F}\setminus\mathcal{S}} = 46.47\%$`, giving `$\bar{A} = 60.39\%$`. Constrained modification of block 0 achieves `$A_\mathcal{M} = 71.25\%$` and `$A_{\mathcal{F}\setminus\mathcal{S}} = 17.69\%$`, giving `$\bar{A} = 44.47\%$` — worse average despite comparable modified-fact accuracy, because unmodified-fact preservation is much poorer. Block 11 is optimal for the FT+FTM regime with `$|\mathcal{M}| = 32$`.
For **BERT-Base with FTM setting** (no prior T-REx fine-tuning), the optimal layer shifts to block 0: `$A_\mathcal{M} = 71.25\%$`, `$A_{\mathcal{F}\setminus\mathcal{S}} = 17.69\%$`, `$\bar{A} = 47.47\%$`. Block 11 gives even worse `$A_{\mathcal{F}\setminus\mathcal{S}}$` (Table 3 pattern persists under constraints). The paper does not report the exact `$\bar{A}$` for block 11 in FTM setting with constraints, but Table 2 establishes block 0 as best.
**Comparing across models on `$|\mathcal{M}| = 32$` (Table 2).** FaE with AWT-only modification achieves the highest `$\bar{A} = 66.19\%$` (driven by starting from the highest baseline of 60.38%), followed by BERT-Base FT+FTM at 60.62%, BERT-Large FT+FTM at 58.75%, ALBERT-XXLarge FT+FTM at 50.49%, and BERT-Base FTM at 47.47%. ALBERT's weak performance despite its size (235M parameters) is attributed to its weight-sharing design, which prevents layer-specific modification.
**Full-model constrained modification (Figure 1).** When all Transformer blocks are modified simultaneously under `$\ell_\infty$` constraints with `$|\mathcal{M}| = 32$` on T-REx, BERT-Base achieves `$A_\mathcal{M} \approx 45\%$` and `$A_{\mathcal{F}\setminus\mathcal{S}} \approx 50\%$` (`$\bar{A} \approx 47.5\%$`), substantially below the best single-layer result of 60.62%. BERT-Large full-model gives `$A_\mathcal{M} \approx 50\%$` and `$A_{\mathcal{F}\setminus\mathcal{S}} \approx 51\%$` (`$\bar{A} \approx 50.5\%$`), below its best single-layer (block 23) result of 58.75%. ALBERT full-model achieves `$A_\mathcal{M} \approx 55\%$` and `$A_{\mathcal{F}\setminus\mathcal{S}} \approx 48\%$` (`$\bar{A} \approx 51.5\%$`). The consistent pattern is that **full-model constrained fine-tuning underperforms single-layer modification** for all models tested.
#### Scaling with Number of Modified Facts
Figure 3 presents results for BERT-Base on the zsRE benchmark (FT+FTM setting with constraints) as `$|\mathcal{M}|$` increases from 32 to 2048, varying which layer is modified. The headline patterns:
- **`$|\mathcal{M}| = 32$` (leftmost column):** Block 11 achieves the best balance, with `$A_\mathcal{M} \approx 75\%$` and `$A_{\mathcal{F}\setminus\mathcal{S}} \approx 65\%$`. Block 0 gives `$A_\mathcal{M} \approx 70\%$` and `$A_{\mathcal{F}\setminus\mathcal{S}} \approx 55\%$`. Block 5 falls between. Full-model ("all") gives `$A_\mathcal{M} \approx 62\%$` and `$A_{\mathcal{F}\setminus\mathcal{S}} \approx 65\%$`. Block 11 is optimal.
- **`$|\mathcal{M}| = 128$` (second column):** The gap between layers narrows. Block 11: `$A_\mathcal{M} \approx 73\%$`, `$A_{\mathcal{F}\setminus\mathcal{S}} \approx 48\%$`. Block 0: `$A_\mathcal{M} \approx 70\%$`, `$A_{\mathcal{F}\setminus\mathcal{S}} \approx 52\%$`. Block 0 and block 11 are roughly comparable in `$\bar{A}$`.
- **`$|\mathcal{M}| = 512$` (third column):** Block 0 is now clearly best: `$A_\mathcal{M} \approx 58\%$`, `$A_{\mathcal{F}\setminus\mathcal{S}} \approx 38\%$`, compared to block 11 at `$A_\mathcal{M} \approx 55\%$`, `$A_{\mathcal{F}\setminus\mathcal{S}} \approx 18\%$`. Block 11's unmodified-fact accuracy has severely degraded.
- **`$|\mathcal{M}| = 2048$` (rightmost column):** Block 0 maintains its advantage: `$A_\mathcal{M} \approx 42\%$`, `$A_{\mathcal{F}\setminus\mathcal{S}} \approx 25\%$`, vs. block 11 at `$A_\mathcal{M} \approx 32\%$`, `$A_{\mathcal{F}\setminus\mathcal{S}} \approx 12\%$`. Full-model modification collapses entirely on unmodified facts (near 5–10%).
The overall degradation as `$|\mathcal{M}|$` grows is substantial: even for the best layer (block 0), `$\bar{A}$` drops from approximately 70% at `$|\mathcal{M}| = 32$` to approximately 33% at `$|\mathcal{M}| = 2048$`. The paper does not report exact `$\bar{A}$` values for Figure 3, but the visual trend is clear from the bar chart. The shift in optimal layer from block 11 to block 0 as modification scale increases is replicated for BERT-Large on T-REx (Figure 2): with `$|\mathcal{M}| = 32$`, block 23 is best; with `$|\mathcal{M}| = 128$`, block 0 is best.
Figure 4 (T-REx benchmark, different starting model states, unconstrained setting) shows additional scaling behavior: as `$|\mathcal{M}|$` grows from 128 to 2048, `$A_\mathcal{M}$` under FTM drops from approximately 68% to 55% for block 0, while `$A_{\mathcal{F}\setminus\mathcal{S}}$` remains negligible (near 0%) regardless of which layer is modified — confirming that without constraints, the qualitatively poor unmodified-fact preservation persists at all scales.
#### Fine-Tuning on Mixture of Modified and Unmodified Facts (FTA)
Table 4 compares constrained FTA (mixture of modified and unmodified examples in each minibatch, 50/50 split) against constrained FTM (modified-only batches) for BERT-Base on T-REx with `$|\mathcal{M}| = 512$`. The pattern is inconsistent and the improvements are small:
- **Block 0:** FTA gives `$A_\mathcal{M} = 73.31\%$` (0.74), `$A_{\mathcal{F}\setminus\mathcal{S}} = 18.51\%$` (0.94), `$\bar{A} = 45.91\%$`. FTM gives `$A_\mathcal{M} = 72.85\%$` (0.51), `$A_{\mathcal{F}\setminus\mathcal{S}} = 21.06\%$` (0.31), `$\bar{A} = 46.96\%$`. FTA is slightly **worse** for block 0.
- **Block 5:** FTA gives `$A_\mathcal{M} = 76.04\%$` (0.65), `$A_{\mathcal{F}\setminus\mathcal{S}} = 8.73\%$` (0.41), `$\bar{A} = 42.39\%$`. FTM gives `$A_\mathcal{M} = 71.09\%$` (0.88), `$A_{\mathcal{F}\setminus\mathcal{S}} = 16.19\%$` (0.50), `$\bar{A} = 43.64\%$`. FTA improves `$A_\mathcal{M}$` but worsens `$A_{\mathcal{F}\setminus\mathcal{S}}$`, with slightly lower `$\bar{A}$`.
- **Block 11:** FTA gives `$A_\mathcal{M} = 70.64\%$` (0.68), `$A_{\mathcal{F}\setminus\mathcal{S}} = 15.30\%$` (0.50), `$\bar{A} = 42.97\%$`. FTM gives `$A_\mathcal{M} = 69.86\%$` (0.46), `$A_{\mathcal{F}\setminus\mathcal{S}} = 14.71\%$` (0.60), `$\bar{A} = 42.29\%$`. FTA provides a marginal improvement of 0.68 percentage points in `$\bar{A}$`.
The paper concludes: "This approach improves the best results, but only by a small margin. Moreover, it performs worse in terms of the weighted accuracy when finetuning 0th or 5th block." The mechanism is explained in Appendix B: even with 50/50 mixing, the optimizer loops over `$\mathcal{D}_M$` 10 times per epoch while seeing only ~10% of `$\mathcal{D}_{\mathcal{F}\setminus\mathcal{S}}$`, effectively creating a 10:1 weight imbalance toward the modified facts.
#### Modifying FaE: Symbolic vs. Parameter Updates
Table 5 presents results for FaE on T-REx with `$|\mathcal{M}| = 32$` (FT+FTM setting), reporting the drop in unmodified-fact accuracy (`$\Delta A_{\mathcal{F}\setminus\mathcal{S}}$`) when `$A_\mathcal{M}$` is calibrated to approximately 75% (matching BERT-Large's achievable modified-fact accuracy). The key comparisons:
- **Symbolic-only modification (NONE):** `$A_\mathcal{M} = 46.88\%$`, `$\Delta A_{\mathcal{F}\setminus\mathcal{S}} = 0.00\%$` — perfect preservation but insufficient modified-fact accuracy. The model cannot reach 75% `$A_\mathcal{M}$` by modifying symbols alone.
- **AWT-only:** `$A_\mathcal{M} = 75.00\%$`, `$\Delta A_{\mathcal{F}\setminus\mathcal{S}} = -3.00\%$` — the best tradeoff. Modifying only the weights that connect the Transformer to the symbolic memory resolves the implicit-explicit inconsistency with minimal collateral damage.
- **Block 3 + AWT:** `$A_\mathcal{M} = 78.12\%$`, `$\Delta A_{\mathcal{F}\setminus\mathcal{S}} = -15.16\%$` — higher modified-fact accuracy but much larger forgetting.
- **Block 7 + AWT:** `$A_\mathcal{M} = 81.25\%$`, `$\Delta A_{\mathcal{F}\setminus\mathcal{S}} = -19.32\%$` — even more aggressive forgetting.
- **All weights:** `$A_\mathcal{M} = 75.00\%$`, `$\Delta A_{\mathcal{F}\setminus\mathcal{S}} = -7.01\%$` — worse tradeoff than AWT-only (same `$A_\mathcal{M}$`, more than double the forgetting).
The paper compares this against BERT-Large (Table 2 and Section 4.6 discussion): BERT-Large achieves `$A_\mathcal{M} = 72.80\%$` with `$A_{\mathcal{F}\setminus\mathcal{S}} = 44.70\%$` (a drop of approximately 6.7 percentage points from its FT baseline of 51.39%), while FaE AWT achieves `$A_\mathcal{M} = 75.00\%$` with `$A_{\mathcal{F}\setminus\mathcal{S}} = 57.38\%$` (a drop of 3.0 percentage points from its FT baseline of 60.38%). The paper further notes that increasing `$\delta$` for FaE AWT can reach `$A_\mathcal{M} = 85.00\%$` with `$\Delta A_{\mathcal{F}\setminus\mathcal{S}} = -6.5\%$`, while "BERT-Large can achieve an `$A_\mathcal{M}$` of 77.50% with a drop of less than 4.00% in `$A_{\mathcal{F}\setminus\mathcal{S}}$`." The absolute drops are in the same ballpark, motivating the paper's claim that FaE "does not have a significant advantage in terms of tradeoff."
#### kNN-LM Modification Results (Appendix F)
Table 6 presents results for modifying a pretrained BERT-Base model's predictions using kNN-LM (Khandelwal et al., 2020) on `$|\mathcal{M}| = 32$` facts from T-REx, where a datastore is constructed from modified training evidences only. The threshold `$\epsilon$` (Equation 10) controls how close a test example's embedding must be to a training example's embedding for the nearest-neighbor prediction to override the model's original prediction.
Across `$\epsilon$` values from 0.5 to 12, `$A_\mathcal{M}$` increases from 0% to a maximum of 12.50% (at `$\epsilon = 11$` and `$\epsilon = 12$`), while `$A_{\mathcal{F}\setminus\mathcal{S}}$` degrades from 28.63% to 2.29% as `$\epsilon$` grows. The best achievable `$A_\mathcal{M}$` (12.50%) is far below what constrained fine-tuning achieves (71.25% for BERT-Base FTM on block 0 with `$\delta = 4e\text{-}3$`). At any `$\epsilon$`, the `$\bar{A}$` is substantially worse: even at the most favorable `$\epsilon = 6$`, where `$A_{\mathcal{F}\setminus\mathcal{S}} = 28.50\%$` and `$A_\mathcal{M} = 6.25\%$`, the average is only 17.38% — well below constrained fine-tuning's 47.47%.
### Ablation Studies and Robustness Checks
**Layer choice under unconstrained fine-tuning (Table 3, Figure 4):** The optimal layer for preserving unmodified facts without constraints varies non-monotonically: block 5 retains 15.09% unmodified accuracy vs. 0.37% for block 0 and 1.12% for block 11 (FT+FTM, `$|\mathcal{M}| = 32$`). This pattern holds qualitatively but not quantitatively as `$|\mathcal{M}|$` increases — Figure 4 (T-REx, FTM setting) shows block 0 dominates block 5 and block 11 in `$A_\mathcal{M}$` at all scales (128, 512, 2048), while block 5 sometimes has marginally higher `$A_{\mathcal{F}\setminus\mathcal{S}}$` (all near zero). The non-monotonicity is specific to the FT+FTM regime with small `$|\mathcal{M}|$`.
**Effect of model initial state (RI vs. FTM vs. FT+FTM, Table 3, Table 2):** Fine-tuning on the original unmodified dataset before modification (FT+FTM) dramatically improves unmodified-fact preservation under constraints: BERT-Base FT+FTM block 11 achieves `$A_{\mathcal{F}\setminus\mathcal{S}} = 46.47\%$` vs. FTM block 0 at 17.69% (Table 2, both with `$|\mathcal{M}| = 32$` and constraints). The FT step localizes factual knowledge to task-relevant parameters, reducing the radius of interference when other facts are modified.
**Full-model vs. single-layer modification (Figure 1, Figure 3):** Modifying all Transformer blocks simultaneously under `$\ell_\infty$` constraints **consistently underperforms** modifying the best single layer. In Figure 1 (T-REx, `$|\mathcal{M}| = 32$`), full-model BERT-Base achieves `$\bar{A} \approx 47.5\%$` vs. 60.62% for block 11 (Table 2). In Figure 3 (zsRE, all scales), "all" bars are uniformly lower than the best single-layer bar at each `$|\mathcal{M}|$`. This holds for both BERT-Base and BERT-Large.
**`$\ell_\infty$` vs. `$\ell_2$` constraint norm (Section 3.3 statement, no dedicated figure):** The paper states that `$\ell_\infty$` "consistently leads to more stable results for knowledge modification" compared to `$\ell_2$`. No quantitative comparison table is provided for this ablation — the claim is based on unreported experiments and the theoretical argument from Appendix C (Fisher approximation did not outperform `$\ell_\infty$`, though the Fisher itself is not directly an `$\ell_2$` constraint).
**Fisher information constraint (Appendix C):** The paper attempted an approximation of the Fisher information matrix (batch size 128) as an alternative to the `$\ell_\infty$` norm for constraining weight changes, deriving it from the second-order Taylor expansion of the loss constraint on unmodified facts (Equation 7). The result is negative: "it did not outperform the `$\ell_\infty$` norm." No quantitative results are reported.
**Mixture of modified and unmodified data (FTA vs. FTM, Table 4):** Adding unmodified training examples to each minibatch during constrained fine-tuning provides inconsistent benefits: marginal improvement for block 11 (+0.68 percentage points `$\bar{A}$`), slight degradation for blocks 0 and 5. The effect is small enough that the paper concludes it "only improves the best results by a small margin." The mechanism (Appendix B) is the effective 10:1 weight imbalance toward modified facts due to repeated looping over `$\mathcal{D}_M$`.
**FaE component ablation (Table 5):** Modifying different subsets of FaE's parameters (symbolic memory only vs. AWT vs. Transformer blocks + AWT vs. all parameters) reveals that AWT-only provides the best tradeoff between `$A_\mathcal{M}$` gain and `$A_{\mathcal{F}\setminus\mathcal{S}}$` loss. Adding Transformer block modifications to AWT (Block 3 + AWT, Block 7 + AWT) increases `$A_\mathcal{M}$` but causes disproportionately larger forgetting — a case of diminishing returns where additional capacity for modification is counterproductive.
**kNN-LM threshold sweep (Table 6, Appendix F):** Varying the distance threshold `$\epsilon$` from 0.5 to 12 reveals a sharp tradeoff: `$A_{\mathcal{F}\setminus\mathcal{S}}$` collapses from 28.63% to 2.29% as `$\epsilon$` increases and more test examples are overridden by nearest-neighbor predictions, while `$A_\mathcal{M}$` plateaus at 12.50% — far below constrained fine-tuning. The retrieval mechanism fails because (1) differently-phrased training and test questions for the same fact have dissimilar contextual embeddings, and (2) facts sharing the same object have similar embeddings, causing collateral modification of unmodified facts.
**Number of modified facts (Figure 3, zsRE; Figure 2, T-REx):** Performance degrades substantially as `$|\mathcal{M}|$` increases. For BERT-Base on zsRE (FT+FTM, constrained), the best-layer `$\bar{A}$` drops from approximately 70% at `$|\mathcal{M}| = 32$` to approximately 33% at `$|\mathcal{M}| = 2048$`, with `$A_{\mathcal{F}\setminus\mathcal{S}}$` taking the larger hit. The optimal layer shifts from block 11 (small `$|\mathcal{M}|$`) to block 0 (large `$|\mathcal{M}|$`), replicated for BERT-Large on T-REx (Figure 2). The paper attributes this to capacity limits of single-layer modification.
**Cross-model comparison (Table 2):** Constrained fine-tuning works across BERT-Base, BERT-Large, ALBERT-XXLarge, and FaE, but with substantial variation in absolute performance driven by baseline accuracy. ALBERT's weight sharing constrains it to full-model modification, likely explaining its relatively low `$\bar{A} = 50.49\%$` despite being a large model. FaE's higher `$\bar{A} = 66.19\%$` is primarily due to starting from a higher baseline (60.38%), not a fundamentally better tradeoff slope.
### Critical Assessment
The paper makes three central claims, and the experimental evidence supports them to varying degrees with specific boundary conditions.
**Claim 1: Constrained fine-tuning enables knowledge modification while preserving unmodified facts.** The evidence for this claim is strong within the tested regime but comes with important scope limitations. Table 2 shows that for `$|\mathcal{M}| = 32$` on T-REx, constrained fine-tuning achieves `$\bar{A} = 60.62\%$` for BERT-Base (FT+FTM, block 11) — substantially above the unconstrained baseline where `$A_{\mathcal{F}\setminus\mathcal{S}}$` collapses to near zero (Table 3). This demonstrates that the constraint mechanism is doing meaningful work: the same block (block 11) that achieves only 1.12% `$A_{\mathcal{F}\setminus\mathcal{S}}$` without constraints reaches 46.47% with constraints.
However, the experiments establish this for a very specific regime: single-token answers on factual triples from curated knowledge bases, with the pretrained model first fine-tuned on the target dataset format. The paper does not test whether constrained fine-tuning works when modifying facts that were only encountered incidentally during pretraining (not fine-tuned on the specific task format), or when modifying facts that are expressed differently in the pretraining data (e.g., facts learned from narrative text rather than from explicit relation extraction). The FTM setting (no prior T-REx fine-tuning) gives `$\bar{A} = 47.47\%$` for block 0 — a 13 percentage point drop from FT+FTM — suggesting that performance is sensitive to how "localized" the facts are in parameter space.
**Claim 2: Layer-specific modification outperforms full-model modification.** The evidence for this claim is consistent across all tested models and scales, but the mechanism remains unexplained. Figure 1 demonstrates that full-model constrained fine-tuning achieves lower `$\bar{A}$` than the best single-layer modification for BERT-Base, BERT-Large, and ALBERT on T-REx with `$|\mathcal{M}| = 32$`. Figure 3 extends this to all four modification scales on zsRE. The result is robust.
What is missing is an explanation for **why** this is true. The paper does not provide gradient analyses, representational similarity measurements, or weight-change visualizations that would illuminate whether the `$\ell_\infty$` constraint on all layers is too restrictive (preventing sufficient adaptation) or whether coordinated small changes across layers compound into larger functional changes than anticipated. The claim is empirically well-supported but mechanistically opaque, which limits its utility for designing better architectures. Additionally, the paper does not explore whether modifying **pairs of non-adjacent layers** (e.g., block 0 + block 11) might outperform single-layer modification — the only options tested are single layers and all layers.
**Claim 3: Explicit symbolic memory does not make knowledge modification easier.** The evidence for this claim is nuanced and the paper's interpretation is fair but requires careful reading. FaE with AWT-only modification achieves `$\bar{A} = 66.19\%$` (Table 2), the highest absolute `$\bar{A}$` in the paper. If one reads "easier" as "higher final performance," FaE wins. The paper's argument is that this advantage comes from the higher baseline (60.38% vs. 50.50% for BERT-Base) rather than from a structurally better tradeoff slope: "BERT-Large can achieve an `$A_\mathcal{M}$` of 77.50% with a drop of less than 4.00% in `$A_{\mathcal{F}\setminus\mathcal{S}}$`" compared to "FaE reaches an `$A_\mathcal{M}$` of 75.00% with a drop of 3.00%." The drops are comparable (4% vs. 3%), suggesting similar tradeoff slopes.
The evidence is limited by the small number of data points. Table 5 reports only one calibration point (`$A_\mathcal{M}$` matched to approximately 75%) rather than a full sweep of `$\delta$` values showing the tradeoff curve for FaE components. To definitively establish that the tradeoff slopes are comparable, one would want to see `$A_\mathcal{M}$` vs. `$A_{\mathcal{F}\setminus\mathcal{S}}$` curves for BERT models and FaE at multiple `$\delta$` values — the paper provides only point estimates. The claim about tradeoff equivalence is therefore suggestive rather than conclusive.
**Specific experimental weaknesses that qualify the findings:**
1. **Small modification scale for the main Table 2 results.** The headline numbers in Table 2 use only `$|\mathcal{M}| = 32$` modified facts (out of 34,039 total). This represents modifying 0.09% of stored facts. The scaling analysis in Figure 3 shows substantial degradation as `$|\mathcal{M}|$` grows, with `$\bar{A}$` dropping from ~70% to ~33% going from 32 to 2048 facts — a ~37 percentage point decline. For applications requiring large-scale knowledge updates (e.g., updating all facts about a particular domain or time period), the approach may not scale. The paper is transparent about this (Figure 3 is prominently featured), but the abstract and introduction emphasize the positive results at small `$|\mathcal{M}|$`.
2. **No ablation on `$\delta$` selection protocol.** The paper sweeps `$\delta$` and selects the value maximizing `$\bar{A}$` using the same test set facts (though different splits for modified vs. unmodified). This is a form of **hyperparameter optimization on the test set** — while the modified and unmodified fact subsets are disjoint, the `$\delta$` value that maximizes `$\bar{A}$` is chosen based on test performance. In a deployment setting where the correct answers for modified facts are unknown (the whole point is to change the model's prediction), one cannot sweep `$\delta$` based on `$A_\mathcal{M}$` on the test set. The paper does not discuss how `$\delta$` would be selected in practice without access to ground-truth labels for the modified facts.
3. **Single benchmark domain (factual knowledge triples).** All experiments are on T-REx and zsRE, which test factual knowledge from Wikipedia in the form of (subject, relation, object) triples. The paper does not test whether constrained fine-tuning works for other types of knowledge — procedural knowledge, commonsense knowledge, linguistic knowledge, or knowledge expressed in longer passages rather than single tokens. The choice of single-token answers for T-REx is a deliberate simplification that may not generalize to facts requiring multi-token or free-form answers.
4. **The FT step is doing heavy lifting.** The best results (FT+FTM) require fine-tuning the model on the original unmodified dataset before modification. This step is not part of the modification procedure per se but dramatically changes the baseline (from 28.85% pretrained accuracy to 50.50% on T-REx for BERT-Base) and substantially improves unmodified-fact preservation under modification (compare FTM vs. FT+FTM in Table 2: `$\bar{A}$` improves by 13 percentage points for BERT-Base). In many practical scenarios — particularly privacy-motivated fact removal — one may not have the luxury of fine-tuning on a clean version of the full dataset first. The FTM results (no prior fine-tuning) are more representative of a "cold start" modification scenario and are substantially weaker.
5. **No confidence intervals for the main Table 2 results.** While Tables 3 and 4 report standard errors over 5 runs, Table 2 presents point estimates without error bars. Given the small number of modified facts (32), the random selection of which facts to modify and which replacement objects to sample could introduce substantial variance. It is unclear whether the `$\bar{A}$` differences between models and layers in Table 2 are statistically significant or within sampling noise.
6. **Missing baselines.** The paper does not compare against several natural alternatives: (a) **Regularization-based continual learning methods** (EWC; Kirkpatrick et al., 2017), which explicitly penalize changes to parameters important for previous tasks using a Fisher-weighted `$\ell_2$` penalty — this is more directly comparable to the `$\ell_\infty$` constraint than the FTA baseline. (b) **Gradient-based fact editing** methods that identify and modify specific "knowledge neurons" or attention heads associated with particular facts — the layer-specific modification finding hints at such localization but the paper does not pursue it. (c) **Prompt-based or adapter-based approaches** that add new parameters rather than modifying existing ones — these would provide a different point on the accuracy-vs-interference tradeoff curve.
7. **The FaE comparison uses different numbers of modified parameters.** FaE AWT modification updates a different parameter count than BERT-Base block 11 modification, making the "tradeoff slope" comparison partially confounded by capacity differences. A fairer comparison would match the number of trainable parameters across models.
**Experiments that would have strengthened the paper but were not run:**
- A full tradeoff curve (sweeping `$\delta$` and plotting `$A_\mathcal{M}$` vs. `$A_{\mathcal{F}\setminus\mathcal{S}}$`) for each model and layer, rather than reporting only the `$\bar{A}$`-maximizing point. This would allow direct comparison of Pareto frontiers and more precise quantification of the "tradeoff slope" for FaE vs. BERT.
- Evaluation on facts that were **not** explicitly fine-tuned on the T-REx/zsRE task format — i.e., probing general factual knowledge from pretraining rather than task-specialized knowledge. The paper's negative result on FTM (pretrained-only, Table 3) shows `$A_{\mathcal{F}\setminus\mathcal{S}}$` near zero even with constraints, but this is not explored in detail under constraints.
- An experiment where constraints are applied during the **FT step** (fine-tuning on original facts) as well as the FTM step, to test whether compartmentalizing knowledge during initial fine-tuning improves subsequent modifiability.
- Layer-wise analysis of weight change magnitudes to understand **which specific parameters** change during successful vs. unsuccessful modification — e.g., does block 5 under constraints change different attention heads than block 0? The paper reports behavioral results but no parameter-level diagnostics.
- Testing whether the approach works for **sequential modifications** — modifying 32 facts, then modifying a different 32 facts later — which would be necessary for any real-world deployment where facts change incrementally over time. The current experiments treat all modifications as a batch.
## 6. Limitations and Trade-offs
### Limitation 1: Difficulty Estimation Cost Is Unaccounted for in Efficiency Claims
**The assumption or constraint.** The difficulty estimation procedure — generating 2,048 samples per question and computing either ground-truth pass@1 (oracle) or PRM average score (predicted) to bin questions into quintiles — consumes more computation than the largest test-time budgets studied. The paper acknowledges:
> "estimating difficulty in this way still incurs additional computation cost during inference... our experiments do not account for this cost largely for simplicity"
(Section 3.2). The reported 4× efficiency gains are computed **after** difficulty is known, without amortizing the cost of determining it.
**The consequence.** In any realistic deployment, the total computation would be (difficulty estimation cost + strategy execution cost). For the current method, difficulty estimation requires 2,048 generations per question, which exceeds even the largest test-time budgets tested (256–512 generations). If this cost is amortized — say, the estimator is a lightweight classifier that runs once per question — it would need to be accurate enough to preserve the difficulty-dependent routing benefits. The paper provides no evidence that a cheap estimator can achieve comparable accuracy to the 2,048-sample procedure, meaning the 4× headline figure is an **upper bound** that cannot be realized without solving the difficulty estimation problem first. If difficulty estimation costs must be paid per question, the approach is actually **more expensive** than simply running best-of-N with a large budget — it only makes sense in amortized regimes (e.g., the same questions are asked many times, so estimation cost is paid once).
**What evidence exists in the paper.** The paper explicitly flags this gap (Section 3.2) and compares oracle to predicted difficulty bins to show that the PRM-based difficulty proxy works without ground-truth labels (Figures 4, 8). However, the predicted bins still require generating 2,048 samples and scoring them with the PRM — the computation cost is nearly identical to the oracle version. No experiment measures performance with a cheaply estimated difficulty signal (e.g., using only 4–8 samples, or a learned difficulty predictor that takes only the question text as input).
**Mitigation status.** The paper suggests future work on "pretraining or finetuning models to directly predict difficulty of a question" but does not develop or evaluate such a model. The difficulty estimation problem remains open, and until it is solved, the compute-optimal framework is an analytical contribution rather than a deployable system.
---
### Limitation 2: Hard Problems Are Essentially Unaffected by Test-Time Compute
**The assumption or constraint.** The entire compute-optimal framework assumes that the base model already has some non-trivial probability of producing correct solutions — i.e., pass@1 > 0 for the questions being solved. The paper notes this boundary condition directly (Section 7 takeaway box): test-time compute amplifies existing capability but does not create it from nothing.
**The consequence.** On difficulty bin 5 (the hardest quintile), **no method makes meaningful progress** regardless of budget. In Figure 3 (right, PRM search), bin 5 accuracy remains at 1–3% for all methods and all budgets up to 256 generations. In Figure 7 (right, revisions), bin 5 accuracy is ~2–3% regardless of the sequential-to-parallel ratio. In the FLOPs-matched comparison (Figure 9), the bin 5 scaling line is essentially flat near 0–5%, meaning test-time compute cannot close the gap with the 14× larger model on truly hard problems. For tasks where the base model fundamentally lacks the reasoning capability or knowledge, additional inference compute provides near-zero benefit — the model cannot search its way to a correct answer if no correct answer exists in its output distribution. This is a hard capability ceiling: test-time compute is not a substitute for pretraining on problems outside the model's competence range.
**What evidence exists in the paper.** The difficulty-bin analysis consistently shows bin 5 as a flat line near zero across search methods (Figure 3, right), revision strategies (Figure 7, right), and FLOPs-matched comparisons (Figure 9). The paper is transparent about this — bin 5 results are reported prominently in every difficulty-breakdown figure, not hidden in appendices. In Section 7, the paper states: "on the hardest problems (bin 5), test-time compute provides essentially zero benefit regardless of budget, meaning that some capabilities can only be acquired through pretraining, not recovered at inference time." This is a clearly documented boundary condition.
**Mitigation status.** The paper does not attempt to solve the hard-problem limitation — it identifies it as a fundamental constraint and acknowledges that pretraining remains the only viable path for problems outside the base model's capability range. Future work on combining test-time strategies with larger or differently-trained base models might shift the difficulty boundaries, but the core limitation (test-time compute cannot create capability that doesn't exist in the proposal distribution) is inherent to the framework.
---
### Limitation 3: Single Benchmark, Single Model Family Limits Generality of Scaling Claims
**The assumption or constraint.** All experiments are conducted on the MATH benchmark (Hendrycks et al., 2021) — specifically, high-school competition-level math problems spanning algebra, geometry, probability, and number theory — using PaLM 2-S* (Codey) as the base model. The paper acknowledges this scope directly: "We choose this setting as it is representative of a canonical approach to scaling pretraining compute" (Section 7), but provides no cross-domain replication. The 14× larger model used in the FLOPs-matched comparison is also from the PaLM 2 family, meaning the training-inference tradeoff results are specific to one model architecture and training pipeline.
**The consequence.** Several aspects of the paper's findings could be domain-specific or model-specific in ways that are not tested:
- **Math problems require structured multi-step reasoning** with clear right/wrong answers that can be verified by exact string matching. It is unclear whether the difficulty-dependent patterns (beam search helping medium problems but hurting easy ones, revisions being optimal for easy problems) generalize to code generation (where correctness is also verifiable but solutions are longer and more diverse), logical reasoning, scientific QA, or tasks requiring factual recall rather than inference.
- **The PRM's quality and over-optimization behavior** depend on PaLM 2-S*'s output distribution — specifically, its error patterns, calibration, and the difficulty of distinguishing correct from incorrect solution steps via Monte Carlo rollouts. A model with different error characteristics (e.g., one that makes more subtle errors rather than clear logical mistakes) could produce PRM scores with different reliability, changing when and how over-optimization occurs.
- **The revision model's ability to improve through iterative conditioning on its own previous answers** may depend on the base model's in-context learning capabilities and architectural features. Models with different pretraining objectives, context lengths, or attention mechanisms might exhibit different revision dynamics.
- **The MATH benchmark format** (competition math with exact numeric or expression answers) enables clean evaluation but may not represent real-world use cases where correctness is graded more flexibly or outputs are open-ended. The compute-optimal allocation policy learned on MATH problems (e.g., "use beam search on medium-difficulty questions") might not transfer to other domains with different difficulty structures.
**What evidence exists in the paper.** None. The paper provides no cross-domain or cross-model replication. The authors state they "believe this model is representative of the capabilities of many contemporary LLMs" (Section 4), but this claim is asserted, not tested. All figures, tables, and quantitative claims are based on MATH + PaLM 2-S*.
**Mitigation status.** The paper does not address this limitation beyond the "representative" assertion. No cross-domain experiments are proposed as future work in Section 8. This is the most significant scope limitation: until the findings are replicated on different tasks and model families, the paper's quantitative scaling relationships (e.g., the specific 4× efficiency gain, the $R = D_{\text{inference}} / D_{\text{pretrain}}$ thresholds) should be treated as **illustrative for this specific configuration** rather than as universal scaling laws.
---
### Limitation 4: The 14× Larger Model Baseline Is Not Compute-Optimally Trained, Biasing the Pretraining-vs-Inference Comparison
**The assumption or constraint.** The FLOPs-matched comparison in Section 7 scales model parameters by 14× while **holding training data fixed**, following the LLaMA paradigm (Touvron et al., 2023) rather than the compute-optimal pretraining recipe (Hoffmann et al., 2022), where both parameters and data would be scaled proportionally. The paper explicitly notes:
> "We choose this setting as it is representative of a canonical approach to scaling pretraining compute and leave the analysis of compute-optimal scaling of pretraining compute where the data and parameters are both scaled equally to future work."
Additionally, the 14× larger model uses **greedy decoding only** — no majority voting, no best-of-N, no verification, no test-time compute of any kind.
**The consequence.** This creates two biases that collectively make the test-time compute approach look **more favorable than it would be against a properly optimized baseline**:
1. **Non-optimal pretraining:** A Chinchilla-optimal model trained with 14× more total FLOPs (scaling both parameters and training tokens) would likely outperform a parameter-only-scaled model on most tasks. This means the paper may be comparing test-time compute against an artificially weakened larger model, inflating the apparent advantage of inference-time strategies. The true pretraining-inference tradeoff — where both sides are compute-optimally configured — could show much narrower advantages for test-time compute, or even reversals on some difficulty tiers.
2. **No test-time compute for the larger model:** The comparison is not "small model + test-time compute vs. large model + test-time compute," but rather "small model + test-time compute vs. large model + greedy decoding." If the larger model were given even a modest test-time budget (e.g., best-of-8 or majority voting over 4 samples), its performance would increase, narrowing or eliminating the reported advantage of the smaller model with compute-optimal strategies. The current comparison conflates "test-time compute is better than pretraining" with "test-time compute on a small model is better than greedy decoding on a large model" — these are different claims.
**What evidence exists in the paper.** The paper is transparent about the non-optimal pretraining baseline (Section 7 explicitly acknowledges it). However, the bar charts in Figure 1 and the headline numbers (e.g., +27.8% relative improvement on easy questions at $R \ll 1$) are presented without this caveat in the summary, potentially misleading readers who do not closely read Section 7's methodology. The paper does not include an ablation where the larger model gets access to any test-time compute strategies.
**Mitigation status.** The paper flags the non-optimal pretraining issue as future work. No experiment tests the sensitivity of the conclusions to this choice — e.g., by comparing against a model where data is also scaled, or by giving the larger model a small test-time compute budget. This is a significant caveat that qualifies all the FLOPs-matched comparison results in Section 7 and the bar charts in Figure 1.
---
### Limitation 5: Difficulty Bins Are Static and Coarse, Preventing Dynamic Adaptation
**The assumption or constraint.** The compute-optimal policy uses a **static, discrete** difficulty estimation: questions are binned into five quintiles based on the base model's pass@1 rate (computed from 2,048 pre-generated samples), and the optimal strategy is selected via lookup. The paper does not explore continuous difficulty estimates, finer-grained binning, or **dynamic allocation** — adjusting the strategy mid-computation based on how the initial samples perform.
**The consequence.** Two distinct problems arise from the static, coarse binning:
1. **Within-bin heterogeneity:** Questions at the top and bottom of the same difficulty quintile may have meaningfully different optimal strategies, but the static binning treats them identically. With only five bins, this discretization error could be substantial — a question at the 60th percentile of difficulty and one at the 80th percentile receive the same strategy, even though they are separated by 20 percentile points. Finer bins would reduce this error but require more data to reliably estimate the optimal strategy per bin, creating a bias-variance tradeoff the paper does not explore.
2. **No dynamic adjustment:** The approach makes a one-time difficulty estimate (via 2,048 pre-samples) and then commits to a single strategy for the entire computation. In principle, **dynamic allocation** could be more efficient: start with a few parallel samples, assess the verifier's score distribution on those initial attempts, and then — in real-time — decide whether the problem appears easy (switch to sequential revisions), medium (continue with beam search), or hard (abandon and escalate to a larger model or human). This would naturally amortize the exploration cost into the solution process, potentially eliminating the need for separate expensive difficulty estimation. The paper does not explore or evaluate such dynamic schemes.
**What evidence exists in the paper.** The paper demonstrates that different difficulty bins benefit from different strategies (Figures 3 right, 7 right), which motivates the need for adaptation. But there is no experiment testing whether finer granularity (e.g., 10 or 20 bins) changes performance, whether a continuous difficulty-conditioned policy (e.g., using the PRM score as a continuous feature) outperforms discrete bins, or whether a dynamic multi-stage allocation (start broad, then specialize) matches or exceeds the static oracle policy.
**Mitigation status.** The paper does not address within-bin heterogeneity or dynamic allocation. Section 3.2 briefly mentions that difficulty estimation represents an "exploration-exploitation tradeoff" but does not develop this idea. Section 8 does not propose dynamic allocation as future work. This is an unexplored dimension that could substantially improve practical efficiency by replacing the expensive static estimator with cheap, progressive difficulty assessment during the solution process.
---
### Limitation 6: Sequential Revision Latency Is Not Analyzed, Limiting Practical Applicability
**The assumption or constraint.** The paper measures compute in "generations" (number of complete solutions sampled), which is a valid proxy for total FLOPs but ignores **wall-clock latency**. Sequential revisions are inherently serial — each revision depends on the previous output, so a chain of 64 sequential revisions takes 64× the wall-clock time of a single generation, regardless of how many GPUs are available. In contrast, parallel best-of-N sampling with N = 64 can be executed simultaneously on sufficient hardware, with wall-clock time comparable to a single generation.
**The consequence.** The compute-optimal allocation policy — which often favors sequential revisions for easy-to-medium problems (Figure 7, left and right, where moderate-to-high sequential-to-parallel ratios are optimal) — may be **impractical for latency-sensitive applications** even when it is FLOPs-efficient. For interactive settings (chatbots, real-time coding assistants, on-device applications where users expect sub-second responses), a strategy that requires 64 sequential forward passes is unacceptable regardless of its accuracy, because the user-perceived latency scales with the number of sequential steps. The 4× FLOPs efficiency gain reported by the paper does not account for this latency penalty: a strategy using 16 sequential revisions and 4 parallel chains (64 total generations) has the same FLOP count as parallel best-of-64, but approximately 16× higher wall-clock latency on a single device (assuming one generation per forward pass).
This tradeoff is particularly acute for the revision model, which the paper shows is most effective on easy problems (Figure 7, right) — precisely the problems where users might expect fast responses. A system that deploys sequential revisions for easy questions (to maximize FLOPs efficiency) could perversely deliver **slower** responses on easy questions than on hard ones (where beam search or parallel best-of-N might be deployed with lower latency), creating a poor user experience.
**What evidence exists in the paper.** None. The paper does not report wall-clock time, latency measurements, or any analysis of the latency-throughput tradeoff. The word "latency" does not appear in the paper. The revision model analysis (Section 6) treats sequential and parallel sampling as equivalent in "generation" units, which they are for total FLOPs but not for wall-clock time. Figure 7 presents sequential-to-parallel ratio sweeps without noting that higher sequential ratios increase latency.
**Mitigation status.** Not addressed. The paper's compute-optimal framework is purely FLOPs-optimal — it maximizes accuracy per FLOP, not accuracy per second. In a deployment context where multiple GPUs are available and latency matters, the optimal strategy in practice may be quite different from what the paper reports. For instance, fully parallel best-of-N might be preferable to sequential revisions even on easy problems if latency constraints are tight, because parallel sampling can leverage hardware parallelism to reduce wall-clock time. The paper does not discuss this tradeoff, propose latency-aware allocation policies, or suggest how latency constraints would modify the optimal strategy selection.
## 7. Implications and Future Directions
### How This Work Changes the Landscape
This paper establishes **knowledge modification as a distinct, tractable research problem** with its own evaluation protocol, benchmarks, and baseline methods — analogous to what Petroni et al. (2019) did for knowledge probing. Before this work, the field lacked a formal definition of what it means to "change a fact in a Transformer" and a systematic way to measure success. The paper fills this gap by introducing `$\bar{A} = (A_\mathcal{M} + A_{\mathcal{F}\setminus\mathcal{S}}) / 2$` as a unified metric, constructing modification benchmarks from T-REx and zsRE with consistently updated training and test evidences, and providing baseline results across four model architectures. This is primarily a **task-definition contribution** rather than a methodological breakthrough — the constrained fine-tuning technique itself is simple, combining an existing optimization method (projected gradient descent) with a standard regularizer (`$\ell_\infty$` norm ball) applied to a novel objective. But the framing changes what count as interesting research questions: instead of asking "can we probe what a model knows?", the field can now ask "can we surgically edit what a model knows, and what is the cost in collateral damage?"
The paper resolves a latent contradiction in the memory-augmented models literature. FaE (Verga et al., 2020) was explicitly motivated by the claim that symbolic memory makes knowledge easier to update — just change the symbolic links. This paper's experiments (Table 5) demonstrate that symbolic-only modification achieves only 46.88% accuracy on modified facts, and reaching 75%+ requires updating the Transformer parameters as well, with a tradeoff slope comparable to standard BERT models. The finding reframes the design goal for memory-augmented architectures: explicit memory does not eliminate the need to modify implicit parameters; it only **relocates** the interference problem to the weights connecting the two memory systems (AWT in FaE). This shifts the architectural innovation agenda from "build models where knowledge is stored explicitly so it can be edited" to "build models where implicit and explicit knowledge pathways can be updated consistently with minimal interference." The kNN-LM negative result (Appendix F, Table 6) reinforces this reframing in the retrieval-augmented paradigm: nearest-neighbor editing fails because it cannot distinguish between facts that share objects, a structural limitation arising from the non-compositional nature of embedding-space retrieval.
The layer-specific modification finding — that updating a single Transformer block often outperforms updating all blocks, and that the optimal layer shifts from late (block 11) to early (block 0) as the number of modified facts increases (Figures 2, 3) — provides a **diagnostic tool for probing how factual knowledge is functionally organized across network depth**. This is not merely a practical tuning insight. It suggests that different layers encode knowledge at different levels of abstraction and composability: late layers store brittle, task-specific associations that can be efficiently overwritten for small targeted edits, while early layers encode more general, reusable representations that better accommodate large-scale modification. This functional gradient hypothesis, if validated across model families and knowledge types, would influence how we design architectures for maintainable AI systems — for instance, by making late layers more modular and easily replaceable (like adapter layers) while keeping early layers stable.
The paper also identifies a **fundamental tension that is unlikely to be fully resolved**: each weight in a Transformer affects many facts simultaneously, and there is no natural isolation between facts in distributed representations. The constrained optimization approach (`$\|\theta - \theta_0\|_\infty \leq \delta$`) manages this tension by spreading modifications across many parameters (each changing by at most `$\delta$`) rather than concentrating adaptation into a few critical weights — but it does not eliminate the underlying interference. As the number of modified facts grows, performance degrades substantially (Figure 3: `$\bar{A}$` drops from ~70% at 32 facts to ~33% at 2048 facts). This suggests that **knowledge modification in distributed representations has a fundamental capacity-scaling limit** that is distinct from the model's total parameter count — it is governed by how "entangled" facts are in the representational geometry, not by how many parameters exist. Future work claiming to solve knowledge modification must demonstrate scaling behavior that exceeds this baseline degradation curve.
### Follow-Up Research This Work Enables
**Stress-testing the layer-wise functional gradient hypothesis with causal interventions.** The paper observes that the optimal layer for modification shifts from late to early as modification count increases (Figure 3), but provides no mechanistic explanation. A strong follow-up would systematically intervene on each Transformer block of BERT-Base using the same constrained fine-tuning protocol across multiple knowledge types: factual triples (the current benchmark), commonsense knowledge (e.g., ConceptNet or Social IQa converted to cloze format), procedural knowledge (e.g., bAbI tasks), and linguistic knowledge (e.g., syntactic number agreement). For each knowledge type, measure which layer(s) give the best `$\bar{A}$` at small, medium, and large modification scales. If different knowledge types show different optimal layers (e.g., factual knowledge best modified at layer 11, syntactic knowledge at layer 3, commonsense at layer 7), this would constitute evidence for **functional compartmentalization** of knowledge types across Transformer depth. If all knowledge types show the same layer preference, the effect is more likely driven by gradient flow dynamics or capacity rather than semantic specialization. The experiment would require converting non-factoid knowledge sources into the (subject, relation, object) format the paper's benchmark uses, or adapting the benchmark to support more diverse cloze templates.
**Continuous difficulty estimation and dynamic allocation for Transformer editing.** The paper's `$\delta$` hyperparameter controls the AM vs. AF\S tradeoff but is selected via grid search using test-set labels — a protocol unavailable in deployment (where the correct answers for modified facts are unknown). A practical follow-up would train a **lightweight meta-model** that takes as input the model's current behavior on a few held-out unmodified validation facts, the number of facts to be modified, and which layer is being updated, and predicts the `$\delta$` that maximizes expected `$\bar{A}$`. The meta-model could be a small MLP trained on synthetic modification runs (varying model, layer, `$|\mathcal{M}|$`, and `$\delta$`, recording the resulting AM and AF\S on a held-out validation split). A successful meta-model would make the constrained fine-tuning approach deployable without ground-truth access to modified facts. A more ambitious variant would implement **dynamic `$\delta$` adjustment during training**: start with a moderate `$\delta$`, monitor the validation loss on a small set of unmodified facts throughout the fine-tuning run, and tighten or loosen the constraint in real-time to stay on the Pareto frontier. This connects to the exploration-exploitation framing the paper mentions briefly (Section 3.2) but never develops.
**Combining constrained fine-tuning with gradient-based fact localization.** The layer-specific modification results suggest that different layers have different "editability" characteristics, but the paper treats entire Transformer blocks as atomic units — all parameters in block 11 are updated together. A natural extension would use gradient-based saliency methods (e.g., integrated gradients or influence functions; cf. the "knowledge neurons" line of work the paper references only in passing) to identify the **specific attention heads or feed-forward neurons** within the optimal layer that are most responsible for storing the facts being modified, and constrain updates to only those parameters while keeping the rest of the layer frozen. If, for example, modifying only the value projection matrices of 2–3 specific attention heads in block 11 achieves the same AM with higher AF\S than modifying the entire block, this would demonstrate that knowledge in Transformers is not only layer-specific but **sub-layer-localized**, opening the door to even more surgical editing. The paper's current setup (modifying entire blocks) provides an upper bound on interference; sub-block localization would establish the lower bound.
**Evaluating the Fisher information constraint with modern hardware.** The paper reports a negative result on using the Fisher information matrix as an alternative to `$\ell_\infty$` constraints (Appendix C): "We experimented with an approximation of the Fisher information computed with batch size 128, and found that it did not outperform the `$\ell_\infty$` norm." This experiment was conducted in 2020 on BERT-scale models. Since then, both hardware capabilities and techniques for efficient Fisher estimation (e.g., K-FAC approximations, diagonal Fisher, online low-rank updates) have advanced substantially. A modern re-evaluation could compute a **block-diagonal Fisher** over the unmodified T-REx training set (tractable: ~1.3M training examples × ~110M parameters, estimated in a single pass) and use it to weight the `$\ell_2$` penalty on each parameter during modification — parameters with high Fisher information (important for many unmodified facts) get strongly penalized, parameters with low Fisher information can change more freely. This is the approach the paper derives theoretically in Appendix C but could not test effectively due to computational constraints. A positive result (Fisher-weighted constraint outperforming `$\ell_\infty$`) would validate the second-order analysis and provide a more principled modification method; a negative result even with accurate Fisher estimates would suggest that **second-order information is insufficient** because the linear term may not actually vanish (the assumption that `$\theta_0$` is a minimum of the unmodified loss may be violated for facts the model has memorized but not perfectly fitted). Either outcome advances our understanding.
**Sequential modification and the forgetting-forgetting tradeoff.** The paper's experiments treat all modifications as a batch: select 32 (or 128, 512, 2048) facts, modify them all at once, evaluate. Real-world knowledge updates are **sequential and incremental** — today's model needs to change the capital of country X, next month needs to update a sports player's team, next year needs to remove a deprecated medical guideline. Each sequential modification may interfere not only with original facts but also with **previously modified facts**, creating cascading degradation. A critical stress-test would simulate sequential modification: start with the FT baseline, modify 32 facts using the paper's optimal protocol, then modify a different 32 facts, then another 32, for 10 rounds (320 total modified facts, 9.4% of T-REx). Measure AM and AF\S after each round. If the approach is robust, the final model should have high accuracy on the most recently modified facts, acceptable accuracy on earlier modifications, and preserved accuracy on never-modified facts. If accuracy on early modifications degrades with each subsequent round (a "forgetting of modifications" effect), this reveals a fundamental limitation: the constraint `$\|\theta - \theta_0\|_\infty \leq \delta$` is defined relative to the original parameters, not relative to the state after previous modifications, and the `$\delta$`-ball around `$\theta_0$` may not contain parameters that simultaneously encode 10 rounds of accumulated changes. This experiment would determine whether knowledge modification is viable for incremental maintenance (the most realistic deployment scenario) or only for one-shot batch updates.
### Practical Applications and Downstream Use Cases
**Privacy compliance and the right to erasure in deployed language models.** The paper's most immediately actionable application is removing inadvertently memorized personal information — phone numbers, addresses, names — from pretrained models without full retraining. Carlini et al. (2019) demonstrated that large LMs can memorize rare training examples verbatim, creating legal exposure under GDPR's right to erasure. The paper's constrained fine-tuning approach offers a **surgical deletion mechanism**: treat the sensitive fact as the "modified" fact with a random replacement object (e.g., replace the memorized phone number with a dummy number), fine-tune only the optimal layer under `$\ell_\infty$` constraints, and verify that the sensitive information can no longer be extracted. The key practical metrics would be: (a) extraction success rate post-modification (should approach 0%), (b) preservation of general model quality on standard benchmarks (GLUE, SQuAD) and on other memorized-but-not-sensitive facts, and (c) whether the procedure works when the sensitive fact was memorized incidentally during pretraining (the paper's FTM setting, which shows weaker preservation than FT+FTM) rather than fine-tuned on a task-specific dataset. The `$|\mathcal{M}| = 32$` results for FTM (`$\bar{A} = 47.47\%$`, Table 2) provide a starting point but need replication on the specific privacy extraction benchmarks used by Carlini et al. and on larger-scale deletions (removing all instances of a person's name across many facts, not just one).
**Maintaining domain-specific factual accuracy in production QA systems.** Organizations deploying LMs for domain-specific question answering — medical diagnosis support, legal research, technical documentation — face a continuous accuracy decay as domain knowledge evolves. Retraining the entire model on an updated corpus each time a guideline changes is economically impractical. The paper's approach provides a **lightweight fact-patching workflow**: maintain a registry of facts that have changed (e.g., "the recommended dosage for drug X is now Y mg"), generate a small set of supporting evidence sentences for each modified fact using templates or a generative model, and apply constrained fine-tuning on the optimal layer. The paper's `$|\mathcal{M}| = 128$` results for BERT-Base on zsRE (Figure 3, FT+FTM setting, constrained, block 0 gives `$A_\mathcal{M} \approx 70\%$` and `$A_{\mathcal{F}\setminus\mathcal{S}} \approx 52\%$`, `$\bar{A} \approx 61\%$`) suggest that updating roughly 100 facts is feasible with moderate accuracy preservation. For a specialized domain model that has been heavily fine-tuned on the target domain (analogous to the FT step, which dramatically improves preservation), the AF\S metric would correspond to preserving accuracy on unaffected domain facts, which is the critical operational requirement. The practical challenge — as the paper identifies in Appendix F — is that facts sharing the same object (e.g., all conditions treated with the same drug) may be harder to modify independently, necessitating careful selection of which layer and which `$\delta$` to use based on the interconnectedness of the facts being updated.
**Bias reduction through targeted association overwriting.** The paper's motivating examples include "eliminating unintended biases stored in the models" (Section 1). A practical bias-reduction use case would target specific stereotypical associations — e.g., modifying the fact "(nurse, gender, female)" to "(nurse, gender, neutral)" or updating probabilistic associations so that the model no longer systematically predicts gendered pronouns for certain professions. Using the paper's protocol, one would: (1) curate a set of biased facts `$\mathcal{S}$` (e.g., from the WinoBias or StereoSet benchmarks), (2) construct modified evidences where the biased object is replaced with a de-biased alternative (e.g., a 50/50 gender split for professions), (3) apply constrained fine-tuning on the optimal layer, and (4) evaluate on both the de-biased facts (AM) and unrelated factual knowledge (AF\S). The key practical metric would be the **bias-accuracy tradeoff**: how much general language understanding is lost per unit of bias reduction achieved. The paper's finding that block 0 (early layers) is better for large-scale modification while block 11 (late layers) is better for small targeted edits suggests that bias might be addressable at late layers if it represents a small number of stereotypical associations, but might require early-layer modification if the bias is deeply embedded in the model's entity representations. This directly tests the paper's functional gradient hypothesis in a socially impactful application.